coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Arnaud Spiwack <aspiwack AT lix.polytechnique.fr>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] "Error: refine: proof term contains metas in a product."
- Date: Sun, 16 Feb 2014 18:48:10 +0100
Is it possible to just add the reimplented refine tactic as a custom
tactic, without too much fuss?
No. At least not as an ltac tactic.
But the code for the new refine is already in v8.4. So you could make a command that runs the new refine. It's sufficient for the case you show, but it can't be combined with other tactics.
If you are familiar with Coq's plugins. The relevant functions are Goal.Refinable.constr_of_raw (or Goal.Refinable.constr_of_open_constr), Goal.refine, Proofview.tclSENSITIVE, and Proof_global.run_tactic (all of these modules are in the proofs directory).
But the code for the new refine is already in v8.4. So you could make a command that runs the new refine. It's sufficient for the case you show, but it can't be combined with other tactics.
If you are familiar with Coq's plugins. The relevant functions are Goal.Refinable.constr_of_raw (or Goal.Refinable.constr_of_open_constr), Goal.refine, Proofview.tclSENSITIVE, and Proof_global.run_tactic (all of these modules are in the proofs directory).
- [Coq-Club] "Error: refine: proof term contains metas in a product.", Anders Lundstedt, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Arnaud Spiwack, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Anders Lundstedt, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Jason Gross, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Anders Lundstedt, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Arnaud Spiwack, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Jason Gross, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Anders Lundstedt, 02/16/2014
- Re: [Coq-Club] "Error: refine: proof term contains metas in a product.", Arnaud Spiwack, 02/16/2014
Archive powered by MHonArc 2.6.18.