FormalConjecturesForMathlib/Topology/MetricSpace/GromovProduct.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
11 declarations, 0 contain sorry, 0 declared as axioms
The Gromov product
The Gromov product of y and z with respect to x in a pseudometric space is
(y, z)_x = (dist x y + dist x z - dist y z) / 2.
This file is copied from Mathlib.Topology.MetricSpace.GromovProduct
(leanprover-community/mathlib4#43641). It is in Mathlib from v4.34.0.
TODO: delete this file when this repository moves to Mathlib v4.34.0.
Main definitions
Metric.gromovProduct x y z: the Gromov product ofyandzwith respect tox.
Imports (1)
Imported by 2 files
- def
Metric.gromovProductThe Gromov product ofyandzwith respect toxline 44 sourceSource documentation
The Gromov product of
yandzwith respect tox.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,RealProof uses:
HDiv.hDiv,HSub.hSub,HAdd.hAdd,Dist.dist,OfNat.ofNat11 instances, coercions and auxiliary constants left out.
noncomputable def gromovProduct : ℝ := (dist x y + dist x z - dist y z) / 2
- lemma
Metric.gromovProduct_eqline 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real, Metric.gromovProduct,HDiv.hDiv,HSub.hSub,HAdd.hAdd,Dist.dist,OfNat.ofNat,NatProof uses:
Eq.refl13 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_commline 48 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real, Metric.gromovProduct1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_nonnegline 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,LE.le,Real,OfNat.ofNat, Metric.gromovProduct4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_le_dist_leftline 57 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,LE.le,Real, Metric.gromovProduct,Dist.dist3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_le_dist_rightline 60 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,LE.le,Real, Metric.gromovProduct,Dist.dist3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_self_leftline 64 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real, Metric.gromovProduct,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HDiv.hDiv,HSub.hSub,HAdd.hAdd,Dist.dist,Nat, Metric.gromovProduct_eq,dist_self,zero_add,sub_self,zero_div,eq_self32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_self_rightline 68 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real, Metric.gromovProduct,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HDiv.hDiv,HSub.hSub,HAdd.hAdd,Dist.dist,Nat, Metric.gromovProduct_eq,congr,dist_self,add_zero,dist_comm,sub_self,zero_div,eq_self32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_selfline 72 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real, Metric.gromovProduct,Dist.distProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HDiv.hDiv,HSub.hSub,HAdd.hAdd,OfNat.ofNat,Nat, Metric.gromovProduct_eq,dist_self,sub_zero,add_self_div_two,eq_self39 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_add_gromovProduct₁₃line 75 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real,HAdd.hAdd, Metric.gromovProduct,Dist.dist4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Metric.gromovProduct_add_gromovProduct₁₂line 78 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Eq,Real,HAdd.hAdd, Metric.gromovProduct,Dist.dist4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.