8b7dc4e03a
Perhaps, we should add an option to disable this new feature. Remark: this commit makes commit46d418a
redundant. I'm keeping46d418a
because we may retract this commit in the future.
25 lines
882 B
Text
25 lines
882 B
Text
rewrite_fail.lean:5:15: error:invalid 'rewrite' tactic, rewrite step failed using pattern
|
||
a
|
||
no subterm in the goal matched the pattern
|
||
proof state:
|
||
a b : ℕ,
|
||
Ha : a = 0,
|
||
Hb : b = 0
|
||
⊢ 0 + b = 0
|
||
rewrite_fail.lean:6:0: error: don't know how to synthesize placeholder
|
||
a b : ℕ,
|
||
Ha : a = 0,
|
||
Hb : b = 0
|
||
⊢ a + b = 0
|
||
rewrite_fail.lean:6:0: error: failed to add declaration 'example' to environment, value has metavariables
|
||
remark: set 'formatter.hide_full_terms' to false to see the complete term
|
||
?M_1
|
||
rewrite_fail.lean:11:2: error:invalid tactic, there are no goals to be solved
|
||
proof state:
|
||
no goals
|
||
rewrite_fail.lean:12:0: error: don't know how to synthesize placeholder
|
||
a : ℕ
|
||
⊢ a = a
|
||
rewrite_fail.lean:12:0: error: failed to add declaration 'example' to environment, value has metavariables
|
||
remark: set 'formatter.hide_full_terms' to false to see the complete term
|
||
?M_1
|