The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.Normed.Affine.Simplex

12 declarations. Mathlib docs · Source

def Affine.Simplex.Scalene E1 #

{R : Type u_1} →
  {V : Type u_2} →
    {P : Type u_3} →
      [inst : Ring R] →
        [inst_1 : SeminormedAddCommGroup V] →
          [inst_2 : PseudoMetricSpace P] →
            [inst_3 : Module R V] → [inst_4 : NormedAddTorsor V P] → {n : ℕ} → Affine.Simplex R P n → Prop

A simplex is scalene if all the edge lengths are different.

theorem Affine.Simplex.Scalene.dist_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {n : ℕ}
  {s : Affine.Simplex R P n},
  s.Scalene →
    ∀ {i₁ i₂ i₃ i₄ : Fin (n + 1)},
      i₁ ≠ i₂ →
        i₃ ≠ i₄ →
          ¬(i₁ = i₃ ∧ i₂ = i₄) →
            ¬(i₁ = i₄ ∧ i₂ = i₃) → dist (s.points i₁) (s.points i₂) ≠ dist (s.points i₃) (s.points i₄)

theorem Affine.Simplex.scalene_reindex_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {m n : ℕ}
  {s : Affine.Simplex R P m} (e : Fin (m + 1) ≃ Fin (n + 1)), (s.reindex e).Scalene ↔ s.Scalene

def Affine.Simplex.Equilateral E1 #

{R : Type u_1} →
  {V : Type u_2} →
    {P : Type u_3} →
      [inst : Ring R] →
        [inst_1 : SeminormedAddCommGroup V] →
          [inst_2 : PseudoMetricSpace P] →
            [inst_3 : Module R V] → [inst_4 : NormedAddTorsor V P] → {n : ℕ} → Affine.Simplex R P n → Prop

A simplex is equilateral if all the edge lengths are equal.

theorem Affine.Simplex.Equilateral.dist_eq E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {n : ℕ}
  {s : Affine.Simplex R P n},
  s.Equilateral →
    ∀ {i₁ i₂ i₃ i₄ : Fin (n + 1)},
      i₁ ≠ i₂ → i₃ ≠ i₄ → dist (s.points i₁) (s.points i₂) = dist (s.points i₃) (s.points i₄)

theorem Affine.Simplex.equilateral_reindex_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {m n : ℕ}
  {s : Affine.Simplex R P m} (e : Fin (m + 1) ≃ Fin (n + 1)), (s.reindex e).Equilateral ↔ s.Equilateral

def Affine.Simplex.Regular E1 #

{R : Type u_1} →
  {V : Type u_2} →
    {P : Type u_3} →
      [inst : Ring R] →
        [inst_1 : SeminormedAddCommGroup V] →
          [inst_2 : PseudoMetricSpace P] →
            [inst_3 : Module R V] → [inst_4 : NormedAddTorsor V P] → {n : ℕ} → Affine.Simplex R P n → Prop

A simplex is regular if it is equivalent under an isometry to any reindexing.

theorem Affine.Simplex.regular_reindex_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {m n : ℕ}
  {s : Affine.Simplex R P m} (e : Fin (m + 1) ≃ Fin (n + 1)), (s.reindex e).Regular ↔ s.Regular

theorem Affine.Simplex.Regular.equilateral E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {n : ℕ}
  {s : Affine.Simplex R P n}, s.Regular → s.Equilateral

theorem Affine.Triangle.scalene_iff_dist_ne_and_dist_ne_and_dist_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {t : Affine.Triangle R P},
  Affine.Simplex.Scalene t ↔
    dist (t.points 0) (t.points 1) ≠ dist (t.points 0) (t.points 2) ∧
      dist (t.points 0) (t.points 1) ≠ dist (t.points 1) (t.points 2) ∧
        dist (t.points 0) (t.points 2) ≠ dist (t.points 1) (t.points 2)

theorem Affine.Triangle.equilateral_iff_dist_eq_and_dist_eq E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {t : Affine.Triangle R P}
  {i₁ i₂ i₃ : Fin 3},
  i₁ ≠ i₂ →
    i₁ ≠ i₃ →
      i₂ ≠ i₃ →
        (Affine.Simplex.Equilateral t ↔
          dist (t.points i₁) (t.points i₂) = dist (t.points i₁) (t.points i₃) ∧
            dist (t.points i₁) (t.points i₂) = dist (t.points i₂) (t.points i₃))

theorem Affine.Triangle.equilateral_iff_dist_01_eq_02_and_dist_01_eq_12 E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_3} [inst : Ring R] [inst_1 : SeminormedAddCommGroup V]
  [inst_2 : PseudoMetricSpace P] [inst_3 : Module R V] [inst_4 : NormedAddTorsor V P] {t : Affine.Triangle R P},
  Affine.Simplex.Equilateral t ↔
    dist (t.points 0) (t.points 1) = dist (t.points 0) (t.points 2) ∧
      dist (t.points 0) (t.points 1) = dist (t.points 1) (t.points 2)