Five verbs

English translation · the record is the Turkish text · evidence index · case study

Translated from the frozen Turkish record by a language model and spot-checked against it; where the two differ, the Turkish record is authoritative. Formulas, file names and Lean names are unchanged.

Proof texts: OneSidedBound.lean (P5, P8, P9)

Source: grh-lean/grh/src/New/Reduction/OneSidedBound.lean. Line numbers refer to this file. Notation: $R_q(y)$ = primeRemainder d q y; $q_0$ = P.q₀; $\varphi$ = totient; $L=\log b$ = D.logB; $A=#\Phi_a$ = #D.aPlaces; $B=#\Phi_b$ = #D.bPlaces; $T$ = D.totalRemainder; $f$ = D.f; $a$ = D.a; $m$ = D.m.

Tags: [source] = the intermediate claim is written explicitly in the source (have type, calc line); [guess] = the intermediate goal solved by an automatic tactic is not written in the source; a claim I reconstructed.

Statements of the cited lemmas (only the statements were read):

  • star_inequality (MainInequality.lean:87): $m\,T \le f\,a\,L^5$.
  • totalRemainder_eq (PrimeSums.lean:177): $T = a\,\big(B\,(R_{q_0}(x)-R_{q_0}(x_1)) + A\,R_1(x_1)\big)$.
  • f_eq_card_aPlaces_mul (PrimeSums.lean:83): $f = A\,\varphi(q_0)$.
  • card_aPlaces (PrimeSums.lean:79): $A = \mathrm{towerDeg}(\text{towerExp})$.
  • abs_primeRemainder_sub_le (PrimeNumberTheorem.lean:116): $1\le y\le z \Rightarrow R_q(z)-R_q(y) \le 13\,(z-y)/y$.

P5 — Statement S5 (Data.primeRemainder_le, :33-67)

Claim. $R_{q_0}(x) \le \varphi(q_0)L^6/m + R_{q_0}(x_1) + L\, R_1(x_1) $.

Idea. The identity for the total remainder $T$ allows writing $R_{q_0}(x)$ in terms of $T/(aB)$, $R_{q_0}(x_1)$ and $(A/B)R_1(x_1)$. The main inequality $mT\le f a L^5$ bounds the first term; substituting $f=A\varphi(q_0)$ cancels $a$ and leaves $\varphi(q_0)(A/B)L^5/m$. Finally $A\le BL$, i.e. $A/B\le L$, is used both in this term and in the coefficient of the $R_1(x_1)$ term; the remaining terms are bounded above by absolute values.

  1. $0<m$ [source] :38 (HasLogBound.pos).
  2. $0<a$ [source] :39.
  3. $0<L$ [source] :40.
  4. $0<A$ [source] :41-43: rewritten as $A=\mathrm{towerDeg}$, positivity from HasLogBound.pos.
  5. $A\le B\,L$ [source] :44-46: rewritten with card_aPlaces and towerDeg_le_card_bPlaces_mul applied.
  6. $0<B$ [source] :47-48: if $0<A\le BL$ and $L>0$ then $BL>0$, hence $B>0$.
  7. $A/B\le L$ [source] :49: dividing step 5 by $B>0$.
  8. $T\le f\,a\,L^5/m$ [source] :50-51: dividing star_inequality by $m>0$.
  9. $R_{q_0}(x) = \dfrac{T}{aB} + R_{q_0}(x_1) - \dfrac{A}{B}R_1(x_1)$ [source] :52-56: totalRemainder_eq is substituted, field (using $a,B\ne0$) closes the algebraic identity.
  10. $\le \dfrac{f a L^5/m}{aB} + R_{q_0}(x_1) + \dfrac{A}{B} R_1(x_1) $ [source] :57-60. grw sub-steps [guess]: (i) $T$ is enlarged with step 8 ($1/(aB)\ge0$); (ii) $R_{q_0}(x_1)\le R_{q_0}(x_1) $; (iii) $-\frac AB R_1 = \frac AB(-R_1)$ and $-R_1\le R_1 $ (coefficient $A/B\ge0$).
  11. $= \dfrac{\varphi(q_0)\,(A/B)\,L^5}{m} + R_{q_0}(x_1) + \dfrac{A}{B} R_1(x_1) $ [source] :61-65: $f=A\varphi(q_0)$ is substituted, $a$ cancels with field.
  12. $\le \dfrac{\varphi(q_0)L^6}{m} + R_{q_0}(x_1) + L R_1(x_1) $ [source] :66-67. grw sub-steps [guess]: $A/B\le L$ (step 7) is applied in two places, then $L\cdot L^5 = L^6$ (pow_succ'); monotonicity side conditions ($L^5\ge0$, $\varphi\ge0$, $m>0$, $ R_1 \ge0$) automatic.

Inner steps I cannot explain (P5): in steps 10 and 12, which side conditions (positivity) grw closes and how; the internal normalization of the field tactic in steps 9 and 11 (the identity is correct, but the intermediate forms are not visible); the proofs of star_inequality and towerDeg_le_card_bPlaces_mul themselves (out of scope).


P8 — Statement S8 (eventually_primeRemainder_natCast_le, :125-155)

Claim. If $0<\varepsilon<1/100$, then for every sufficiently large integer $x$, $R_{q_0}(x) \le (64\varphi(q_0)+3)\,x^{-1/2+6\varepsilon}$.

Idea. For large $x$, data $D$ is chosen with $D.x=x$, $L\le 2x^\varepsilon$, $m\ge x^{1/2}$, $\log x_1\ge x^{\varepsilon/12}$; the prime number theorem gives $ R_{q_0}(x_1) , R_1(x_1) \le x^{-2}$. These are put into S5: the first term becomes $\varphi(q_0)\,2^6x^{6\varepsilon}/x^{1/2}$, the others $x^{-2}$ and $2x^\varepsilon x^{-2}$; each is a multiple of $x^{-1/2+6\varepsilon}$, and the coefficients sum to $64\varphi(q_0)+1+2$.
  1. Filter: for large $x$, $D$ (S eventually_exists_data_scales), the remainder bound at the $x_1$ scale (eventually_abs_primeRemainder_exp_le) and $x\ge1$ hold together [source] :131-133.
  2. $1\le x$ (real) [source] :134.
  3. $0<x$ [source] :135.
  4. $ R_{q_0}(x_1) \le x^{-2}$ and $ R_1(x_1) \le x^{-2}$ [source] :136-137: the remainder bound is applied with $l=\log x_1\ge x^{\varepsilon/12}$ ($x_1=e^{l}$ by definition).
  5. $0<L$ [source] :138.
  6. $x^{-2}\le x^{-1/2+6\varepsilon}$ [source] :139-140; exponent condition $-2\le -1/2+6\varepsilon$ (linarith, from $\varepsilon>0$) [guess].
  7. $x^\varepsilon x^{-2}\le x^{-1/2+6\varepsilon}$ [source] :141-143: $x^\varepsilon x^{-2}=x^{\varepsilon-2}$; exponent condition $\varepsilon-2\le -1/2+6\varepsilon$ (linarith) [guess].
  8. $(x^\varepsilon)^6/x^{1/2} = x^{-1/2+6\varepsilon}$ [source] :144-146: written as $x^{6\varepsilon-1/2}$, ring_nf equates the exponents.
  9. $R_{q_0}(x)=R_{q_0}(D.x)$ [source] :147.
  10. $\le \varphi(q_0)L^6/m + R_{q_0}(x_1) + L R_1(x_1) $ [source] :148-149 (S5).
  11. $\le \varphi(q_0)(2x^\varepsilon)^6/x^{1/2} + x^{-2} + 2x^\varepsilon x^{-2}$ [source] :150-152. grw sub-steps [guess]: the two bounds from step 4; $L\le2x^\varepsilon$ (both in $L^6$ and in the factor $L$; requires $L>0$); shrinking the denominator with $m\ge x^{1/2}$ ($x^{1/2}>0$).
  12. $\le (64\varphi(q_0)+3)x^{-1/2+6\varepsilon}$ [source] :153-155. Inner step [guess]: $(2x^\varepsilon)^6=64(x^\varepsilon)^6$, with step 8 the first term is $64\varphi(q_0)\,x^{-1/2+6\varepsilon}$; linarith adds step 6 ($x^{-2}\le\cdot$) and twice step 7 ($2x^\varepsilon x^{-2}\le 2\cdot$).

Inner steps I cannot explain (P8): in step 11, the rewriting order of grw and how it closes the positivity side conditions; in step 12, the exact form of the goal after the mul_div_assoc rewrites (the linear form linarith sees); the proofs of eventually_exists_data_scales and eventually_abs_primeRemainder_exp_le (not in the scope of P8).


P9 — Statement S9 (eventually_primeRemainder_le_rpow, :200-235) and two auxiliary lemmas

P9a — primeRemainder_sub_primeRemainder_floor_le (:159-167)

Claim. If $y\ge2$ then $R_q(y)-R_q(\lfloor y\rfloor)\le 26/y$.

Idea. The Lipschitz-type bound $ R_q(z)-R_q(y) \le13(z-y)/y$ is applied to the interval $[\lfloor y\rfloor,y]$; with $y-\lfloor y\rfloor\le1$ and $\lfloor y\rfloor\ge y/2$ one obtains $26/y$.
  1. $\lfloor y\rfloor\le y$ [source] :161.
  2. $y<\lfloor y\rfloor+1$ [source] :162.
  3. $1\le\lfloor y\rfloor$ [source] :163; linarith: $\lfloor y\rfloor > y-1\ge1$ [guess].
  4. $R_q(y)-R_q(\lfloor y\rfloor)\le 13\,(y-\lfloor y\rfloor)/\lfloor y\rfloor$ [source] :164-165 (first $u\le u $, then abs_primeRemainder_sub_le).
  5. $\le 13\cdot\dfrac{1}{y/2}$ [source] :166; gcongr leaves two goals, with linarith: $y-\lfloor y\rfloor\le1$ and $y/2\le\lfloor y\rfloor$ (the second from $\lfloor y\rfloor>y-1\ge y/2$, since $y\ge2$) [guess].
  6. $=26/y$ [source] :167 (field).

P9b — natFloor_rpow_le_two_mul_rpow (:170-181)

Claim. If $y\ge2$, $-1\le t\le0$ then $\lfloor y\rfloor^t\le 2y^t$.

Idea. Since $t\le0$, $u\mapsto u^t$ is decreasing; $\lfloor y\rfloor\ge y/2$ gives $\lfloor y\rfloor^t\le (y/2)^t = y^t/2^t$; since $t\ge-1$, $2^t\ge 2^{-1}$, i.e. $y^t/2^t\le 2y^t$.

  1. $0<y$ [source] :172.
  2. $y/2\le\lfloor y\rfloor$ [source] :173; linarith from $\lfloor y\rfloor>y-1$ and $y\ge2$ [guess].
  3. $\lfloor y\rfloor^t\le(y/2)^t$ [source] :174 (decreasing with a non-positive exponent).
  4. $=y^t/2^t$ [source] :175.
  5. $\le y^t/2^{-1}$ [source] :176-178; gcongr goal: $2^{-1}\le2^t$, from base $1\le2$ and $-1\le t$ [guess].
  6. $=2y^t$ [source] :179-181 ($2^{-1}=1/2$, field).

P9c — Main statement (:200-235)

Claim. If $18480\mid q_0$, $d$ prime, $d\equiv q_0/2-1 \pmod{q_0}$, $\varepsilon>0$, then for large real $y$, $R_{q_0}(y)\le y^{-1/2+\varepsilon}$.

Idea. A Parameters structure is built from the data. A small $\delta$ with $7\delta\le\varepsilon$ is chosen and S8 gives $R(n)\le C n^{t}$ on integers ($C=64\varphi(q_0)+3$, $t=-1/2+6\delta$). The passage from real $y$ to $\lfloor y\rfloor$ brings an error of $26/y$ via P9a; via P9b, $\lfloor y\rfloor^t\le2y^t$ and $26/y=26y^{-1}\le26y^t$. Thus $R(y)\le(2C+26)y^t$; since $2C+26\le y^\delta$ for large $y$, $R(y)\le y^{t+\delta}=y^{-1/2+7\delta}\le y^{-1/2+\varepsilon}$.

  1. The parameters $P$ are built: $q_0$, $d$, $18480\mid q_0$, $d$ prime, and the congruence condition via dvd_two_mul_succ_and_not_dvd_succ [source] :203-208 (parity side condition omega).
  2. $\exists\,\delta$: $0<\delta<1/100$, $7\delta\le\varepsilon$ [source] :210-213; $\delta=\min(1/200,\varepsilon/7)$; positivity via positivity, $\delta\le1/200<1/100$ and $7\delta\le\varepsilon$ via linarith [guess].
  3. $C:=64\varphi(q_0)+3$ [source] :214.
  4. $t:=-1/2+6\delta$ [source] :215.
  5. $-1\le t$ [source] :216; linarith: $\delta>0$ [guess].
  6. $t\le0$ [source] :217; linarith: $6\delta<6/100<1/2$ [guess].
  7. For large $y$, $R_{q_0}(\lfloor y\rfloor)\le C\lfloor y\rfloor^t$ [source] :218-219 (S8 and $\lfloor y\rfloor\to\infty$).
  8. For large $y$, $2C+26\le y^\delta$ [source] :220-221 ($y^\delta\to\infty$).
  9. 7, 8 and $y\ge2$ together; continue with a fixed $y$ [source] :222.
  10. $1\le y$ [source] :223.
  11. $0<y$ [source] :224.
  12. $R_{q_0}(y)\le R_{q_0}(\lfloor y\rfloor)+26/y$ [source] :225-227 (P9a).
  13. $\le C\lfloor y\rfloor^t + 26\,y^{-1}$ [source] :228 (step 7; $26/y=26y^{-1}$).
  14. $\le C(2y^t)+26y^t$ [source] :229-231; gcongr goals: $\lfloor y\rfloor^t\le2y^t$ (P9b, given explicitly) and $y^{-1}\le y^t$ ($y\ge1$, $-1\le t$) — how the second is closed [guess].
  15. $=(2C+26)y^t$ [source] :232 (ring).
  16. $\le y^\delta y^t$ [source] :233; gcongr: step 8 and $y^t\ge0$ [guess].
  17. $=y^{\delta+t}$ [source] :234.
  18. $\le y^{-1/2+\varepsilon}$ [source] :235; exponent condition $\delta+t=-1/2+7\delta\le-1/2+\varepsilon$ (linarith) [guess].

Inner steps I cannot explain (P9): in step 14, which lemma gcongr uses to close the goal $y^{-1}\le y^t$ (the side goal is not visible in the source; I guess it is closed from the hypotheses via gcongr_discharger/assumption); the exact list of side goals produced by gcongr in P9a step 5 and P9b step 5; whether the Parameters structure in step 1 has other fields (only the five shown are filled); the internal normalization of the field tactics; the proofs of the cited lemmas (abs_primeRemainder_sub_le, the filter lemmas other than eventually_primeRemainder_natCast_le).


Summary

Proof Steps [guess]
P5 12 2
P8 12 4
P9 (a+b+c) 30 (6+6+18) 10 (2+2+6)

Kanıt kaydı · dondurulmuş kopya

Bu sayfa bir Türkçe kaydın İngilizce çevirisidir. Kaydın kendisi: Türkçe metin.

Vaka çalışmasına dön