feat: verify partition for hashmaps
This PR verifies the partition function for hashmaps.
The approach here is to reuse the lemmas of the filter results as shown here for two example. ~~This hinges on two lemmas I cant prove right now~~, but I am pretty sure they should hold. Please ignore the style violations for now; I will fix the unsqueezed simps and long lines later. Suggestions for name are appreciated though.
Mathlib CI status (docs):
- ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 51b67385cc0cd2613764ee4607957fef1f06128b --onto b0e6db322421ce368999f08870fd747e45242f86. You can force Mathlib CI using theforce-mathlib-cilabel. (2025-11-25 23:27:26) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 54fbe931ab77351ccba28aa7c03f22c717ba0681 --onto 0173444d24df9253d7947cfe82519e4a6caffd3a. You can force Mathlib CI using theforce-mathlib-cilabel. (2025-12-04 08:27:57) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 54fbe931ab77351ccba28aa7c03f22c717ba0681 --onto dd28f005889dd2fcca6fe0638133de561a655ad1. You can force Mathlib CI using theforce-mathlib-cilabel. (2025-12-04 22:05:37) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 6a0b0c8273ab560d093494a2daa4dd3088437ad1 --onto fb6c96e54bc3b27fb7d7fbd1c7c2bfa950af2837. You can force Mathlib CI using theforce-mathlib-cilabel. (2025-12-15 07:50:59)
Reference manual CI status:
- ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 51b67385cc0cd2613764ee4607957fef1f06128b --onto d3dda9f6d4428a906c096067ecb75e432afc4615. You can force reference manual CI using theforce-manual-cilabel. (2025-11-25 23:27:28) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 54fbe931ab77351ccba28aa7c03f22c717ba0681 --onto d3dda9f6d4428a906c096067ecb75e432afc4615. You can force reference manual CI using theforce-manual-cilabel. (2025-12-04 08:27:59) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 6a0b0c8273ab560d093494a2daa4dd3088437ad1 --onto 646df6ba16b3f68de539a085456c323e160e206d. You can force reference manual CI using theforce-manual-cilabel. (2025-12-15 07:51:00) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase ad2105dc942c12cab201fe24af3acef0d15d9e6b --onto 861bc19e0c1c45b5766cc5c9ef0488568368b236. You can force reference manual CI using theforce-manual-cilabel. (2026-04-08 17:17:54) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 1884c3b2ed559513f455b39ffc42ae3d0ece3f8b --onto 861bc19e0c1c45b5766cc5c9ef0488568368b236. You can force reference manual CI using theforce-manual-cilabel. (2026-04-14 18:07:36) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 3fc99eef102549c743c6c63547983319bfae6f01 --onto fed2f32651e1e24a507c12aae234ac59e4d9916a. You can force reference manual CI using theforce-manual-cilabel. (2026-04-17 06:33:03) - ✅ Reference manual branch lean-pr-testing-11363 has successfully built against this PR. (2026-04-17 21:43:42) View Log
- 🟡 Reference manual branch lean-pr-testing-11363 build against this PR didn't complete normally. (2026-04-17 21:45:09) View Log
- ✅ Reference manual branch lean-pr-testing-11363 has successfully built against this PR. (2026-05-04 12:45:55) View Log
- 🟡 Reference manual branch lean-pr-testing-11363 build against this PR didn't complete normally. (2026-05-04 12:47:22) View Log
Open question: Do we want to provide all lemmas for both results of partitions as seen here or just provide the equiv results and let the user build it themselves?
awaiting-review
changelog-library
Mathlib CI status (docs):
- ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase ad2105dc942c12cab201fe24af3acef0d15d9e6b --onto 4f6bcc5adac8d6234a9e3def3675402cb89823c6. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-04-08 17:17:52) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 1884c3b2ed559513f455b39ffc42ae3d0ece3f8b --onto d76e5a1886956bb38dc6bd2868260550dc66c309. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-04-14 18:07:34) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 3fc99eef102549c743c6c63547983319bfae6f01 --onto fed2f32651e1e24a507c12aae234ac59e4d9916a. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-04-17 06:33:01) - ❗ Mathlib CI can not be attempted yet, as the
nightly-testing-2026-04-17tag does not exist there yet. We will retry when you push more commits. If you rebase your branch ontonightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-04-17 21:38:27) - ✅ Mathlib branch lean-pr-testing-11363 has successfully built against this PR. (2026-05-04 13:37:59) View Log
awaiting-review