Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ add
Method
add
lean_py/z3/solver.py:556–558 ·
view source on GitHub ↗
(self, *args: BoolRef)
Source
from the content-addressed store, hash-verified
554
self._stack: list[int] = []
555
556
def
add(self, *args: BoolRef) -> None:
557
for
a in args:
558
self._assertions.append(a)
559
560
# Aliases for add
561
append = add
Callers
15
solve
Function · 0.95
test_solver_basic
Method · 0.95
test_solver_push_pop
Method · 0.95
test_solver_nested_push_pop
Method · 0.95
test_solver_assertions
Method · 0.95
test_solver_reset
Method · 0.95
test_solver_context_manager
Method · 0.95
test_dog_cat_mouse_unsat_variant
Method · 0.95
test_1queen_sat
Method · 0.95
test_2queens_unsat
Method · 0.95
test_3queens_unsat
Method · 0.95
test_sudoku_range_constraints
Method · 0.95
Calls
no outgoing calls
Tested by
15
test_solver_basic
Method · 0.76
test_solver_push_pop
Method · 0.76
test_solver_nested_push_pop
Method · 0.76
test_solver_assertions
Method · 0.76
test_solver_reset
Method · 0.76
test_solver_context_manager
Method · 0.76
test_dog_cat_mouse_unsat_variant
Method · 0.76
test_1queen_sat
Method · 0.76
test_2queens_unsat
Method · 0.76
test_3queens_unsat
Method · 0.76
test_sudoku_range_constraints
Method · 0.76
test_sudoku_range_contradiction
Method · 0.76