Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Ltac automation.

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Ltac automation.


chronological Thread 
  • From: Adam Chlipala <adam AT chlipala.net>
  • To: Tom Prince <tom.prince AT ualberta.net>
  • Cc: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Ltac automation.
  • Date: Wed, 09 Feb 2011 14:41:49 -0500

Tom Prince wrote:
Axiom param : nat ->  Type.
Axiom val : ∀ n, param n.

[snip]

Record rec := { m1 : param 0; m7: param 6; m6: param 5 }.

Goal rec.

I think the example is abstracted a bit too much to illustrate the issues, as [constructor; apply val] leads to the value of [rec] that you're looking for. Can you give a more complicated example which shows what makes your real code trickier?

Someone might very well tell you how to abstract the argument to [constructor] (I feel like I've seen this before somewhere), but I have a feeling that a more fundamental reformulation of the problem would yield better results.



Archive powered by MhonArc 2.6.16.

Top of Page