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

Method test_bv_zero_extend

tests/test_z3_ported.py:1996–2000  ·  view source on GitHub ↗

ZeroExt preserves concrete values.

(self, kernel)

Source from the content-addressed store, hash-verified

1994 assert prove(claim)
1995
1996 def test_bv_zero_extend(self, kernel):
1997 """ZeroExt preserves concrete values."""
1998 v = BitVecVal(10, 8)
1999 claim = ZeroExt(8, v) == BitVecVal(10, 16)
2000 assert prove(claim)
2001
2002 def test_array_functional_update(self, kernel):
2003 """Two stores at same index: second overwrites first."""

Callers

nothing calls this directly

Calls 3

BitVecValFunction · 0.90
ZeroExtFunction · 0.90
proveFunction · 0.90

Tested by

no test coverage detected