Weighted counting bridges and prime-power penalties #
Corrected good and bad candidates give an exact counting bridge. Explicit Mertens bounds, Jurkat--Richert integral coefficients, and proper-prime-power estimates reduce positivity to stated uniform analytic inputs.
All declarations retain the MathlibNt.SieveTheory.SwitchingPrinciple namespace.
The historical lower-sieve candidates transfer safely to the corrected candidate set once the unit boundary is removed. This is a finite inclusion: it carries no historical switching or Omega estimate.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.chenWCandidate_mem_corrected_of_two_le · compiled type and proof/definition references.
Historical lower-sieve candidates away from the unit boundary.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.chenWNonUnitCandidates · compiled type and proof/definition references.
The non-unit historical lower-sieve fibre is contained in the corrected candidate set.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.chenWNonUnitCandidates_subset_correctedChenCandidates · compiled type and proof/definition references.
The historical W-count differs from a corrected-candidate lower bound by at most its explicitly isolated unit fibre.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.chenWCandidates_card_le_correctedChenCandidates_card_add_one · compiled type and proof/definition references.
Corrected candidates that already give a prime-plus-at-most-two-almost- prime representation.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenGoodCandidates · compiled type and proof/definition references.
The bad fibre of the corrected candidate set. The planned replacement Omega must supply a multiplicity-correct penalty for every member of this set.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenBadCandidates · compiled type and proof/definition references.
The explicit penalty attached to a corrected candidate. It records both prime-factor multiplicities in the medium interval and canonical medium/large/large triple witnesses.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPenalty N p = MathlibNt.SieveTheory.SwitchingPrinciple.primePowerSum (N - p) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenY N) + MathlibNt.SieveTheory.SwitchingPrinciple.tripleFactorCount (N - p) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenY N)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPenalty · compiled type and proof/definition references.
The replacement switching sum associated with the corrected candidates.
Unlike the historical chenOmega, its factor multiplicity is explicit. No
analytic upper bound or counting bridge is claimed for it yet.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenOmega · compiled type and proof/definition references.
Final positivity reduction from the lower-bound identity: if the main term X·V(N) is strictly greater than
errSum(1) + Ω/2, the corrected count is positive.
This is the complete lower-bound reduction for CorrectedChenAnalyticPositivity: the three analytic inputs
(the Mertens lower bound for V(N), control of errSum, and the Ω upper bound)
are ultimately used only to establish this explicit real inequality.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPositivity_of_mainTerm_beats_error · compiled type and proof/definition references.
The corrected penalty is exactly the amount subtracted by the existing
Chen weight. This gives a concrete interpretation to the future / 2 in a
switching bridge.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.chenWeight_eq_one_sub_correctedChenPenalty · compiled type and proof/definition references.
A bad corrected candidate has penalty at least two, provided the cutoff
parameters cover its complementary number below the cube scale. This is the
finite multiplicity fact that will justify / 2 in the replacement switching
bridge.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenBad_penalty_ge_two · compiled type and proof/definition references.
The corrected finite switching bridge, conditional only on the elementary
cutoff facts needed by the weight lemma. Its / 2 is justified by the
explicit bad-fibre penalty, not by the obsolete historical Omega count.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_counting_bridge · compiled type and proof/definition references.
Every corrected candidate lies in exactly one of the good and bad fibres. This is the finite partition on which the replacement counting bridge will be built.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.mem_correctedChenGood_or_bad · compiled type and proof/definition references.
Corrected good candidates are genuine good representations in the public Chen statement.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenGoodCandidates_subset_goodRepresentations · compiled type and proof/definition references.
The two elementary scale facts required by the corrected finite switching bridge. Keeping them as a named predicate cleanly separates rounding/cutoff analysis from the purely finite multiplicity argument.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenCutoffValid · compiled type and proof/definition references.
Ceiling rounding alone supplies the cube-scale half of the corrected cutoff predicate, for every natural input.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChen_cube_scale · compiled type and proof/definition references.
Apart from the harmless max 2, the lower cutoff is strictly below the
upper cutoff as soon as the base exceeds one.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChen_floorZ_lt_y · compiled type and proof/definition references.
The corrected cutoff predicate follows from a single concrete lower-root
condition. The remaining threshold task is therefore the elementary claim
2 < N^(1/3), rather than any switching-counting statement.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChen_cutoffValid_of_root_gt_two · compiled type and proof/definition references.
The remaining lower-root condition is already valid from the concrete
threshold N ≥ 9. Consequently the corrected finite counting bridge has no
unproved cutoff side condition in the range relevant to Chen's theorem.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChen_cutoffValid_of_nine_le · compiled type and proof/definition references.
The global cube-scale part of CorrectedChenCutoffValid supplies the
strict complementary bound for every corrected candidate, because its prime
component is positive.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChen_candidate_complement_lt_cube · compiled type and proof/definition references.
The corrected bridge in the public Chen representation space. It is a fully kernel-checked replacement for the refuted historical counting bridge, conditional only on the cutoff predicate whose eventual validity remains an explicit analytic/rounding task.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_counting_bridge_public · compiled type and proof/definition references.
The corrected finite bridge in the public representation space, with its
cutoffs discharged for every N ≥ 9.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_counting_bridge_public_of_nine_le · compiled type and proof/definition references.
A positive corrected sieve difference already yields a genuine Chen representation. All finite switching, rounding, and boundary-fibre work is internal to this theorem; the only future input is an analytic proof that its left-hand side is positive.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_key_inequality_implies_chen_at · compiled type and proof/definition references.
The corrected analytic target implies Chen's theorem at the conventional
threshold. This replaces the historical ChenCountingBridge assumption by
a single honest analytic positivity obligation for the new objects.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_key_inequality_implies_chen · compiled type and proof/definition references.
The sole active analytic obligation for the corrected Chen development. It deliberately speaks only about the new candidate and penalty objects; no constant or bound from the refuted historical switching model is imported.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenAnalyticPositivity · compiled type and proof/definition references.
Positivity from the uniform main-term lower bound #
Mertens lower bound with explicit constant 1/3: ∃ M₀, ∀ m ≥ M₀, 2 ≤ m → (1/3)/log m ≤ primeProduct m`.
This follows from the precise Mertens estimate |pp - e^{-γ}/log m| ≤ C/log²m and e^{-γ} > 1/3,
which follows from γ < 2/3 and e < 3.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.primeProduct_lower_explicit · compiled type and proof/definition references.
Sharp upper parameter estimate: log(z-1) ≤ (1/10)·log N.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ_log_le_logN_div_ten · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ_sub_one_ge_of_N_ge · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.tendsto_correctedChenZ_sub_one_atTop · compiled type and proof/definition references.
The explicit ten-factor majorant for the large-prime tail tends to one.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.tendsto_correctedChenSingularSeriesTailMajorant · compiled type and proof/definition references.
Uniform comparison at the varying corrected Chen cutoff. The genuine Liu series is bounded by half the sieve-normalized truncation, up to any prescribed multiplicative margin. No fixed-source convergence statement is used.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.eventually_two_mul_liuSingularSeries_le_truncated · compiled type and proof/definition references.
Uniform main-term lower bound in singular-series units: (10/3)·𝔖_trunc·N/log²N ≤ X·V(N).
Combine the exact identity X·V = X·𝔖·primeProduct(z-1), the Mertens lower bound
primeProduct ≥ (1/3)/log(z-1), and the parameter upper bound log(z-1) ≤ (1/10)·log N.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenMainTermLower_singularSeries_units · compiled type and proof/definition references.
Ω upper-bound target: uniformly, correctedChenOmega ≤ cΩ·𝔖_trunc·N/log²N,
with (10/3) > cΩ/2, so the main-term coefficient strictly exceeds the Ω/2 coefficient.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenOmegaUpperBound = ∃ (cΩ : ℝ), 10 / 3 > cΩ / 2 ∧ ∃ (N₀ : ℕ), ∀ (N : ℕ), N₀ ≤ N → Even N → MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenOmega N ≤ cΩ * AnalyticNumberTheory.Sieve.singularSeriesTruncated N (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N - 1) * ↑N / Real.log ↑N ^ 2
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenOmegaUpperBound · compiled type and proof/definition references.
Compatibility with the classical constant: the main-term coefficient 10/3 strictly exceeds
half the classical Ω upper-bound coefficient, 3.9404/2. Thus the numerical condition in
CorrectedChenOmegaUpperBound permits cΩ = 3.9404, the classical constant of Chen 1973.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.omega_upper_bound_compatible_with_39404 · compiled type and proof/definition references.
An Ω upper bound with the classical constant 3.9404, satisfying the main-term coefficient condition, can be used directly.
This theorem makes the instantiation condition for CorrectedChenOmegaUpperBound explicit: it suffices to prove
∃ N₀, ∀ N ≥ N₀ Even, correctedChenOmega N ≤ 3.9404·𝔖_trunc·N/log²N.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenOmegaUpperBound_of_39404 · compiled type and proof/definition references.
Final assembly: the proved uniform main-term lower bound, an Ω upper-bound input, and
weighted Pan control of errSum imply positivity of the corrected count for sufficiently large even numbers.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.CorrectedChenPositivity_large_of_inputs · compiled type and proof/definition references.
Chen's theorem conditional on two analytic inputs: pass from CorrectedChenPositivity_large_of_inputs
through corrected_key_inequality_implies_chen_at to the final ∃ N₀ form.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.corrected_chens_theorem_of_inputs · compiled type and proof/definition references.
Prime-power part: primePowerSum n z y equals the sum of the multiplicities of primes in [z, y)
dividing n; the filter condition ∃ k ≥ 1, exactDiv q k n is equivalent to q ∣ n.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.primePowerSum_eq_sum_factorization_of_dvd · compiled type and proof/definition references.
Multiplicity is at most the number of prime powers: n.factorization q ≤ #{k : q^(k+1) ∣ n}.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.factorization_le_card_pow_dvd · compiled type and proof/definition references.
Uniform finite upper bound for the prime-power part: primePowerSum n z y ≤ Σ_{q ∈ [z,y)} Σ_k [q^(k+1) | n].
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.primePowerSum_le_powerCount · compiled type and proof/definition references.
The prime-power part of the corrected Chen penalty.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPrimePowerPenalty N = ∑ p ∈ MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenCandidates N, MathlibNt.SieveTheory.SwitchingPrinciple.primePowerSum (N - p) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenY N)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPrimePowerPenalty · compiled type and proof/definition references.
The strict ordered-triple part of the corrected Chen penalty.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenTriplePenalty N = ∑ p ∈ MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenCandidates N, MathlibNt.SieveTheory.SwitchingPrinciple.tripleFactorCount (N - p) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N) (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenY N)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenTriplePenalty · compiled type and proof/definition references.
The inner Buchstab integral occurring in both terms of Chen's equations (26)--(27).
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertInnerIntegral · compiled type and proof/definition references.
Chen's exact integral J from equation (26):
∫₃⁴ du/u ∫₂ᵘ⁻¹ log(t-1)/t dt.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertJ · compiled type and proof/definition references.
The inner Buchstab integral is nonnegative on the range used by Chen.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertInnerIntegral_nonneg · compiled type and proof/definition references.
Chen's base Buchstab integral is nonnegative.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertJ_nonneg · compiled type and proof/definition references.
Chen's exact integral K from equations (26)--(27), after the paper's
change of variables u = 5 - 10α:
∫₃⁴ 10/[u(5-u)] du ∫₂ᵘ⁻¹ log(t-1)/t dt.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertK · compiled type and proof/definition references.
Chen's varying-level Buchstab integral is nonnegative.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertK_nonneg · compiled type and proof/definition references.
The exact inner Buchstab integral is continuous on the range needed for Chen's outer integral.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.Internal.continuousOn_jurkatRichertInnerIntegral · compiled type and proof/definition references.
Chen's numerical estimate for the exact integrals in equations (26)--(27).
The small cubic saving in jurkatRichert_innerIntegral_le makes the displayed
decimal bound valid despite the rounding in the printed elementary majorant.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichert_integralEstimate · compiled type and proof/definition references.
The base lower-sieve coefficient in Chen's equation (26).
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertBaseMainCoefficient · compiled type and proof/definition references.
The dimensionless source lower-sieve factor before equation (25)'s Mertens normalization is applied.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertBaseSieveFactor · compiled type and proof/definition references.
The factor in Chen's equation (25):
Γ_N(N^(1/10)) ~ 20 exp(-γ) C_N / log N.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertMertensFactor · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertBaseSieveFactor_pos · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertMertensFactor_pos · compiled type and proof/definition references.
Equation (25)'s Mertens factor and equation (26)'s lower-sieve factor multiply to the exact base coefficient, with no opaque constant.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichert_sieveFactor_mul_mertensFactor · compiled type and proof/definition references.
The varying-level medium-prime upper-sieve coefficient in Chen's equations (26)--(27).
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertQ1MainCoefficient · compiled type and proof/definition references.
The exact algebraic split behind Chen's 2.6408: the base lower-sieve
coefficient minus half the distinct-q upper-sieve coefficient.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichert_mainCoefficient_decomposition · compiled type and proof/definition references.
Chen's numerical integral input J - K/4 ≥ -0.0164725 yields the published
coefficient 2.6408. The remaining decimal step is certified from Mathlib's
explicit lower bound for log 2.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichert_mainCoefficient_ge_twoPoint6408 · compiled type and proof/definition references.
The valuation-weighted count used by the corrected finite Chen decomposition. It is not the direct literature object: repeated powers of one medium prime are charged with their full valuation.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertWeightedCount · compiled type and proof/definition references.
The canonical corrected endpoint. For every positive coefficient margin,
the valuation-weighted count is eventually bounded below by
(2.6408 - η) 𝔖(N) N / log² N along the even integers, in Liu's genuine
singular-series normalization. It is produced from the source-faithful
distinct-q theorem below, after a separate proper-prime-power correction.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.ChenJurkatRichertWeightedLowerBound = ∀ (η : ℝ), 0 < η → ∀ᶠ (N : ℕ) in Filter.atTop, Even N → (2.6408 - η) * MathlibNt.SieveTheory.SingularSeries.liuSingularSeries N * ↑N / Real.log ↑N ^ 2 ≤ MathlibNt.SieveTheory.SwitchingPrinciple.jurkatRichertWeightedCount N
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.ChenJurkatRichertWeightedLowerBound · compiled type and proof/definition references.
correctedChenOmega splits into its prime-power and triple parts.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenOmega_eq_primePower_add_triple · compiled type and proof/definition references.
Exact finite bookkeeping: the Jurkat--Richert weighted count has already paid the prime-power part of the corrected penalty, leaving only half of the strict ordered-triple penalty.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenKeyCount_eq_jurkatRichertWeightedCount_sub_triple · compiled type and proof/definition references.
Source-scale upper input for the genuine strict ordered-triple penalty. It is independent of the JR weighted lower conclusion and keeps the inverse-log remainder visible.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.ChenJurkatRichertTriplePenaltyUpperBound = ∃ (C : ℝ), 0 < C ∧ ∀ᶠ (N : ℕ) in Filter.atTop, Even N → MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenTriplePenalty N ≤ 3.94033 * MathlibNt.SieveTheory.SingularSeries.liuSingularSeries N * ↑N / Real.log ↑N ^ 2 + C * ↑N / Real.log ↑N ^ 3
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.ChenJurkatRichertTriplePenaltyUpperBound · compiled type and proof/definition references.
Uniform prime-power bound #
Uniform bound for proper prime powers: the number of pairs (p,q) with p a corrected candidate,
q a prime in [z,y), and q² | N-p is uniformly bounded by 6·N^{9/10}.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenPrimePowerProperCountBound · compiled type and proof/definition references.
Structural decomposition of the prime-power sum: primePowerSum(n) ≤ #{q ∈ [z,y) : q | n} + Σ_{q ∈ [z,y), q²|n} v_q(n). Thus the prime-power penalty is at most the k=1 prime-divisor count
plus the proper-power part, whose N^{9/10} bound is supplied by correctedChenPrimePowerProperCountBound.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.primePowerSum_le_factorCount_add_powerSum · compiled type and proof/definition references.
Negligibility threshold: for any Cerr, there exists N₀ such that
Cerr·N/log³N ≤ (1/4)·N/log²N for even N ≥ N₀. It suffices to have
log N ≥ 4·Cerr, so take N₀ = ⌈exp(4·Cerr)⌉ + 1.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.errLogCube_negligible · compiled type and proof/definition references.
Any inverse-log-cube remainder is eventually absorbed by an arbitrary
positive fraction of the Liu singular-series N/log² N scale.
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.eventually_jr_inverseLogRemainder_le_scale · compiled type and proof/definition references.
The q¹ distribution input #
q¹ distribution input: the aggregate count of prime factors in [z,y) over candidates,
Σ_{p ∈ candidates} #{q ∈ [z,y) : q | N−p}.
Equations
- MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenQ1Count N = ∑ p ∈ MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenCandidates N, ↑{q ∈ Finset.range (MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenY N) | Nat.Prime q ∧ MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenZ N ≤ q ∧ q ∣ N - p}.card
Instances For
Inspect dependencies
MathlibNt.SieveTheory.SwitchingPrinciple.correctedChenQ1Count · compiled type and proof/definition references.