Documentation

MathlibNt.SieveTheory.LiLiuGoldbachG12LowRectangle

noncomputable def G12LowRectangle.mother (N : ℕ) (ε : ℝ) :

The physical low-r mother before testing primality of the output. The upper product endpoint is strict; the body multiplicity is not collapsed.

Equations
Instances For
    Inspect dependencies

    G12LowRectangle.mother · compiled type and proof/definition references.

    def G12LowRectangle.longOK (N : ℕ) (ε : ℝ) (T m : ℕ) :

    Long-only safety filter: every short point in (T,2T] stays in the curves.

    Equations
    Instances For
      Inspect dependencies

      G12LowRectangle.longOK · compiled type and proof/definition references.

      noncomputable def G12LowRectangle.longSet (N : ℕ) (ε : ℝ) (M T : ℕ) :
      Equations
      Instances For
        Inspect dependencies

        G12LowRectangle.longSet · compiled type and proof/definition references.

        Equations
        Instances For
          Inspect dependencies

          G12LowRectangle.shortSet · compiled type and proof/definition references.

          noncomputable def G12LowRectangle.rectangle (N : ℕ) (ε : ℝ) (M T : ℕ) :
          Equations
          Instances For
            Inspect dependencies

            G12LowRectangle.rectangle · compiled type and proof/definition references.

            noncomputable def G12LowRectangle.alpha (N : ℕ) (ε : ℝ) (T m : ℕ) :

            This coefficient is independent of the short variable and the modulus.

            Equations
            Instances For
              Inspect dependencies

              G12LowRectangle.alpha · compiled type and proof/definition references.

              Inspect dependencies

              G12LowRectangle.beta · compiled type and proof/definition references.

              noncomputable def G12LowRectangle.discrepancy (N : ℕ) (S : Finset (ℕ × ℕ)) (Q : Finset ℕ) (c : ℕ → ℝ) :

              Exact signed finite discrepancy; no absolute value is taken inside either sum.

              Equations
              Instances For
                Inspect dependencies

                G12LowRectangle.discrepancy · compiled type and proof/definition references.

                noncomputable def G12LowRectangle.boundary (N : ℕ) (ε : ℝ) (M T : ℕ) :

                The explicit unprocessed boundary, not an analytic error hypothesis.

                Equations
                Instances For
                  Inspect dependencies

                  G12LowRectangle.boundary · compiled type and proof/definition references.

                  theorem G12LowRectangle.alpha_bounds (N : ℕ) (ε : ℝ) (T m : ℕ) :
                  0 ≤ alpha N ε T m ∧ alpha N ε T m ≤ 1
                  Inspect dependencies

                  G12LowRectangle.alpha_bounds · compiled type and proof/definition references.

                  Inspect dependencies

                  G12LowRectangle.alpha_tau · compiled type and proof/definition references.

                  Inspect dependencies

                  G12LowRectangle.mother_zero · compiled type and proof/definition references.

                  A dyadic interval in the exact C2 interval family.

                  Equations
                  • G12LowRectangle.shortInterval T hT = { scale := ↑T, lower := ↑T, upper := 2 * ↑T, one_le_scale := ⋯, scale_le_lower := ⋯, lower_le_upper := ⋯, upper_le_twice := ⋯ }
                  Instances For
                    Inspect dependencies

                    G12LowRectangle.shortInterval · compiled type and proof/definition references.

                    Inspect dependencies

                    G12LowRectangle.shortInterval_support · compiled type and proof/definition references.

                    theorem G12LowRectangle.rectangle_subset_mother (N : ℕ) (ε : ℝ) (M T : ℕ) (hlow : ↑N ^ (4 / 53) ≤ ↑T) (hhigh : ↑(2 * T) < ↑N ^ (1 / 10)) :
                    rectangle N ε M T ⊆ mother N ε

                    Exact inner coverage, with only explicit endpoint geometry as assumptions.

                    Inspect dependencies

                    G12LowRectangle.rectangle_subset_mother · compiled type and proof/definition references.

                    theorem G12LowRectangle.rectangle_test (N : ℕ) (ε : ℝ) (M T : ℕ) (f : ℕ → ℕ → ℝ) :
                    ∑ p ∈ rectangle N ε M T, MathlibNt.SieveTheory.LiLiuOnePlusOneNine.GoldbachBig.goldbachG12NormalizedCoefficient N p.1 * f p.1 p.2 = ∑ m ∈ Finset.Ioc M (2 * M), ∑ r ∈ Finset.Ioc T (2 * T), alpha N ε T m * beta N r * f m r

                    The filtered product really has the same long coefficient as C2.

                    Inspect dependencies

                    G12LowRectangle.rectangle_test · compiled type and proof/definition references.

                    Signed discrepancy equality preserves cancellation across all moduli.

                    Inspect dependencies

                    G12LowRectangle.rectangle_signedError · compiled type and proof/definition references.

                    Inspect dependencies

                    G12LowRectangle.rectangle_C2_input · compiled type and proof/definition references.

                    theorem G12LowRectangle.mother_partition (N : ℕ) (ε : ℝ) (M T : ℕ) (hlow : ↑N ^ (4 / 53) ≤ ↑T) (hhigh : ↑(2 * T) < ↑N ^ (1 / 10)) :
                    Disjoint (rectangle N ε M T) (boundary N ε M T) ∧ rectangle N ε M T ∪ boundary N ε M T = mother N ε

                    Every atom is either in the certified rectangle or in the displayed boundary.

                    Inspect dependencies

                    G12LowRectangle.mother_partition · compiled type and proof/definition references.

                    theorem G12LowRectangle.mem_boundary (N : ℕ) (ε : ℝ) (M T m r : ℕ) :
                    (m, r) ∈ boundary N ε M T ↔ (m, r) ∈ mother N ε ∧ ¬(M < m ∧ m ≤ 2 * M ∧ longOK N ε T m ∧ T < r ∧ r ≤ 2 * T ∧ Nat.Prime r ∧ r.Coprime N)

                    Exact boundary membership displays each failed long-only safety condition.

                    Inspect dependencies

                    G12LowRectangle.mem_boundary · compiled type and proof/definition references.

                    Any real test, including the output-prime indicator, has this exact partition.

                    Inspect dependencies

                    G12LowRectangle.weighted_partition · compiled type and proof/definition references.

                    theorem G12LowRectangle.signed_partition (N : ℕ) (ε : ℝ) (M T : ℕ) (hlow : ↑N ^ (4 / 53) ≤ ↑T) (hhigh : ↑(2 * T) < ↑N ^ (1 / 10)) (Q : Finset ℕ) (c : ℕ → ℝ) :

                    The boundary discrepancy is retained with its sign, not asserted to be small.

                    Inspect dependencies

                    G12LowRectangle.signed_partition · compiled type and proof/definition references.

                    Literal correspondence with the original first-prime fibre, including its output-prime test. No ambient-size hypothesis or new primality of k is required.

                    Inspect dependencies

                    G12LowRectangle.mother_output_iff · compiled type and proof/definition references.

                    All original repeated body representations are restored, for any test.

                    Inspect dependencies

                    G12LowRectangle.restore_multiplicity · compiled type and proof/definition references.

                    Inspect dependencies

                    G12LowRectangle.original_low_count · compiled type and proof/definition references.

                    theorem G12LowRectangle.local_boundary_iff (N m r M T : ℕ) (ε : ℝ) (h : (m, r) ∈ mother N ε) (hm : m ∈ Finset.Ioc M (2 * M)) (hr : r ∈ Finset.Ioc T (2 * T)) :
                    (m, r) ∈ boundary N ε M T ↔ m.minFac < 2 * T ∨ ↑T * ↑m < ε * ↑N ∨ N ≤ 2 * T * m

                    Within the same geometric cell, the residual is exactly a failed safe least-factor or product-endpoint screen; none is paid for free.

                    Inspect dependencies

                    G12LowRectangle.local_boundary_iff · compiled type and proof/definition references.

                    theorem G12LowRectangle.product_endpoint_excluded (N m r : ℕ) (ε : ℝ) (he : r * m = N) :
                    (m, r) ∉ mother N ε
                    Inspect dependencies

                    G12LowRectangle.product_endpoint_excluded · compiled type and proof/definition references.

                    theorem G12LowRectangle.long_support_geometry (M m : ℕ) (hm : m ∈ Finset.Ioc M (2 * M)) :
                    ↑M ≤ ↑m ∧ ↑m ≤ 2 * ↑M
                    Inspect dependencies

                    G12LowRectangle.long_support_geometry · compiled type and proof/definition references.

                    The genuine linked prime window, before output primality, with the strict upper product endpoint recorded explicitly rather than silently deleted.

                    Inspect dependencies

                    G12LowRectangle.mother_linked_iff · compiled type and proof/definition references.

                    The original low count is exactly the certified inner rectangle plus the unpaid physical boundary. The coefficient 400 is retained on both terms.

                    Inspect dependencies

                    G12LowRectangle.original_low_partition · compiled type and proof/definition references.