| 1 |
File "./output/Arguments_renaming.v", line 2, characters 0-36: |
| 2 |
The command has indeed failed with message: |
| 3 |
Flag "rename" expected to rename A into B. |
| 4 |
File "./output/Arguments_renaming.v", line 3, characters 0-19: |
| 5 |
Warning: This command is just asserting the names of arguments of eq. If this |
| 6 |
is what you want, add ': assert' to silence the warning. If you want to clear |
| 7 |
implicit arguments, add ': clear implicits'. If you want to clear notation |
| 8 |
scopes, add ': clear scopes' [arguments-assert,vernacular,default] |
| 9 |
@eq_refl |
| 10 |
: forall (B : Type) (y : B), y = y |
| 11 |
eq_refl |
| 12 |
: ?y = ?y |
| 13 |
where |
| 14 |
?y : [ |- nat] |
| 15 |
Inductive eq (A : Type) (x : A) : A -> Prop := eq_refl : x = x. |
| 16 |
|
| 17 |
Arguments eq {A}%_type_scope x _ |
| 18 |
Arguments eq_refl {B}%_type_scope {y}, [_] _ |
| 19 |
(where some original arguments have been renamed) |
| 20 |
eq_refl : forall {B : Type} {y : B}, y = y |
| 21 |
|
| 22 |
eq_refl is template universe polymorphic |
| 23 |
Arguments eq_refl {B}%_type_scope {y}, [_] _ |
| 24 |
(where some original arguments have been renamed) |
| 25 |
Expands to: Constructor Corelib.Init.Logic.eq_refl |
| 26 |
Declared in library Corelib.Init.Logic, line 380, characters 4-11 |
| 27 |
Inductive myEq (B : Type) (x : A) : A -> Prop := myrefl : B -> myEq B x x. |
| 28 |
|
| 29 |
Arguments myEq B%_type_scope x _ |
| 30 |
Arguments myrefl {C}%_type_scope x _ |
| 31 |
(where some original arguments have been renamed) |
| 32 |
myrefl : forall {C : Type} (x : A), C -> myEq C x x |
| 33 |
|
| 34 |
myrefl is template universe polymorphic |
| 35 |
Arguments myrefl {C}%_type_scope x _ |
| 36 |
(where some original arguments have been renamed) |
| 37 |
myrefl uses section variable A. |
| 38 |
Expands to: Constructor Arguments_renaming.Test1.myrefl |
| 39 |
Declared in library Arguments_renaming, line 25, characters 40-46 |
| 40 |
myplus = |
| 41 |
fix myplus (T : Type) (t : T) (n m : nat) {struct n} : nat := |
| 42 |
match n with |
| 43 |
| 0 => m |
| 44 |
| S n' => S (myplus T t n' m) |
| 45 |
end |
| 46 |
: forall {T : Type}, T -> nat -> nat -> nat |
| 47 |
|
| 48 |
Arguments myplus {Z}%_type_scope !t (!n m)%_nat_scope |
| 49 |
(where some original arguments have been renamed) |
| 50 |
myplus : forall {Z : Type}, Z -> nat -> nat -> nat |
| 51 |
|
| 52 |
myplus is not universe polymorphic |
| 53 |
Arguments myplus {Z}%_type_scope !t (!n m)%_nat_scope |
| 54 |
(where some original arguments have been renamed) |
| 55 |
The reduction tactics unfold myplus when the 2nd and |
| 56 |
3rd arguments evaluate to a constructor |
| 57 |
myplus is transparent |
| 58 |
Expands to: Constant Arguments_renaming.Test1.myplus |
| 59 |
Declared in library Arguments_renaming, line 31, characters 9-15 |
| 60 |
@myplus |
| 61 |
: forall Z : Type, Z -> nat -> nat -> nat |
| 62 |
Inductive myEq (A B : Type) (x : A) : A -> Prop := |
| 63 |
myrefl : B -> myEq A B x x. |
| 64 |
|
| 65 |
Arguments myEq (A B)%_type_scope x _ |
| 66 |
Arguments myrefl A%_type_scope {C}%_type_scope x _ |
| 67 |
(where some original arguments have been renamed) |
| 68 |
myrefl : forall (A : Type) {C : Type} (x : A), C -> myEq A C x x |
| 69 |
|
| 70 |
myrefl is template universe polymorphic |
| 71 |
Arguments myrefl A%_type_scope {C}%_type_scope x _ |
| 72 |
(where some original arguments have been renamed) |
| 73 |
Expands to: Constructor Arguments_renaming.myrefl |
| 74 |
Declared in library Arguments_renaming, line 25, characters 40-46 |
| 75 |
myrefl |
| 76 |
: forall (A C : Type) (x : A), C -> myEq A C x x |
| 77 |
myplus = |
| 78 |
fix myplus (T : Type) (t : T) (n m : nat) {struct n} : nat := |
| 79 |
match n with |
| 80 |
| 0 => m |
| 81 |
| S n' => S (myplus T t n' m) |
| 82 |
end |
| 83 |
: forall {T : Type}, T -> nat -> nat -> nat |
| 84 |
|
| 85 |
Arguments myplus {Z}%_type_scope !t (!n m)%_nat_scope |
| 86 |
(where some original arguments have been renamed) |
| 87 |
myplus : forall {Z : Type}, Z -> nat -> nat -> nat |
| 88 |
|
| 89 |
myplus is not universe polymorphic |
| 90 |
Arguments myplus {Z}%_type_scope !t (!n m)%_nat_scope |
| 91 |
(where some original arguments have been renamed) |
| 92 |
The reduction tactics unfold myplus when the 2nd and |
| 93 |
3rd arguments evaluate to a constructor |
| 94 |
myplus is transparent |
| 95 |
Expands to: Constant Arguments_renaming.myplus |
| 96 |
Declared in library Arguments_renaming, line 31, characters 9-15 |
| 97 |
@myplus |
| 98 |
: forall Z : Type, Z -> nat -> nat -> nat |
| 99 |
File "./output/Arguments_renaming.v", line 49, characters 0-36: |
| 100 |
The command has indeed failed with message: |
| 101 |
Argument lists should agree on the names they provide. |
| 102 |
File "./output/Arguments_renaming.v", line 50, characters 0-41: |
| 103 |
The command has indeed failed with message: |
| 104 |
Sequences of implicit arguments must be of different lengths. |
| 105 |
File "./output/Arguments_renaming.v", line 51, characters 0-37: |
| 106 |
The command has indeed failed with message: |
| 107 |
Argument number 3 is a trailing implicit, so it can't be declared non |
| 108 |
maximal. Please use { } instead of [ ]. |
| 109 |
File "./output/Arguments_renaming.v", line 52, characters 0-37: |
| 110 |
The command has indeed failed with message: |
| 111 |
Argument z is a trailing implicit, so it can't be declared non maximal. |
| 112 |
Please use { } instead of [ ]. |
| 113 |
File "./output/Arguments_renaming.v", line 53, characters 0-28: |
| 114 |
The command has indeed failed with message: |
| 115 |
Extra arguments: y. |
| 116 |
File "./output/Arguments_renaming.v", line 54, characters 0-26: |
| 117 |
The command has indeed failed with message: |
| 118 |
Flag "rename" expected to rename A into R. |
| 119 |
File "./output/Arguments_renaming.v", line 58, characters 2-36: |
| 120 |
The command has indeed failed with message: |
| 121 |
Arguments of section variables such as allTrue may not be renamed. |