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

Method test_forall_basic

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

Source from the content-addressed store, hash-verified

989 """Ported from z3py guide & socrates.py."""
990
991 def test_forall_basic(self):
992 x = Int("x")
993 q = ForAll([x], x + 0 == x)
994 assert isinstance(q._ast, ForAllNode)
995 assert is_quantifier(q)
996
997 def test_exists_basic(self):
998 x = Int("x")

Callers

nothing calls this directly

Calls 3

IntFunction · 0.90
ForAllFunction · 0.90
is_quantifierFunction · 0.90

Tested by

no test coverage detected