Skip to content

Conversation

@ecyrbe
Copy link
Contributor

@ecyrbe ecyrbe commented Nov 2, 2025

This PR add list min and max operations to complement min? and max? ones in the same vain as head? and head.

It was dicussed here in zulip

it also add small unit tests for min , max, min? and max?

@ecyrbe ecyrbe requested review from digama0 and kim-em as code owners November 2, 2025 10:58
@TwoFX TwoFX added the changelog-library Library label Nov 2, 2025
Copy link
Contributor

@Rob23oba Rob23oba left a comment

Choose a reason for hiding this comment

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

Some small changes regarding style and naming convention.

@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 Nov 2, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Nov 2, 2025

Mathlib CI status (docs):

  • ❗ Mathlib CI can not be attempted yet, as the nightly-testing-2025-11-02 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using the force-mathlib-ci label. (2025-11-02 11:52:19)
  • ✅ Mathlib branch lean-pr-testing-11060 has successfully built against this PR. (2025-11-03 13:01:15) View Log

@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2025-11-02 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-11-02 11:52:21)

@ecyrbe
Copy link
Contributor Author

ecyrbe commented Nov 2, 2025

@Rob23oba thanks for the review

@ecyrbe
Copy link
Contributor Author

ecyrbe commented Nov 3, 2025

@kim-em added all @TwoFX lemmas from the zullip conversation and cleaned lemmas and tests as suggested.

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Nov 3, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Nov 3, 2025
@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Nov 3, 2025
Copy link
Member

@TwoFX TwoFX left a comment

Choose a reason for hiding this comment

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

Thanks!

@TwoFX TwoFX added this pull request to the merge queue Nov 10, 2025
Merged via the queue into leanprover:master with commit 6008c0d Nov 10, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-library Library 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.

7 participants