MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / assertions

Method assertions

lean_py/z3/solver.py:601–602  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

599 )
600
601 def assertions(self) -> list[BoolRef]:
602 return list(self._assertions)
603
604 def assert_and_track(self, a: BoolRef, p: BoolRef | None = None) -> None:
605 """Add assertion tracked by p (tracking ignored — no unsat core support)."""

Callers 8

test_solver_resetMethod · 0.95
test_solver_appendMethod · 0.95
test_solver_insertMethod · 0.95
test_context_managerMethod · 0.95
test_resetMethod · 0.95

Calls

no outgoing calls

Tested by 8

test_solver_resetMethod · 0.76
test_solver_appendMethod · 0.76
test_solver_insertMethod · 0.76
test_context_managerMethod · 0.76
test_resetMethod · 0.76