Skip to content

Conversation

@nomeata
Copy link
Collaborator

@nomeata nomeata commented Dec 4, 2025

This PR makes more SizeOf instances noncomputable, for consistency with the derived instances.

See https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/Compiler.20error.20with.20sizeOf/with/561525387 for the kind of confusion this PR tries to avoid.

@nomeata nomeata added the changelog-language Language features and metaprograms label Dec 4, 2025
This PR makes more `SizeOf` instances noncomputable, for consistency with the derived instances. 

See https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/Compiler.20error.20with.20sizeOf/with/561525387 for the kind of confusion this PR tries to avoid.
@nomeata nomeata force-pushed the joachim/noncomputable-sizeof branch from 0f877d4 to 4f22033 Compare December 4, 2025 10:38
@nomeata nomeata added the awaiting-mathlib We should not merge this until we have a successful Mathlib build label Dec 4, 2025
@nomeata nomeata marked this pull request as ready for review December 4, 2025 11:07
@nomeata nomeata enabled auto-merge December 4, 2025 11:54
@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 Dec 4, 2025
@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2025-12-03 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2025-12-04 12:09:06)

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Dec 4, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Dec 4, 2025
@leanprover-community-bot leanprover-community-bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label Dec 4, 2025
@leanprover-community-bot
Copy link
Collaborator

@nomeata
Copy link
Collaborator Author

nomeata commented Dec 4, 2025

This breaks mathlib in uses of Mathlib.Util.CompileInductive. Not going to investigate for now.

@nomeata nomeata closed this Dec 4, 2025
auto-merge was automatically disabled December 4, 2025 12:19

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-mathlib We should not merge this until we have a successful Mathlib build breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan changelog-language Language features and metaprograms 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