FormalConjecturesForMathlib/Topology/MetricSpace/Hyperbolic.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
5 declarations, 0 contain sorry, 0 declared as axioms
Gromov hyperbolic pseudometric spaces
This is being upstreamed to Mathlib in leanprover-community/mathlib4#43723.
TODO: delete this file when this repository moves to a Mathlib version that contains it.
Main definitions
Metric.IsHyperbolicWith: A pseudometric space is hyperbolic with constantδif and only if for allw x y zthe four-point conditionmin (gromovProduct w x y) (gromovProduct w y z) - δ ≤ gromovProduct w x zholds.Metric.IsHyperbolic: A pseudometric space is hyperbolic if it isδ-hyperbolic for some constantδ.
Main results
Metric.isHyperbolicWith_diam_univ: A bounded space isδ-hyperbolic with respect to its diameter.
Implementation notes
The constant δ in IsHyperbolicWith X δ is a real number. For a non-empty space,
taking w = x = y = z in the four-point condition yields 0 ≤ δ.
Imports (2)
Imported by 2 files
- def
Metric.IsHyperbolicWithA pseudometric space isδ-hyperbolic if for allw x y zthe four-point conditionmin (gromovProduct w x y) (gromovProduct w y z) - δ ≤ gromovProduct w x zholds line 56 sourceSource documentation
A pseudometric space is
δ-hyperbolic if for allw x y zthe four-point conditionmin (gromovProduct w x y) (gromovProduct w y z) - δ ≤ gromovProduct w x zholds.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,RealProof uses:
LE.le,HSub.hSub,Min.min, Metric.gromovProduct4 instances, coercions and auxiliary constants left out.
def IsHyperbolicWith (X : Type*) [PseudoMetricSpace X] (δ : ℝ) : Prop := …
- lemma
Metric.isHyperbolicWith_of_forall_dist_leA pseudometric space with all distances bounded above bykisk-hyperbolic line 63 sourceSource documentation
A pseudometric space with all distances bounded above by
kisk-hyperbolic.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Real,LE.le,Dist.dist, Metric.IsHyperbolicWith5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
lemma isHyperbolicWith_of_forall_dist_le {k : ℝ} (hk : ∀ x y : X, dist x y ≤ k) : IsHyperbolicWith X k := by …Mentions: Metric.IsHyperbolicWith
- theorem
Metric.isHyperbolicWith_diam_univA bounded space isδ-hyperbolic with respect to its diameter line 68 sourceSource documentation
A bounded space is
δ-hyperbolic with respect to its diameter.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,BoundedSpace, Metric.IsHyperbolicWith,Metric.diam,Set.univ3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem isHyperbolicWith_diam_univ [BoundedSpace X] : IsHyperbolicWith X (diam (Set.univ : Set X)) := by …Mentions: Metric.IsHyperbolicWith
- class
Metric.IsHyperbolicA pseudometric space is hyperbolic if it isδ-hyperbolic for some real constantδline 75 sourceSource documentation
A pseudometric space is hyperbolic if it is
δ-hyperbolic for some real constantδ.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpaceclass IsHyperbolic (X : Type*) [PseudoMetricSpace X] : Prop where …
- instance
Metric.(instance at line 79)line 79 sourceSource documentation
Every bounded pseudometric space is hyperbolic.
instance [BoundedSpace X] : IsHyperbolic X := ⟨_, isHyperbolicWith_diam_univ⟩ …
Mentions: Metric.IsHyperbolic, Metric.isHyperbolicWith_diam_univ