leanprover / lean4

Lean 4 programming language and theorem prover
https://lean-lang.org
Apache License 2.0
4.75k stars 427 forks source link

feat: add BitVec.[toNat|toInt|toFin|getLsbD|getMsbD|getElem|msb]_fill #6177

Open tobiasgrosser opened 6 days ago

tobiasgrosser commented 6 days ago

This PR implements BitVec.*_fill.

tobiasgrosser commented 6 days ago

changelog-library

leanprover-community-bot commented 6 days ago

Mathlib CI status (docs):

kim-em commented 6 days ago

An alternative approch here might be to deprecate/delete fill. Do you know why we have it in the first place?