Documentation

LeanPool.Polytopes.Polytope

Definitions and basic properties of V-polytopes and H-polytopes.

def Vpolytope {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] {S : Set E} (hS : S.Finite) :
Set E

The V-polytope of a finite point set S: its convex hull.

The finiteness witness is recorded as it characterises the polytope and is used by the surrounding API, even though the convex hull itself does not depend on it.

Equations
Instances For
    @[simp]

    The H-polytope of a finite set of halfspaces H_: the intersection of those halfspaces.

    The finiteness witness is recorded as it characterises the polytope and is used by the surrounding API, even though the intersection itself does not depend on it.

    Equations
    Instances For
      theorem Hpolytope_same {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] [CompleteSpace E] {H_ : Set (Halfspace E)} (hH_1 hH_2 : H_.Finite) :
      theorem mem_Hpolytope {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] [CompleteSpace E] {H_ : Set (Halfspace E)} (hH_ : H_.Finite) (x : E) :
      x Hpolytope hH_ HiH_, Hi.f x Hi.α
      theorem hyperplane_Hpolytope {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] [CompleteSpace E] (f : { f : StrongDual E // f = 1 }) (c : ) :
      ∃ (H_ : Set (Halfspace E)) (hH_ : H_.Finite), Hpolytope hH_ = {x : E | f x = c}
      theorem inter_Hpolytope {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] [CompleteSpace E] (H_1 H_2 : Set (Halfspace E)) (hH_1 : H_1.Finite) (hH_2 : H_2.Finite) :
      theorem Vpolytope_translation {E : Type} [NormedAddCommGroup E] [InnerProductSpace E] {S : Set E} (hS : S.Finite) (x : E) :