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: BitVec.[toInt|toFin]_concat and Bool.toInt #6182

Open tobiasgrosser opened 6 days ago

tobiasgrosser commented 6 days ago

This PR adds BitVec.[toInt|toFin]_concat and moves a couple of theorems into the concat section, as BitVec.msb_concat is needed for the toInt_concat proof.

We also add Bool.toInt.

tobiasgrosser commented 6 days ago

changelog-library

leanprover-community-bot commented 6 days ago

Mathlib CI status (docs):

tobiasgrosser commented 6 hours ago

awaiting-review