summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/shouldsucceed/1935.v
blob: 641dcb7af52fbd895ce907e78f48a40183122d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Definition f  (n:nat) := n = n.

Lemma f_refl : forall n , f n.
intros. reflexivity. 
Qed.

Definition f'  (x:nat) (n:nat) := n = n.

Lemma f_refl' : forall n , f' n n.
Proof.
 intros. reflexivity. 
Qed.

Require Import ZArith.

Definition f'' (a:bool) := if a then eq (A:= Z) else Zlt.

Lemma f_refl'' : forall n , f'' true n n.
Proof.
 intro. reflexivity.
Qed.