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
import Smt
set_option trace.smt true
set_option trace.smt.solve true
variable {node : Type} [Nonempty node]
theoremwrong (a : node → Prop)
: ∀ n, a n ↔ a n := by smt
The generated query is:
(set-logic ALL)
(declare-sortnode0)
(declare-funa (node) Bool)
(declare-funIff (BoolBool) Bool)
(assert (not (forall ((n node)) (Iff (a n) (a n)))))
(check-sat)
which returns sat
The text was updated successfully, but these errors were encountered:
Hi @dranov! Thanks for filing the bug and working on a fix. While your PR is sound, the proof reconstruction part of the tactic is not aware of the change, which might cause Lean to reject the reconstructed proof. To avoid confusion, it's better to eliminate Iff in a pre-processing step. PR #123 addresses this for the most part, though there may still be some corner cases. We'll have a proper solution once we start integrating lean-smt with lean-auto.
The generated query is:
which returns
sat
The text was updated successfully, but these errors were encountered: