Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Matching 'fix'

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Matching 'fix'


chronological Thread 
  • From: Gregory Malecha <gmalecha AT eecs.harvard.edu>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Matching 'fix'
  • Date: Fri, 20 Apr 2012 18:55:56 -0400

Hello --

Is there any support for Ltac matching of [fix] expressions? For example, if I have a goal like:

Goal 1 + 1 = 2.
  cbv delta [ plus ].
  match goal with
    | [ |- ? 1 1 = 2 ] =>
  end.

Is there anything that I could fill in that question mark with besides a ?variable or _ that would match the goal? If not, this seems like it is missing and would be very useful, even if it was just viewed exactly the same way as [fun _ => _].

Thanks.

--
gregory malecha
http://www.people.fas.harvard.edu/~gmalecha/




Archive powered by MhonArc 2.6.16.

Top of Page