lean4-htt/tests/lean/run/grind_bitvec.lean
Leonardo de Moura 6683d1eb91
chore: add module keyword to grind tests (#10036)
This PR also fixes missing `@[expose]` in grind support definitions.
2025-08-21 22:02:08 +00:00

8 lines
195 B
Text

module
open BitVec
example (x : BitVec (w+1)) : (cons x.msb (x.setWidth w)) = x := by
grind
example {x : BitVec v} (h : w ≤ v) : BitVec.setWidth w (-x) = -BitVec.setWidth w x := by
grind