| 1 |
Ltac t1 := time "my tactic" idtac |
| 2 |
Ltac t2 := let x := string:("my tactic") in |
| 3 |
idtac x |
| 4 |
Ltac t3 := idtacstr "my tactic" |
| 5 |
Ltac t4 x := match x with |
| 6 |
| ?A => constr:((A, A)) |
| 7 |
end |
| 8 |
File "./output/print_ltac.v", line 17, characters 27-32: |
| 9 |
The command has indeed failed with message: |
| 10 |
idnat is bound to a notation that does not denote a reference. |
| 11 |
Ltac withstrategy l x := |
| 12 |
let idx := smart_global:(id) in |
| 13 |
let tl := strategy_level:(transparent) in |
| 14 |
with_strategy 1 [ id id ] |
| 15 |
with_strategy l [ id id ] |
| 16 |
with_strategy tl [ id id ] |
| 17 |
with_strategy transparent [ id id ] |
| 18 |
with_strategy transparent [ id id ] |
| 19 |
with_strategy opaque [ id id ] |
| 20 |
with_strategy expand [ id id ] |
| 21 |
with_strategy transparent [ idx ] |
| 22 |
with_strategy transparent [ id x ] |
| 23 |
with_strategy transparent [ x id ] |
| 24 |
with_strategy transparent [ id ] |
| 25 |
with_strategy transparent [ id x ] |
| 26 |
with_strategy transparent [ id id ] |
| 27 |
with_strategy transparent [ id id x ] |
| 28 |
with_strategy transparent [ id ] |
| 29 |
with_strategy transparent [ id x ] |
| 30 |
with_strategy transparent [ id id ] |
| 31 |
with_strategy transparent [ id id x ] |
| 32 |
idtac |
| 33 |
File "./output/print_ltac.v", line 52, characters 29-34: |
| 34 |
The command has indeed failed with message: |
| 35 |
idnat is bound to a notation that does not denote a reference. |
| 36 |
Ltac withstrategy l x := |
| 37 |
let idx := smart_global:(id) in |
| 38 |
let tl := strategy_level:(transparent) in |
| 39 |
with_strategy 1 [ id id ] |
| 40 |
with_strategy l [ id id ] |
| 41 |
with_strategy tl [ id id ] |
| 42 |
with_strategy transparent [ id id ] |
| 43 |
with_strategy transparent [ id id ] |
| 44 |
with_strategy opaque [ id id ] |
| 45 |
with_strategy expand [ id id ] |
| 46 |
with_strategy transparent [ idx ] |
| 47 |
with_strategy transparent [ id x ] |
| 48 |
with_strategy transparent [ x id ] |
| 49 |
with_strategy transparent [ id ] |
| 50 |
with_strategy transparent [ id x ] |
| 51 |
with_strategy transparent [ id id ] |
| 52 |
with_strategy transparent [ id id x ] |
| 53 |
with_strategy transparent [ id ] |
| 54 |
with_strategy transparent [ id x ] |
| 55 |
with_strategy transparent [ id id ] |
| 56 |
with_strategy transparent [ id id x ] |
| 57 |
idtac |
| 58 |
Ltac FE.withstrategy l x := |
| 59 |
let idx := smart_global:(FE.id) in |
| 60 |
let tl := strategy_level:(transparent) in |
| 61 |
with_strategy 1 [ FE.id FE.id ] |
| 62 |
with_strategy l [ FE.id FE.id ] |
| 63 |
with_strategy tl [ FE.id FE.id ] |
| 64 |
with_strategy transparent [ FE.id FE.id ] |
| 65 |
with_strategy transparent [ FE.id FE.id ] |
| 66 |
with_strategy opaque [ FE.id FE.id ] |
| 67 |
with_strategy expand [ FE.id FE.id ] |
| 68 |
with_strategy transparent [ idx ] |
| 69 |
with_strategy transparent [ FE.id x ] |
| 70 |
with_strategy transparent [ x FE.id ] |
| 71 |
with_strategy transparent [ FE.id ] |
| 72 |
with_strategy transparent [ FE.id x ] |
| 73 |
with_strategy transparent [ FE.id FE.id ] |
| 74 |
with_strategy transparent [ FE.id FE.id x ] |
| 75 |
with_strategy transparent [ FE.id ] |
| 76 |
with_strategy transparent [ FE.id x ] |
| 77 |
with_strategy transparent [ FE.id FE.id ] |
| 78 |
with_strategy transparent [ FE.id FE.id x |
| 79 |
] idtac |