The areas / V22. Affine, Euclidean and convex geometry
Mathlib.LinearAlgebra.AffineSpace.Simplex.Basic
105 declarations and 1 deprecated aliases. Mathlib docs · Source
Simplex in affine space
This file defines n-dimensional simplices in affine space.
Main definitions
-
Simplexis a bundled type with collection ofn + 1points in affine space that are affinely independent, wherenis the dimension of the simplex. -
Triangleis a simplex with three points, defined as an abbreviation for simplex withn = 2. -
faceis a simplex with a subset of the points of the original simplex.
References
- https://en.wikipedia.org/wiki/Simplex
def Affine.Simplex.ctorIdx E1 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
{inst : Ring k} →
{inst_1 : AddCommGroup V} →
{inst_2 : Module k V} → {inst_3 : AddTorsor V P} → {n : ℕ} → Affine.Simplex k P n → ℕ
theorem Affine.Simplex.map.congr_simp E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {n : ℕ} (s s_1 : Affine.Simplex k P n),
s = s_1 → ∀ (f f_1 : P →ᵃ[k] P₂) (e_f : f = f_1) (hf : Function.Injective ⇑f), s.map f hf = s_1.map f_1 ⋯
theorem Affine.Simplex.mk.congr_simp E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (points points_1 : Fin (n + 1) → P) (e_points : points = points_1)
(independent : AffineIndependent k points),
{ points := points, independent := independent } = { points := points_1, independent := ⋯ }
theorem Affine.Simplex.mk.injEq E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (points : Fin (n + 1) → P) (independent : AffineIndependent k points)
(points_1 : Fin (n + 1) → P) (independent_1 : AffineIndependent k points_1),
({ points := points, independent := independent } = { points := points_1, independent := independent_1 }) =
(points = points_1)
theorem Affine.Simplex.mk.inj E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} {inst : Ring k} {inst_1 : AddCommGroup V} {inst_2 : Module k V}
{inst_3 : AddTorsor V P} {n : ℕ} {points : Fin (n + 1) → P} {independent : AffineIndependent k points}
{points_1 : Fin (n + 1) → P} {independent_1 : AffineIndependent k points_1},
{ points := points, independent := independent } = { points := points_1, independent := independent_1 } →
points = points_1
theorem Affine.Simplex.faceOpposite.congr_simp E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s s_1 : Affine.Simplex k P n),
s = s_1 → ∀ (i i_1 : Fin (n + 1)), i = i_1 → s.faceOpposite i = s_1.faceOpposite i_1
theorem Affine.Simplex.face.congr_simp E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s s_1 : Affine.Simplex k P n),
s = s_1 → ∀ {fs fs_1 : Finset (Fin (n + 1))} (e_fs : fs = fs_1) {m : ℕ} (h : fs.card = m + 1), s.face h = s_1.face ⋯
structure Affine.Simplex E3 #
(k : Type u_1) →
{V : Type u_2} →
(P : Type u_5) → [inst : Ring k] → [inst_1 : AddCommGroup V] → [Module k V] → [AddTorsor V P] → ℕ → Type u_5
A Simplex k P n is a collection of n + 1 affinely
independent points.
ctor Affine.Simplex.mk E0 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
{n : ℕ} → (points : Fin (n + 1) → P) → AffineIndependent k points → Affine.Simplex k P n
abbrev Affine.Simplex.points E1 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] → [inst_3 : AddTorsor V P] → {n : ℕ} → Affine.Simplex k P n → Fin (n + 1) → P
theorem Affine.Simplex.independent E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (self : Affine.Simplex k P n), AffineIndependent k self.points
abbrev Affine.Triangle E3 #
(k : Type u_1) →
{V : Type u_2} →
(P : Type u_5) → [inst : Ring k] → [inst_1 : AddCommGroup V] → [Module k V] → [AddTorsor V P] → Type u_5
A Triangle k P is a collection of three affinely independent points.
def Affine.Simplex.mkOfPoint E1 #
(k : Type u_1) →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] → [inst_2 : Module k V] → [inst_3 : AddTorsor V P] → P → Affine.Simplex k P 0
Construct a 0-simplex from a point.
theorem Affine.Simplex.mkOfPoint_points E0 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (p : P) (i : Fin 1), (Affine.Simplex.mkOfPoint k p).points i = p
The point in a simplex constructed with mkOfPoint.
instance Affine.Simplex.instInhabitedOfNatNat E0 #
(k : Type u_1) →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] → [inst_3 : AddTorsor V P] → [Inhabited P] → Inhabited (Affine.Simplex k P 0)
instance Affine.Simplex.nonempty E0 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P], Nonempty (Affine.Simplex k P 0)
theorem Affine.Simplex.range_mkOfPoint_points E0 #
∀ (k : Type u_1) {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (p : P), Set.range (Affine.Simplex.mkOfPoint k p).points = {p}
The set of points in a simplex constructed with mkOfPoint.
theorem Affine.Simplex.ext E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} {s1 s2 : Affine.Simplex k P n},
(∀ (i : Fin (n + 1)), s1.points i = s2.points i) → s1 = s2
Two simplices are equal if they have the same points.
theorem Affine.Simplex.ext_iff E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} {s1 s2 : Affine.Simplex k P n},
s1 = s2 ↔ ∀ (i : Fin (n + 1)), s1.points i = s2.points i
Two simplices are equal if and only if they have the same points.
def Affine.Simplex.face E3 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
{n : ℕ} →
Affine.Simplex k P n → {fs : Finset (Fin (n + 1))} → {m : ℕ} → fs.card = m + 1 → Affine.Simplex k P m
A face of a simplex is a simplex with the given subset of points.
theorem Affine.Simplex.face_points E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1)
(i : Fin (m + 1)), (s.face h).points i = s.points ((fs.orderEmbOfFin h) i)
The points of a face of a simplex are given by mono_of_fin.
theorem Affine.Simplex.face_points' E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1),
(s.face h).points = s.points ∘ ⇑(fs.orderEmbOfFin h)
The points of a face of a simplex are given by mono_of_fin.
theorem Affine.Simplex.face_eq_mkOfPoint E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) (i : Fin (n + 1)),
s.face ⋯ = Affine.Simplex.mkOfPoint k (s.points i)
A single-point face equals the 0-simplex constructed with
mkOfPoint.
theorem Affine.Simplex.range_face_points E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1),
Set.range (s.face h).points = s.points '' ↑fs
The set of points of a face.
theorem Affine.Simplex.affineSpan_face_le E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1),
affineSpan k (Set.range (s.face h).points) ≤ affineSpan k (Set.range s.points)
theorem Affine.Simplex.points_mem_affineSpan_face E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [Nontrivial k] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ}
(h : fs.card = m + 1) {i : Fin (n + 1)}, s.points i ∈ affineSpan k (Set.range (s.face h).points) ↔ i ∈ fs
def Affine.Simplex.faceOpposite E1 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
{n : ℕ} → [NeZero n] → Affine.Simplex k P n → Fin (n + 1) → Affine.Simplex k P (n - 1)
The face of a simplex with all but one point.
theorem Affine.Simplex.range_faceOpposite_points E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex k P n) (i : Fin (n + 1)),
Set.range (s.faceOpposite i).points = s.points '' {i}ᶜ
theorem Affine.Simplex.affineSpan_faceOpposite_le E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex k P n) (i : Fin (n + 1)),
affineSpan k (Set.range (s.faceOpposite i).points) ≤ affineSpan k (Set.range s.points)
theorem Affine.Simplex.points_mem_affineSpan_faceOpposite E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [Nontrivial k] {n : ℕ} [inst_5 : NeZero n] (s : Affine.Simplex k P n) {i j : Fin (n + 1)},
s.points j ∈ affineSpan k (Set.range (s.faceOpposite i).points) ↔ j ≠ i
theorem Affine.Simplex.points_notMem_affineSpan_faceOpposite E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [Nontrivial k] {n : ℕ} [inst_5 : NeZero n] (s : Affine.Simplex k P n) (i : Fin (n + 1)),
s.points i ∉ affineSpan k (Set.range (s.faceOpposite i).points)
theorem Affine.Simplex.faceOpposite_point_eq_point_succAbove E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex k P n) (i : Fin (n + 1))
(j : Fin (n - 1 + 1)), (s.faceOpposite i).points j = s.points (i.succAbove (Fin.cast ⋯ j))
theorem Affine.Simplex.faceOpposite_point_eq_point_rev E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : Affine.Simplex k P 1) (i : Fin 2) (n : Fin 1),
(s.faceOpposite i).points n = s.points i.rev
theorem Affine.Simplex.faceOpposite_point_eq_point_one E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : Affine.Simplex k P 1) (n : Fin 1), (s.faceOpposite 0).points n = s.points 1
theorem Affine.Simplex.faceOpposite_point_eq_point_zero E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] (s : Affine.Simplex k P 1) (n : Fin 1), (s.faceOpposite 1).points n = s.points 0
instance Affine.Simplex.instNonemptyElemComplSetSingletonOfNontrivial E0 #
∀ {α : Type u_8} [Nontrivial α] (i : α), Nonempty ↑{i}ᶜ
Needed to make affineSpan (s.points '' {i}ᶜ) nonempty.
theorem Affine.Simplex.mem_affineSpan_image_iff E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] [Nontrivial k] {n : ℕ} (s : Affine.Simplex k P n) {fs : Set (Fin (n + 1))} {i : Fin (n + 1)},
s.points i ∈ affineSpan k (s.points '' fs) ↔ i ∈ fs
theorem Affine.Simplex.mem_affineSpan_range E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) (i : Fin (n + 1)),
s.points i ∈ affineSpan k (Set.range s.points)
theorem Affine.Simplex.affineCombination_mem_affineSpan_faceOpposite_iff E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] {s : Affine.Simplex k P n} {w : Fin (n + 1) → k},
∑ i, w i = 1 →
∀ {i : Fin (n + 1)},
(Finset.affineCombination k Finset.univ s.points) w ∈ affineSpan k (Set.range (s.faceOpposite i).points) ↔ w i = 0
def Affine.Simplex.map E1 #
{k : Type u_1} →
{V : Type u_2} →
{V₂ : Type u_3} →
{P : Type u_5} →
{P₂ : Type u_6} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : AddCommGroup V₂] →
[inst_3 : Module k V] →
[inst_4 : Module k V₂] →
[inst_5 : AddTorsor V P] →
[inst_6 : AddTorsor V₂ P₂] →
{n : ℕ} →
Affine.Simplex k P n → (f : P →ᵃ[k] P₂) → Function.Injective ⇑f → Affine.Simplex k P₂ n
Push forward an affine simplex under an injective affine map.
theorem Affine.Simplex.map_points E0 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {n : ℕ} (s : Affine.Simplex k P n) (f : P →ᵃ[k] P₂) (hf : Function.Injective ⇑f),
(s.map f hf).points = ⇑f ∘ s.points
theorem Affine.Simplex.map_id E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n), s.map (AffineMap.id k P) ⋯ = s
theorem Affine.Simplex.map_comp E0 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {V₃ : Type u_4} {P : Type u_5} {P₂ : Type u_6} {P₃ : Type u_7}
[inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : AddCommGroup V₂] [inst_3 : AddCommGroup V₃] [inst_4 : Module k V]
[inst_5 : Module k V₂] [inst_6 : Module k V₃] [inst_7 : AddTorsor V P] [inst_8 : AddTorsor V₂ P₂]
[inst_9 : AddTorsor V₃ P₃] {n : ℕ} (s : Affine.Simplex k P n) (f : P →ᵃ[k] P₂) (hf : Function.Injective ⇑f)
(g : P₂ →ᵃ[k] P₃) (hg : Function.Injective ⇑g), s.map (g.comp f) ⋯ = (s.map f hf).map g hg
theorem Affine.Simplex.face_map E0 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {n : ℕ} (s : Affine.Simplex k P n) (f : P →ᵃ[k] P₂) (hf : Function.Injective ⇑f)
{fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1), (s.map f hf).face h = (s.face h).map f hf
theorem Affine.Simplex.faceOpposite_map E0 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {n : ℕ} [inst_7 : NeZero n] (s : Affine.Simplex k P n) (f : P →ᵃ[k] P₂)
(hf : Function.Injective ⇑f) (i : Fin (n + 1)), (s.map f hf).faceOpposite i = (s.faceOpposite i).map f hf
theorem Affine.Simplex.map_mkOfPoint E0 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] (f : P →ᵃ[k] P₂) (hf : Function.Injective ⇑f) (p : P),
(Affine.Simplex.mkOfPoint k p).map f hf = Affine.Simplex.mkOfPoint k (f p)
def Affine.Simplex.reindex E1 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
{m n : ℕ} → Affine.Simplex k P m → Fin (m + 1) ≃ Fin (n + 1) → Affine.Simplex k P n
Remap a simplex along an Equiv of index types.
theorem Affine.Simplex.reindex_points E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1)) (a : Fin (n + 1)),
(s.reindex e).points a = (s.points ∘ ⇑e.symm) a
theorem Affine.Simplex.reindex_refl E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n), s.reindex (Equiv.refl (Fin (n + 1))) = s
Reindexing by Equiv.refl yields the original simplex.
theorem Affine.Simplex.reindex_trans E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n₁ n₂ n₃ : ℕ} (e₁₂ : Fin (n₁ + 1) ≃ Fin (n₂ + 1)) (e₂₃ : Fin (n₂ + 1) ≃ Fin (n₃ + 1))
(s : Affine.Simplex k P n₁), s.reindex (e₁₂.trans e₂₃) = (s.reindex e₁₂).reindex e₂₃
Reindexing by the composition of two equivalences is the same as reindexing twice.
theorem Affine.Simplex.reindex_reindex_symm E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1)),
(s.reindex e).reindex e.symm = s
Reindexing by an equivalence and its inverse yields the original simplex.
theorem Affine.Simplex.reindex_symm_reindex E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (n + 1) ≃ Fin (m + 1)),
(s.reindex e.symm).reindex e = s
Reindexing by the inverse of an equivalence and that equivalence yields the original simplex.
theorem Affine.Simplex.reindex_range_points E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1)),
Set.range (s.reindex e).points = Set.range s.points
Reindexing a simplex produces one with the same set of points.
theorem Affine.Simplex.reindex_map E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1)) (f : P →ᵃ[k] P₂)
(hf : Function.Injective ⇑f), (s.map f hf).reindex e = (s.reindex e).map f hf
theorem Affine.Simplex.range_face_reindex E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1))
{fs : Finset (Fin (n + 1))} {n' : ℕ} (h : fs.card = n' + 1),
Set.range ((s.reindex e).face h).points = Set.range (s.face ⋯).points
theorem Affine.Simplex.range_faceOpposite_reindex E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} [inst_4 : NeZero m] [inst_5 : NeZero n] (s : Affine.Simplex k P m)
(e : Fin (m + 1) ≃ Fin (n + 1)) (i : Fin (n + 1)),
Set.range ((s.reindex e).faceOpposite i).points = Set.range (s.faceOpposite (e.symm i)).points
def Affine.Simplex.restrict E1 #
{k : Type u_1} →
{V : Type u_2} →
{P : Type u_5} →
[inst : Ring k] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module k V] →
[inst_3 : AddTorsor V P] →
{n : ℕ} →
(s : Affine.Simplex k P n) →
(S : AffineSubspace k P) → (hS : affineSpan k (Set.range s.points) ≤ S) → Affine.Simplex k (↥S) n
Restrict an affine simplex to an affine subspace that contains it.
theorem Affine.Simplex.restrict_points_coe E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) (S : AffineSubspace k P)
(hS : affineSpan k (Set.range s.points) ≤ S) (i : Fin (n + 1)), ↑((s.restrict S hS).points i) = s.points i
theorem Affine.Simplex.restrict_map_inclusion E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) (S₁ S₂ : AffineSubspace k P)
(hS₁ : affineSpan k (Set.range s.points) ≤ S₁) (hS₂ : S₁ ≤ S₂),
(s.restrict S₁ hS₁).map (AffineSubspace.inclusion hS₂) ⋯ = s.restrict S₂ ⋯
Restricting to S₁ then mapping to a larger S₂ is the same as restricting to S₂.
theorem Affine.Simplex.map_subtype_restrict E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (S : AffineSubspace k P) [inst_4 : Nonempty ↥S] (s : Affine.Simplex k (↥S) n),
(s.map S.subtype ⋯).restrict S ⋯ = s
theorem Affine.Simplex.restrict_map_restrict E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : Type u_5} {P₂ : Type u_6} [inst : Ring k] [inst_1 : AddCommGroup V]
[inst_2 : AddCommGroup V₂] [inst_3 : Module k V] [inst_4 : Module k V₂] [inst_5 : AddTorsor V P]
[inst_6 : AddTorsor V₂ P₂] {n : ℕ} (s : Affine.Simplex k P n) (f : P →ᵃ[k] P₂) (hf : Function.Injective ⇑f)
(S₁ : AffineSubspace k P) (S₂ : AffineSubspace k P₂) (hS₁ : affineSpan k (Set.range s.points) ≤ S₁)
(hfS : AffineSubspace.map f S₁ ≤ S₂), (s.restrict S₁ hS₁).map (f.restrict hfS) ⋯ = (s.map f hf).restrict S₂ ⋯
Restricting to S₁ then mapping through the restriction of f to S₁ →ᵃ[k] S₂ is the same
as mapping through unrestricted f, then restricting to S₂.
theorem Affine.Simplex.restrict_map_subtype E0 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n),
(s.restrict (affineSpan k (Set.range s.points)) ⋯).map (affineSpan k (Set.range s.points)).subtype ⋯ = s
Restricting to affineSpan k (Set.range s.points) can be reversed by mapping through
AffineSubspace.subtype.
theorem Affine.Simplex.restrict_reindex E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {m n : ℕ} (s : Affine.Simplex k P n) (e : Fin (n + 1) ≃ Fin (m + 1)) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S), (s.reindex e).restrict S ⋯ = (s.restrict S hS).reindex e
theorem Affine.Simplex.face_restrict E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} (s : Affine.Simplex k P n) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1),
(s.restrict S hS).face h = (s.face h).restrict S ⋯
theorem Affine.Simplex.faceOpposite_restrict E1 #
∀ {k : Type u_1} {V : Type u_2} {P : Type u_5} [inst : Ring k] [inst_1 : AddCommGroup V] [inst_2 : Module k V]
[inst_3 : AddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex k P n) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S) (i : Fin (n + 1)),
(s.restrict S hS).faceOpposite i = (s.faceOpposite i).restrict S ⋯
def Affine.Simplex.setInterior 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] → Set k → {n : ℕ} → Affine.Simplex k P n → Set P
The interior of a simplex is the set of points that can be expressed as an affine combination
of the vertices with weights in a set I.
theorem Affine.Simplex.affineCombination_mem_setInterior_iff 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] {I : Set k} {n : ℕ} {s : Affine.Simplex k P n} {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ Affine.Simplex.setInterior I s ↔
∀ (i : Fin (n + 1)), w i ∈ I)
theorem Affine.Simplex.setInterior_reindex 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] (I : Set k) {m n : ℕ} (s : Affine.Simplex k P n) (e : Fin (n + 1) ≃ Fin (m + 1)),
Affine.Simplex.setInterior I (s.reindex e) = Affine.Simplex.setInterior I s
theorem Affine.Simplex.setInterior_mono 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] {I J : Set k},
I ⊆ J → ∀ {n : ℕ} (s : Affine.Simplex k P n), Affine.Simplex.setInterior I s ⊆ Affine.Simplex.setInterior J s
theorem Affine.Simplex.setInterior_subset_affineSpan 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] {I : Set k} {n : ℕ} {s : Affine.Simplex k P n},
Affine.Simplex.setInterior I s ⊆ ↑(affineSpan k (Set.range s.points))
theorem Affine.Simplex.setInterior_map E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : 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₂] (I : Set k) {n : ℕ} (s : Affine.Simplex k P n) {f : P →ᵃ[k] P₂}
(hf : Function.Injective ⇑f), Affine.Simplex.setInterior I (s.map f hf) = ⇑f '' Affine.Simplex.setInterior I s
theorem Affine.Simplex.setInterior_restrict 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] (I : Set k) {n : ℕ} (s : Affine.Simplex k P n) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S),
Affine.Simplex.setInterior I (s.restrict S hS) = ⇑S.subtype ⁻¹' Affine.Simplex.setInterior I s
def Affine.Simplex.interior 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] → [PartialOrder k] → {n : ℕ} → Affine.Simplex k P n → Set P
The interior of a simplex is the set of points that can be expressed as an affine combination of the vertices with weights strictly between 0 and 1. This is equivalent to the intrinsic interior of the convex hull of the vertices.
theorem Affine.Simplex.interior_reindex 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] [inst_4 : PartialOrder k] {m n : ℕ} (s : Affine.Simplex k P n)
(e : Fin (n + 1) ≃ Fin (m + 1)), (s.reindex e).interior = s.interior
theorem Affine.Simplex.affineCombination_mem_interior_iff 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] [inst_4 : PartialOrder k] {n : ℕ} {s : Affine.Simplex k P n} {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ s.interior ↔ ∀ (i : Fin (n + 1)), w i ∈ Set.Ioo 0 1)
def Affine.Simplex.closedInterior 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] → [PartialOrder k] → {n : ℕ} → Affine.Simplex k P n → Set P
s.closedInterior is the set of points that can be expressed as an affine combination
of the vertices with weights between 0 and 1 inclusive. This is equivalent to the convex hull of
the vertices or the closure of the interior.
theorem Affine.Simplex.closedInterior_reindex 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] [inst_4 : PartialOrder k] {m n : ℕ} (s : Affine.Simplex k P n)
(e : Fin (n + 1) ≃ Fin (m + 1)), (s.reindex e).closedInterior = s.closedInterior
theorem Affine.Simplex.affineCombination_mem_closedInterior_iff 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] [inst_4 : PartialOrder k] {n : ℕ} {s : Affine.Simplex k P n} {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ s.closedInterior ↔ ∀ (i : Fin (n + 1)), w i ∈ Set.Icc 0 1)
theorem Affine.Simplex.interior_subset_closedInterior 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n), s.interior ⊆ s.closedInterior
theorem Affine.Simplex.point_notMem_interior 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) (i : Fin (n + 1)),
s.points i ∉ s.interior
theorem Affine.Simplex.point_mem_closedInterior 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] {n : ℕ} (s : Affine.Simplex k P n)
(i : Fin (n + 1)), s.points i ∈ s.closedInterior
theorem Affine.Simplex.nonempty_closedInterior 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] {n : ℕ} (s : Affine.Simplex k P n),
s.closedInterior.Nonempty
theorem Affine.Simplex.interior_ssubset_closedInterior 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] {n : ℕ} (s : Affine.Simplex k P n),
s.interior ⊂ s.closedInterior
theorem Affine.Simplex.closedInterior_subset_affineSpan 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] [inst_4 : PartialOrder k] {n : ℕ} {s : Affine.Simplex k P n},
s.closedInterior ⊆ ↑(affineSpan k (Set.range s.points))
theorem Affine.Simplex.interior_eq_empty 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] [inst_4 : PartialOrder k] (s : Affine.Simplex k P 0), s.interior = ∅
theorem Affine.Simplex.closedInterior_eq_singleton 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] (s : Affine.Simplex k P 0),
s.closedInterior = {s.points 0}
theorem Affine.Simplex.affineCombination_mem_setInterior_face_iff_mem 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] (I : Set k) {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ}
(h : fs.card = m + 1) {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ Affine.Simplex.setInterior I (s.face h) ↔
(∀ i ∈ fs, w i ∈ I) ∧ ∀ i ∉ fs, w i = 0)
theorem Affine.Simplex.affineCombination_mem_interior_face_iff_mem_Ioo 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))}
{m : ℕ} (h : fs.card = m + 1) {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ (s.face h).interior ↔
(∀ i ∈ fs, w i ∈ Set.Ioo 0 1) ∧ ∀ i ∉ fs, w i = 0)
theorem Affine.Simplex.affineCombination_mem_closedInterior_face_iff_mem_Icc 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))}
{m : ℕ} (h : fs.card = m + 1) {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ (s.face h).closedInterior ↔
(∀ i ∈ fs, w i ∈ Set.Icc 0 1) ∧ ∀ i ∉ fs, w i = 0)
theorem Affine.Simplex.affineCombination_mem_interior_face_iff_pos 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] [inst_4 : PartialOrder k] [IsOrderedAddMonoid k] {n : ℕ} (s : Affine.Simplex k P n)
{fs : Finset (Fin (n + 1))} {m : ℕ} [NeZero m] (h : fs.card = m + 1) {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ (s.face h).interior ↔
(∀ i ∈ fs, 0 < w i) ∧ ∀ i ∉ fs, w i = 0)
theorem Affine.Simplex.affineCombination_mem_closedInterior_face_iff_nonneg 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] [inst_4 : PartialOrder k] [IsOrderedAddMonoid k] {n : ℕ} (s : Affine.Simplex k P n)
{fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1) {w : Fin (n + 1) → k},
∑ i, w i = 1 →
((Finset.affineCombination k Finset.univ s.points) w ∈ (s.face h).closedInterior ↔
(∀ i ∈ fs, 0 ≤ w i) ∧ ∀ i ∉ fs, w i = 0)
theorem Affine.Simplex.interior_map E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : 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₂] [inst_7 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {f : P →ᵃ[k] P₂}
(hf : Function.Injective ⇑f), (s.map f hf).interior = ⇑f '' s.interior
theorem Affine.Simplex.closedInterior_map E1 #
∀ {k : Type u_1} {V : Type u_2} {V₂ : Type u_3} {P : 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₂] [inst_7 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {f : P →ᵃ[k] P₂}
(hf : Function.Injective ⇑f), (s.map f hf).closedInterior = ⇑f '' s.closedInterior
theorem Affine.Simplex.interior_restrict 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S), (s.restrict S hS).interior = ⇑S.subtype ⁻¹' s.interior
theorem Affine.Simplex.closedInterior_restrict 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {S : AffineSubspace k P}
(hS : affineSpan k (Set.range s.points) ≤ S), (s.restrict S hS).closedInterior = ⇑S.subtype ⁻¹' s.closedInterior
theorem Affine.Simplex.closedInterior_face_subset_closedInterior 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] {n : ℕ} (s : Affine.Simplex k P n)
{fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1), (s.face h).closedInterior ⊆ s.closedInterior
theorem Affine.Simplex.point_mem_closedInterior_face_iff 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] [inst_4 : PartialOrder k] [Nontrivial k] [ZeroLEOneClass k] {n : ℕ}
(s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))} {m : ℕ} (h : fs.card = m + 1) {j : Fin (n + 1)},
s.points j ∈ (s.face h).closedInterior ↔ j ∈ fs
theorem Affine.Simplex.closedInterior_face_ssubset_closedInterior 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] [inst_4 : PartialOrder k] [Nontrivial k] [ZeroLEOneClass k] {n : ℕ}
(s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))},
fs ≠ Finset.univ → ∀ {m : ℕ} (h : fs.card = m + 1), (s.face h).closedInterior ⊂ s.closedInterior
theorem Affine.Simplex.disjoint_interior_closedInterior_face 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] [inst_4 : PartialOrder k] {n : ℕ} (s : Affine.Simplex k P n) {fs : Finset (Fin (n + 1))},
fs ≠ Finset.univ → ∀ {m : ℕ} (h : fs.card = m + 1), Disjoint s.interior (s.face h).closedInterior
theorem Affine.Simplex.point_mem_closedInterior_faceOpposite_iff 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] [inst_4 : PartialOrder k] [Nontrivial k] [ZeroLEOneClass k] {n : ℕ} [inst_7 : NeZero n]
(s : Affine.Simplex k P n) {i j : Fin (n + 1)}, s.points j ∈ (s.faceOpposite i).closedInterior ↔ j ≠ i
theorem Affine.Simplex.closedInterior_faceOpposite_subset_closedInterior 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] [inst_4 : PartialOrder k] [ZeroLEOneClass k] {n : ℕ} [inst_6 : NeZero n]
(s : Affine.Simplex k P n) (i : Fin (n + 1)), (s.faceOpposite i).closedInterior ⊆ s.closedInterior
theorem Affine.Simplex.closedInterior_faceOpposite_ssubset_closedInterior 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] [inst_4 : PartialOrder k] [Nontrivial k] [ZeroLEOneClass k] {n : ℕ} [inst_7 : NeZero n]
(s : Affine.Simplex k P n) (i : Fin (n + 1)), (s.faceOpposite i).closedInterior ⊂ s.closedInterior
theorem Affine.Simplex.disjoint_interior_closedInterior_faceOpposite 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] [inst_4 : PartialOrder k] {n : ℕ} [inst_5 : NeZero n] (s : Affine.Simplex k P n)
(i : Fin (n + 1)), Disjoint s.interior (s.faceOpposite i).closedInterior
theorem Affine.Simplex.closedInterior_eq_interior_union 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] [inst_4 : LinearOrder k] [IsOrderedAddMonoid k] [ZeroLEOneClass k] {n : ℕ}
[inst_7 : NeZero n] (s : Affine.Simplex k P n), s.closedInterior = s.interior ∪ ⋃ i, (s.faceOpposite i).closedInterior
The closed interior is the union of the open interior and the surface.
theorem Affine.Simplex.closedInterior_sdiff_interior 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] [inst_4 : LinearOrder k] [IsOrderedAddMonoid k] [ZeroLEOneClass k] {n : ℕ}
[inst_7 : NeZero n] (s : Affine.Simplex k P n), s.closedInterior \ s.interior = ⋃ i, (s.faceOpposite i).closedInterior
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Affine.Simplex.closedInterior_diff_interior | Affine.Simplex.closedInterior_sdiff_interior | 2026-06-03 |