Skip to content

feat: make Theorem an Inhabited instance#12324

Merged
leodemoura merged 1 commit intoleanprover:masterfrom
wkrozowski:wojciech/theorem_inhabitted
Feb 5, 2026
Merged

feat: make Theorem an Inhabited instance#12324
leodemoura merged 1 commit intoleanprover:masterfrom
wkrozowski:wojciech/theorem_inhabitted

Conversation

@wkrozowski
Copy link
Contributor

This PR adds a default Inhabited instance to Theorem type.

The need to do so came up in #12296 , as Theorem is one of the entries of the structure which is the key entry of SimpleScopedEnvExtension.

@wkrozowski wkrozowski added the changelog-language Language features and metaprograms label Feb 5, 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 Feb 5, 2026
@mathlib-lean-pr-testing
Copy link

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 96ef09186f1cfe31bf5af69adb6ead4fad218ced --onto 5ec3b8c9d2fed98e6d78782664dd545785e868d4. You can force Mathlib CI using the force-mathlib-ci label. (2026-02-05 12:57:04)

@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 96ef09186f1cfe31bf5af69adb6ead4fad218ced --onto 42a0e9245300da6b3d971fa0033d726bb8e11cc3. You can force reference manual CI using the force-manual-ci label. (2026-02-05 12:57:05)

@wkrozowski wkrozowski requested a review from leodemoura February 5, 2026 13:31
@leodemoura leodemoura added this pull request to the merge queue Feb 5, 2026
Merged via the queue into leanprover:master with commit 5345db8 Feb 5, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants