The areas / V22. Affine, Euclidean and convex geometry
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic
151 declarations and 1 deprecated aliases. Mathlib docs · Source
Affine spaces
This file gives further properties of affine subspaces (over modules) and the affine span of a set of points.
Main definitions
AffineSubspace.Parallel, notation∥, gives the property of two affine subspaces being parallel (one being a translate of the other).
theorem vectorSpan_vadd E0 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : Set P) (v : V), vectorSpan k (v +ᵥ s) = vectorSpan k s
theorem AffineSubspace.vsub_right_mem_direction_iff_mem E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} {p : P}, p ∈ s → ∀ (p₂ : P), p₂ -ᵥ p ∈ s.direction ↔ p₂ ∈ s
Given a point in an affine subspace, a result of subtracting that point on the right is in the direction if and only if the other point is in the subspace.
theorem AffineSubspace.vsub_left_mem_direction_iff_mem E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} {p : P}, p ∈ s → ∀ (p₂ : P), p -ᵥ p₂ ∈ s.direction ↔ p₂ ∈ s
Given a point in an affine subspace, a result of subtracting that point on the left is in the direction if and only if the other point is in the subspace.
instance AffineSubspace.toAddTorsor E0 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] → (s : AffineSubspace k P) → [Nonempty ↥s] → AddTorsor ↥s.direction ↥s
theorem AffineSubspace.coe_vsub E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P) [inst_4 : Nonempty ↥s] (a b : ↥s), ↑(a -ᵥ b) = ↑a -ᵥ ↑b
theorem AffineSubspace.coe_vadd E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P) [inst_4 : Nonempty ↥s] (a : ↥s.direction) (b : ↥s),
↑(a +ᵥ b) = ↑a +ᵥ ↑b
def AffineSubspace.subtype E3 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] → (s : AffineSubspace k P) → [inst_4 : Nonempty ↥s] → ↥s →ᵃ[k] P
Embedding of an affine subspace to the ambient space, as an affine map.
theorem AffineSubspace.subtype_linear E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P) [inst_4 : Nonempty ↥s], s.subtype.linear = s.direction.subtype
theorem AffineSubspace.subtype_apply E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} [inst_4 : Nonempty ↥s] (p : ↥s), s.subtype p = ↑p
theorem AffineSubspace.subtype_injective E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P) [inst_4 : Nonempty ↥s], Function.Injective ⇑s.subtype
theorem AffineSubspace.coe_subtype E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P) [inst_4 : Nonempty ↥s], ⇑s.subtype = Subtype.val
theorem AffineMap.lineMap_mem E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {Q : AffineSubspace k P} {p₀ p₁ : P} (c : k),
p₀ ∈ Q → p₁ ∈ Q → (AffineMap.lineMap p₀ p₁) c ∈ Q
theorem AffineMap.homothety_mem E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : CommRing k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} {c : P},
c ∈ s → ∀ (r : k) {p : P}, p ∈ s → (AffineMap.homothety c r) p ∈ s
theorem AffineSubspace.affineSpan_singleton E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (x : P), affineSpan k {x} = {x}
A point is in the affine span of a single point if and only if they are equal.
theorem AffineSubspace.coe_affineSpan_eq_singleton_iff E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (s : Set P) (x : P), affineSpan k s = {x} ↔ s = {x}
theorem AffineSubspace.mem_affineSpan_singleton E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] {p₁ p₂ : P}, p₁ ∈ affineSpan k {p₂} ↔ p₁ = p₂
theorem AffineSubspace.singleton_ne_bot E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (x : P), {x} ≠ ⊥
theorem AffineSubspace.singleton_ne_top E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] [Nontrivial P] (x : P), {x} ≠ ⊤
instance AffineSubspace.unique_affineSpan_singleton E0 #
(k : Type u_1) →
(V : Type u_2) →
{P : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] → [inst_2 : Module k V] → [S : AddTorsor V P] → (p : P) → Unique ↥(affineSpan k {p})
theorem AffineSubspace.preimage_coe_affineSpan_singleton E0 #
∀ (k : Type u_1) (V : Type u_2) {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (x : P), Subtype.val ⁻¹' {x} = Set.univ
def AffineSubspace.topEquiv E1 #
(k : Type u_1) →
(V : Type u_2) →
(P : Type u_3) →
[inst : Ring k] → [inst_1 : AddCommGroup V] → [inst_2 : Module k V] → [S : AddTorsor V P] → ↥⊤ ≃ᵃ[k] P
The top affine subspace is linearly equivalent to the affine space.
This is the affine version of Submodule.topEquiv.
theorem AffineSubspace.linear_topEquiv E0 #
∀ (k : Type u_1) (V : Type u_2) (P : Type u_3) [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P],
(AffineSubspace.topEquiv k V P).linear = (LinearEquiv.ofEq ⊤.direction ⊤ ⋯).trans Submodule.topEquiv
theorem AffineSubspace.topEquiv_symm_apply_coe E0 #
∀ (k : Type u_1) (V : Type u_2) (P : Type u_3) [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (a : P), ↑((AffineSubspace.topEquiv k V P).symm a) = a
theorem AffineSubspace.topEquiv_apply E0 #
∀ (k : Type u_1) (V : Type u_2) (P : Type u_3) [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] (self : { x // x ∈ Set.univ }), (AffineSubspace.topEquiv k V P) self = ↑self
theorem AffineSubspace.subsingleton_of_subsingleton_span_eq_top E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] {s : Set P}, s.Subsingleton → affineSpan k s = ⊤ → Subsingleton P
theorem AffineSubspace.direction_lt_of_nonempty E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[S : AddTorsor V P] {s₁ s₂ : AffineSubspace k P}, s₁ < s₂ → (↑s₁).Nonempty → s₁.direction < s₂.direction
If one nonempty affine subspace is less than another, the same applies to their directions
theorem vectorSpan_eq_span_vsub_set_left E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : Set P} {p : P}, p ∈ s → vectorSpan k s = Submodule.span k ((fun x ↦ p -ᵥ x) '' s)
The vectorSpan is the span of the pairwise subtractions with a given point on the left.
theorem vectorSpan_eq_span_vsub_set_right E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : Set P} {p : P}, p ∈ s → vectorSpan k s = Submodule.span k ((fun x ↦ x -ᵥ p) '' s)
The vectorSpan is the span of the pairwise subtractions with a given point on the right.
theorem vectorSpan_eq_span_vsub_set_left_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : Set P} {p : P},
p ∈ s → vectorSpan k s = Submodule.span k ((fun x ↦ p -ᵥ x) '' (s \ {p}))
The vectorSpan is the span of the pairwise subtractions with a given point on the left,
excluding the subtraction of that point from itself.
theorem vectorSpan_eq_span_vsub_set_right_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : Set P} {p : P},
p ∈ s → vectorSpan k s = Submodule.span k ((fun x ↦ x -ᵥ p) '' (s \ {p}))
The vectorSpan is the span of the pairwise subtractions with a given point on the right,
excluding the subtraction of that point from itself.
theorem vectorSpan_eq_span_vsub_finset_right_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [inst_4 : DecidableEq P] [inst_5 : DecidableEq V] {s : Finset P} {p : P},
p ∈ s → vectorSpan k ↑s = Submodule.span k ↑(Finset.image (fun x ↦ x -ᵥ p) (s.erase p))
The vectorSpan is the span of the pairwise subtractions with a given point on the right,
excluding the subtraction of that point from itself.
theorem vectorSpan_image_eq_span_vsub_set_left_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) {s : Set ι} {i : ι},
i ∈ s → vectorSpan k (p '' s) = Submodule.span k ((fun x ↦ p i -ᵥ x) '' p '' (s \ {i}))
The vectorSpan of the image of a function is the span of the pairwise subtractions with a
given point on the left, excluding the subtraction of that point from itself.
theorem vectorSpan_image_eq_span_vsub_set_right_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) {s : Set ι} {i : ι},
i ∈ s → vectorSpan k (p '' s) = Submodule.span k ((fun x ↦ x -ᵥ p i) '' p '' (s \ {i}))
The vectorSpan of the image of a function is the span of the pairwise subtractions with a
given point on the right, excluding the subtraction of that point from itself.
theorem vectorSpan_range_eq_span_range_vsub_left E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) (i0 : ι),
vectorSpan k (Set.range p) = Submodule.span k (Set.range fun i ↦ p i0 -ᵥ p i)
The vectorSpan of an indexed family is the span of the pairwise subtractions with a given
point on the left.
theorem vectorSpan_range_eq_span_range_vsub_right E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) (i0 : ι),
vectorSpan k (Set.range p) = Submodule.span k (Set.range fun i ↦ p i -ᵥ p i0)
The vectorSpan of an indexed family is the span of the pairwise subtractions with a given
point on the right.
theorem vectorSpan_range_eq_span_range_vsub_left_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) (i₀ : ι),
vectorSpan k (Set.range p) = Submodule.span k (Set.range fun i ↦ p i₀ -ᵥ p ↑i)
The vectorSpan of an indexed family is the span of the pairwise subtractions with a given
point on the left, excluding the subtraction of that point from itself.
theorem vectorSpan_range_eq_span_range_vsub_right_ne E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {ι : Type u_4} (p : ι → P) (i₀ : ι),
vectorSpan k (Set.range p) = Submodule.span k (Set.range fun i ↦ p ↑i -ᵥ p i₀)
The vectorSpan of an indexed family is the span of the pairwise subtractions with a given
point on the right, excluding the subtraction of that point from itself.
theorem affineSpan_coe_preimage_eq_top E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (A : Set P) [inst_4 : Nonempty ↑A], affineSpan k (Subtype.val ⁻¹' A) = ⊤
A set, considered as a subset of its spanned affine subspace, spans the whole subspace.
theorem affineSpan_singleton_union_vadd_eq_top_of_span_eq_top E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : Set V} (p : P),
Submodule.span k (Set.range Subtype.val) = ⊤ → affineSpan k ({p} ∪ (fun v ↦ v +ᵥ p) '' s) = ⊤
Suppose a set of vectors spans V. Then a point p, together with those vectors added to p,
spans P.
theorem vectorSpan_pair E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (p₁ p₂ : P), vectorSpan k {p₁, p₂} = k ∙ (p₁ -ᵥ p₂)
The vectorSpan of two points is the span of their difference.
theorem vectorSpan_pair_rev E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (p₁ p₂ : P), vectorSpan k {p₁, p₂} = k ∙ (p₂ -ᵥ p₁)
The vectorSpan of two points is the span of their difference (reversed).
theorem mem_vectorSpan_pair E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ : P} {v : V}, v ∈ vectorSpan k {p₁, p₂} ↔ ∃ r, r • (p₁ -ᵥ p₂) = v
A vector lies in the vectorSpan of two points if and only if it is a multiple of their
difference.
theorem mem_vectorSpan_pair_rev E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ : P} {v : V}, v ∈ vectorSpan k {p₁, p₂} ↔ ∃ r, r • (p₂ -ᵥ p₁) = v
A vector lies in the vectorSpan of two points if and only if it is a multiple of their
difference (reversed).
theorem AffineMap.lineMap_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (r : k) (p₁ p₂ : P), (AffineMap.lineMap p₁ p₂) r ∈ line[k, p₁, p₂]
A combination of two points expressed with lineMap lies in their affine span.
theorem AffineMap.lineMap_rev_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (r : k) (p₁ p₂ : P), (AffineMap.lineMap p₂ p₁) r ∈ line[k, p₁, p₂]
A combination of two points expressed with lineMap (with the two points reversed) lies in
their affine span.
theorem smul_vsub_vadd_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (r : k) (p₁ p₂ : P), r • (p₂ -ᵥ p₁) +ᵥ p₁ ∈ line[k, p₁, p₂]
A multiple of the difference of two points added to the first point lies in their affine span.
theorem smul_vsub_rev_vadd_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (r : k) (p₁ p₂ : P), r • (p₁ -ᵥ p₂) +ᵥ p₂ ∈ line[k, p₁, p₂]
A multiple of the difference of two points added to the second point lies in their affine span.
theorem vadd_left_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ : P} {v : V}, v +ᵥ p₁ ∈ line[k, p₁, p₂] ↔ ∃ r, r • (p₂ -ᵥ p₁) = v
A vector added to the first point lies in the affine span of two points if and only if it is a multiple of their difference.
theorem vadd_right_mem_affineSpan_pair E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ : P} {v : V}, v +ᵥ p₂ ∈ line[k, p₁, p₂] ↔ ∃ r, r • (p₁ -ᵥ p₂) = v
A vector added to the second point lies in the affine span of two points if and only if it is a multiple of their difference.
theorem mem_affineSpan_pair_iff_exists_lineMap_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p p₁ p₂ : P}, p ∈ line[k, p₁, p₂] ↔ ∃ r, (AffineMap.lineMap p₁ p₂) r = p
theorem mem_affineSpan_pair_iff_exists_lineMap_rev_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p p₁ p₂ : P}, p ∈ line[k, p₁, p₂] ↔ ∃ r, (AffineMap.lineMap p₂ p₁) r = p
theorem AffineSubspace.direction_sup E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P} {p₁ p₂ : P},
p₁ ∈ s₁ → p₂ ∈ s₂ → (s₁ ⊔ s₂).direction = s₁.direction ⊔ s₂.direction ⊔ k ∙ (p₂ -ᵥ p₁)
The direction of the sup of two nonempty affine subspaces is the sup of the two directions and of any one difference between points in the two subspaces.
theorem AffineSubspace.direction_sup_eq_sup_direction E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P} {p : P},
p ∈ s₁ → p ∈ s₂ → (s₁ ⊔ s₂).direction = s₁.direction ⊔ s₂.direction
The direction of the sup of two affine subspaces with a common point is the sup of the two directions.
theorem AffineSubspace.direction_affineSpan_insert E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} {p₁ p₂ : P},
p₁ ∈ s → (affineSpan k (insert p₂ ↑s)).direction = k ∙ (p₂ -ᵥ p₁) ⊔ s.direction
The direction of the span of the result of adding a point to a nonempty affine subspace is the sup of the direction of that subspace and of any one difference between that point and a point in the subspace.
theorem AffineSubspace.mem_affineSpan_insert_iff E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P} {p₁ : P},
p₁ ∈ s → ∀ (p₂ p : P), p ∈ affineSpan k (insert p₂ ↑s) ↔ ∃ r, ∃ p0 ∈ s, p = r • (p₂ -ᵥ p₁) +ᵥ p0
Given a point p₁ in an affine subspace s, and a point p₂, a point p is in the span of
s with p₂ added if and only if it is a multiple of p₂ -ᵥ p₁ added to a point in s.
theorem AffineSubspace.vectorSpan_union_of_mem_of_mem E1 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : Set P} {p : P},
p ∈ s₁ → p ∈ s₂ → vectorSpan k (s₁ ∪ s₂) = vectorSpan k s₁ ⊔ vectorSpan k s₂
The vector span of a union of sets with a common point is the sup of their vector spans.
theorem AffineMap.map_vectorSpan E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) {s : Set P₁},
Submodule.map f.linear (vectorSpan k s) = vectorSpan k (⇑f '' s)
The affine version of LinearMap.map_span.
theorem AffineMap.vectorSpan_preimage_le E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : Set P₂),
vectorSpan k (⇑f ⁻¹' s) ≤ Submodule.comap f.linear (vectorSpan k s)
def AffineSubspace.map E1 #
{k : Type u_1} →
{V₁ : Type u_2} →
{P₁ : Type u_3} →
{V₂ : Type u_4} →
{P₂ : Type u_5} →
[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₂] → (P₁ →ᵃ[k] P₂) → AffineSubspace k P₁ → AffineSubspace k P₂
The image of an affine subspace under an affine map as an affine subspace.
theorem AffineSubspace.coe_map E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₁),
↑(AffineSubspace.map f s) = ⇑f '' ↑s
theorem AffineSubspace.mem_map E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {x : P₂} {s : AffineSubspace k P₁},
x ∈ AffineSubspace.map f s ↔ ∃ y ∈ s, f y = x
theorem AffineSubspace.mem_map_of_mem E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) {x : P₁} {s : AffineSubspace k P₁},
x ∈ s → f x ∈ AffineSubspace.map f s
theorem AffineSubspace.mem_map_iff_mem_of_injective E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {x : P₁} {s : AffineSubspace k P₁},
Function.Injective ⇑f → (f x ∈ AffineSubspace.map f s ↔ x ∈ s)
theorem AffineSubspace.map_bot E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂), AffineSubspace.map f ⊥ = ⊥
theorem AffineSubspace.map_eq_bot_iff E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) {s : AffineSubspace k P₁},
AffineSubspace.map f s = ⊥ ↔ s = ⊥
theorem AffineSubspace.map_id E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (s : AffineSubspace k P₁), AffineSubspace.map (AffineMap.id k P₁) s = s
theorem AffineSubspace.map_map E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} {V₃ : Type u_6} {P₃ : Type u_7}
[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₂] [inst_7 : AddCommGroup V₃]
[inst_8 : Module k V₃] [inst_9 : AddTorsor V₃ P₃] (s : AffineSubspace k P₁) (f : P₁ →ᵃ[k] P₂) (g : P₂ →ᵃ[k] P₃),
AffineSubspace.map g (AffineSubspace.map f s) = AffineSubspace.map (g.comp f) s
theorem AffineSubspace.map_direction E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₁),
(AffineSubspace.map f s).direction = Submodule.map f.linear s.direction
theorem AffineSubspace.map_span E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : Set P₁),
AffineSubspace.map f (affineSpan k s) = affineSpan k (⇑f '' s)
theorem AffineSubspace.map_mono E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) {s₁ s₂ : AffineSubspace k P₁},
s₁ ≤ s₂ → AffineSubspace.map f s₁ ≤ AffineSubspace.map f s₂
theorem AffineSubspace.map_inf_le E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s₁ s₂ : AffineSubspace k P₁),
AffineSubspace.map f (s₁ ⊓ s₂) ≤ AffineSubspace.map f s₁ ⊓ AffineSubspace.map f s₂
theorem AffineSubspace.map_inf_eq E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂),
Function.Injective ⇑f →
∀ (s₁ s₂ : AffineSubspace k P₁), AffineSubspace.map f (s₁ ⊓ s₂) = AffineSubspace.map f s₁ ⊓ AffineSubspace.map f s₂
theorem AffineSubspace.map_mk' E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (p : P₁) (direction : Submodule k V₁),
AffineSubspace.map f (AffineSubspace.mk' p direction) = AffineSubspace.mk' (f p) (Submodule.map f.linear direction)
def AffineSubspace.inclusion E1 #
{k : Type u_1} →
{V₁ : Type u_2} →
{P₁ : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V₁] →
[inst_2 : Module k V₁] →
[inst_3 : AddTorsor V₁ P₁] →
{S₁ S₂ : AffineSubspace k P₁} → [inst_4 : Nonempty ↥S₁] → (h : S₁ ≤ S₂) → ↥S₁ →ᵃ[k] ↥S₂
Affine map from a smaller to a larger subspace of the same space.
This is the affine version of Submodule.inclusion.
theorem AffineSubspace.inclusion_linear E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {S₁ S₂ : AffineSubspace k P₁} [inst_4 : Nonempty ↥S₁] (h : S₁ ≤ S₂),
(AffineSubspace.inclusion h).linear = Submodule.inclusion ⋯
theorem AffineSubspace.coe_inclusion_apply E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {S₁ S₂ : AffineSubspace k P₁} [inst_4 : Nonempty ↥S₁] (h : S₁ ≤ S₂) (x : ↥S₁),
↑((AffineSubspace.inclusion h) x) = ↑x
theorem AffineSubspace.inclusion_rfl E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {S₁ : AffineSubspace k P₁} [inst_4 : Nonempty ↥S₁],
AffineSubspace.inclusion ⋯ = AffineMap.id k ↥S₁
theorem AffineMap.map_top_of_surjective E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂),
Function.Surjective ⇑f → AffineSubspace.map f ⊤ = ⊤
theorem AffineMap.span_eq_top_of_surjective E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) {s : Set P₁},
Function.Surjective ⇑f → affineSpan k s = ⊤ → affineSpan k (⇑f '' s) = ⊤
theorem AffineMap.linear_eqOn_vectorSpan E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_8} {P₂ : Type u_9} [inst_4 : AddCommGroup V₂] [inst_5 : Module k V₂]
[inst_6 : AddTorsor V₂ P₂] {s : Set P₁} {f g : P₁ →ᵃ[k] P₂},
Set.EqOn (⇑f) (⇑g) s → Set.EqOn ⇑f.linear ⇑g.linear ↑(vectorSpan k s)
If two affine maps agree on a set, their linear parts agree on the vector span of that set.
theorem AffineMap.eqOn_affineSpan E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_8} {P₂ : Type u_9} [inst_4 : AddCommGroup V₂] [inst_5 : Module k V₂]
[inst_6 : AddTorsor V₂ P₂] {s : Set P₁} {f g : P₁ →ᵃ[k] P₂}, Set.EqOn (⇑f) (⇑g) s → Set.EqOn ⇑f ⇑g ↑(affineSpan k s)
Two affine maps which agree on a set, agree on its affine span.
theorem AffineMap.ext_on E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_8} {P₂ : Type u_9} [inst_4 : AddCommGroup V₂] [inst_5 : Module k V₂]
[inst_6 : AddTorsor V₂ P₂] {s : Set P₁} {f g : P₁ →ᵃ[k] P₂}, affineSpan k s = ⊤ → Set.EqOn (⇑f) (⇑g) s → f = g
If two affine maps agree on a set that spans the entire space, then they are equal.
theorem AffineEquiv.ext_on E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_8} {P₂ : Type u_9} [inst_4 : AddCommGroup V₂] [inst_5 : Module k V₂]
[inst_6 : AddTorsor V₂ P₂] {s : Set P₁},
affineSpan k s = ⊤ → ∀ (T₁ T₂ : P₁ ≃ᵃ[k] P₂), Set.EqOn (⇑T₁) (⇑T₂) s → T₁ = T₂
If two affine equivalences agree on a set that spans the entire space, then they are equal.
def AffineEquiv.ofEq E1 #
{k : Type u_1} →
{V₁ : Type u_2} →
{P₁ : Type u_3} →
[inst : Ring k] →
[inst_1 : AddCommGroup V₁] →
[inst_2 : Module k V₁] →
[inst_3 : AddTorsor V₁ P₁] →
(S₁ S₂ : AffineSubspace k P₁) →
[inst_4 : Nonempty ↥S₁] → [inst_5 : Nonempty ↥S₂] → S₁ = S₂ → ↥S₁ ≃ᵃ[k] ↥S₂
Affine equivalence between two equal affine subspace.
This is the affine version of LinearEquiv.ofEq.
theorem AffineEquiv.linear_ofEq E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (S₁ S₂ : AffineSubspace k P₁) [inst_4 : Nonempty ↥S₁] [inst_5 : Nonempty ↥S₂]
(h : S₁ = S₂), (AffineEquiv.ofEq S₁ S₂ h).linear = LinearEquiv.ofEq S₁.direction S₂.direction ⋯
theorem AffineEquiv.coe_ofEq_apply E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (S₁ S₂ : AffineSubspace k P₁) [inst_4 : Nonempty ↥S₁] [inst_5 : Nonempty ↥S₂] (h : S₁ = S₂)
(x : ↥S₁), ↑((AffineEquiv.ofEq S₁ S₂ h) x) = ↑x
theorem AffineEquiv.ofEq_symm E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (S₁ S₂ : AffineSubspace k P₁) [inst_4 : Nonempty ↥S₁] [inst_5 : Nonempty ↥S₂]
(h : S₁ = S₂), (AffineEquiv.ofEq S₁ S₂ h).symm = AffineEquiv.ofEq S₂ S₁ ⋯
theorem AffineEquiv.ofEq_rfl E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (S₁ : AffineSubspace k P₁) [inst_4 : Nonempty ↥S₁],
AffineEquiv.ofEq S₁ S₁ ⋯ = AffineEquiv.refl k ↥S₁
theorem AffineEquiv.span_eq_top_iff E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] {s : Set P₁} (e : P₁ ≃ᵃ[k] P₂),
affineSpan k s = ⊤ ↔ affineSpan k (⇑e '' s) = ⊤
def AffineSubspace.comap E1 #
{k : Type u_1} →
{V₁ : Type u_2} →
{P₁ : Type u_3} →
{V₂ : Type u_4} →
{P₂ : Type u_5} →
[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₂] → (P₁ →ᵃ[k] P₂) → AffineSubspace k P₂ → AffineSubspace k P₁
The preimage of an affine subspace under an affine map as an affine subspace.
theorem AffineSubspace.coe_comap E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₂),
↑(AffineSubspace.comap f s) = ⇑f ⁻¹' ↑s
theorem AffineSubspace.mem_comap E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {x : P₁} {s : AffineSubspace k P₂},
x ∈ AffineSubspace.comap f s ↔ f x ∈ s
theorem AffineSubspace.comap_mono E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {s t : AffineSubspace k P₂},
s ≤ t → AffineSubspace.comap f s ≤ AffineSubspace.comap f t
theorem AffineSubspace.comap_top E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂}, AffineSubspace.comap f ⊤ = ⊤
theorem AffineSubspace.comap_bot E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂), AffineSubspace.comap f ⊥ = ⊥
theorem AffineSubspace.comap_id E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} [inst : Ring k] [inst_1 : AddCommGroup V₁] [inst_2 : Module k V₁]
[inst_3 : AddTorsor V₁ P₁] (s : AffineSubspace k P₁), AffineSubspace.comap (AffineMap.id k P₁) s = s
theorem AffineSubspace.comap_comap E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} {V₃ : Type u_6} {P₃ : Type u_7}
[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₂] [inst_7 : AddCommGroup V₃]
[inst_8 : Module k V₃] [inst_9 : AddTorsor V₃ P₃] (s : AffineSubspace k P₃) (f : P₁ →ᵃ[k] P₂) (g : P₂ →ᵃ[k] P₃),
AffineSubspace.comap f (AffineSubspace.comap g s) = AffineSubspace.comap (g.comp f) s
theorem AffineSubspace.direction_comap_le E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₂),
(AffineSubspace.comap f s).direction ≤ Submodule.comap f.linear s.direction
theorem AffineSubspace.direction_comap E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {s : AffineSubspace k P₂},
AffineSubspace.comap f s ≠ ⊥ → (AffineSubspace.comap f s).direction = Submodule.comap f.linear s.direction
theorem AffineSubspace.map_le_iff_le_comap E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂} {s : AffineSubspace k P₁}
{t : AffineSubspace k P₂}, AffineSubspace.map f s ≤ t ↔ s ≤ AffineSubspace.comap f t
theorem AffineSubspace.gc_map_comap E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂),
GaloisConnection (AffineSubspace.map f) (AffineSubspace.comap f)
theorem AffineSubspace.map_comap_le E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₂),
AffineSubspace.map f (AffineSubspace.comap f s) ≤ s
theorem AffineSubspace.le_comap_map E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : AffineSubspace k P₁),
s ≤ AffineSubspace.comap f (AffineSubspace.map f s)
theorem AffineSubspace.map_sup E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] (s t : AffineSubspace k P₁) (f : P₁ →ᵃ[k] P₂),
AffineSubspace.map f (s ⊔ t) = AffineSubspace.map f s ⊔ AffineSubspace.map f t
theorem AffineSubspace.map_iSup E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] {ι : Sort u_8} (f : P₁ →ᵃ[k] P₂) (s : ι → AffineSubspace k P₁),
AffineSubspace.map f (iSup s) = ⨆ i, AffineSubspace.map f (s i)
theorem AffineSubspace.comap_inf E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] (s t : AffineSubspace k P₂) (f : P₁ →ᵃ[k] P₂),
AffineSubspace.comap f (s ⊓ t) = AffineSubspace.comap f s ⊓ AffineSubspace.comap f t
theorem AffineSubspace.comap_supr E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] {ι : Sort u_8} (f : P₁ →ᵃ[k] P₂) (s : ι → AffineSubspace k P₂),
AffineSubspace.comap f (iInf s) = ⨅ i, AffineSubspace.comap f (s i)
theorem AffineSubspace.comap_symm E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] (e : P₁ ≃ᵃ[k] P₂) (s : AffineSubspace k P₁),
AffineSubspace.comap (↑e.symm) s = AffineSubspace.map (↑e) s
theorem AffineSubspace.map_symm E0 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂] (e : P₁ ≃ᵃ[k] P₂) (s : AffineSubspace k P₂),
AffineSubspace.map (↑e.symm) s = AffineSubspace.comap (↑e) s
theorem AffineSubspace.comap_span E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (s : Set P₂),
AffineSubspace.comap (↑f) (affineSpan k s) = affineSpan k (⇑f ⁻¹' s)
def AffineSubspace.gciMapComap E1 #
{k : Type u_1} →
{V₁ : Type u_2} →
{P₁ : Type u_3} →
{V₂ : Type u_4} →
{P₂ : Type u_5} →
[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₂} →
Function.Injective ⇑f → GaloisCoinsertion (AffineSubspace.map f) (AffineSubspace.comap f)
map f and comap f form a GaloisCoinsertion when f is injective.
theorem AffineSubspace.comap_map_eq_of_injective E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂},
Function.Injective ⇑f → ∀ (s : AffineSubspace k P₁), AffineSubspace.comap f (AffineSubspace.map f s) = s
theorem AffineSubspace.comap_mk' E1 #
∀ {k : Type u_1} {V₁ : Type u_2} {P₁ : Type u_3} {V₂ : Type u_4} {P₂ : Type u_5} [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₂) (p : P₁) (s : Submodule k V₂),
AffineSubspace.comap f (AffineSubspace.mk' (f p) s) = AffineSubspace.mk' p (Submodule.comap f.linear s)
def AffineSubspace.prod E1 #
{k : Type u_1} →
{V : Type u_2} →
{W : Type u_3} →
{P : Type u_4} →
{Q : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
[inst_4 : AddCommGroup W] →
[inst_5 : Module k W] →
[inst_6 : AddTorsor W Q] → AffineSubspace k P → AffineSubspace k Q → AffineSubspace k (P × Q)
The product of two affine subspaces as an affine subspace.
theorem AffineSubspace.coe_prod E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : AffineSubspace k P) (t : AffineSubspace k Q), ↑(s.prod t) = ↑s ×ˢ ↑t
theorem AffineSubspace.mem_prod E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : AffineSubspace k P) (t : AffineSubspace k Q) (x : P × Q),
x ∈ s.prod t ↔ x.1 ∈ s ∧ x.2 ∈ t
theorem AffineSubspace.prod_mono E1 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] {s₁ s₂ : AffineSubspace k P} {t₁ t₂ : AffineSubspace k Q},
s₁ ≤ s₂ → t₁ ≤ t₂ → s₁.prod t₁ ≤ s₂.prod t₂
theorem AffineSubspace.prod_top_top E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q], ⊤.prod ⊤ = ⊤
theorem AffineSubspace.prod_bot_right E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : AffineSubspace k P), s.prod ⊥ = ⊥
theorem AffineSubspace.prod_bot_left E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (t : AffineSubspace k P), ⊥.prod t = ⊥
theorem AffineSubspace.prod_inf_prod E1 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s₁ s₂ : AffineSubspace k P) (t₁ t₂ : AffineSubspace k Q),
s₁.prod t₁ ⊓ s₂.prod t₂ = (s₁ ⊓ s₂).prod (t₁ ⊓ t₂)
theorem vectorSpan_prod_le E1 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : Set P) (t : Set Q), vectorSpan k (s ×ˢ t) ≤ (vectorSpan k s).prod (vectorSpan k t)
theorem AffineSubspace.direction_prod_le E1 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : AffineSubspace k P) (t : AffineSubspace k Q),
(s.prod t).direction ≤ s.direction.prod t.direction
theorem vectorSpan_prod_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] {s : Set P} {t : Set Q},
s.Nonempty → t.Nonempty → vectorSpan k (s ×ˢ t) = (vectorSpan k s).prod (vectorSpan k t)
theorem AffineSubspace.direction_prod_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] {s : AffineSubspace k P} {t : AffineSubspace k Q},
s ≠ ⊥ → t ≠ ⊥ → (s.prod t).direction = s.direction.prod t.direction
theorem affineSpan_prod_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {W : Type u_3} {P : Type u_4} {Q : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : Module k V] [inst_3 : AddTorsor V P] [inst_4 : AddCommGroup W] [inst_5 : Module k W]
[inst_6 : AddTorsor W Q] (s : Set P) (t : Set Q), affineSpan k (s ×ˢ t) = (affineSpan k s).prod (affineSpan k t)
def AffineSubspace.Parallel E3 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_4} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] → [inst_3 : AddTorsor V P] → AffineSubspace k P → AffineSubspace k P → Prop
Two affine subspaces are parallel if one is related to the other by adding the same vector to all points.
def Affine.«term_∥_» E1 #
Lean.TrailingParserDescr
Two affine subspaces are parallel if one is related to the other by adding the same vector to all points.
theorem AffineSubspace.Parallel.symm E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P}, s₁.Parallel s₂ → s₂.Parallel s₁
theorem AffineSubspace.parallel_comm E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P}, s₁.Parallel s₂ ↔ s₂.Parallel s₁
theorem AffineSubspace.Parallel.refl E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : AffineSubspace k P), s.Parallel s
theorem AffineSubspace.Parallel.trans E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ s₃ : AffineSubspace k P}, s₁.Parallel s₂ → s₂.Parallel s₃ → s₁.Parallel s₃
instance AffineSubspace.instReflParallel E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P], Std.Refl AffineSubspace.Parallel
instance AffineSubspace.instSymmParallel E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P], Std.Symm AffineSubspace.Parallel
instance AffineSubspace.instIsTransParallel E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P], IsTrans (AffineSubspace k P) AffineSubspace.Parallel
theorem AffineSubspace.Parallel.equivalence E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P], Equivalence AffineSubspace.Parallel
theorem AffineSubspace.Parallel.direction_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P}, s₁.Parallel s₂ → s₁.direction = s₂.direction
theorem AffineSubspace.parallel_bot_iff_eq_bot E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P}, s.Parallel ⊥ ↔ s = ⊥
theorem AffineSubspace.bot_parallel_iff_eq_bot E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s : AffineSubspace k P}, ⊥.Parallel s ↔ s = ⊥
theorem AffineSubspace.parallel_iff_direction_eq_and_eq_bot_iff_eq_bot E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : AffineSubspace k P},
s₁.Parallel s₂ ↔ s₁.direction = s₂.direction ∧ (s₁ = ⊥ ↔ s₂ = ⊥)
theorem AffineSubspace.Parallel.vectorSpan_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : Set P},
(affineSpan k s₁).Parallel (affineSpan k s₂) → vectorSpan k s₁ = vectorSpan k s₂
theorem AffineSubspace.affineSpan_parallel_iff_vectorSpan_eq_and_eq_empty_iff_eq_empty E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {s₁ s₂ : Set P},
(affineSpan k s₁).Parallel (affineSpan k s₂) ↔ vectorSpan k s₁ = vectorSpan k s₂ ∧ (s₁ = ∅ ↔ s₂ = ∅)
theorem AffineSubspace.affineSpan_pair_parallel_iff_vectorSpan_eq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ p₃ p₄ : P},
line[k, p₁, p₂].Parallel line[k, p₃, p₄] ↔ vectorSpan k {p₁, p₂} = vectorSpan k {p₃, p₄}
theorem AffineSubspace.affineSpan_pair_parallel_iff_exists_unit_smul' E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [IsDomain k] [Module.IsTorsionFree k V] {p₁ q₁ p₂ q₂ : P},
line[k, p₁, q₁].Parallel line[k, p₂, q₂] ↔ ∃ z, z • (q₁ -ᵥ p₁) = q₂ -ᵥ p₂
theorem AffineSubspace.affineSpan_pair_parallel_iff_exists_unit_smul E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [IsDomain k] [Module.IsTorsionFree k V] {p₁ q₁ p₂ q₂ : P},
line[k, p₁, q₁].Parallel line[k, p₂, q₂] ↔ ∃ z, z • (q₂ -ᵥ p₂) = q₁ -ᵥ p₁
theorem AffineSubspace.direction_affineSpan_pair_le_iff_exists_smul E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ q₁ p₂ q₂ : P},
line[k, p₁, q₁].direction ≤ line[k, p₂, q₂].direction ↔ ∃ z, z • (q₂ -ᵥ p₂) = q₁ -ᵥ p₁
theorem AffineSubspace.affineSpan_pair_comm E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ : P}, line[k, p₁, p₂] = line[k, p₂, p₁]
theorem affineSpan_pair_eq_of_mem_of_mem_of_ne E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : DivisionRing k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ p₃ p₄ : P},
p₁ ∈ line[k, p₃, p₄] → p₂ ∈ line[k, p₃, p₄] → p₁ ≠ p₂ → line[k, p₁, p₂] = line[k, p₃, p₄]
The span of two different points that lie in a line through two points equals that line.
theorem affineSpan_pair_eq_of_left_mem_of_ne E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : DivisionRing k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ p₃ : P}, p₁ ∈ line[k, p₂, p₃] → p₁ ≠ p₃ → line[k, p₁, p₃] = line[k, p₂, p₃]
One line equals another differing in the first point if the first point of the first line is contained in the second line and does not equal the second point.
theorem affineSpan_pair_eq_of_right_mem_of_ne E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : DivisionRing k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ p₃ : P}, p₁ ∈ line[k, p₂, p₃] → p₁ ≠ p₂ → line[k, p₂, p₁] = line[k, p₂, p₃]
One line equals another differing in the second point if the second point of the first line is contained in the second line and does not equal the first point.
theorem exists_eq_smul_of_parallel E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_3} [inst : DivisionRing k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {p₁ p₂ p₃ p₄ p₅ p₆ : P},
p₂ ∉ line[k, p₁, p₃] →
line[k, p₁, p₂].Parallel line[k, p₄, p₅] →
line[k, p₅, p₆].direction ≤ line[k, p₂, p₃].direction →
line[k, p₆, p₄].direction ≤ line[k, p₃, p₁].direction →
∃ r, r ≠ 0 ∧ p₅ -ᵥ p₄ = r • (p₂ -ᵥ p₁) ∧ p₆ -ᵥ p₅ = r • (p₃ -ᵥ p₂) ∧ p₄ -ᵥ p₆ = r • (p₁ -ᵥ p₃)
Given two triples of non-collinear points, if the lines determined by corresponding pairs of points are parallel, then the vectors between corresponding pairs of points are all related by the same nonzero scale factor. (The formal statement is slightly more general.)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
AffineSubspace.coe_affineSpan_singleton | AffineSubspace.affineSpan_singleton | 2026-09-01 |