Debian Codegraph @

test-suite/bugs/bug_16173.v

raw
1
2 Section S.
3 Variables (a:nat) (b:bool).
4
5 Fail Set Default Proof Using ")".
6 Fail Set Default Proof Using "a)".
7 Fail Set Default Proof Using "(a . )".
8 Fail Set Default Proof Using "(a .".
9 Set Default Proof Using "".
10
11 Lemma foo1 : True.
12 Proof. trivial. Qed.
13
14 Set Default Proof Using "()".
15 Lemma foo2 : True.
16 Proof. trivial. Qed.
17
18 Set Default Proof Using "( )".
19 Lemma foo2' : True.
20 Proof. trivial. Qed.
21
22 Set Default Proof Using "a b".
23 Lemma foo3 : True.
24 Proof. trivial. Qed.
25
26 Set Default Proof Using "(b a)".
27 Lemma foo4 : True.
28 Proof. trivial. Qed.
29 End S.
30
31 Check foo1 : True.
32 Check foo2 : True.
33 Check foo2' : True.
34 Check foo3 : nat -> bool -> True.
35 Check foo4 : nat -> bool -> True.
36
37 Require Import Corelib.ssr.ssreflect.
38 (* ssr makes "\*\)" parse differently so preprocessing has to make sure to insert a space *)
39 Set Default Proof Using "Type*".