Skip to content

feat: upstream unusedDecidableInType linter#13688

Merged
wkrozowski merged 43 commits into
leanprover:masterfrom
wkrozowski:wojciech/unusedDecidableInType
May 14, 2026
Merged

feat: upstream unusedDecidableInType linter#13688
wkrozowski merged 43 commits into
leanprover:masterfrom
wkrozowski:wojciech/unusedDecidableInType

Conversation

@wkrozowski
Copy link
Copy Markdown
Contributor

@wkrozowski wkrozowski commented May 8, 2026

This PR upstreams unusedDecidableInType linter from mathlib.

Stacked on top of #11313.

thorimur and others added 30 commits April 23, 2026 15:03
@wkrozowski wkrozowski added the changelog-no Do not include this PR in the release changelog label May 8, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 8, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

mathlib-lean-pr-testing Bot commented May 8, 2026

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 355dca6f57c6fec817d67765c566dc6ba6ac84bd --onto 5d5642107d0433519265f155ddbfbfb98007a80b. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-08 10:18:48)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 48ad8401cd5624c944890893a38057ae4920e8ef --onto a71f158f7bd96ff9ea846f7ff4cc658de3c8b0f9. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-11 14:26:13)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 48ad8401cd5624c944890893a38057ae4920e8ef --onto ed0d50fcf0efa8c9a32e1ccb3603ce43edce6926. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-13 11:39:47)
  • 💥 Mathlib branch lean-pr-testing-13688 build failed against this PR. (2026-05-13 12:43:08) View Log
  • ✅ Mathlib branch lean-pr-testing-13688 has successfully built against this PR. (2026-05-14 11:51:23) View Log

@leanprover-bot
Copy link
Copy Markdown
Collaborator

leanprover-bot commented May 8, 2026

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 355dca6f57c6fec817d67765c566dc6ba6ac84bd --onto 5d5642107d0433519265f155ddbfbfb98007a80b. You can force reference manual CI using the force-manual-ci label. (2026-05-08 10:18:50)
  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 48ad8401cd5624c944890893a38057ae4920e8ef --onto a71f158f7bd96ff9ea846f7ff4cc658de3c8b0f9. You can force reference manual CI using the force-manual-ci label. (2026-05-11 14:26:15)
  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 48ad8401cd5624c944890893a38057ae4920e8ef --onto ed0d50fcf0efa8c9a32e1ccb3603ce43edce6926. You can force reference manual CI using the force-manual-ci label. (2026-05-13 11:39:49)
  • ✅ Reference manual branch lean-pr-testing-13688 has successfully built against this PR. (2026-05-13 12:45:24) View Log
  • 🟡 Reference manual branch lean-pr-testing-13688 build against this PR didn't complete normally. (2026-05-13 12:46:15) View Log
  • ✅ Reference manual branch lean-pr-testing-13688 has successfully built against this PR. (2026-05-14 11:00:30) View Log
  • 🟡 Reference manual branch lean-pr-testing-13688 build against this PR didn't complete normally. (2026-05-14 11:01:25) View Log

@wkrozowski wkrozowski marked this pull request as ready for review May 11, 2026 11:35
@wkrozowski
Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-radar
Copy link
Copy Markdown

leanprover-radar commented May 11, 2026

Benchmark results for 18ac8ff against 48ad840 are in. No significant results found. @wkrozowski

  • 🟥 build//instructions: +4.4G (+0.04%)

Small changes (1🟥)

  • 🟥 build/module/Lean.Expr//instructions: +151.4M (+1.19%) (reduced significance based on *//lines)

@wkrozowski wkrozowski added the lake-ci Run all Lake tests label May 13, 2026
@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label May 13, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label May 13, 2026
@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label May 13, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/batteries that referenced this pull request May 14, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request May 14, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request May 14, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels May 14, 2026
@wkrozowski wkrozowski added this pull request to the merge queue May 14, 2026
Merged via the queue into leanprover:master with commit f459c14 May 14, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR builds-mathlib CI has verified that Mathlib builds against this PR changelog-no Do not include this PR in the release changelog lake-ci Run all Lake tests mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants