lean4
lean4 copied to clipboard
feat: an .else_eq theorem for sparse casesOn
This PR adds a realizable .else_eq theorem for sparse casesOn
constructions, for rewriting the else case.
This code was complicated by having to work around the kernel reduction
issues in #11181 around Nat.xor etc.
Reference manual CI status:
- ❗ Reference manual CI can not be attempted yet, as the
nightly-testing-2025-11-25tag does not exist there yet. We will retry when you push more commits. If you rebase your branch ontonightly-with-manual, reference manual CI should run now. You can force reference manual CI using theforce-manual-cilabel. (2025-11-27 15:49:55) - ❗ Reference manual CI can not be attempted yet, as the
nightly-testing-2025-12-13tag does not exist there yet. We will retry when you push more commits. If you rebase your branch ontonightly-with-manual, reference manual CI should run now. You can force reference manual CI using theforce-manual-cilabel. (2025-12-14 12:33:46)
Mathlib CI status (docs):
- ✅ Mathlib branch lean-pr-testing-11402 has successfully built against this PR. (2025-11-27 16:52:07) View Log
- ✅ Mathlib branch lean-pr-testing-11402 has successfully built against this PR. (2025-12-14 13:40:38) View Log
This crept in together with #11666