| 1 |
true ? 0; 1 |
| 2 |
: nat |
| 3 |
if true as x return x ? nat; bool then 0 else true |
| 4 |
: nat |
| 5 |
fun e : nat * nat => proj1 e |
| 6 |
: nat * nat -> nat |
| 7 |
decomp (true, true) as t, u in (t, u) |
| 8 |
: bool * bool |
| 9 |
! (0 = 0) |
| 10 |
: Prop |
| 11 |
forall n : nat, n = 0 |
| 12 |
: Prop |
| 13 |
! (0 = 0) |
| 14 |
: Prop |
| 15 |
forall n : nat, # (n = n) |
| 16 |
: Prop |
| 17 |
forall n n0 : nat, ## (n = n0) |
| 18 |
: Prop |
| 19 |
forall n n0 : nat, ### (n = n0) |
| 20 |
: Prop |
| 21 |
[1; 2; 4] |
| 22 |
: list nat |
| 23 |
(1; 2, 4) |
| 24 |
: nat * nat * nat |
| 25 |
ifzero 3 |
| 26 |
: bool |
| 27 |
pred 3 |
| 28 |
: nat |
| 29 |
fun n : nat => pred n |
| 30 |
: nat -> nat |
| 31 |
fun n : nat => pred n |
| 32 |
: nat -> nat |
| 33 |
fun x : nat => ifn x is succ n then n else 0 |
| 34 |
: nat -> nat |
| 35 |
1 - |
| 36 |
: bool |
| 37 |
File "./output/Notations.v", line 97, characters 46-62: |
| 38 |
The command has indeed failed with message: |
| 39 |
Cannot find where the recursive pattern starts. |
| 40 |
File "./output/Notations.v", line 100, characters 0-58: |
| 41 |
The command has indeed failed with message: |
| 42 |
in the right-hand side, y and z should appear in |
| 43 |
term position as part of a recursive pattern. |
| 44 |
File "./output/Notations.v", line 103, characters 57-58: |
| 45 |
The command has indeed failed with message: |
| 46 |
The reference w was not found in the current environment. |
| 47 |
File "./output/Notations.v", line 109, characters 0-78: |
| 48 |
The command has indeed failed with message: |
| 49 |
in the right-hand side, y and z should appear in |
| 50 |
term position as part of a recursive pattern. |
| 51 |
File "./output/Notations.v", line 110, characters 56-57: |
| 52 |
The command has indeed failed with message: |
| 53 |
z is expected to occur in binding position in the right-hand side. |
| 54 |
File "./output/Notations.v", line 114, characters 0-102: |
| 55 |
The command has indeed failed with message: |
| 56 |
as y is a non-closed binder, no such "," is allowed to occur. |
| 57 |
File "./output/Notations.v", line 118, characters 46-69: |
| 58 |
The command has indeed failed with message: |
| 59 |
Cannot find where the recursive pattern starts. |
| 60 |
File "./output/Notations.v", line 119, characters 46-62: |
| 61 |
The command has indeed failed with message: |
| 62 |
Cannot find where the recursive pattern starts. |
| 63 |
File "./output/Notations.v", line 120, characters 49-63: |
| 64 |
The command has indeed failed with message: |
| 65 |
Cannot find where the recursive pattern starts. |
| 66 |
File "./output/Notations.v", line 121, characters 50-64: |
| 67 |
The command has indeed failed with message: |
| 68 |
Cannot find where the recursive pattern starts. |
| 69 |
File "./output/Notations.v", line 124, characters 0-73: |
| 70 |
The command has indeed failed with message: |
| 71 |
Both ends of the recursive pattern are the same. |
| 72 |
SUM (nat * nat) nat |
| 73 |
: Set |
| 74 |
FST (0; 1) |
| 75 |
: nat |
| 76 |
Nil |
| 77 |
: forall A : Type, list A |
| 78 |
NIL : list nat |
| 79 |
: list nat |
| 80 |
(false && I 3)%bool /\ I 6 |
| 81 |
: Prop |
| 82 |
[|1, 2, 3; 4, 5, 6|] |
| 83 |
: nat * nat * nat * (nat * nat * nat) |
| 84 |
File "./output/Notations.v", line 167, characters 0-210: |
| 85 |
Warning: Notations "[| _ , _ , .. , _ ; _ , _ , .. , _ |]" defined at level 0 |
| 86 |
with arguments constr |
| 87 |
and "[| _ * ( _ , _ , .. , _ ) ; ( _ , _ , .. , _ ) * _ |]" |
| 88 |
defined at level 0 with arguments constr at level 39 |
| 89 |
have incompatible prefixes. One of them will likely not work. |
| 90 |
[notation-incompatible-prefix,parsing,default] |
| 91 |
[|0 * (1, 2, 3); (4, 5, 6) * false|] |
| 92 |
: nat * nat * (nat * nat) * (nat * nat) * |
| 93 |
(nat * bool * (nat * bool) * (nat * bool)) |
| 94 |
fun f : nat -> nat -> nat -> nat => {|f; 0; 1; 2|} : nat |
| 95 |
: (nat -> nat -> nat -> nat) -> nat |
| 96 |
{|fun x : nat => x + x; 0|} |
| 97 |
: nat |
| 98 |
{|op; 0; 1|} |
| 99 |
: nat |
| 100 |
File "./output/Notations.v", line 196, characters 0-26: |
| 101 |
Warning: |
| 102 |
New coercion path [c] : nat >-> bool is ambiguous with existing |
| 103 |
[of_nat] : nat >-> bool. [ambiguous-paths,coercions,default] |
| 104 |
false = 0 |
| 105 |
: Prop |
| 106 |
fun x : option nat => match x with |
| 107 |
| SOME x0 => x0 |
| 108 |
| NONE => 0 |
| 109 |
end |
| 110 |
: option nat -> nat |
| 111 |
fun x : option nat => match x with |
| 112 |
| SOME2 x0 => x0 |
| 113 |
| NONE2 => 0 |
| 114 |
end |
| 115 |
: option nat -> nat |
| 116 |
fun x : option nat => match x with |
| 117 |
| SOME3 _ x0 => x0 |
| 118 |
| NONE3 _ => 0 |
| 119 |
end |
| 120 |
: option nat -> nat |
| 121 |
fun x : list ?T => |
| 122 |
match x with |
| 123 |
| NIL => NONE3 (list ?T) |
| 124 |
| _ :' t => SOME3 (list ?T) t |
| 125 |
end |
| 126 |
: list ?T -> option (list ?T) |
| 127 |
where |
| 128 |
?T : |
| 129 |
[x : list ?T x1 : list ?T x0 := x1 : list ?T |- Type] (x, x1, |
| 130 |
x0 cannot be used) |
| 131 |
s |
| 132 |
: s |
| 133 |
10 |
| 134 |
: nat |
| 135 |
fun _ : nat => 9 |
| 136 |
: nat -> nat |
| 137 |
fun (x : nat) (p : x = x) => |
| 138 |
match p in _ = n return n = n with |
| 139 |
| ONE => ONE |
| 140 |
end = p |
| 141 |
: forall x : nat, x = x -> Prop |
| 142 |
fun (x : nat) (p : x = x) => |
| 143 |
match p in _ = n return n = n with |
| 144 |
| 1 => 1 |
| 145 |
end = p |
| 146 |
: forall x : nat, x = x -> Prop |
| 147 |
bar 0 |
| 148 |
: nat |
| 149 |
let k := rew [P] p in v in k |
| 150 |
: P y |
| 151 |
let k := rew [P] p in v in k |
| 152 |
: P y |
| 153 |
let k := rew <- [P] p in v' in k |
| 154 |
: P x |
| 155 |
let k := rew [P] p in v in k |
| 156 |
: P y |
| 157 |
let k := rew [P] p in v in k |
| 158 |
: P y |
| 159 |
let k := rew <- [P] p in v' in k |
| 160 |
: P x |
| 161 |
let k := rew [fun y : A => P y] p in v in k |
| 162 |
: P y |
| 163 |
let k := rew [fun y : A => P y] p in v in k |
| 164 |
: P y |
| 165 |
let k := rew <- [fun y : A => P y] p in v' in k |
| 166 |
: P x |
| 167 |
let k := rew [fun y : A => P y] p in v in k |
| 168 |
: P y |
| 169 |
let k := rew [fun y : A => P y] p in v in k |
| 170 |
: P y |
| 171 |
let k := rew <- [fun y : A => P y] p in v' in k |
| 172 |
: P x |
| 173 |
let k := rew dependent [P] p in v in k |
| 174 |
: P y p |
| 175 |
let k := rew dependent [P] p in v in k |
| 176 |
: P y p |
| 177 |
let k := rew dependent <- [P'] p in v' in k |
| 178 |
: P' x (eq_sym p) |
| 179 |
let k := rew dependent [P] p in v in k |
| 180 |
: P y p |
| 181 |
let k := rew dependent [P] p in v in k |
| 182 |
: P y p |
| 183 |
let k := rew dependent <- [P'] p in v' in k |
| 184 |
: P' x (eq_sym p) |
| 185 |
let k := rew dependent [P] p in v in k |
| 186 |
: P y p |
| 187 |
let k := rew dependent [P] p in v in k |
| 188 |
: P y p |
| 189 |
let k := rew dependent <- [P'] p in v' in k |
| 190 |
: P' x (eq_sym p) |
| 191 |
let k := rew dependent [fun y p => id (P y p)] p in v in k |
| 192 |
: P y p |
| 193 |
let k := rew dependent [fun y p => id (P y p)] p in v in k |
| 194 |
: P y p |
| 195 |
let k := rew dependent <- [fun y0 p => id (P' y0 p)] p in v' in k |
| 196 |
: P' x (eq_sym p) |
| 197 |
let k := rew dependent [P] p in v in k |
| 198 |
: P y p |
| 199 |
let k := rew dependent [P] p in v in k |
| 200 |
: P y p |
| 201 |
let k := rew dependent <- [P'] p in v' in k |
| 202 |
: P' x (eq_sym p) |
| 203 |
let k := rew dependent [fun y p0 => id (P y p0)] p in v in k |
| 204 |
: P y p |
| 205 |
let k := rew dependent [fun y p0 => id (P y p0)] p in v in k |
| 206 |
: P y p |
| 207 |
let k := rew dependent <- [fun y0 p0 => id (P' y0 p0)] p in v' in k |
| 208 |
: P' x (eq_sym p) |
| 209 |
rew dependent [P] p in v |
| 210 |
: P y p |
| 211 |
rew dependent <- [P'] p in v' |
| 212 |
: P' x (eq_sym p) |
| 213 |
rew dependent [fun a x => id (P a x)] p in v |
| 214 |
: id (P y p) |
| 215 |
rew dependent <- [fun a p' => id (P' a p')] p in v' |
| 216 |
: id (P' x (eq_sym p)) |