Documentation

LeanPool.ErdosGinzburgZiv.EGZ.Convex.Coordinate

Coordinate models for the convex part of the paper #

The paper works with rational affine spaces inside their real affine spans: convex coefficients are real, while lattice and transition data are rational. We make that distinction explicit. A rank-n fibre has real point space RealCoord n, integer lattice coordinates IntCoord n, and reduction modulo p in FpCoord p n.

Choosing affine lattice coordinates at each node loses no information and is particularly useful later: an integral-affine transition has compatible real, integer, and modulo-p realizations. This is the compatibility needed in the proof of Proposition 7.1.

@[reducible, inline]
abbrev EGZ.RealCoord (n : ℕ) :

Real points in a chosen rank-n affine-lattice coordinate system.

Equations
Instances For
    @[reducible, inline]
    abbrev EGZ.IntCoord (n : ℕ) :

    Integer points in a chosen rank-n affine-lattice coordinate system.

    Equations
    Instances For
      @[reducible, inline]
      abbrev EGZ.FpCoord (p n : ℕ) :

      Reduction of lattice coordinates modulo p.

      Equations
      Instances For

        Realification of an integer coordinate vector.

        Equations
        Instances For
          def EGZ.IntCoord.mod (p : ℕ) {n : ℕ} (z : IntCoord n) :

          Coordinatewise reduction modulo p.

          Equations
          Instances For
            @[simp]
            theorem EGZ.IntCoord.real_apply {n : ℕ} (z : IntCoord n) (i : Fin n) :
            z.real i = ↑(z i)
            @[simp]
            theorem EGZ.IntCoord.mod_apply (p : ℕ) {n : ℕ} (z : IntCoord n) (i : Fin n) :
            mod p z i = ↑(z i)

            Coordinatewise realification embeds the integer lattice as a closed discrete subset of finite-dimensional real coordinate space.

            def EGZ.IsIntegral {n : ℕ} (q : RealCoord n) :

            A real coordinate vector represents a point of the distinguished affine integer lattice.

            Equations
            Instances For
              def EGZ.IsRational {n : ℕ} (q : RealCoord n) :

              A real point has rational coordinate data.

              Equations
              Instances For
                structure EGZ.IntegralAffineMap (m n : ℕ) :

                An integral affine map in chosen affine-lattice coordinates.

                The integer realization makes preservation of the affine lattice explicit; the last two fields say that the real and modular realizations are obtained from it by scalar extension and reduction. In particular, the target modulo p is an affine space: no canonical origin for the original affine lattice is being assumed.

                Instances For

                  The identity integral-affine map.

                  Equations
                  Instances For

                    Composition of integral-affine maps.

                    Equations
                    Instances For
                      @[simp]
                      structure EGZ.RationalPolytope (n : ℕ) :

                      A nonempty rational polytope in chosen affine-lattice coordinates.

                      finite_integral is mathematically redundant (bounded rational polytopes have finitely many lattice points), but recording it here keeps the Helly-constant API independent of analytic boundedness infrastructure. It can later be discharged once, by the constructor for a finite rational vertex set.

                      Instances For
                        theorem EGZ.RationalPolytope.convexHull_supportingLevel_eq {n : ℕ} (generators : Finset (RealCoord n)) (functional : RealCoord n →ᵃ[ℝ] ℝ) (level : ℝ) (hle : ∀ q ∈ generators, functional q ≤ level) :
                        {q : RealCoord n | q ∈ (convexHull ℝ) ↑generators ∧ functional q = level} = (convexHull ℝ) ↑({q ∈ generators | functional q = level})

                        Intersecting a finite convex hull with a supporting level set simply takes the convex hull of the generators on that level. This is the finite polytope fact that makes exposed faces combinatorially finite.

                        A compact subset of finite-dimensional real coordinate space contains only finitely many points of the standard integer lattice.

                        The convex hull of a finite set contains only finitely many standard integer points.

                        def EGZ.RationalPolytope.ofFinsetConvexHull {n : ℕ} (generators : Finset (RealCoord n)) (hnonempty : generators.Nonempty) (hrational : ∀ q ∈ generators, IsRational q) :

                        A nonempty finite rational set, presented as a finset, determines a RationalPolytope with exactly its ordinary real convex hull as carrier.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          @[simp]
                          theorem EGZ.RationalPolytope.ofFinsetConvexHull_carrier {n : ℕ} (generators : Finset (RealCoord n)) (hnonempty : generators.Nonempty) (hrational : ∀ q ∈ generators, IsRational q) :
                          (ofFinsetConvexHull generators hnonempty hrational).carrier = (convexHull ℝ) ↑generators
                          noncomputable def EGZ.RationalPolytope.ofFiniteConvexHull {n : ℕ} (S : Set (RealCoord n)) (hfinite : S.Finite) (hnonempty : S.Nonempty) (hrational : ∀ q ∈ S, IsRational q) :

                          Set-based constructor used for the support hull in Theorem 1.12.

                          Equations
                          Instances For
                            @[simp]
                            theorem EGZ.RationalPolytope.ofFiniteConvexHull_carrier {n : ℕ} (S : Set (RealCoord n)) (hfinite : S.Finite) (hnonempty : S.Nonempty) (hrational : ∀ q ∈ S, IsRational q) :
                            (ofFiniteConvexHull S hfinite hnonempty hrational).carrier = (convexHull ℝ) S
                            theorem EGZ.RationalPolytope.ofFiniteConvexHull_subset {n : ℕ} (S : Set (RealCoord n)) (hfinite : S.Finite) (hnonempty : S.Nonempty) (hrational : ∀ q ∈ S, IsRational q) {C : Set (RealCoord n)} (hSC : S ⊆ C) (hC : Convex ℝ C) :
                            (ofFiniteConvexHull S hfinite hnonempty hrational).carrier ⊆ C

                            The finite convex hull is contained in every convex set containing its generating set.

                            The carrier of a rational polytope is convex.

                            A rational polytope is nonempty.

                            The actual vertices are the extreme points of the carrier. They are kept separate from an arbitrary finite generating set, which may be redundant.

                            Equations
                            Instances For

                              A (nonempty) face, represented as an exposed face. Every face of a polytope has such a presentation.

                              Instances For
                                theorem EGZ.RationalPolytope.Face.ext {n : ℕ} {P : RationalPolytope n} {F G : P.Face} (h : F.carrier = G.carrier) :
                                F = G

                                Relative interior, called simply "interior of a face" in the paper.

                                Equations
                                Instances For