Documentation

MathlibNt.SieveTheory.Selberg.Liu.LiuSelbergCorrectedChenBridge

Finite bridge from Liu's Selberg square to corrected Chen triples #

This module isolates the exact overlap between Liu's source-pair Selberg square and the corrected Chen triple count. A candidate residual prime contributes unit Selberg weight unless it divides Liu's paper modulus; those exceptional primes remain as an explicit finite residual.

Corrected Chen triples whose first two primes are one fixed Liu source pair. The ordering p₂ ≤ p₃ and the corrected candidate residual are retained.

Equations
Instances For
    Inspect dependencies

    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleSlice · compiled type and proof/definition references.

    noncomputable def MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleQResidual (N : ℕ) (epsilon : ℝ) (p₁ p₂ : ℕ) :

    The exact exceptional part of a corrected triple slice: the candidate residual prime divides Liu's paper modulus, so its optimal Selberg packet need not reduce to the coefficient at 1.

    Equations
    Instances For
      Inspect dependencies

      MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleQResidual · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourcePairs · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleCount · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleQResidual · compiled type and proof/definition references.

      The two possible source-pair contributions of a strict ordered triple to the historical switched sum.

      Equations
      Instances For
        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.historicalChenOrderedTripleMultiplicity · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.historicalChenOrderedTripleMultiplicity_eq_one_add_indicator {N p₁ p₂ p₃ : ℕ} (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hroot₁ : ↑N ^ (1 / 10) < ↑p₁) (hp₁root : ↑p₁ ≤ ↑N ^ (1 / 3)) (hroot₂ : ↑N ^ (1 / 3) < ↑p₂) (hp₂p₃ : p₂ < p₃) (hprod : p₁ * p₂ * p₃ ≤ N) :
        historicalChenOrderedTripleMultiplicity N p₁ p₂ p₃ = 1 + if p₁ * p₃ ^ 2 ≤ N then 1 else 0

        The historical chenF fibre has the same exact one-or-two multiplicity as Liu's source weight: the smaller large prime always contributes, while the larger contributes exactly on the additional square-cutoff subregion.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.historicalChenOrderedTripleMultiplicity_eq_one_add_indicator · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.historicalChenOrderedTripleMultiplicity_eq_liu {N z y p₁ p₂ p₃ : ℕ} (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hzp₁ : z < p₁) (hp₁y : p₁ ≤ y) (hyp₂ : y < p₂) (hroot₁ : ↑N ^ (1 / 10) < ↑p₁) (hp₁root : ↑p₁ ≤ ↑N ^ (1 / 3)) (hroot₂ : ↑N ^ (1 / 3) < ↑p₂) (hp₂p₃ : p₂ < p₃) (hprod : p₁ * p₂ * p₃ ≤ N) :

        On common integer and real cutoffs, historical chenOmega source fibres and the source-pair carrier underlying Liu's square count have exactly the same local multiplicity. The square count additionally weights each carrier element by its squared divisor packet.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.historicalChenOrderedTripleMultiplicity_eq_liu · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.strict_ordered_triple_not_isAtMostAlmostPrime_two {p₁ p₂ p₃ : ℕ} (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) :
        ¬Nat.IsAtMostAlmostPrime 2 (p₁ * p₂ * p₃)

        A product of three primes has exactly three prime factors with multiplicity, so it is not a P₂.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.strict_ordered_triple_not_isAtMostAlmostPrime_two · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.strict_ordered_triple_mem_chenWBadCandidates {N p p₁ p₂ p₃ : ℕ} (hp : p ∈ SwitchingPrinciple.chenWCandidates N) (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hcomplement : N - p = p₁ * p₂ * p₃) :

        A historical W-candidate with a strict three-prime complement belongs to the bad fibre.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.strict_ordered_triple_mem_chenWBadCandidates · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.correctedPenalty_of_strict_ordered_triple_eq_two {z y p₁ p₂ p₃ : ℕ} (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hzp₁ : z ≤ p₁) (hp₁y : p₁ < y) (hyp₂ : y ≤ p₂) (hp₂p₃ : p₂ < p₃) :
        SwitchingPrinciple.primePowerSum (p₁ * p₂ * p₃) z y + SwitchingPrinciple.tripleFactorCount (p₁ * p₂ * p₃) z y = 2

        On a strict ordered squarefree triple, the corrected penalty is exactly two: one unit from the medium-prime multiplicity and one from the canonical ordered-triple witness.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.correctedPenalty_of_strict_ordered_triple_eq_two · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiuWeight.correctedChenPenalty_eq_two_of_strict_ordered_triple {N p p₁ p₂ p₃ : ℕ} (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hzp₁ : SwitchingPrinciple.correctedChenZ N ≤ p₁) (hp₁y : p₁ < SwitchingPrinciple.correctedChenY N) (hyp₂ : SwitchingPrinciple.correctedChenY N ≤ p₂) (hp₂p₃ : p₂ < p₃) (hcomplement : N - p = p₁ * p₂ * p₃) :

        The exact strict-triple value of the corrected candidate penalty.

        Inspect dependencies

        MathlibNt.SieveTheory.LiuWeight.correctedChenPenalty_eq_two_of_strict_ordered_triple · compiled type and proof/definition references.

        The honest finite carrier behind the corrected triple-factor sum. Its elements are candidate residuals together with the first prime factor; the larger two prime factors remain existential, exactly as in tripleFactorCount.

        Equations
        Instances For
          Inspect dependencies

          MathlibNt.SieveTheory.LiuWeight.correctedChenFirstFactorCarrier · compiled type and proof/definition references.

          The finite ordered-triple carrier counted by the common Liu source region.

          Equations
          Instances For
            Inspect dependencies

            MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleCarrier · compiled type and proof/definition references.

            The lower-cutoff endpoint fibre, represented by its candidate residual. Divisibility by the fixed first factor is all that is needed for the ensuing cardinality bound.

            Equations
            Instances For
              Inspect dependencies

              MathlibNt.SieveTheory.LiuWeight.correctedChenLowerEndpointCarrier · compiled type and proof/definition references.

              Inspect dependencies

              MathlibNt.SieveTheory.LiuWeight.correctedChenUpperEndpointCarrier · compiled type and proof/definition references.

              Conditions on the ordered pair of larger factors selected from one first-factor witness.

              Equations
              Instances For
                Inspect dependencies

                MathlibNt.SieveTheory.LiuWeight.correctedChenLargeFactorConditions · compiled type and proof/definition references.

                A fixed ordered pair of larger factors for a member of the honest first-factor carrier. It is used only to inject that carrier into the source and endpoint fibres; no multiplicity assertion is made.

                Equations
                Instances For
                  Inspect dependencies

                  MathlibNt.SieveTheory.LiuWeight.correctedChenSelectedLargeFactors · compiled type and proof/definition references.

                  The selected larger factors satisfy all the ordered-factor conditions for members of the first-factor carrier.

                  Inspect dependencies

                  MathlibNt.SieveTheory.LiuWeight.correctedChenSelectedLargeFactors_spec · compiled type and proof/definition references.

                  noncomputable def MathlibNt.SieveTheory.LiuWeight.correctedChenSourceEndpointMap (N : ℕ) (x : (_ : ℕ) × ℕ) :
                  (_ : ℕ × ℕ) × ℕ ⊕ ℕ ⊕ (_ : ℕ) × ℕ

                  The selected-factor map sends a first-factor witness either to the common source triple, to the lower endpoint, or to the upper endpoint.

                  Equations
                  Instances For
                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenSourceEndpointMap · compiled type and proof/definition references.

                    The corrected triple-factor sum is exactly the cardinality of its first-factor carrier. In particular, this does not identify the summand with the multiplicity of ordered triples.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenTripleFactorSum_eq_firstFactorCarrier_card · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleCount_eq_carrier_card · compiled type and proof/definition references.

                    Once Liu's lower cutoff has reached 2, it is exactly the corrected Chen lower cutoff; the latter differs only by its small-N guard.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenZ_eq_liuSourceZ10_of_two_le · compiled type and proof/definition references.

                    The floor source split never exceeds the corrected ceiling split.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSourceY3_le_correctedChenY · compiled type and proof/definition references.

                    The corrected ceiling split is at most one beyond Liu's floor split.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenY_le_liuSourceY3_add_one · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenY_eq_liuSourceY3_or_add_one · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.correctedOrderedTriple_mem_liuWeightPairs_or_cutoff_endpoint {N p₁ p₂ p₃ : ℕ} (hZ : SwitchingPrinciple.correctedChenZ N = liuSourceZ10 N) (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (_hp₃ : Nat.Prime p₃) (hZp₁ : SwitchingPrinciple.correctedChenZ N ≤ p₁) (hp₁Y : p₁ < SwitchingPrinciple.correctedChenY N) (hYp₂ : SwitchingPrinciple.correctedChenY N ≤ p₂) (hp₂p₃ : p₂ ≤ p₃) (hprod : p₁ * p₂ * p₃ ≤ N) :

                    A corrected ordered triple lies in Liu's source carrier unless one of the two integer cutoff endpoints is attained.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedOrderedTriple_mem_liuWeightPairs_or_cutoff_endpoint · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.correctedOrderedTriple_mem_liuWeightPairs {N p₁ p₂ p₃ : ℕ} (hZ : SwitchingPrinciple.correctedChenZ N = liuSourceZ10 N) (hp₁ : Nat.Prime p₁) (hp₂ : Nat.Prime p₂) (hp₃ : Nat.Prime p₃) (hZp₁ : SwitchingPrinciple.correctedChenZ N ≤ p₁) (hp₁Y : p₁ < SwitchingPrinciple.correctedChenY N) (hYp₂ : SwitchingPrinciple.correctedChenY N ≤ p₂) (hp₂p₃ : p₂ ≤ p₃) (hprod : p₁ * p₂ * p₃ ≤ N) (hp₁ne : p₁ ≠ liuSourceZ10 N) (hp₂ne : p₂ ≠ liuSourceY3 N) :

                    Away from the two displayed endpoints, corrected ordered triples are literally Liu source pairs; the product-square condition follows from p₂ ≤ p₃.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedOrderedTriple_mem_liuWeightPairs · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenSourceEndpointMap_mem · compiled type and proof/definition references.

                    The selected-factor map is injective on the honest first-factor carrier. In the source branch the candidate residual is recovered from p = N - p₁p₂p₃; the endpoint branches retain enough coordinates directly.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenSourceEndpointMap_injOn · compiled type and proof/definition references.

                    Exact finite-carrier accounting gives the corrected first-factor carrier as a subcardinal of the common source triples plus the two endpoint fibres.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenFirstFactorCarrier_card_le_source_add_endpoints · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenTripleFactorSum_le_source_add_endpoint_cards · compiled type and proof/definition references.

                    The lower endpoint candidates inject into the quotient interval modulo the fixed lower cutoff.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenLowerEndpointCarrier_card_le_div_add_one · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenUpperEndpointCarrier_card_le_product · compiled type and proof/definition references.

                    Together the two cutoff fibres have the unconditional 13 * N^(9/10) power-saving bound once the lower floor cutoff has reached 2.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenEndpointCards_le_thirteen_mul_rpow_nine_tenths · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.correctedChenTripleFactorSum_le_source_add_thirteen_mul_rpow_nine_tenths · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.eventually_correctedChenTripleFactorSum_le_source_add_div_log_rpow · compiled type and proof/definition references.

                    Each fixed source-pair residual injects into the prime factors of Liu's paper modulus via the candidate residual N - p₁p₂p₃.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleQResidual_le_primeFactors_card · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.sum_liuWeight_mul_eq_sum_pairs (N z y : ℕ) (F : ℕ → ℝ) :
                    ∑ a ∈ Finset.range (N + 1), liuWeight N z y a * F a = ∑ p ∈ liuWeightPairs N z y, F (p.1 * p.2)

                    Reindex an arbitrary sum against Liu's characteristic source by its unique admissible ordered prime pair.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.sum_liuWeight_mul_eq_sum_pairs · compiled type and proof/definition references.

                    The unique product map identifies Liu's pair carrier with the supported source integers.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuWeightPairs_card_eq_support_card · compiled type and proof/definition references.

                    Every prime factor of Liu's paper modulus lies below its defining cutoff.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuPaperQModulus_primeFactors_card_le_cutoff_add_one · compiled type and proof/definition references.

                    Summing the fixed-pair injection bounds the complete source residual by the source-pair cardinality times the number of prime factors of the paper modulus.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleQResidual_le_pair_card_mul_primeFactors_card · compiled type and proof/definition references.

                    A completely finite envelope for the modulus-dividing source residual.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleQResidual_le_source_cutoff_envelope · compiled type and proof/definition references.

                    The source support and the paper-modulus cutoff give an unconditional N^(11/12) power saving for the exceptional residual.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleQResidual_le_six_mul_rpow_eleven_twelfths · compiled type and proof/definition references.

                    Consequently the modulus-dividing source residual is smaller than every fixed inverse logarithmic scale.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.eventually_liuSelbergCorrectedSourceTripleQResidual_le_div_log_rpow · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.liuSelbergSquareCount_eq_sum_pairs (N : ℕ) (epsilon : ℝ) (lambda : ℕ → ℝ) :
                    liuSelbergSquareCount N epsilon lambda = ∑ p ∈ liuWeightPairs N (liuSourceZ10 N) (liuSourceY3 N), ∑ p₃ ∈ Finset.range (N + 1) with Nat.Prime p₃ ∧ p.1 * p.2 * p₃ ≤ N, (∑ d ∈ liuSelbergLambdaSourceCarrier N epsilon with d ∣ N - p.1 * p.2 * p₃, lambda d) ^ 2

                    Liu's square count is exactly the sum of its Selberg packets over the admissible source pairs and third primes.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergSquareCount_eq_sum_pairs · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleSlice_le_square_add_QResidual {N p₁ p₂ : ℕ} {epsilon : ℝ} (hEven : Even N) (hR : 1 ≤ paperQSourceCutoff N epsilon) :
                    liuSelbergCorrectedTripleSlice N p₁ p₂ ≤ ∑ p₃ ∈ Finset.range (N + 1) with Nat.Prime p₃ ∧ p₁ * p₂ * p₃ ≤ N, (∑ d ∈ liuSelbergLambdaSourceCarrier N epsilon with d ∣ N - p₁ * p₂ * p₃, liuSelbergOptimalLambda N epsilon d) ^ 2 + liuSelbergCorrectedTripleQResidual N epsilon p₁ p₂

                    Away from candidate residual primes dividing Liu's paper modulus, one corrected triple slice is bounded by the corresponding optimal Selberg square slice. The exceptional primes are retained exactly in the final summand.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedTripleSlice_le_square_add_QResidual · compiled type and proof/definition references.

                    On the exact common source-pair region, the corrected triple count is bounded by Liu's optimal square count plus only the explicit modulus-dividing candidate-prime residual.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceTripleCount_le_square_add_QResidual · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.LiuSelbergCorrectedSourceComplementResidualBound · compiled type and proof/definition references.

                    The explicit endpoint-fibre power saving unconditionally inhabits the source-complement residual contract.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liuSelbergCorrectedSourceComplementResidualBound · compiled type and proof/definition references.

                    The canonical Pan--Wang--Ding square estimate controls the complete corrected Chen triple term unconditionally at the endpoint seam. The paper-modulus residual is discharged by the unconditional N^(11/12) estimate above.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.LiuPanCanonicalCoprimeTheorem.eventually_correctedChenOmegaTriple_le · compiled type and proof/definition references.

                    The canonical Liu--Pan coprime theorem produces the strict ordered-triple upper-bound contract consumed by the generic Jurkat--Richert endpoint. This is a producer of the remaining penalty input, not another Chen endpoint consumer.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.liu_pan_wang_ding_strictTriple_upper · compiled type and proof/definition references.

                    Backward-compatible wrapper for the stronger canonical source contract.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem.eventually_correctedChenOmegaTriple_le · compiled type and proof/definition references.

                    The final Chen theorem from the derived Jurkat--Richert weighted lower API and the Liu--Pan--Wang--Ding aggregate theorem. This broad intermediate interface is retained for downstream compatibility.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_jurkat_richert_weighted_lower_bound · compiled type and proof/definition references.

                    Backward wrapper from the stronger canonical source contract.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_jurkat_richert_weighted_lower_bound_of_liuPanWangDing · compiled type and proof/definition references.

                    Source-faithful wrapper from literal Corollary (2.30).

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_jurkat_richert_weighted_lower_bound_of_corollary230 · compiled type and proof/definition references.

                    The canonical internal Chen endpoint from the five remaining literature interfaces: generic lower Rosser density, standard Bombieri--Vinogradov, upper Rosser density, varying-q weighted Bombieri--Vinogradov, and Liu--Pan--Wang--Ding.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_literature_inputs · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_literature_inputs_of_liuPanWangDing · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.chens_theorem_of_literature_inputs_of_corollary230 · compiled type and proof/definition references.

                    An inverse-log remainder is absorbed into an arbitrary positive multiple of the truncated main scale. The uniform lower bound 𝔖_trunc ≥ 1/2 is used explicitly here.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.eventually_inverse_log_remainder_le_truncated · compiled type and proof/definition references.

                    The canonical corrected-triple estimate in the analytic truncation units. The Euler-tail margin ηs and inverse-log absorption margin ηr remain separate in the coefficient.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem.eventually_correctedChenOmegaTriple_le_truncated · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.eventually_correctedChenPrimePowerSum_le_of_q1 · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.CorrectedChenOmegaUpperBound_of_liuPanWangDing_q1 (hPan : LiuPanWangDingTheorem) (epsilon ηs ηr Cq : ℝ) (hepsilon : 0 < epsilon) (hepsilon_le : epsilon ≤ liuEvenAssemblyEpsilon0) (hηs : 0 < ηs) (hηr : 0 < ηr) (hq1 : ∀ᶠ (N : ℕ) in Filter.atTop, Even N → SwitchingPrinciple.correctedChenQ1Count N ≤ Cq * AnalyticNumberTheory.Sieve.singularSeriesTruncated N (SwitchingPrinciple.correctedChenZ N - 1) * ↑N / Real.log ↑N ^ 2) (hnum : 10 / 3 > (3.94033 / 2 * (1 + ηs) + ηr + (Cq + 1 / 2)) / 2) :

                    Diagnostic corrected-penalty assembly. Besides the Pan--Wang--Ding contract, the only analytic input is the q¹ bound. The fixed Pan level cannot meet the displayed final numerical inequality, even with optimal weights, so this theorem records the obstruction rather than a canonical final route.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.CorrectedChenOmegaUpperBound_of_liuPanWangDing_q1 · compiled type and proof/definition references.

                    Diagnostic Liu--Pan--Wang--Ding Omega assembly with the q¹ bound supplied by the direct weighted aggregate theorem. Its fixed-level coefficient is larger than the available final budget.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.CorrectedChenOmegaUpperBound_of_liuPanWangDing_q1WeightedAggregate · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_q1WeightedAggregate (hW : SwitchingPrinciple.ChenWeightedPanInput) (hLiu : LiuPanWangDingTheorem) (hQ1 : SwitchingPrinciple.Q1WeightedAggregateTheorem) (epsilon ηs ηr : ℝ) (hepsilon : 0 < epsilon) (hepsilon_le : epsilon ≤ liuEvenAssemblyEpsilon0) (hηs : 0 < ηs) (hηr : 0 < ηr) (hnum : 10 / 3 > (3.94033 / 2 * (1 + ηs) + ηr + (SwitchingPrinciple.q1WeightedAggregateConstant hQ1 + 1 / 2)) / 2) :
                    ∃ (N₀ : ℕ), ∀ N ≥ N₀, Even N → ∃ (p : ℕ) (q : ℕ), Nat.Prime p ∧ q ≥ 2 ∧ Nat.IsAtMostAlmostPrime 2 q ∧ N = p + q

                    Diagnostic corrected-Chen endpoint whose q¹ input is exactly the weighted aggregate theorem consumed by the finite q¹ reduction. The numerical hypothesis is incompatible with the fixed Pan level.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_q1WeightedAggregate · compiled type and proof/definition references.

                    Source-faithful W-side specialization of the diagnostic weighted-aggregate q¹ endpoint.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_sourceFaithful_q1WeightedAggregate · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.CorrectedChenOmegaUpperBound_of_liuPanWangDing_deltaOnePan (hLiu : LiuPanWangDingTheorem) (hQ1Pan : SwitchingPrinciple.Q1DeltaOnePanMeanValue) (hQ1Trunc : SwitchingPrinciple.Q1DeltaOnePanTruncationInput) (epsilon ηs ηr : ℝ) (hepsilon : 0 < epsilon) (hepsilon_le : epsilon ≤ liuEvenAssemblyEpsilon0) (hηs : 0 < ηs) (hηr : 0 < ηr) (hnum : 10 / 3 > (3.94033 / 2 * (1 + ηs) + ηr + (SwitchingPrinciple.q1DeltaOnePanConstant hQ1Pan hQ1Trunc + 1 / 2)) / 2) :

                    Diagnostic Liu--Pan--Wang--Ding Omega assembly from the stronger cutoff-free full-divisor-lane delta-one predicates.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.CorrectedChenOmegaUpperBound_of_liuPanWangDing_deltaOnePan · compiled type and proof/definition references.

                    theorem MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_deltaOnePan (hW : SwitchingPrinciple.ChenWeightedPanInput) (hLiu : LiuPanWangDingTheorem) (hQ1Pan : SwitchingPrinciple.Q1DeltaOnePanMeanValue) (hQ1Trunc : SwitchingPrinciple.Q1DeltaOnePanTruncationInput) (epsilon ηs ηr : ℝ) (hepsilon : 0 < epsilon) (hepsilon_le : epsilon ≤ liuEvenAssemblyEpsilon0) (hηs : 0 < ηs) (hηr : 0 < ηr) (hnum : 10 / 3 > (3.94033 / 2 * (1 + ηs) + ηr + (SwitchingPrinciple.q1DeltaOnePanConstant hQ1Pan hQ1Trunc + 1 / 2)) / 2) :
                    ∃ (N₀ : ℕ), ∀ N ≥ N₀, Even N → ∃ (p : ℕ) (q : ℕ), Nat.Prime p ∧ q ≥ 2 ∧ Nat.IsAtMostAlmostPrime 2 q ∧ N = p + q

                    Diagnostic corrected-Chen endpoint retaining the stronger full-lane delta-one assumptions for audit compatibility.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_deltaOnePan · compiled type and proof/definition references.

                    Source-faithful W-side specialization of the diagnostic full-lane q¹ endpoint.

                    Inspect dependencies

                    MathlibNt.SieveTheory.LiuWeight.corrected_chens_theorem_of_liuPanWangDing_sourceFaithful_deltaOnePan · compiled type and proof/definition references.

                    Public Chen theorem from the derived Jurkat--Richert weighted lower API. This broad intermediate interface is retained for downstream compatibility.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_jurkat_richert_weighted_lower_bound · compiled type and proof/definition references.

                    Backward public wrapper from the stronger canonical source contract.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_jurkat_richert_weighted_lower_bound_of_liuPanWangDing · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_jurkat_richert_weighted_lower_bound_of_corollary230 · compiled type and proof/definition references.

                    Canonical public form of Chen's theorem, conditional exactly on the generic dimension-one lower Rosser density fundamental lemma, standard Bombieri--Vinogradov, the upper Rosser density fundamental lemma, varying-q weighted Bombieri--Vinogradov, and the Liu--Pan--Wang--Ding theorem.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_literature_inputs · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_literature_inputs_of_liuPanWangDing · compiled type and proof/definition references.

                    Inspect dependencies

                    MathlibNt.ChensTheorem.chens_theorem_of_literature_inputs_of_corollary230 · compiled type and proof/definition references.