Section 3.7.7 of A. Plascencia's field guide fixes eps, takes J from the cohomology theorem, selects the prime pair with K = J at Y0 = X^(1/J), then lets the arithmetic theorem choose W for that same pair with Y0 ≤ W, W2 ≤ X, so [W,W2] lies in [Y0,X], and [Z,Z^(3/2)] in [W,W2]. This is the proof of winPairs: VWinAt gives J and W, PairEx is called with A = J at X^(1/J).
The field guide's order of choices for the prime pair and the arithmetic window is exactly the order in the Lean proof of winPairs.
Outcome: match. Section 3.7.7 of Alexis Plascencia's Riemann: a field guide (technical edition), "Let the arithmetic theorem choose a subinterval afterwards", fixes the order of choices:
- ε, then J. Fix the level and ε; the cohomology theorem supplies J.
- The prime pair. Apply the prime-pair selection with K = J at Y₀ = X^{1/J}, giving the analytic interval [Y₀, Y₀^J] = [X^{1/J}, X].
- The window. For this very pair, the arithmetic theorem chooses W with Y₀ ≤ W and W² ≤ X, so [W, W²] ⊆ [Y₀, X].
- The rescaling. With Z = κW and W ≥ κ³, [Z, Z^{3/2}] ⊆ [W, W²]. Then x′ = x/κ is used for the cohomology and x for the characters.
This is the proof of the archive's UpperTheory.Top.winPairs, with VWinAt supplying J and W, and PairEx supplying q and d.
Sources used.
- The page technical.html, section 3.7.7, fetched on 30 Nov 2026 (sha256 begins 00f3b6fb).
- Alpöge's archive, which I checked part by part against
lean/SHA256SUMSof rh-lean-roadmap at 50ebae8:Development/AutomorphicArithmetic/CharacterBoxes/WinPairs.lean,ExistsPageN.leanandPairGood.lean.
Prose (section 3.7.7):
The order of choices now matters. First fix the target level and ε; the cohomology theorem supplies its exponent J. Apply the prime-pair selection with interval exponent K = J. At a sufficiently large outer scale X, put Y₀ = X^{1/J}. The analytic estimates then hold on [Y₀, Y₀^J] = [X^{1/J}, X]. For this very pair q, d, the arithmetic theorem chooses W with Y₀ ≤ W and W² ≤ X. Thus its entire cohomology window lies within the interval already controlled analytically: [W, W²] ⊆ [Y₀, X]. After the fixed rescaling above, Z = κW and W ≥ κ³ give [Z, Z^{3/2}] ⊆ [W, W²]. The cohomology estimate is used at x′ = x/κ, while the auxiliary-character estimate is used at x … Taking the maximum of the fixed starting thresholds makes all these choices compatible. … We first choose a pair with good analytic behavior, then take the arithmetic subinterval it admits. There is no need to intersect two independently chosen good intervals.
Lean (winPairs, WinPairs.lean lines 5–81).
- ε, then J.
- The statement takes ψ (the target level), then eps with 0 < eps < 1/52.
VWinAt ψ 401(ExistsPageN.lean lines 43–47) gives J ≥ 1 and X₀. For every X ≥ X₀ and every pair (q, d) withWinPair eps (X^(1/J)) q d, it gives a Y with X^{1/J} ≤ Y and Y² ≤ X. That is the prose's W.- K = J. Line 13 calls
PairExwith A = J:hP ψ.N hN eps J …. - Y₀ = X^{1/J}. Lines 27–37 choose X ≥ max(X₀, M^J), so that X^{1/J} ≥ M ≥ Y₁ (
hY0M) and (X^{1/J})^J = X (hXJ). - The pair comes from
hY1 (X ^ (1 / J))(line 36), with good bounds on [X^{1/J}, (X^{1/J})^J] = [Y₀, X]. - The same pair.
hX0 X hXX0 q d hpg.pair(line 37) then gives W for this very pair (q, d), with X^{1/J} ≤ W and W² ≤ X. - Nesting. With Z = kW and k³ ≤ W,
hlemgives x ≤ Z^{3/2} ≤ W² ≤ X for x in the window.hpg.monorestricts the pair's bounds from [Y₀, X] to [Y₀, x] (line 69). - Rescaling. The cohomology statement
hWVis applied at x′ = x/k (line 76), with W ≤ x′ ≤ W². The character data is used at x. - Thresholds. M = max(1, y, Y₁, k³, k^{400}) (lines 23–25) is the "maximum of the fixed starting thresholds".
My check (search/review/plascencia_37_check.py). I computed in log space on 200,000 random cases:
- Y₀ = X^{1/J}, W ≥ Y₀ and W² ≤ X give [W, W²] ⊆ [Y₀, Y₀^J];
- with W ≥ κ³, Z^{3/2} ≤ W², and x′ ∈ [W, W²] for x ∈ [Z, Z^{3/2}].
Not checked.
- The proofs of
VWinAt(the cohomology theorem) andPairEx. - The prose's remark about the order of choices, which matches the order of the Lean's
obtainsteps.