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] How is exactly_once supposed to work?
- Date: Thu, 26 Jun 2014 09:08:36 +0200
assumption, as it happens, always has at most one success. In the current trunk, only the constructor tactic as well as the tactics which the user explicitly writes with + can have more than one success.
It doesn't matter how many ways the tactic could have succeeded, what matters is how many successes the tactic reports (they're computed lazily of course). For instance, the once tactical always reduces the number of successes to at most one, and as such, (exactly_once (once t)) is identical to (once t).Best,
Arnaud
Arnaud
On 26 June 2014 02:47, Jonathan <jonikelee AT gmail.com> wrote:
From the documentation, I would have thought the following would fail:
Section X.
Variable n : nat.
Variable m : nat.
Goal nat.
Proof.
exactly_once assumption.
Qed.
End X.
If this is supposed to succeed, then what is meant by "at most one success" in the documentation for exactly_once?
-- Jonathan
- [Coq-Club] How is exactly_once supposed to work?, Jonathan, 06/26/2014
- Re: [Coq-Club] How is exactly_once supposed to work?, Arnaud Spiwack, 06/26/2014
Archive powered by MHonArc 2.6.18.