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

Method test_is_quantifier

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

Source from the content-addressed store, hash-verified

1554 assert not is_const(x + 1)
1555
1556 def test_is_quantifier(self):
1557 x = Int("x")
1558 assert is_quantifier(ForAll([x], x > 0))
1559 assert is_quantifier(Exists([x], x > 0))
1560 assert not is_quantifier(x > 0)
1561
1562 def test_is_eq_ne(self):
1563 x, y = Ints("x y")

Callers

nothing calls this directly

Calls 4

IntFunction · 0.90
is_quantifierFunction · 0.90
ForAllFunction · 0.90
ExistsFunction · 0.90

Tested by

no test coverage detected