Documentation

Lean.Meta.Tactic.Grind.BitVec

Propagators that evaluate structural BitVec operations on literals.

The arguments are matched modulo equalities: given x = 42#64, the propagator for extractLsb' asserts BitVec.extractLsb' 63 32 x = 0#32. The proofs combine the generic congruence theorems Grind.eval_congr₁/Grind.eval_congr₂ with an Eq.refl hypothesis discharged by kernel reduction. Arguments that occur in the result type (widths, extract bounds, replicate counts) must be syntactic literals; the remaining arguments only need to be equal to literals.

We deliberately skip:

The table.