blob: a6aec84799d255b0ec82397483801bd68f1292d3 (
plain)
1
2
3
4
5
6
7
8
9
|
(* This needs unification on type *)
Goal (n,m:nat)(eq nat (S m) (S n)).
Intros.
Apply f_equal.
(* f_equal : (A,B:Set; f:(A->B); x,y:A)x=y->(f x)=(f y) *)
(* and A cannot be deduced from the goal but only from the type of f, x or y *)
|