Documentation

LeanPool.DistinctDistances.S4RowBuilder

Computable geometric row families #

Each tag selects a rational row and checks its side conditions. The row-soundness modules prove that every accepted row holds for the normalized configuration.

Row tags #

inductive Esgk.S4.Tag :

A row tag: the row family and its grid indices, band indices and rational witnesses ((num, den) pairs).

  • amono (i j : ℕ) : Tag

    𝒜(gᵢ) ≤ 𝒜(gⱼ)

  • xmono (i j : ℕ) : Tag

    3ℛ - 𝒜 is nondecreasing from gᵢ to gⱼ

  • xpos (i : ℕ) : Tag

    𝒜(gᵢ) ≤ 3ℛ(gᵢ)

  • xleq (i : ℕ) : Tag

    3ℛ(gᵢ) - 𝔮 ≤ 𝒜(gᵢ)

  • a2lo (i : ℕ) : Tag

    1 - 1/n ≤ 𝒜(gᵢ) for gᵢ ≥ 2

  • mlo : Tag

    Lemma M (lower Riemann sum over the whole grid)

  • layer (i j : ℕ) : Tag

    Lemma K over the grid points gᵢ, …, gⱼ

  • pa (iρ ir ih e : ℕ) : Tag

    Lemma P''(a) at ρ = g_iρ, r′ = g_ir, with g_ih = ρ/2 and chord evidence e

  • pb (iρ ir ih e : ℕ) : Tag

    Lemma P''(b)

  • pc (iρ ir ih e : ℕ) : Tag

    Lemma P''(c)

  • aa (il iw ih r4n r4d : ℕ) : Tag

    Lemma A'' at λ = g_il, w = g_iw, h = g_ih, with the witness r₄ ≥ √(4 - λ²)

  • jj (il ig2 igs un ud : ℕ) : Tag

    Lemma J at λ = g_il, g₂ = g_ig2, g_σ = g_igs, with the witness u ≤ √(sBar² - h₀²)

  • ab1 (b0 m : ℕ) : Tag

    Lemma AB, row AB1, over the bands b₀, …, b₀ + m - 1 of one threshold

  • ab2 (b : ℕ) : Tag

    Lemma AB, row AB2, on band b

  • ab3 (b tn td : ℕ) : Tag

    Lemma AB, row AB3, on band b at t = tn/td

  • ab4 (b tn td : ℕ) : Tag

    Lemma AB, row AB4, on band b at t = tn/td

  • ab6u (b0 m : ℕ) : Tag

    Lemma AB, row AB6u, over the bands b₀, …, b₀ + m - 1

  • ab6v (b0 m ih : ℕ) : Tag

    Lemma AB, row AB6v, over the bands b₀, …, b₀ + m - 1, with h = g_ih

  • caselo : Tag

    the upper case row (Y_lo ≤ yMean with the upper Riemann sum)

  • casehi : Tag

    the lower case row (yMean ≤ Y_hi with the lower Riemann sum)

Instances For

    The row builder #

    gᵢ² ≤ gᵢ₊₁² for the c cells starting at k.

    Equations
    Instances For
      def Esgk.S4.Params.cells (f : ℕ → List (ℕ × ℚ)) :
      ℕ → ℕ → List (ℕ × ℚ)

      The entries f k, f (k + 1), …, f (k + c - 1), concatenated.

      Equations
      Instances For
        def Esgk.S4.Params.chain (P : Params) (b0 : ℕ) :
        ℕ → Bool

        The bands b₀, …, b₀ + m - 1 share the threshold of b₀, have nondecreasing edges, and the upper edge of each band is the lower edge of the next.

        Equations
        Instances For
          def Esgk.S4.Params.chordOK (P : Params) (lo hi T : ℚ) :
          ℕ → Bool

          The chord evidence e for the condition (lo, hi, T): 0 is Step L0, 1 is the radius bound, k + 2 is the proved chord condition k.

          Equations
          Instances For

            Step L0 at the squared threshold l.

            Equations
            Instances For

              The rows 𝒜(gᵢ) ≤ 𝒜(gⱼ).

              Equations
              Instances For

                The rows 3ℛ(gᵢ) - 𝒜(gᵢ) ≤ 3ℛ(gⱼ) - 𝒜(gⱼ).

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The rows 𝒜(gᵢ) ≤ 3ℛ(gᵢ).

                  Equations
                  Instances For

                    The rows 3ℛ(gᵢ) - 𝒜(gᵢ) - 3 D/n - 1/n ≤ -1.

                    Equations
                    Instances For

                      The row -𝒜(gᵢ) - 1/n ≤ -1 for gᵢ² ≥ 4.

                      Equations
                      Instances For

                        The entries of one cell of Lemma M.

                        Equations
                        Instances For

                          The row of Lemma M: ∑ w (6ℛ(a) - 𝒜(a)) - 12 D/n - 2/n ≤ -3.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            The entries of one cell of Lemma K.

                            Equations
                            Instances For

                              The row of Lemma K over gᵢ, …, gⱼ: ∑ (b² - a²) 𝒜(a) ≤ 2sBar.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def Esgk.S4.Params.palOK (P : Params) (iρ ir ih e : ℕ) :

                                The side conditions of Lemma P'' at ρ = g_iρ, r′ = g_ir, ρ/2 = g_ih.

                                Equations
                                Instances For
                                  def Esgk.S4.Params.palBase (P : Params) (iρ ir : ℕ) :

                                  The common part of the rows of Lemma P'': 𝒜(r′) - 2ℛ(r′) - 𝒜(ρ) ≤ 0, or for r′ ≥ 2, -1/n - 2 D/n - 𝒜(ρ) ≤ -1.

                                  Equations
                                  Instances For
                                    def Esgk.S4.Params.rowPa (P : Params) (iρ ir ih e : ℕ) :

                                    The row of Lemma P''(a).

                                    Equations
                                    Instances For
                                      def Esgk.S4.Params.rowPb (P : Params) (iρ ir ih e : ℕ) :

                                      The row of Lemma P''(b): Lemma P''(a) plus 𝒜(ρ/2) - ℛ(ρ/2).

                                      Equations
                                      Instances For
                                        def Esgk.S4.Params.rowPc (P : Params) (iρ ir ih e : ℕ) :

                                        The row of Lemma P''(c): Lemma P''(a) minus 𝒜(ρ/2) - 2ℛ(ρ/2).

                                        Equations
                                        Instances For
                                          def Esgk.S4.Params.rowAA (P : Params) (il iw ih r4n r4d : ℕ) :

                                          The row of Lemma A'': -2𝒜(λ) - (4/3)𝒜(h) + (4/3)𝒜(w) - 6 D/n - 4/n ≤ -4, with r₄ = r4n/r4d.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            def Esgk.S4.Params.rowJ (P : Params) (il ig2 igs un ud : ℕ) :

                                            The row of Lemma J: 𝒜(g₂) - 𝒜(λ) - 𝒜(g_σ) - 6 D/n - 2/n ≤ -2, with h₀ = W/(2λ) (H = h₀²) and u = un/ud.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              def Esgk.S4.Params.bandEnt (sel : ℕ → ℕ) (q : ℚ) (b0 m : ℕ) :

                                              The entries (sel (b₀ + j), q) for j < m.

                                              Equations
                                              Instances For

                                                The row AB1: -2𝒜(λ) - 6 D/n - 4/n - ∑ⱼ W_j ≤ -4.

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For

                                                  The row AB2: W_b ≤ (4/3)(𝒜(e_hi) - 𝒜(e_lo)).

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    def Esgk.S4.Params.rowAB3 (P : Params) (b tn td : ℕ) :

                                                    The row AB3 at t: `(2e_lo² - ((4 + t)sBar² + (4sBar² - λ²)/t)) W_b - (1 + 2/t) U_b

                                                    • (2 + t) V_b ≤ 0`.
                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For

                                                      max x 0.

                                                      Equations
                                                      Instances For
                                                        def Esgk.S4.Params.rowAB4 (P : Params) (b tn td : ℕ) :

                                                        The row AB4 at t: `((4 - t)sBar² - (4sBar² - λ²)/t - 2e_hi²) W_b - max(2/t - 1, 0) U_b

                                                        • max(t - 2, 0) V_b ≤ 0`.
                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          def Esgk.S4.Params.rowAB6u (P : Params) (Yhi : ℚ) (b0 m : ℕ) :

                                                          The row AB6u for the case yMean ≤ Y_hi: ∑ⱼ U_j - 12 Y_hi D/n + 12 Y_hi ℛ(λ) ≤ 0.

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            def Esgk.S4.Params.rowAB6v (P : Params) (Yhi : ℚ) (b0 m ih : ℕ) :

                                                            The row AB6v for the case yMean ≤ Y_hi: ∑ⱼ V_j - 4 Y_hi D/n + 4 Y_hi ℛ(h) ≤ 0.

                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For

                                                              The entries of one cell of the upper case row.

                                                              Equations
                                                              Instances For

                                                                The upper case row for Y_lo ≤ yMean: 12 D/n + 4/n - 2 Up ≤ W - Y_lo + 4.

                                                                Equations
                                                                • One or more equations did not get rendered due to their size.
                                                                Instances For

                                                                  The entries of one cell of the lower case row.

                                                                  Equations
                                                                  Instances For

                                                                    The lower case row for yMean ≤ Y_hi: -12 D/n - 4/n + 2 Lo ≤ Y_hi - W - 4.

                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For
                                                                      def Esgk.S4.Params.build (P : Params) (Ylo Yhi : ℚ) :

                                                                      The row of a tag in the case Y_lo ≤ yMean ≤ Y_hi, or none if a side condition fails.

                                                                      Equations
                                                                      Instances For
                                                                        noncomputable def Esgk.S4.Params.buildInt (P : Params) (Ylo Yhi : ℚ) (t : Tag) :

                                                                        The integer row of a tag.

                                                                        Equations
                                                                        Instances For

                                                                          The box of the normalized variables: 𝒜 ∈ [0, 1], ℛ ∈ [0, dMean], D/n ∈ [1/3 - ε/3, dMean], 1/n ∈ [0, ε], W ∈ [0, 2], U, V ∈ [0, 4].

                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          Instances For

                                                                            The proved chord conditions hold for S.

                                                                            Equations
                                                                            Instances For