Commit 2020-02-03 07:14 a3421322
View on Github →refactor(topology/metric_space/emetric_space): redefine diam (#1941)
- feat(data/set/basic): define set.subsingletonAlso renamenonempty.of_subsettononempty.mono
- Add a missing lemma
- refactor(topology/metric_space/emetric_space): redefine diam
- Give a more readable definition of emetric.diam;
- Add a few lemmas including diameter of a pair and of a triple of points;
- Simplify some proofs;
- Reformulate some theorems to use ∀ (x ∈ s) (y ∈ s)instead of∀ x y ∈ sbecause the former plays better with existingsimplemmas.
- Redefine set.subsingletonusing(x ∈ s) (y ∈ s), provemetric.diam_triangle