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

Method test_exists_basic

tests/test_z3_ported.py:997–1001  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

995 assert is_quantifier(q)
996
997 def test_exists_basic(self):
998 x = Int("x")
999 q = Exists([x], x > 0)
1000 assert isinstance(q._ast, ExistsNode)
1001 assert is_quantifier(q)
1002
1003 def test_forall_binds_variable(self):
1004 """Bound variable not in free vars."""

Callers

nothing calls this directly

Calls 3

IntFunction · 0.90
ExistsFunction · 0.90
is_quantifierFunction · 0.90

Tested by

no test coverage detected