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] - fix: improvements I noticed when teaching #8420

Closed
wants to merge 6 commits into from

Conversation

fpvandoorn
Copy link
Member

@fpvandoorn fpvandoorn commented Nov 15, 2023

  • Rename (and generalize and move)
Int.units_ne_neg_self -> units_ne_neg_self
Int.neg_units_ne_self -> neg_units_ne_self
  • Change the simps config for Closeds
  • Add some gcongr-lemmas (currently is a bit picky about the exact statement of lemmas tagged with gcongr, so I had to add some variants that I could tag).

Open in Gitpod

@fpvandoorn fpvandoorn added WIP Work in progress awaiting-CI labels Nov 15, 2023
@fpvandoorn fpvandoorn added awaiting-review and removed WIP Work in progress labels Nov 30, 2023
@fpvandoorn fpvandoorn changed the title fix: errors I noticed when teaching fix: improvements I noticed when teaching Dec 1, 2023
Copy link
Contributor

@sgouezel sgouezel 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+

@@ -105,7 +106,7 @@ instance : Inhabited (Closeds α) :=
⟨⊥⟩

@[simp, norm_cast]
theorem coe_sup (s t : Closeds α) : (↑(s ⊔ t) : Set α) = ↑s ∪ ↑t :=
theorem coe_sup (s t : Closeds α) : (↑(s ⊔ t) : Set α) = ↑s ∪ ↑t := by
Copy link
Contributor

Choose a reason for hiding this comment

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

why did you change this one?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can revert this, but I needed to see the statement in the infoview to click on the types of things to ensure that the statement said the correct thing. It is annoying that this is only possible in tactic mode.

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Dec 4, 2023

✌️ fpvandoorn 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-mathlib4-bot leanprover-community-mathlib4-bot added delegated merge-conflict The PR has a merge conflict with master, and needs manual merging. and removed awaiting-review labels Dec 4, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Feb 6, 2024
@fpvandoorn
Copy link
Member Author

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Feb 6, 2024
mathlib-bors bot pushed a commit that referenced this pull request Feb 6, 2024
* Rename (and generalize and move) 

```
Int.units_ne_neg_self -> units_ne_neg_self
Int.neg_units_ne_self -> neg_units_ne_self
```
* Change the `simps` config for `Closeds` 
* Add some `gcongr`-lemmas (currently is a bit picky about the exact statement of lemmas tagged with `gcongr`, so I had to add some variants that I could tag).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 6, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title fix: improvements I noticed when teaching [Merged by Bors] - fix: improvements I noticed when teaching Feb 6, 2024
@mathlib-bors mathlib-bors bot closed this Feb 6, 2024
@mathlib-bors mathlib-bors bot deleted the course_fixes branch February 6, 2024 18:38
atarnoam pushed a commit that referenced this pull request Feb 9, 2024
* Rename (and generalize and move) 

```
Int.units_ne_neg_self -> units_ne_neg_self
Int.neg_units_ne_self -> neg_units_ne_self
```
* Change the `simps` config for `Closeds` 
* Add some `gcongr`-lemmas (currently is a bit picky about the exact statement of lemmas tagged with `gcongr`, so I had to add some variants that I could tag).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants