summaryrefslogtreecommitdiff
path: root/test-suite/ideal-features/eapply_evar.v
blob: bb61afb88b317c746b67944d27ff0095e516fdec (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 eq_trans;
  [apply H | match goal with |- ?x = ?x => reflexivity end].
Qed.