Documentation

LeanPool.ErdosGinzburgZiv.EGZ.Convex.Faces

Finite exposed-face API for rational polytopes #

Every nonempty exposed face of a finitely generated polytope is the convex hull of the generators which it contains. Consequently the custom face type used by this project is finite, even though an exposure is stored using arbitrary real affine data.

The generators of P which lie on a face. This finite set uniquely determines the face.

Equations
Instances For

    An exposed face is the convex hull of precisely the chosen generators which lie on it.

    Every nonempty exposed face contains at least one generator of the ambient polytope.

    A code for a face as a member of the powerset of the given generating finset.

    Equations
    Instances For

      A face carrier is convex.

      @[instance_reducible]
      Equations

      The whole polytope is its top exposed face.

      Equations
      Instances For
        @[instance_reducible]
        Equations

        The intersection of two faces is a face whenever it is nonempty.

        Equations
        Instances For
          noncomputable def EGZ.RationalPolytope.Face.commonUpperMinCard {n : ℕ} {P : RationalPolytope n} (F G : P.Face) :

          The least number of generators among common upper faces.

          Equations
          Instances For
            noncomputable def EGZ.RationalPolytope.Face.supFace {n : ℕ} {P : RationalPolytope n} (F G : P.Face) :

            The common upper face with the fewest generating points. Intersecting with any other common upper face proves that it is the least one.

            Equations
            Instances For