You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a whole bunch of tactics which don't fail immediately but ultimately result in an invalid proof. Here's some archetypical ones from the top of my head:
example : false := by tactic.set_goals []
example : false := by exact undefined
example : false := by exact sorryexample : false :=
begin
tactic.add_decl (declaration.ax `very.clever [] `(false)),
exact very.clever,
end
The last one doesn't even produce a warning. In general, the whole trust model of Lean depends on the kernel type checker. Tactics will occasionally produce invalid proof terms due to bugs.
Prerequisites
or feature requests.
Description
Lean accepts
{! !}
within proofs leading to inconsistent type-checking.Zulip discussion: https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Question.20about.20.7B!.20!.7D
Steps to Reproduce
Expected behavior:
Errors
Actual behavior:
Gladly accepts the proof
Reproduces how often:
100%
Versions
Lean (version 3.42.1, commit 68455b0, Release)
The text was updated successfully, but these errors were encountered: