coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Daniel Schepler <dschepler AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?
- Date: Mon, 8 Jun 2015 12:00:54 -0700
On Mon, Jun 8, 2015 at 9:01 AM, Lars Rasmusson <Lars.Rasmusson AT sics.se> wrote:
Thanks a lot, Adam and Jonathan!
You could also use a version of the lemma that's transparent so it can be computed with:
Lemma mult_n_O_transparent :
forall n:nat, 0 = n * 0.
Proof.
induction n.
+ reflexivity.
+ assumption.
Defined. (* Note Defined. instead of Qed. *)
Lemma fobar: eq_refl = mult_n_O_transparent 1.
Proof.
reflexivity.
Qed.
(That might get unmanageable with more complex sets of lemmas from the standard library, though.)
--
Daniel Schepler
- [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Lars Rasmusson, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Adam Chlipala, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Jonathan Leivent, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Lars Rasmusson, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Daniel Schepler, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Lars Rasmusson, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Jonathan Leivent, 06/08/2015
- Re: [Coq-Club] Is eq_refl = mult_n_O 1 provable?, Adam Chlipala, 06/08/2015
Archive powered by MHonArc 2.6.18.