coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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.
- [Coq-Club] Ltac automation., Tom Prince
- Re: [Coq-Club] Ltac automation., Adam Chlipala
- Re: [Coq-Club] Ltac automation.,
Tom Prince
- Re: [Coq-Club] Ltac automation.,
Adam Chlipala
- Re: [Coq-Club] Ltac automation.,
Tom Prince
- Re: [Coq-Club] Ltac automation., Adam Chlipala
- Re: [Coq-Club] Ltac automation.,
Tom Prince
- Re: [Coq-Club] Ltac automation.,
Adam Chlipala
- Re: [Coq-Club] Ltac automation.,
Tom Prince
- [Coq-Club] Re: Ltac automation.,
Tom Prince
- Re: [Coq-Club] Re: Ltac automation., gallais @ EnsL.org
- [Coq-Club] Re: Ltac automation., Tom Prince
- Re: [Coq-Club] Ltac automation., Adam Chlipala
Archive powered by MhonArc 2.6.16.