Skip to Content.
Sympa Menu

coq-club - Re: Feature request

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: Feature request


chronological Thread 
  • From: Hugo Herbelin <herbelin AT margaux.inria.fr>
  • To: freek AT cs.kun.nl (Freek Wiedijk)
  • Cc: coqdev AT margaux.inria.fr
  • Subject: Re: Feature request
  • Date: Fri, 19 Nov 1999 10:38:45 +0100 (MET)

> A feature for Coq that I think might be useful is to have the
> possibility to refer to the "last object introduced" of a
> given type.  Both the "local" context as well as the sequence
> of definitions and lemmas should be taken into account.
> 
> The application that I'm thinking of is of "hiding" the proof
> objects needed to do division (that the denominator isn't
> zero) inside a syntactic definition using this idiom.  Then
> it would be possible to write something like x/y and it would
> be legal when there is _some_ object of the type y#0 in
> scope.

  More generally, do you mind a syntactic definition that hides the
required proof of y#0 in the de def of "/" and add the proof
obligation as a goal, possibly proving it automatically. Something
like Jean-Christophe's "Refine" can do but that apply for any term not
only to a term expected to be an exact proof ?
                                                  Hugo





Archive powered by MhonArc 2.6.16.

Top of Page