Skip to content

Conversation

@Rob23oba
Copy link
Contributor

This PR adds inline annotations to several Decidable instances. Additionally, it removes the Decidable instance for p → q which is made redundant by forall_prop_decidable.

@github-actions github-actions bot added the changelog-no Do not include this PR in the release changelog label Oct 23, 2025
@Rob23oba Rob23oba marked this pull request as ready for review October 23, 2025 16:56
@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 Oct 23, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 59573646c227d940962c08a1e77ce51177a024ea --onto efbbb0b230ce95653d25b59c83fd24a51a8bf363. You can force Mathlib CI using the force-mathlib-ci label. (2025-10-23 17:59:37)

@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 59573646c227d940962c08a1e77ce51177a024ea --onto d3dda9f6d4428a906c096067ecb75e432afc4615. You can force reference manual CI using the force-manual-ci label. (2025-10-23 17:59:39)

@hargoniX
Copy link
Contributor

!radar

@leanprover-radar
Copy link

leanprover-radar commented Oct 23, 2025

Benchmark results for f1fe306 against 5957364 are in! @hargoniX

Minor changes (1)
  • channel.lean//instructions changed by +0.6% (🟥).

@hargoniX
Copy link
Contributor

I would assume the channel regression is likely noise given that the benchmark is not necessarily deterministic and there is no other significant change.

@hargoniX hargoniX added this pull request to the merge queue Oct 27, 2025
Merged via the queue into leanprover:master with commit 12750d2 Oct 27, 2025
17 checks passed
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Oct 27, 2025
This PR adds inline annotations to several `Decidable` instances.
Additionally, it removes the `Decidable` instance for `p → q` which is
made redundant by `forall_prop_decidable`.
kim-em added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Oct 29, 2025
hargoniX added a commit that referenced this pull request Oct 29, 2025
hargoniX added a commit that referenced this pull request Oct 29, 2025
github-merge-queue bot pushed a commit that referenced this pull request Oct 29, 2025
Rob23oba added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Oct 29, 2025
github-merge-queue bot pushed a commit that referenced this pull request Oct 29, 2025
This PR inlines several Decidable instances for performance reasons.

Unlike the previous #10934 it does not attempt to also simplify the
Decidable instance system as
that has proven to have non trivial performance impact.

Co-authored-by: Rob23oba <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-no Do not include this PR in the release changelog 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.

5 participants