blob: 8116e8975132b0f79029740831451618ca9bc7b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
(* This used to fail in 8.0pl1 *)
Goal forall n, n+n=0->0=n+n.
intros.
set n in * |-.
Abort.
(* This works from 8.4pl1, since merging of different instances of the
same metavariable in a pattern is done modulo conversion *)
Notation "p .+1" := (S p) (at level 1, left associativity, format "p .+1").
Goal forall (f:forall n, n=0 -> Prop) n (H:(n+n).+1=0), f (n.+1+n) H.
intros.
set (f _ _).
Abort.
|