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

Method test_implies

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

Source from the content-addressed store, hash-verified

488 assert is_not(Not(p))
489
490 def test_implies(self):
491 p, q = Bools("p q")
492 imp = Implies(p, q)
493 assert is_implies(imp)
494
495 def test_demorgan_proof(self, kernel):
496 """Guide: De Morgan's law: Not(And(p,q)) == Or(Not(p), Not(q))"""

Callers

nothing calls this directly

Calls 3

BoolsFunction · 0.90
ImpliesFunction · 0.90
is_impliesFunction · 0.90

Tested by

no test coverage detected