Torsors of additive normed group actions. #
This file defines torsors of additive normed group actions, with a metric space structure. The motivating case is Euclidean affine spaces.
A NormedAddTorsor V P
is a torsor of an additive seminormed group
action by a SeminormedAddCommGroup V
on points P
. We bundle the pseudometric space
structure and require the distance to be the same as results from the
norm (which in fact implies the distance yields a pseudometric space, but
bundling just the distance and using an instance for the pseudometric space
results in type class problems).
- vadd : V → P → P
- vsub : P → P → V
- nonempty : Nonempty P
Instances
Shortcut instance to help typeclass inference out.
Equations
- NormedAddTorsor.toAddTorsor' = NormedAddTorsor.toAddTorsor
Equations
- (_ : IsometricVAdd V P) = (_ : IsometricVAdd V P)
A SeminormedAddCommGroup
is a NormedAddTorsor
over itself.
A nonempty affine subspace of a NormedAddTorsor
is itself a NormedAddTorsor
.
Equations
- AffineSubspace.toNormedAddTorsor s = let src := AffineSubspace.toAddTorsor s; NormedAddTorsor.mk (_ : ∀ (x y : ↥s), dist ↑x ↑y = ‖↑x -ᵥ ↑y‖)
The distance equals the norm of subtracting two points. In this
lemma, it is necessary to have V
as an explicit argument; otherwise
rw dist_eq_norm_vsub
sometimes doesn't work.
The distance equals the norm of subtracting two points. In this
lemma, it is necessary to have V
as an explicit argument; otherwise
rw dist_eq_norm_vsub'
sometimes doesn't work.
Isometry between the tangent space V
of a (semi)normed add torsor P
and P
given by
addition/subtraction of x : P
.
Equations
- IsometryEquiv.vaddConst x = { toEquiv := Equiv.vaddConst x, isometry_toFun := (_ : Isometry (Equiv.vaddConst x).toFun) }
Instances For
Isometry between the tangent space V
of a (semi)normed add torsor P
and P
given by
subtraction from x : P
.
Equations
- IsometryEquiv.constVSub x = { toEquiv := Equiv.constVSub x, isometry_toFun := (_ : Isometry (Equiv.constVSub x).toFun) }
Instances For
The pseudodistance defines a pseudometric space structure on the torsor. This
is not an instance because it depends on V
to define a MetricSpace P
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The distance defines a metric space structure on the torsor. This
is not an instance because it depends on V
to define a MetricSpace P
.
Equations
- metricSpaceOfNormedAddCommGroupOfAddTorsor V P = MetricSpace.mk (_ : ∀ {x y : P}, dist x y = 0 → x = y)
Instances For
Equations
- (_ : ContinuousVAdd V P) = (_ : ContinuousVAdd V P)