-
Notifications
You must be signed in to change notification settings - Fork 234
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: simplify proof of IsPiSystem.comap #11052
Conversation
I found this with tryAtEachStep. |
Mathlib/MeasureTheory/PiSystem.lean
Outdated
refine' ⟨s ∩ t, h_pi s hs_mem t ht_mem _, rfl⟩ | ||
by_contra h | ||
rw [Set.not_nonempty_iff_eq_empty] at h | ||
rw [h] at hst | ||
simp at hst | ||
exact nonempty_of_nonempty_preimage hst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you can even collapse this into the previous line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 9b8d5ad.
Looks good, thanks! |
Uses `Set.not_nonempty_iff_eq_empty` to shorten the proof of `IsPiSystem.comap`.
Pull request successfully merged into master. Build succeeded: |
Uses `Set.not_nonempty_iff_eq_empty` to shorten the proof of `IsPiSystem.comap`.
Uses `Set.not_nonempty_iff_eq_empty` to shorten the proof of `IsPiSystem.comap`.
Uses `Set.not_nonempty_iff_eq_empty` to shorten the proof of `IsPiSystem.comap`.
Uses `Set.not_nonempty_iff_eq_empty` to shorten the proof of `IsPiSystem.comap`.
Uses
Set.not_nonempty_iff_eq_empty
to shorten the proof ofIsPiSystem.comap
.