[Merged by Bors] - feat(SetTheory/Cardinal): generalize and rename theorems on Cardinal.sum#29351
[Merged by Bors] - feat(SetTheory/Cardinal): generalize and rename theorems on Cardinal.sum#29351staroperator wants to merge 10 commits intoleanprover-community:masterfrom
Cardinal.sum#29351Conversation
PR summary 5c98c223adImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| (∀ i, f i < c) → iSup f < c := | ||
| iSup_lt (by rwa [hc.cof_eq]) | ||
|
|
||
| theorem sum_lt_lift_of_isRegular' {ι} {f : ι → Cardinal} {c : Cardinal} (hc : IsRegular c) |
There was a problem hiding this comment.
This name is a bit scary. Any suggestions are welcome!
There was a problem hiding this comment.
Renamed to IsRegular.sum_lt_of_lift_mk_lt_of_lift_lt. We should also rename other _of_isRegular theorems to IsRegular. in the same file in future.
There was a problem hiding this comment.
I have reverted those renames. I plan to do that with generalization of other IsRegular theorems together, in the future.
Cardinal.sumCardinal.sum
|
🚀 Pull request has been placed on the maintainer queue by alreadydone. |
Co-authored-by: Violeta Hernández <vi.hdz.p@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
9c3b735 to
3f957a8
Compare
|
Thanks! bors merge |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
|
Build failed (retrying...): |
|
It would be nicer if you used |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
|
Build failed (retrying...): |
Emm, I personally strongly prefer rebase because it makes neat commit history. Though what you said makes sense; let me try to do merge instead of rebase in my other PRs after someone has reviewed. |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
We squash merge, so the history of your branch does not really matter. |
That's right, keeping a neat commit history is my personal aestheticism 😃 Especially when merge does not allow deleting commits from dependency PRs. |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
|
Build failed (retrying...): |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
|
Build failed (retrying...): |
….sum` (#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
|
Pull request successfully merged into master. Build succeeded: |
Cardinal.sumCardinal.sum
….sum` (leanprover-community#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.
….sum` (leanprover-community#29351) Some theorems on `Cardinal.sum f` are taking `f : ι → Cardinal.{max u v}`, which can be generalized to `f : ι → Cardinal.{v}`. Also rename `sum_le_iSup_lift`, `sum_eq_iSup_lift` etc. to reflect their signatures in names.


Some theorems on
Cardinal.sum fare takingf : ι → Cardinal.{max u v}, which can be generalized tof : ι → Cardinal.{v}. Also renamesum_le_iSup_lift,sum_eq_iSup_liftetc. to reflect their signatures in names.