Skip to content

[Merged by Bors] - feat(Sym2/Order): s.inf = t.inf ∧ s.sup = t.sup ↔ s = t #24005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

sorrachai
Copy link
Collaborator

@sorrachai sorrachai commented Apr 13, 2025

Characterize equality of two symmetric squares. In a linear order, two symmetric squares are equal if and only if they have the same infimum and supremum.

@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 13, 2025
Copy link

github-actions bot commented Apr 13, 2025

PR summary 51fb3db558

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ inf_eq_inf_and_sup_eq_sup

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

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

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


No changes to technical debt.

You can run this locally as

./scripts/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-data Data (lists, quotients, numbers, etc) label Apr 13, 2025
@sorrachai sorrachai requested a review from YaelDillies April 13, 2025 15:41
@YaelDillies YaelDillies changed the title feat(Sym2/Order): add eq_iff_inf_sup_eq feat(Sym2/Order): s.inf = t.inf ∧ s.sup = t.sup ↔ s = t Apr 14, 2025
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

The theorem looks useful, thanks! I found a neat golf, so LGTM

maintainer merge

Copy link

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

Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge labels Apr 14, 2025
mathlib-bors bot pushed a commit that referenced this pull request Apr 14, 2025
Characterize equality of two symmetric squares. In a linear order, two symmetric squares are equal if and only if they have the same infimum and supremum.

Co-authored-by: Yaël Dillies <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Apr 14, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Sym2/Order): s.inf = t.inf ∧ s.sup = t.sup ↔ s = t [Merged by Bors] - feat(Sym2/Order): s.inf = t.inf ∧ s.sup = t.sup ↔ s = t Apr 14, 2025
@mathlib-bors mathlib-bors bot closed this Apr 14, 2025
@mathlib-bors mathlib-bors bot deleted the sym2_new_theorem branch April 14, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! ready-to-merge This PR has been sent to bors. t-data Data (lists, quotients, numbers, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants