HepLean Documentation

Std.Tactic.BVDecide.Normalize.Canonicalize

This contains theorems responsible for turning both Bool and BitVec goals into the x = true normal form (where x consists of only Bool and BitVec) expected by bv_decide.

theorem Std.Tactic.BVDecide.Normalize.BitVec.eq_to_beq {w : Nat} (a : BitVec w) (b : BitVec w) :
(a = b) = ((a == b) = true)
theorem Std.Tactic.BVDecide.Normalize.BitVec.ne_to_beq {w : Nat} (a : BitVec w) (b : BitVec w) :
(a b) = ((!a == b) = true)
theorem Std.Tactic.BVDecide.Normalize.BitVec.lt_ult {w : Nat} (x : BitVec w) (y : BitVec w) :
(x < y) = (x.ult y = true)