Mercurial > cpdt > repo
diff src/Equality.v @ 298:123f466faedc
Small tweak to keep things working in 8.2
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 14 Jan 2011 14:55:32 -0500 |
parents | b441010125d4 |
children | 7b38729be069 |
line wrap: on
line diff
--- a/src/Equality.v Fri Jan 14 14:39:12 2011 -0500 +++ b/src/Equality.v Fri Jan 14 14:55:32 2011 -0500 @@ -156,10 +156,15 @@ Theorem get_imap : forall ls (mem : fmember elm ls) (hls : fhlist B ls), fhget (fhmap hls) mem = f (fhget hls mem). -(* begin thide *) +(* begin hide *) + induction ls; crush; case a0; reflexivity. +(* end hide *) + (** [[ induction ls; crush. + + ]] - (** In Coq 8.2, one subgoal remains at this point. Coq 8.3 has added some tactic improvements that enable [crush] to complete all of both inductive cases. To introduce the basics of reasoning about equality, it will be useful to review what was necessary in Coq 8.2 + In Coq 8.2, one subgoal remains at this point. Coq 8.3 has added some tactic improvements that enable [crush] to complete all of both inductive cases. To introduce the basics of reasoning about equality, it will be useful to review what was necessary in Coq 8.2. Part of our single remaining subgoal is: @@ -213,6 +218,7 @@ reflexivity. ]] *) + Qed. (* end thide *)