Debian Codegraph @

test-suite/output/Record.out

raw
1 {| field := 5 |}
2 : test
3 {| field := 5 |}
4 : test
5 {| field_r := 5 |}
6 : test_r
7 build_c 5
8 : test_c
9 build 5
10 : test
11 build 5
12 : test
13 {| field_r := 5 |}
14 : test_r
15 build_c 5
16 : test_c
17 fun '(C _ p) => p
18 : N -> True
19 fun '{| T := T |} => T
20 : N -> Type
21 fun '(C T p) => (T, p)
22 : N -> Type * True
23 fun '{| q := p |} => p
24 : M -> True
25 fun '{| U := T |} => T
26 : M -> Type
27 fun '{| U := T; q := p |} => (T, p)
28 : M -> Type * True
29 fun '{| U := T; a := a; q := p |} => (T, p, a)
30 : M -> Type * True * nat
31 fun '{| U := T; a := a; q := p |} => (T, p, a)
32 : M -> Type * True * nat
33 {| a := 0; b := 0 |}
34 : T
35 fun '{| |} => 0
36 : LongModuleName.test -> nat
37 = {|
38 a :=
39 {|
40 LongModuleName.long_field_name0 := 0;
41 LongModuleName.long_field_name1 := 1;
42 LongModuleName.long_field_name2 := 2;
43 LongModuleName.long_field_name3 := 3
44 |};
45 b :=
46 fun
47 '{|
48 LongModuleName.long_field_name0 := a;
49 LongModuleName.long_field_name1 := b;
50 LongModuleName.long_field_name2 := c;
51 LongModuleName.long_field_name3 := d
52 |} =>
53 (a, b, c, d)
54 |}
55 : T
56 = {|
57 a :=
58 {|
59 long_field_name0 := 0;
60 long_field_name1 := 1;
61 long_field_name2 := 2;
62 long_field_name3 := 3
63 |};
64 b :=
65 fun
66 '{|
67 long_field_name0 := a;
68 long_field_name1 := b;
69 long_field_name2 := c;
70 long_field_name3 := d
71 |} =>
72 (a, b, c, d)
73 |}
74 : T
75 fun x : R => 0
76 +++
77 x.(field) 0
78 : R -> nat
79 File "./output/Record.v", line 85, characters 23-24:
80 The command has indeed failed with message:
81 Projection f expected 1 explicit parameter.
82 File "./output/Record.v", line 93, characters 2-40:
83 Warning:
84 The record squashed could not be defined as a primitive record because it is
85 squashed. [non-primitive-record,records,default]
86 File "./output/Record.v", line 93, characters 30-31:
87 Warning: x cannot be defined because it is informative and squashed is not.
88 [cannot-define-projection,records,default]
89 File "./output/Record.v", line 95, characters 2-31:
90 Warning:
91 The record noprojs could not be defined as a primitive record because it has
92 no projections. [non-primitive-record,records,default]
93 norelevantprojs : SProp -> Prop
94
95 norelevantprojs is not universe polymorphic
96 norelevantprojs is in Prop but its eliminators are declared dependent by default
97 norelevantprojs has primitive projections without eta conversion.
98 Arguments norelevantprojs A%_type_scope
99 Expands to: Inductive Record.WhyNotPrim.norelevantprojs
100 Declared in library Record, line 97, characters 9-24
101 File "./output/Record.v", line 101, characters 2-33:
102 Warning:
103 The record anonproj could not be defined as a primitive record because it has
104 an anonymous projection. [non-primitive-record,records,default]