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 nEuclideanSpace (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 nEuclideanSpace (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 nEuclideanSpace (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 nEuclideanSpace (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₂) :
                  theorem LeanPool.Monsky.closedHull_openHull_com {n : } {P : Fin nEuclideanSpace (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 nEuclideanSpace (Fin 2)} (ho : openHull f = {P}) (i : Fin n) :
                    f i = P