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

Method test_bv_or_self

tests/test_z3_ported.py:685–689  ·  view source on GitHub ↗

x | x == x.

(self, kernel)

Source from the content-addressed store, hash-verified

683 assert prove(claim)
684
685 def test_bv_or_self(self, kernel):
686 """x | x == x."""
687 x = BitVec("x", 8)
688 claim = ForAll([x], (x | x) == x)
689 assert prove(claim)
690
691 def test_bv_not_not(self, kernel):
692 """~~x == x."""

Callers

nothing calls this directly

Calls 3

BitVecFunction · 0.90
ForAllFunction · 0.90
proveFunction · 0.90

Tested by

no test coverage detected