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.
22 lines
813 B
Text
22 lines
813 B
Text
assert_fail.lean:3:2: error:invalid 'assert' tactic, goal already has a hypothesis named 'H'
|
|
proof state:
|
|
a b : Prop,
|
|
H : b ∧ a
|
|
⊢ a ∧ b
|
|
assert_fail.lean:4:0: error: don't know how to synthesize placeholder
|
|
a b : Prop,
|
|
H : b ∧ a
|
|
⊢ a ∧ b
|
|
assert_fail.lean:4: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
|
|
assert_fail.lean:9:2: error:invalid tactic, there are no goals to be solved
|
|
proof state:
|
|
no goals
|
|
assert_fail.lean:10:0: error: don't know how to synthesize placeholder
|
|
a : Prop,
|
|
Ha : a
|
|
⊢ a
|
|
assert_fail.lean:10: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
|