Skip to content
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

[Merged by Bors] - chore(set_theory/ordinal/arithmetic): clean up is_normal.sup and related #15162

Closed
wants to merge 7 commits into from

Conversation

vihdzp
Copy link
Collaborator

@vihdzp vihdzp commented Jul 7, 2022

We golf various theorems and tweak their arguments.


Open in Gitpod

@vihdzp vihdzp added the awaiting-review The author would like community review of the PR label Jul 7, 2022
@@ -1933,6 +1928,7 @@ begin
{ intros c l IH,
refine eq_of_forall_ge_iff (λ d, (((opow_is_normal a1).trans
(add_is_normal b)).limit_le l).trans _),
dsimp,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have no idea why this was needed all of a sudden.

src/set_theory/ordinal/arithmetic.lean Show resolved Hide resolved
@@ -234,7 +234,7 @@ begin
{ let g : ι → ordinal.{u} := λ i, (enum_ord_order_iso hs).symm ⟨_, hf i⟩,
suffices : enum_ord s (sup.{u u} g) = sup.{u u} f,
{ rw ←this, exact enum_ord_mem hs _ },
rw is_normal.sup.{u u u} h g hι,
Copy link
Member

Choose a reason for hiding this comment

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

I feel like you should be using a resetI instead of this @.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Adding resetI, before this rw still doesn't work if I don't use @. Not sure why.

src/set_theory/ordinal/arithmetic.lean Show resolved Hide resolved
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

(I pushed a small change to squeeze the dsimps)

@bors
Copy link

bors bot commented Aug 7, 2022

✌️ vihdzp can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Aug 7, 2022
@vihdzp
Copy link
Collaborator Author

vihdzp commented Aug 11, 2022

bors r+

bors bot pushed a commit that referenced this pull request Aug 11, 2022
…lated (#15162)

We golf various theorems and tweak their arguments.



Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Aug 12, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(set_theory/ordinal/arithmetic): clean up is_normal.sup and related [Merged by Bors] - chore(set_theory/ordinal/arithmetic): clean up is_normal.sup and related Aug 12, 2022
@bors bors bot closed this Aug 12, 2022
@bors bors bot deleted the is_normal.sup_tweak branch August 12, 2022 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants