Skip to content

[Merged by Bors] - feat(Order/ConditionallyCompleteLattice/Finset): sSup s ≠ ⊤ in a CompleteLinearOrder for a finite set without ⊤ - #38356

Closed
SnirBroshi wants to merge 6 commits into
leanprover-community:masterfrom
SnirBroshi:feature/order/complete-linear-order-finite-sup-ne-top
Closed

SnirBroshi wants to merge 6 commits into
leanprover-community:masterfrom
SnirBroshi:feature/order/complete-linear-order-finite-sup-ne-top

Conversation

@SnirBroshi

@SnirBroshi SnirBroshi commented Apr 22, 2026 •

Copy link
Copy Markdown
Collaborator

and more generally, sSup s ≠ a for a finite set s without a, when a ≠ ⊥.

Also adds the equivalent sInf/iSup/iInf lemmas.


btw to_dual here is blocked on #35213

Open in Gitpod

…ompleteLinearOrder` for a finite set without `⊤`
@github-actions

github-actions Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

PR summary 4c470ae4ce

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ iInf_ne_bot
+ iInf_ne_of_notMem
+ iSup_ne_of_notMem
+ iSup_ne_top
+ sInf_ne_bot
+ sInf_ne_of_notMem
+ sSup_ne_of_notMem
+ sSup_ne_top

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 4c470ae).

  • +8 new declarations
  • −0 removed declarations
+iInf_ne_bot
+iInf_ne_of_notMem
+iSup_ne_of_notMem
+iSup_ne_top
+sInf_ne_bot
+sInf_ne_of_notMem
+sSup_ne_of_notMem
+sSup_ne_top

No changes to strong technical debt.

No changes to weak technical debt.

Current commit 4c470ae4ce
Reference commit 770ae6c631

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-order Order theory label Apr 22, 2026
@SnirBroshi
SnirBroshi requested a review from YaelDillies June 9, 2026 04:53

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Please update the PR titlte accordingly

maintainer delegate

@YaelDillies YaelDillies removed their assignment Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 9, 2026
@SnirBroshi

Copy link
Copy Markdown
Collaborator Author

Updated the description (the ⊤ version seems more useful so I kept it in the title)

@ocfnash

ocfnash commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

bors merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label Jun 13, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jun 13, 2026
…ompleteLinearOrder` for a finite set without `⊤` (#38356)

and more generally, `sSup s ≠ a` for a finite set `s` without `a`, when `a ≠ ⊥`.

Also adds the equivalent `sInf`/`iSup`/`iInf` lemmas.
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 13, 2026
@mathlib-bors

mathlib-bors Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Order/ConditionallyCompleteLattice/Finset): sSup s ≠ ⊤ in a CompleteLinearOrder for a finite set without ⊤ [Merged by Bors] - feat(Order/ConditionallyCompleteLattice/Finset): sSup s ≠ ⊤ in a CompleteLinearOrder for a finite set without ⊤ Jun 13, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 13, 2026
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request Jun 18, 2026
…ompleteLinearOrder` for a finite set without `⊤` (leanprover-community#38356)

and more generally, `sSup s ≠ a` for a finite set `s` without `a`, when `a ≠ ⊥`.

Also adds the equivalent `sInf`/`iSup`/`iInf` lemmas.
ReemMelamed pushed a commit to ReemMelamed/mathlib4 that referenced this pull request Jun 20, 2026
…ompleteLinearOrder` for a finite set without `⊤` (leanprover-community#38356)

and more generally, `sSup s ≠ a` for a finite set `s` without `a`, when `a ≠ ⊥`.

Also adds the equivalent `sInf`/`iSup`/`iInf` lemmas.
bryangingechen pushed a commit to jcommelin/mathlib4 that referenced this pull request Jun 22, 2026
…ompleteLinearOrder` for a finite set without `⊤` (leanprover-community#38356)

and more generally, `sSup s ≠ a` for a finite set `s` without `a`, when `a ≠ ⊥`.

Also adds the equivalent `sInf`/`iSup`/`iInf` lemmas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-order Order theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants