summaryrefslogtreecommitdiff
path: root/test-suite/ideal-features/eapply_evar.v
blob: 547860bf14d17e47297f4d1cfabc8d6ac89a1840 (plain)
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.