Documentation

LeanPool.Monsky.SimplexBasic

LeanPool.Monsky.SimplexBasic #

Imported Lean Pool material for LeanPool.Monsky.SimplexBasic.

The plane vector with the two given real coordinates.

Equations
Instances For
    @[simp]
    theorem LeanPool.Monsky.v₀_val {x y : ℝ} :
    (v x y).ofLp 0 = x
    @[simp]
    theorem LeanPool.Monsky.v₁_val {x y : ℝ} :
    (v x y).ofLp 1 = y

    The closed standard n-simplex of nonnegative weights summing to one.

    Equations
    Instances For

      The open standard n-simplex of positive weights summing to one.

      Equations
      Instances For

        The closed convex hull of a finite point family, via the closed simplex.

        Equations
        Instances For

          The open convex hull of a finite point family, via the open simplex.

          Equations
          Instances For
            def LeanPool.Monsky.simplexVertex {n : ℕ} (i : Fin n) :
            Fin n → ℝ

            The i-th vertex of the standard simplex, as a weight function.

            Equations
            Instances For
              @[simp]
              theorem LeanPool.Monsky.simplexVertex_image {n : ℕ} {i : Fin n} (f : Fin n → EuclideanSpace ℝ (Fin 2)) :
              ∑ k : Fin n, simplexVertex i k • f k = f i
              @[simp]
              theorem LeanPool.Monsky.corner_in_closedHull {n : ℕ} {i : Fin n} {P : Fin n → EuclideanSpace ℝ (Fin 2)} :
              theorem LeanPool.Monsky.closedHull_constant {n : ℕ} {P : EuclideanSpace ℝ (Fin 2)} (hn : n ≠ 0) :
              (closedHull fun (x : Fin n) => P) = {P}
              theorem LeanPool.Monsky.closedHull_constant_rev {n : ℕ} {P : EuclideanSpace ℝ (Fin 2)} {f : Fin n → EuclideanSpace ℝ (Fin 2)} (hc : closedHull f = {P}) (i : Fin n) :
              f i = P
              theorem LeanPool.Monsky.openHull_constant {n : ℕ} {P : EuclideanSpace ℝ (Fin 2)} (hn : n ≠ 0) :
              (openHull fun (x : Fin n) => P) = {P}
              noncomputable def LeanPool.Monsky.linearCombination {n : ℕ} (α : Fin n → ℝ) (f : Fin n → EuclideanSpace ℝ (Fin 2)) :

              The point obtained as a weighted combination of a point family.

              Equations
              Instances For
                theorem LeanPool.Monsky.simplex_co_eq_1 {n : ℕ} {α : Fin n → ℝ} {i : Fin n} (h₁ : α ∈ closedSimplex n) (h₂ : α i = 1) (j : Fin n) :
                j ≠ i → α j = 0
                theorem LeanPool.Monsky.simplex_exists_co_pos {n : ℕ} {α : Fin n → ℝ} (h : α ∈ closedSimplex n) :
                ∃ (i : Fin n), 0 < α i
                theorem LeanPool.Monsky.simplex_co_leq_1 {n : ℕ} {α : Fin n → ℝ} (h₁ : α ∈ closedSimplex n) (i : Fin n) :
                α i ≤ 1
                theorem LeanPool.Monsky.simplex_co_leq_1_open {n : ℕ} {α : Fin n → ℝ} (hn : 1 < n) (h₁ : α ∈ openSimplex n) (i : Fin n) :
                α i < 1
                theorem LeanPool.Monsky.simplex_closed_sub_fin2 {α : Fin 2 → ℝ} (h : α ∈ closedSimplex 2) (i : Fin 2) :
                α i = 1 - α ((fun (x : Fin 2) => match x with | 0 => 1 | 1 => 0) i)
                theorem LeanPool.Monsky.simplex_open_sub_fin2 {α : Fin 2 → ℝ} (h : α ∈ openSimplex 2) (i : Fin 2) :
                α i = 1 - α ((fun (x : Fin 2) => match x with | 0 => 1 | 1 => 0) i)

                Encodes a real x as the pair of weights (x, 1 - x).

                Equations
                Instances For
                  theorem LeanPool.Monsky.real_to_fin_2_open {x : ℝ} (h₁ : 0 < x) (h₂ : x < 1) :
                  theorem LeanPool.Monsky.closedHull_convex {n₁ n₂ : ℕ} {P₁ : Fin n₁ → EuclideanSpace ℝ (Fin 2)} {P₂ : Fin n₂ → EuclideanSpace ℝ (Fin 2)} (h : ∀ (i : Fin n₁), P₁ i ∈ closedHull P₂) :
                  closedHull P₁ ⊆ closedHull P₂
                  theorem LeanPool.Monsky.closedHull_openHull_com {n : ℕ} {P : Fin n → EuclideanSpace ℝ (Fin 2)} {x y : EuclideanSpace ℝ (Fin 2)} (hx : x ∈ openHull P) (hy : y ∈ closedHull P) :
                  (1 / 2) • x + (1 / 2) • y ∈ openHull P

                  The boundary of the convex hull of a point family: closed hull minus open hull.

                  Equations
                  Instances For
                    theorem LeanPool.Monsky.boundary_constant {n : ℕ} {P : EuclideanSpace ℝ (Fin 2)} :
                    (boundary fun (x : Fin n) => P) = ∅
                    theorem LeanPool.Monsky.openHull_constant_rev {n : ℕ} {P : EuclideanSpace ℝ (Fin 2)} {f : Fin n → EuclideanSpace ℝ (Fin 2)} (ho : openHull f = {P}) (i : Fin n) :
                    f i = P