lean4-htt/tests/lean/run/bv_unused.lean
Henrik Böving 88c193d71c
fix: out of bounds access when the CNF is too small (#5220)
As reported by @alexkeizer to me.
2024-08-30 22:30:03 +00:00

11 lines
240 B
Text

import Std.Tactic.BVDecide
open BitVec
/--
error: The prover found a potential counterexample, consider the following assignment:
y = 0xffffffffffffffff#64
-/
#guard_msgs in
example {y : BitVec 64} : zeroExtend 32 y = 0 := by
bv_decide