Debian Codegraph @

test-suite/success/indelim.v

raw
1 Inductive boolP : Prop :=
2 | trueP : boolP
3 | falseP : boolP.
4
5 Fail Check boolP_rect.
6
7
8 Inductive True : Prop := I : True.
9
10 Inductive False : Prop :=.
11
12 Inductive Empty_set : Set :=.
13
14 Fail Inductive Large_set : Set :=
15 large_constr : forall A : Set, A -> Large_set.
16
17 Inductive smallunitProp : Prop :=
18 | onlyProps : True -> smallunitProp.
19
20 Check smallunitProp_rect.
21
22 Inductive nonsmallunitProp : Prop :=
23 | notonlyProps : nat -> nonsmallunitProp.
24
25 Fail Check nonsmallunitProp_rect.
26 Set Printing Universes.
27 Inductive inferProp :=
28 | hasonlyProps : True -> nonsmallunitProp -> inferProp.
29
30 Check (inferProp : Prop).
31
32 Inductive inferSet :=
33 | hasaset : nat -> True -> nonsmallunitProp -> inferSet.
34
35 Fail Check (inferSet : Prop).
36
37 Check (inferSet : Set).
38
39 Inductive inferLargeSet :=
40 | hasalargeset : Set -> True -> nonsmallunitProp -> inferLargeSet.
41
42 Fail Check (inferLargeSet : Set).
43
44 Inductive largeProp : Prop := somelargeprop : Set -> largeProp.
45
46
47 Inductive comparison : Set :=
48 | Eq : comparison
49 | Lt : comparison
50 | Gt : comparison.
51
52 Inductive CompareSpecT (Peq Plt Pgt : Prop) : comparison -> Type :=
53 | CompEqT : Peq -> CompareSpecT Peq Plt Pgt Eq
54 | CompLtT : Plt -> CompareSpecT Peq Plt Pgt Lt
55 | CompGtT : Pgt -> CompareSpecT Peq Plt Pgt Gt.
56
57 Inductive color := Red | Black.
58
59 Inductive option (A : Type) : Type :=
60 | None : option A
61 | Some : A -> option A.