The areas / V22. Affine, Euclidean and convex geometry
Mathlib.LinearAlgebra.AffineSpace.Pointwise
21 declarations. Mathlib docs · Source
Pointwise instances on AffineSubspaces
This file provides the additive action AffineSubspace.pointwiseAddAction in the
Pointwise locale.
def AffineSubspace.pointwiseVAdd E1 #
{k : Type u_2} →
{V : Type u_3} →
{P : Type u_4} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] → [inst_2 : Module k V] → [inst_3 : AddTorsor V P] → VAdd V (AffineSubspace k P)
The additive action on an affine subspace corresponding to applying the action to every element.
This is available as an instance in the Pointwise locale.
theorem AffineSubspace.coe_pointwise_vadd E0 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V) (s : AffineSubspace k P), ↑(v +ᵥ s) = v +ᵥ ↑s
def AffineSubspace.pointwiseAddAction E1 #
{k : Type u_2} →
{V : Type u_3} →
{P : Type u_4} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] → [inst_2 : Module k V] → [inst_3 : AddTorsor V P] → AddAction V (AffineSubspace k P)
The additive action on an affine subspace corresponding to applying the action to every element.
This is available as an instance in the Pointwise locale.
theorem AffineSubspace.pointwise_vadd_eq_map E1 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V) (s : AffineSubspace k P),
v +ᵥ s = AffineSubspace.map (↑(AffineEquiv.constVAdd k P v)) s
theorem AffineSubspace.vadd_mem_pointwise_vadd_iff E0 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {v : V} {s : AffineSubspace k P} {p : P}, v +ᵥ p ∈ v +ᵥ s ↔ p ∈ s
theorem AffineSubspace.pointwise_vadd_bot E0 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V), v +ᵥ ⊥ = ⊥
theorem AffineSubspace.pointwise_vadd_top E0 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V), v +ᵥ ⊤ = ⊤
theorem AffineSubspace.pointwise_vadd_direction E1 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V) (s : AffineSubspace k P), (v +ᵥ s).direction = s.direction
theorem AffineSubspace.pointwise_vadd_span E1 #
∀ {k : Type u_2} {V : Type u_3} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (v : V) (s : Set P), v +ᵥ affineSpan k s = affineSpan k (v +ᵥ s)
theorem AffineSubspace.map_pointwise_vadd E0 #
∀ {k : Type u_2} {V₁ : Type u_5} {P₁ : Type u_6} {V₂ : Type u_7} {P₂ : Type u_8} [inst : Ring k]
[inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁] [inst_3 : AddTorsor V₁ P₁] [inst_4 : AddCommGroup V₂]
[inst_5 : Module k V₂] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[k] P₂) (v : V₁) (s : AffineSubspace k P₁),
AffineSubspace.map f (v +ᵥ s) = f.linear v +ᵥ AffineSubspace.map f s
def AffineSubspace.pointwiseSMul E1 #
{M : Type u_1} →
{k : Type u_2} →
{V : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] → [inst_3 : DistribSMul M V] → [SMulCommClass M k V] → SMul M (AffineSubspace k V)
The multiplicative action on an affine subspace corresponding to applying the action to every element.
This is available as an instance in the Pointwise locale.
TODO: generalize to include SMul (P ≃ᵃ[k] P) (AffineSubspace k P), which acts on P with a
VAdd version of a DistribMulAction.
theorem AffineSubspace.coe_smul E0 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : DistribSMul M V] [inst_4 : SMulCommClass M k V] (a : M) (s : AffineSubspace k V), ↑(a • s) = a • ↑s
theorem AffineSubspace.smul_eq_map E1 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : DistribSMul M V] [inst_4 : SMulCommClass M k V] (a : M) (s : AffineSubspace k V),
a • s = AffineSubspace.map (DistribSMul.toLinearMap k V a).toAffineMap s
theorem AffineSubspace.smul_mem_smul_iff E0 #
∀ {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V] {s : AffineSubspace k V}
{p : V} {G : Type u_9} [inst_3 : Group G] [inst_4 : DistribMulAction G V] [inst_5 : SMulCommClass G k V] {a : G},
a • p ∈ a • s ↔ p ∈ s
theorem AffineSubspace.smul_bot E0 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : DistribSMul M V] [inst_4 : SMulCommClass M k V] (a : M), a • ⊥ = ⊥
theorem AffineSubspace.smul_span E1 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : DistribSMul M V] [inst_4 : SMulCommClass M k V] (a : M) (s : Set V),
a • affineSpan k s = affineSpan k (a • s)
def AffineSubspace.mulAction E1 #
{M : Type u_1} →
{k : Type u_2} →
{V : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : Monoid M] →
[inst_4 : DistribMulAction M V] → [SMulCommClass M k V] → MulAction M (AffineSubspace k V)
The multiplicative action on an affine subspace corresponding to applying the action to every element.
This is available as an instance in the Pointwise locale.
TODO: generalize to include SMul (P ≃ᵃ[k] P) (AffineSubspace k P), which acts on P with a
VAdd version of a DistribMulAction.
theorem AffineSubspace.smul_mem_smul_iff_of_isUnit E1 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : Monoid M] [inst_4 : DistribMulAction M V] [inst_5 : SMulCommClass M k V] {a : M} {s : AffineSubspace k V}
{p : V}, IsUnit a → (a • p ∈ a • s ↔ p ∈ s)
theorem AffineSubspace.smul_mem_smul_iff₀ E1 #
∀ {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V] {s : AffineSubspace k V}
{p : V} {G₀ : Type u_9} [inst_3 : GroupWithZero G₀] [inst_4 : DistribMulAction G₀ V] [inst_5 : SMulCommClass G₀ k V]
{a : G₀}, a ≠ 0 → (a • p ∈ a • s ↔ p ∈ s)
theorem AffineSubspace.smul_top E0 #
∀ {M : Type u_1} {k : Type u_2} {V : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : Monoid M] [inst_4 : DistribMulAction M V] [inst_5 : SMulCommClass M k V] {a : M}, IsUnit a → a • ⊤ = ⊤
theorem AffineSubspace.direction_smul E0 #
∀ {k : Type u_2} {V : Type u_3} [inst : Field k] [inst_1 : AddCommGroup V] [inst_2 : Module k V] {a : k},
a ≠ 0 → ∀ (s : AffineSubspace k V), (a • s).direction = s.direction