23 lines
800 B
Text
23 lines
800 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 '14.0' to environment, value has metavariables
|
||
remark: set 'formatter.hide_full_terms' to false to see the complete term
|
||
λ (a b : ℕ) (Ha : …) (Hb : …),
|
||
?M_1
|
||
rewrite_fail.lean:11:2: error: tactic failed
|
||
no goals
|
||
rewrite_fail.lean:12:0: error: failed to add declaration '14.1' to environment, value has metavariables
|
||
remark: set 'formatter.hide_full_terms' to false to see the complete term
|
||
λ (a : ℕ),
|
||
?M_1
|