Debian Codegraph @

test-suite/bugs/bug_2001.v

raw
1 (* Automatic computing of guard in "Theorem with"; check that guard is not
2 computed when the user explicitly indicated it *)
3
4 Inductive T : Set :=
5 | v : T.
6
7 Definition f : forall (s:nat) (t:T), nat.
8 fix f 2.
9 intros s t.
10 refine
11 match t with
12 | v => s
13 end.
14 Defined.
15
16 Lemma test :
17 forall s, f s v = s.
18 Proof.
19 reflexivity.
20 Qed.