Skip to content

chore: adaptations for nightly-2026-04-27#213

Merged
kim-em merged 164 commits into
bump/v4.31.0from
bump/nightly-2026-04-27
May 4, 2026
Merged

chore: adaptations for nightly-2026-04-27#213
kim-em merged 164 commits into
bump/v4.31.0from
bump/nightly-2026-04-27

Conversation

@kim-em

@kim-em kim-em commented Apr 28, 2026

Copy link
Copy Markdown

No description provided.

leanprover-community-mathlib4-bot and others added 30 commits March 24, 2026 06:31
This provides a `PowIdentity K (Fintype.card K)` instance for any finite
field, based on `FiniteField.pow_card` (Fermat's little theorem). This
allows the `grind` ring solver to reduce high-degree polynomials over
finite fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adapt to leanprover/lean4#13217 which requires indented tactic sequences
after `by` and `decreasing_by`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adapt to leanprover/lean4#13217.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
kim-em and others added 23 commits April 24, 2026 10:22
Adapt proofs to lean4#13363 which replaces the transparency bump from
`.reducible` to `.instances` in `whnfMatcher` with an explicit allowlist
in `canUnfoldAtMatcher`. Class projections like `CategoryStruct.comp`,
`CategoryStruct.id`, `Stream.next?`, `Min.min` etc. are no longer
auto-unfolded in match discriminants and need explicit unfolding in
proofs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove `zero_zero_eq`, `one_one_eq`, `repr_zero'`, and `ofNat_unfold`
which were added during the lean4#13363 adaptation but are not used in
any proofs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use `WalkingMulticospan.Hom.id_eq_id` and `Functor.map_id` to reduce
stuck matches on `𝟙` in WalkingMulticospan naturality proofs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread Mathlib/Algebra/Group/Defs.lean Outdated
Comment thread Mathlib/SetTheory/Ordinal/Notation.lean Outdated
@kim-em kim-em merged commit 4da6935 into bump/v4.31.0 May 4, 2026
11 checks passed
@mathlib-bors mathlib-bors Bot deleted the bump/nightly-2026-04-27 branch May 4, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants