Documentation

LeanPool.ErdosGinzburgZiv.EGZ.Convex.Homogenization

Integral homogenization of rational polytope vertices #

This module chooses one common denominator for the vertices of a rational polytope, embeds the resulting integral coordinates into one higher dimension with final coordinate 1, and forms the integer submodule generated by the vertices on each face. The final coordinate turns linear combinations in the homogenized module into affine combinations in the original polytope.

def EGZ.IntCoord.homogenize {d : ℕ} (z : IntCoord d) :
IntCoord (d + 1)

Add a final affine coordinate equal to one.

Equations
Instances For
    @[simp]
    @[simp]
    theorem EGZ.IntCoord.homogenize_castSucc {d : ℕ} (z : IntCoord d) (i : Fin d) :

    A simultaneous choice of integral scaled coordinates for all vertices of P. Positivity of denominator is recorded so that scaling can be cancelled over the reals.

    Instances For

      The canonical common-denominator choice supplied by finiteness and rationality of the vertex set.

      Equations
      Instances For

        Homogenized integral coordinate of a vertex.

        Equations
        Instances For

          Homogenized vertices lying on a face.

          Equations
          Instances For

            The integer submodule generated by homogenized vertices on a face.

            Equations
            Instances For

              A vertex lying on F is one of the generators of the face submodule.

              Membership of an integral point with final coordinate 1 in the homogenized face submodule is equivalent to affine-integer-span membership of the corresponding real point.

              theorem EGZ.RationalPolytope.VertexHomogenization.exists_uniform_face_saturation_bound {d : ℕ} {P : RationalPolytope d} (H : P.VertexHomogenization) :
              ∃ (B : ℕ), ∀ {p : ℕ}, Nat.Prime p → B < p → ∀ (F : P.Face) {x : IntCoord (d + 1)}, ↑p • x ∈ H.faceSubmodule F → x ∈ H.faceSubmodule F

              A single threshold makes every face submodule p-saturated.