Debian Codegraph @

test-suite/output/Inductive.out

raw
1 File "./output/Inductive.v", line 1, characters 0-93:
2 The command has indeed failed with message:
3 In environment
4 list' : Set -> Set
5 A : Set
6 a : A
7 l : list' A
8 Unable to unify "list' (A * A)%type" with "list' A".
9 Inductive foo (A : Type) (x : A) (y : A := x) : Prop := Foo : foo A x.
10
11 Arguments foo A%_type_scope x
12 Arguments Foo A%_type_scope x
13 myprod unit bool
14 : Set
15 option : Type -> Type
16
17 option is template universe polymorphic
18 Arguments option A%_type_scope
19 Expands to: Inductive Corelib.Init.Datatypes.option
20 Declared in library Corelib.Init.Datatypes, line 211, characters 10-16
21 option : Type@{option.u0} -> Type@{max(Set,option.u0)}
22
23 option is template universe polymorphic on option.u0 (cannot be instantiated to Prop)
24 Arguments option A%_type_scope
25 Expands to: Inductive Corelib.Init.Datatypes.option
26 Declared in library Corelib.Init.Datatypes, line 211, characters 10-16
27 File "./output/Inductive.v", line 27, characters 4-13:
28 The command has indeed failed with message:
29 Parameters should be syntactically the same for each inductive type.
30 Type "B" has no parameters
31 but type "Inductive" has parameters "A".
32 File "./output/Inductive.v", line 30, characters 6-15:
33 The command has indeed failed with message:
34 Parameters should be syntactically the same for each record type.
35 Type "B" has no parameters
36 but type "Inductive" has parameters "A".
37 or : Prop -> Prop -> Prop
38
39 or is not universe polymorphic
40 or may only be eliminated to produce values whose type is SProp or Prop.
41 Arguments or (A B)%_type_scope
42 Expands to: Inductive Corelib.Init.Logic.or
43 Declared in library Corelib.Init.Logic, line 87, characters 10-12
44 sunit : SProp
45
46 sunit is not universe polymorphic
47 sunit may only be eliminated to produce values whose type is SProp.
48 Expands to: Inductive Inductive.sunit
49 Declared in library Inductive, line 38, characters 10-15
50 sempty@{q ; } : Type@{q ; Set}
51 (* q ; |= *)
52
53 sempty is universe polymorphic
54 sempty@{q ; } may only be eliminated to produce values whose type is in sort quality q,
55 unless instantiated such that the quality SProp
56 is equal to the instantiation of q, or to qualities smaller
57 (SProp <= Prop <= Type, and all variables <= Type)
58 than the instantiation of q.
59 Expands to: Inductive Inductive.sempty
60 Declared in library Inductive, line 44, characters 22-28
61 ssig@{q1 q2 q3 ; a b} :
62 forall A : Type@{q1 ; a}, (A -> Type@{q2 ; b}) -> Type@{q3 ; max(a,b)}
63 (* q1 q2 q3 ; a b |= *)
64
65 ssig is universe polymorphic
66 ssig@{q1 q2 q3 ; a b} may only be eliminated to produce values whose type is in sort quality q3,
67 unless instantiated such that the qualities q1, q2 and Prop
68 are equal to the instantiation of q3, or to qualities smaller
69 (SProp <= Prop <= Type, and all variables <= Type)
70 than the instantiation of q3.
71 Arguments ssig A%_type_scope B%_function_scope
72 Expands to: Inductive Inductive.ssig
73 Declared in library Inductive, line 48, characters 22-26
74 BoxP@{q ; a} : Type@{q ; a} -> Prop
75 (* q ; a |= *)
76
77 BoxP is universe polymorphic
78 BoxP@{q ; a} may only be eliminated to produce values whose type is SProp or Prop,
79 unless instantiated such that the quality q is SProp or Prop.
80 Arguments BoxP A%_type_scope
81 Expands to: Inductive Inductive.BoxP
82 Declared in library Inductive, line 56, characters 22-26