[Merged by Bors] - feat(Order/Cofinal): a set is cofinal iff the union of all Iic/Iio intervals is the entire set#36927
Conversation
vihdzp
commented
Mar 21, 2026
PR summary e42eb8d4a6Import changes exceeding 2%
|
| 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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
JovanGerb
left a comment
There was a problem hiding this comment.
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?
|
Thanks! maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by JovanGerb. |
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks! 🚀
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
|
Thanks! bors merge |
…` intervals is the entire set (#36927)
|
Pull request successfully merged into master. Build succeeded:
|
Iic/Iio intervals is the entire setIic/Iio intervals is the entire set
…` intervals is the entire set (leanprover-community#36927)