lean4-htt/tests/lean/run/bv_bitblast_stress.lean
Henrik Böving da9c68a37a feat: import LeanSAT's tactic frontends
Co-authored-by: Markus Himmel <markus@lean-fro.org>
2024-08-28 18:14:39 +02:00

18 lines
497 B
Text

import Std.Tactic.BVDecide
open BitVec
theorem t1 {x y : BitVec 64} (h : x = y) : (~~~x) &&& y = (~~~y) &&& x := by
bv_decide
theorem t2 {x y : BitVec 512} (h : x = y) : (~~~x) &&& y = (~~~y) &&& x := by
bv_decide
theorem t3 {x y : BitVec 1024} (h : x = y) : (~~~x) &&& y = (~~~y) &&& x := by
bv_decide
theorem t4 {x y : BitVec 2048} (h : x = y) : (~~~x) &&& y = (~~~y) &&& x := by
bv_decide
theorem t5 {x y : BitVec 4096} (h : x = y) : (~~~x) &&& y = (~~~y) &&& x := by
bv_decide