File: eapply_evar.v

package info (click to toggle)
coq-doc 8.3pl4-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 20,504 kB
  • sloc: ml: 134,418; lisp: 2,734; ansic: 1,968; sh: 1,204; makefile: 611
file content (9 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
(* Test propagation of evars from subgoal to brother subgoals *)

(* This does not work (oct 2008) because "match goal" sees "?evar = O"
   and not "O = O" *)

Lemma eapply_evar : O=O -> 0=O.
intro H; eapply trans_equal;
  [apply H | match goal with |- ?x = ?x => reflexivity end].
Qed.