coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: mukesh tiwari <mukeshtiwari.iiitm AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Proof from Software foundations.
- Date: Wed, 23 Oct 2013 21:03:16 +0530
Hello all,
I am learning Coq and trying to prove this theorem from Software Foundations by Benjamin Pierce[1].Theorem andb_eq_orb : forall (b c : bool),
( andb b c = orb b c) ->
b = c.
Till now I came upto this and not able to solve this further.
Proof.
intros b c.
destruct b.
simpl.
I am getting this.
2 subgoals, subgoal 1 (ID 291)
c : bool
============================
c = true -> true = c
subgoal 2 (ID 290) is:
andb false c = orb false c -> false = c
Could some one please give me some hint to prove this theorem.
Regards,
Mukesh Tiwair
Mukesh Tiwair
- [Coq-Club] Proof from Software foundations., mukesh tiwari, 10/23/2013
- Re: [Coq-Club] Proof from Software foundations., Kristopher Micinski, 10/23/2013
- Re: [Coq-Club] Proof from Software foundations., J. Ian Johnson, 10/23/2013
Archive powered by MHonArc 2.6.18.