Documentation

MathlibNt.SieveTheory.LiLiuPrereqWFRoundedAdmissibility

Rounded cubic tests with the source's occurrence indexing #

Iwaniec's p. 311 admissibility tests use decreasing lower endpoints and zero-based parity; the finite Rosser tests on p. 313 use inclusive prime prefixes and their cardinality. This module identifies these tests by sorting the original natural-number labels, never their endpoint values. Thus equal values of b keep distinct slots in every mapped prefix product.

Inclusive decreasing-prime prefixes, evaluated at rounded endpoints. The parity is one-based: odd for the upper side, even for the lower side.

Equations
Instances For
    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.RoundedSetAdmissible · compiled type and proof/definition references.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_empty · compiled type and proof/definition references.

    theorem MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_eq_take (s : Finset ℕ) (i : ℕ) (hi : i < (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2).length) :
    {q ∈ s | (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)[i] ≤ q} = (List.take (i + 1) (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)).toFinset

    The inclusive prime prefix is exactly the first i + 1 original slots.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_eq_take · compiled type and proof/definition references.

    theorem MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_card (s : Finset ℕ) (i : ℕ) (hi : i < (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2).length) :
    {q ∈ s | (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)[i] ≤ q}.card = i + 1
    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_card · compiled type and proof/definition references.

    theorem MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_product (b : ℕ → ℝ) (s : Finset ℕ) (i : ℕ) (hi : i < (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2).length) :
    (∏ q ∈ s with (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)[i] ≤ q, b q) * b (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)[i] ^ 2 = (List.map b (List.take i (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2))).prod * b (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)[i] ^ 3

    No injectivity of b is needed: the product ranges over prime slots.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_prefix_product · compiled type and proof/definition references.

    Exact equivalence of the finite tests with the source's zero-based cubic tests, including the empty set and coincident endpoint values.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_iff_cubicPrefixBound · compiled type and proof/definition references.

    theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_to_admissible {upper : Bool} {b : ℕ → ℝ} {D : ℝ} {s : Finset ℕ} (hone : ∀ p ∈ s, 1 ≤ b p) (hmono : ∀ p ∈ s, ∀ q ∈ s, p ≤ q → b p ≤ b q) (hsq : ∀ p ∈ s, b p ^ 2 < D) (h : RoundedSetAdmissible upper b D s) :
    LiLiuPrereqWFAdmissibility.Admissible upper b D (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)

    The numerical side conditions plus finite rounded tests give the actual source admissibility, with all original prime occurrences retained.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_to_admissible · compiled type and proof/definition references.

    theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_iff_admissible {upper : Bool} {b : ℕ → ℝ} {D : ℝ} {s : Finset ℕ} (hone : ∀ p ∈ s, 1 ≤ b p) (hmono : ∀ p ∈ s, ∀ q ∈ s, p ≤ q → b p ≤ b q) (hsq : ∀ p ∈ s, b p ^ 2 < D) :
    RoundedSetAdmissible upper b D s ↔ LiLiuPrereqWFAdmissibility.Admissible upper b D (s.sort fun (x1 x2 : ℕ) => x1 ≥ x2)
    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_iff_admissible · compiled type and proof/definition references.

    Mapping endpoints does not remove equal entries.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.rounded_sorted_map_length · compiled type and proof/definition references.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_cast_lower_iff · compiled type and proof/definition references.

    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.roundedSetAdmissible_cast_upper_iff · compiled type and proof/definition references.