Skip to content

[Merged by Bors] - chore: naming instances around WithBot, WithTop, WithOne and WithZero#910

Closed
joneugster wants to merge 4 commits intomasterfrom
JE_instance_names
Closed

[Merged by Bors] - chore: naming instances around WithBot, WithTop, WithOne and WithZero#910
joneugster wants to merge 4 commits intomasterfrom
JE_instance_names

Conversation

@joneugster
Copy link
Copy Markdown
Contributor

#aligns are missing, I'm having a hard time guessing the lean3 instance names...

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Dec 8, 2022

Thanks, even without any #aligns (which we mostly haven't been doing for instances) this is very useful.

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 8, 2022
bors bot pushed a commit that referenced this pull request Dec 8, 2022
…ithZero` (#910)

`#align`s are missing, I'm having a hard time guessing the lean3 instance names...

Co-authored-by: Jon Eugster <eugster.jon@gmail.com>
Co-authored-by: Jon Eugster <Jon.Eugster@hhu.de>
@bors
Copy link
Copy Markdown

bors bot commented Dec 8, 2022

Canceled.

@joneugster
Copy link
Copy Markdown
Contributor Author

@semorrison if you could run

bors merge

again, had a typo

@bors
Copy link
Copy Markdown

bors bot commented Dec 8, 2022

🔒 Permission denied

Existing reviewers: click here to make joneugster a reviewer

@joneugster joneugster added awaiting-review and removed ready-to-merge This PR has been sent to bors. labels Dec 8, 2022
@ChrisHughes24
Copy link
Copy Markdown
Member

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 8, 2022
bors bot pushed a commit that referenced this pull request Dec 8, 2022
…ithZero` (#910)

`#align`s are missing, I'm having a hard time guessing the lean3 instance names...

Co-authored-by: Jon Eugster <eugster.jon@gmail.com>
Co-authored-by: Jon Eugster <Jon.Eugster@hhu.de>
@bors
Copy link
Copy Markdown

bors bot commented Dec 8, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: naming instances around WithBot, WithTop, WithOne and WithZero [Merged by Bors] - chore: naming instances around WithBot, WithTop, WithOne and WithZero Dec 8, 2022
@bors bors bot closed this Dec 8, 2022
@bors bors bot deleted the JE_instance_names branch December 8, 2022 13:07
bors bot pushed a commit that referenced this pull request Dec 9, 2022
mathlib3: 655994e298904d7e5bbd1e18c95defd7b543eb94

- [x] depends on #910

Not too bad. Mostly renaming instances and a few broken proofs.

Things to double-check (all marked with `Porting note`):
- `lift` is not implemented yet, I replaced it with `induction`.
- In `addSemigroup` I didn't get `repeat` or `repeat'` to work. That could be golfed.
- In `WithTop.addHom` the anonymous constructor didn't work, but writing it out, it did. Is that expected?
- I'm a bit unsure about coersions. I left in most things and removed (commented out) the lemma `coe_coe_add_hom`. Could be worth gleaming over anything that has `coe` in it's name.


Co-authored-by: Jon Eugster <eugster.jon@gmail.com>
Co-authored-by: Jon Eugster <Jon.Eugster@hhu.de>
bors bot pushed a commit that referenced this pull request Dec 12, 2022
mathlib3 655994e298904d7e5bbd1e18c95defd7b543eb94

~~All remaining issues are elaboration problems involving the order-dual.  I think these should be debugged carefully, but I am not sure whether I will have time this weekend, so help is welcome.~~ I fixed these with a bunch of `@` and opened a [Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Type.20synonyms).

- [x] depends on #910
- [x] depends on #923

Co-authored-by: Jon <jon.eugster@gmx.ch>
Co-authored-by: Jon Eugster <eugster.jon@gmail.com>
Co-authored-by: Jon Eugster <Jon.Eugster@hhu.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants