Skip to content

[Merged by Bors] - feat(Order/Cofinal): a set is cofinal iff the union of all Iic/Iio intervals is the entire set#36927

Closed
vihdzp wants to merge 3 commits intoleanprover-community:masterfrom
vihdzp:iscofinal_more
Closed

[Merged by Bors] - feat(Order/Cofinal): a set is cofinal iff the union of all Iic/Iio intervals is the entire set#36927
vihdzp wants to merge 3 commits intoleanprover-community:masterfrom
vihdzp:iscofinal_more

Conversation

@vihdzp
Copy link
Copy Markdown
Collaborator

@vihdzp vihdzp commented Mar 21, 2026


Open in Gitpod

@vihdzp vihdzp added the t-order Order theory label Mar 21, 2026
@vihdzp vihdzp requested a review from YaelDillies March 21, 2026 04:48
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Mar 21, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 21, 2026

PR summary e42eb8d4a6

Import changes exceeding 2%

% File
+2.49% Mathlib.Order.Cofinal

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Order.Cofinal 241 247 +6 (+2.49%)
Import changes for all files
Files Import difference
Mathlib.Order.Cofinal 6

Declarations diff

+ isCofinal_iff_iUnion_Iic_eq_univ
+ isCofinal_iff_iUnion_Iio_eq_univ

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

Copy link
Copy Markdown
Contributor

@JovanGerb JovanGerb left a comment

Choose a reason for hiding this comment

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

I'm a bit puzzled by why we would make isCofinal_of_iUnion_Iio_eq a public lemma, but not isCofinal_of_iUnion_Iic_eq. Isn't the latter a "stronger" lemma, so easier to use? So I would suggest to inline the proof of isCofinal_of_iUnion_Iio_eq.

Also, I find the names ending in _eq slightly awkard. Maybe extend them to _eq_univ?

@JovanGerb
Copy link
Copy Markdown
Contributor

Thanks!

maintainer merge

@github-actions
Copy link
Copy Markdown

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


issue_comment, wf_run

@mathlib-triage mathlib-triage bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Mar 21, 2026
Copy link
Copy Markdown
Contributor

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

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

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


pull_request_review, wf_run

@b-mehta
Copy link
Copy Markdown
Contributor

b-mehta commented Mar 21, 2026

Thanks!

bors merge

@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 21, 2026
mathlib-bors bot pushed a commit that referenced this pull request Mar 21, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 21, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Order/Cofinal): a set is cofinal iff the union of all Iic/Iio intervals is the entire set [Merged by Bors] - feat(Order/Cofinal): a set is cofinal iff the union of all Iic/Iio intervals is the entire set Mar 21, 2026
@mathlib-bors mathlib-bors bot closed this Mar 21, 2026
justus-springer pushed a commit to justus-springer/mathlib4 that referenced this pull request Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports 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