Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] implicit arguments to parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] implicit arguments to parameters


Chronological Thread 
  • From: "sdk" <sdk AT mathink.net>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] implicit arguments to parameters
  • Date: Sun, 01 Jun 2014 16:43:20 +0200

Maybe, let-in and {} may be able to solve half of the problem.

I don't know how to write like:

Definition D1 : Type := forall {T: Type}(x: T), Type.

and I checked that command 'Arguments D1 {T}(x).' rejected.

But, e.g. in definition of DD1, using let-in and {} enable to write A x
instead of A T x:

Definition DD1 ( A0 : D1 ) :=
let A {T:Type}(x: T) := A0 T x in (A 1, A true).

It seems ad-hoc, but I don't have any idea now.

If there is many functions such as DD1, many lets will be needed...



Archive powered by MHonArc 2.6.18.

Top of Page