Skip to content

[Merged by Bors] - chore: use IsLUB IsGLB in ConditionallyCompleteLattice - #35774

Closed
astrainfinita wants to merge 10 commits into
leanprover-community:masterfrom
astrainfinita:use_islub_c
Closed

astrainfinita wants to merge 10 commits into
leanprover-community:masterfrom
astrainfinita:use_islub_c

Conversation

@astrainfinita

@astrainfinita astrainfinita commented Feb 25, 2026 •

Copy link
Copy Markdown
Collaborator

Also, some docstrings in Order.ConditionallyCompleteLattice.Defs are outdated (they still use Lean3 structure notation).
#36671 is an orthogonal PR to fix this.


Open in Gitpod

@astrainfinita astrainfinita added the t-order Order theory label Feb 25, 2026
@github-actions

github-actions Bot commented Feb 25, 2026 •

Copy link
Copy Markdown

PR summary 6a711ae472

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./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).

@astrainfinita astrainfinita mentioned this pull request Feb 25, 2026
1 of 4 tasks
@astrainfinita astrainfinita changed the title chore: use IsLUB IsGLB in CompleteLattice chore: use IsLUB IsGLB in ConditionallyCompleteLattice Feb 25, 2026
@vihdzp

vihdzp commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator

Is this a dependency of #35328, or are they orthogonal PRs?

@astrainfinita

Copy link
Copy Markdown
Collaborator Author

They are orthogonal. There might only be a minor merge conflict.

@vihdzp vihdzp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, just some style remarks which are again, safely ignored.

@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 6, 2026
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 6, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 10, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 10, 2026
Komyyy added a commit to Komyyy/mathlib4 that referenced this pull request Mar 15, 2026
* Some docstrings still use Lean3 structure notation.
* Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)`
* `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf`

These were found while reviewing leanprover-community#35774.

@Komyyy Komyyy 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.

Thank you for your contribution!

Comment thread Mathlib/Order/Copy.lean Resolved
@Komyyy Komyyy added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Mar 15, 2026
@astrainfinita astrainfinita removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Mar 15, 2026

@Komyyy Komyyy 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.

Thank you!

maintainer merge

For reviewers: what I confirmed
  • The new docstrings for fields of ConditionallyCompleteLattice are consistent with those of CompleteLattice
  • Confirmed that the proof of conditionallyCompleteLatticeOfs(Sup|Inf) could't be golfed further (Loogle _ ∈ ({_, _} : Set _), IsLUB {_, _} _)

@github-actions

Copy link
Copy Markdown

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


trigger_name: pull_request_review
wf_run: workflow_run

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Mar 16, 2026
@Komyyy Komyyy removed their assignment Mar 16, 2026

@Vierkantor Vierkantor 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!

bors r+

@mathlib-triage mathlib-triage Bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Mar 16, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Mar 16, 2026
Also, some docstrings in `Order.ConditionallyCompleteLattice.Defs` are outdated (they still use Lean3 structure notation).
#36671 is an orthogonal PR to fix this.
@mathlib-bors

mathlib-bors Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: use IsLUB IsGLB in ConditionallyCompleteLattice [Merged by Bors] - chore: use IsLUB IsGLB in ConditionallyCompleteLattice Mar 16, 2026
@mathlib-bors mathlib-bors Bot closed this Mar 16, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Mar 22, 2026
#36671)

* Some docstrings still use Lean3 structure notation.
* Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)`
* `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf`

These were found while reviewing #35774.

Co-authored-by: Komyyy <[email protected]>
justus-springer pushed a commit to justus-springer/mathlib4 that referenced this pull request Mar 28, 2026
leanprover-community#36671)

* Some docstrings still use Lean3 structure notation.
* Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)`
* `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf`

These were found while reviewing leanprover-community#35774.

Co-authored-by: Komyyy <[email protected]>
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.

4 participants