Documentation

LeanPool.ErdosGinzburgZiv.EGZ.Decomposition.IterationEvents

States and progress certificates for the decomposition iteration #

States are minimal and reduced, with a positive constant coordinate radius. An event records an unsatisfied conclusion. Its color orders completeness and face events by the represented level, with gap cleanup last.

def EGZ.FlagDecomposition.faceAtNode {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (Φ : FlagDecomposition p d f) {x y : Φ.flag.Node} (Γ : (Φ.flag.polytope x).Face) (h : y = x) :

A node equality transports its face without choosing coordinates.

Equations
Instances For
    @[simp]
    theorem EGZ.FlagDecomposition.faceAtNode_rfl {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (Φ : FlagDecomposition p d f) {x : Φ.flag.Node} (Γ : (Φ.flag.polytope x).Face) :
    Φ.faceAtNode Γ ⋯ = Γ
    structure EGZ.FlagDecomposition.Iteration.State (p d : ℕ) [NeZero p] (f : FpCoord p d → ℕ) :

    A minimal flag decomposition equipped with a positive radius for the iteration.

    Instances For
      def EGZ.FlagDecomposition.Iteration.State.GapCondition {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (s : State p d f) (δ : ℝ) :

      Every node gap exceeds the prescribed scale relative to the total input mass.

      Equations
      Instances For
        def EGZ.FlagDecomposition.Iteration.State.Finished {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (s : State p d f) (ε δ : ℝ) (g : ℕ → ℕ) :

        The state satisfies the gap bound and the required completeness condition.

        Equations
        Instances For
          inductive EGZ.FlagDecomposition.Iteration.State.Event {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (s : State p d f) :

          The three possible reasons for refining a state: a gap, a face, or an incomplete node.

          Instances For
            def EGZ.FlagDecomposition.Iteration.State.Event.Valid {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} {s : State p d f} (ε δ : ℝ) (g : ℕ → ℕ) :
            s.Event → Prop

            The chosen event witnesses a failure of the corresponding termination condition.

            Equations
            Instances For
              noncomputable def EGZ.FlagDecomposition.Iteration.State.Event.cutoff {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s : State p d f} :
              s.Event → ℕ

              The largest level required to remain stable during this event.

              Equations
              Instances For
                noncomputable def EGZ.FlagDecomposition.Iteration.State.Event.color {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s : State p d f} :
                s.Event → ℕ

                Encode the event type and its level as a natural number for the stopping argument.

                Equations
                Instances For
                  theorem EGZ.FlagDecomposition.Iteration.State.Event.color_lt {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s : State p d f} (E : s.Event) :
                  E.color < 2 * (d + 1) ^ 2 + 1
                  theorem EGZ.FlagDecomposition.Iteration.State.Event.cutoff_ge_of_color_ge {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s : State p d f} (E : s.Event) {L : ℕ} (h : 2 * L ≤ E.color) :
                  theorem EGZ.FlagDecomposition.Iteration.State.Event.cutoff_le_square {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s : State p d f} (E : s.Event) :
                  E.cutoff ≤ (d + 1) ^ 2
                  theorem EGZ.FlagDecomposition.Iteration.State.exists_valid_event {p d : ℕ} [NeZero p] {f : FpCoord p d → ℕ} (s : State p d f) (ε δ : ℝ) (g : ℕ → ℕ) (h : ¬s.Finished ε δ g) :
                  ∃ (E : s.Event), Event.Valid ε δ g E
                  def EGZ.FlagDecomposition.Iteration.Resolves {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} {s t : State p d f} (S : s.decomposition.SubdivisionMap t.decomposition) (δ : ℝ) :
                  s.Event → Prop

                  A face event has a surviving node at the same level where its selected face has become realized. Completeness events kill the selected low-level lineage. Gap events establish the gap condition at the current scale.

                  Equations
                  Instances For
                    structure EGZ.FlagDecomposition.Iteration.Progress {p d : ℕ} [NeZero p] [Fact (Nat.Prime p)] {f : FpCoord p d → ℕ} (s t : State p d f) (ε δ : ℝ) (g : ℕ → ℕ) :

                    Everything used by the termination argument is certified by a concrete normalized operation. Stable mass transport is required only below the event's cutoff.

                    Instances For