Skip to content

[Merged by Bors] - chore: adaptations for nightly-2026-04-16#209

Closed
kim-em wants to merge 106 commits into
bump/v4.31.0from
bump/nightly-2026-04-16
Closed

[Merged by Bors] - chore: adaptations for nightly-2026-04-16#209
kim-em wants to merge 106 commits into
bump/v4.31.0from
bump/nightly-2026-04-16

Conversation

@kim-em

@kim-em kim-em commented Apr 17, 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>
attribute [local simp] normalized hasNestedIf hasConstantIf hasRedundantIf disjoint vars
List.disjoint

set_option warning.simp.varHead false in

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to set up tech debt counters for these?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. I think this would be a good idea, as each such silencing means that there is an inefficient lemma in the simp set, but in the core lean4 there was an example, where this was done deliberately on a small local simpset.

@kim-em

kim-em commented Apr 17, 2026

Copy link
Copy Markdown
Author

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Apr 17, 2026
Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: thorimur <68410468+thorimur@users.noreply.github.com>
Co-authored-by: leanprover-community-mathlib4-bot <leanprover-community-mathlib4-bot@users.noreply.github.com>
Co-authored-by: Wojciech Rozowski <wojciech@lean-fro.org>
@mathlib-bors

mathlib-bors Bot commented Apr 18, 2026

Copy link
Copy Markdown

Pull request successfully merged into bump/v4.31.0.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: adaptations for nightly-2026-04-16 [Merged by Bors] - chore: adaptations for nightly-2026-04-16 Apr 18, 2026
@mathlib-bors mathlib-bors Bot closed this Apr 18, 2026
@mathlib-bors mathlib-bors Bot deleted the bump/nightly-2026-04-16 branch April 18, 2026 00:39
kim-em added a commit to leanprover-community/mathlib-ci that referenced this pull request Apr 18, 2026
This PR adds a counter for `set_option warning.simp.varHead false`
occurrences to the weekly tech debt report.

The `warning.simp.varHead` option silences a warning introduced in Lean
about simp lemmas whose LHS has a metavariable as its head. Places where
this warning is silenced are tech debt we want to track over time.

Prompted by discussion on
leanprover-community/mathlib4-nightly-testing#209
which adds several `set_option warning.simp.varHead false in` uses.

🤖 Prepared with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bryangingechen pushed a commit to leanprover-community/mathlib-ci that referenced this pull request Apr 28, 2026
This PR adds a counter for `set_option warning.simp.varHead false`
occurrences to the weekly tech debt report.

The `warning.simp.varHead` option silences a warning introduced in Lean
about simp lemmas whose LHS has a metavariable as its head. Places where
this warning is silenced are tech debt we want to track over time.

Prompted by discussion on
leanprover-community/mathlib4-nightly-testing#209
which adds several `set_option warning.simp.varHead false in` uses.

🤖 Prepared with Claude Code

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
kim-em added a commit to kim-em/mathlib-ci that referenced this pull request May 22, 2026
…rover-community#21)

This PR adds a counter for `set_option warning.simp.varHead false`
occurrences to the weekly tech debt report.

The `warning.simp.varHead` option silences a warning introduced in Lean
about simp lemmas whose LHS has a metavariable as its head. Places where
this warning is silenced are tech debt we want to track over time.

Prompted by discussion on
leanprover-community/mathlib4-nightly-testing#209
which adds several `set_option warning.simp.varHead false in` uses.

🤖 Prepared with Claude Code

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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