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] - feat(analysis/normed_space): normed_group punit #7616
Conversation
eq_of_dist_eq_zero := λ _ _ _, subsingleton.elim _ _, | ||
dist_triangle := λ _ _ _, show (0:ℝ) ≤ 0 + 0, by rw add_zero, } | ||
|
||
instance : metric_space punit := |
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.
Should we have the same for pempty
and unit
? It's really a shame that there isn't more defeq here...
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.
unit
is an abbreviation for punit
, so this instance should also work for unit
(this is unfortunately not the case for empty
/pempty
)
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.
An option for empty
/pempty
is to merge #7606 first and add an instance is_empty -> metric_space
.
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.
I vote just punting on this.
Did you forget to push the change Johan requested?
This means that you vote to kick this into the queue, right? Fine by me. bors d+ |
✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
Minor content from LTE. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Pull request successfully merged into master. Build succeeded: |
Minor content from LTE.