Evidence record · Lean reader experiment · frozen copy
Lean steps — OneSidedBound.lean (extracted without looking at the translation)
This record is kept in Turkish, as it was written during the experiment. It is a frozen copy: the SHA-256 of the original file is listed on the evidence index. Switch to TR above to read it.
Kanıt kaydı · dondurulmuş kopya · kanıt dizini · vaka çalışması
Lean adımları — OneSidedBound.lean (çeviriye bakılmadan çıkarıldı)
Kaynak: grh/src/New/Reduction/OneSidedBound.lean. Not: 157–236 aralığında teoremden önce üç yardımcı lemma var (floor, rpow, dvd); üçü de listelendi.
P5 — Data.primeRemainder_le (33–67)
Hedef: R_{q₀}(x) ≤ φ(q₀)·logB⁶/m + |R_{q₀}(x₁)| + logB·|R₁(x₁)|.
| # | Satır | Adım | Ne kurar |
|---|---|---|---|
| P5.1 | 38 | have hm | 0 < m |
| P5.2 | 39 | have ha | 0 < a |
| P5.3 | 40 | have h_logB_pos | 0 < log b |
| P5.4 | 41–43 | have h_aPlaces_pos (rw card_aPlaces; exact pos) | 0 < #Φ_a (kart = kule derecesi, pozitif) |
| P5.5 | 44–46 | have h_card (rw card_aPlaces; exact towerDeg_le_card_bPlaces_mul) | #Φ_a ≤ #Φ_b · log b |
| P5.6 | 47–48 | have h_bPlaces_pos | 0 < #Φ_b (P5.4, P5.5 ve log b>0’dan) |
| P5.7 | 49 | have h_ratio | #Φ_a/#Φ_b ≤ log b |
| P5.8 | 50–51 | have h_main (le_div_iff₀’ + star_inequality) | totalRemainder ≤ f·a·logB⁵/m (yıldız eşitsizliği m’ye bölünmüş) |
| P5.9 | 52–56 | calc 1: rw totalRemainder_eq; field | R_{q₀}(x) = T/(a#Φ_b) + R_{q₀}(x₁) − (#Φ_a/#Φ_b)·R₁(x₁) |
| P5.10 | 57–60 | calc 2: grw [h_main, le_abs_self, sub_eq_add_neg, ← mul_neg, neg_le_abs] | ≤ f a logB⁵/m/(a#Φ_b) + |R_{q₀}(x₁)| + (#Φ_a/#Φ_b)|R₁(x₁)| |
| P5.11 | 61–65 | calc 3: rw f_eq_card_aPlaces_mul, Nat.cast_mul; field | = φ(q₀)·(#Φ_a/#Φ_b·logB⁵)/m + … (f = φ(q₀)#Φ_a, a sadeleşir) |
| P5.12 | 66–67 | calc 4: grw [h_ratio, ← pow_succ’] | ≤ φ(q₀) logB⁶/m + |R_{q₀}(x₁)| + logB|R₁(x₁)| |
P8 — eventually_primeRemainder_natCast_le (125–155)
Hedef: büyük tam sayı x için R(x) ≤ (64φ(q₀)+3)·x^(−1/2+6ε).
| # | Satır | Adım | Ne kurar |
|---|---|---|---|
| P8.1 | 131–133 | filter_upwards [eventually_exists_data_scales, eventually_abs_primeRemainder_exp_le, x≥1] | x için D, D.x=x, logB ≤ 2x^ε, x^(1/2) ≤ m, x^(ε/12) ≤ logX₁, x₁’de kalan sınırları, x≥1 |
| P8.2 | 134 | have hx_ge | 1 ≤ (x:ℝ) |
| P8.3 | 135 | have hx_pos | 0 < x |
| P8.4 | 136–137 | obtain ⟨h_rem_q₀, h_rem_one⟩ | |R_{q₀}(x₁)| ≤ x^(−2) ve |R₁(x₁)| ≤ x^(−2) (l = log x₁ ile) |
| P8.5 | 138 | have h_logB_pos | 0 < log b |
| P8.6 | 139–140 | have h_inv | x^(−2) ≤ x^(−1/2+6ε) (üs karşılaştırması) |
| P8.7 | 141–143 | have h_mul (rw rpow_add; exact üs karşılaştırması) | x^ε·x^(−2) ≤ x^(−1/2+6ε) |
| P8.8 | 144–146 | have h_main (rw rpow_mul_natCast, rpow_sub; ring_nf) | (x^ε)⁶ / x^(1/2) = x^(−1/2+6ε) |
| P8.9 | 147 | calc 1: rw hx_eq | R(x) = R(D.x) |
| P8.10 | 148–149 | calc 2: D.primeRemainder_le (P5) | ≤ φ logB⁶/m + |R_{q₀}(x₁)| + logB|R₁(x₁)| |
| P8.11 | 150–152 | calc 3: grw [h_rem_q₀, h_rem_one, h_logB, ← hm] | ≤ φ(2x^ε)⁶/x^(1/2) + x^(−2) + 2x^ε·x^(−2) |
| P8.12 | 153–155 | calc 4: rw [mul_pow, mul_div_assoc×2, h_main]; linarith | ≤ (64φ+3)·x^(−1/2+6ε) (2⁶=64, h_inv, h_mul ile) |
P9 — yardımcı lemmalar ve eventually_primeRemainder_le_rpow (157–235)
P9a — primeRemainder_sub_primeRemainder_floor_le (159–167): y≥2 ⇒ R_q(y) − R_q(⌊y⌋) ≤ 26/y
| # | Satır | Adım | Ne kurar |
|—|—|—|—|
| P9a.1 | 161 | have h_le | ⌊y⌋ ≤ y |
| P9a.2 | 162 | have h_lt | y < ⌊y⌋+1 |
| P9a.3 | 163 | have h_one (linarith) | 1 ≤ ⌊y⌋ |
| P9a.4 | 164–165 | calc 1: le_abs_self ∘ abs_primeRemainder_sub_le | R(y)−R(⌊y⌋) ≤ 13·((y−⌊y⌋)/⌊y⌋) |
| P9a.5 | 166 | calc 2: gcongr <;> linarith | ≤ 13·(1/(y/2)) (y−⌊y⌋ ≤ 1, ⌊y⌋ ≥ y/2) |
| P9a.6 | 167 | calc 3: field | = 26/y |
P9b — natFloor_rpow_le_two_mul_rpow (170–181): y≥2, −1≤t≤0 ⇒ ⌊y⌋^t ≤ 2y^t
| # | Satır | Adım | Ne kurar |
|—|—|—|—|
| P9b.1 | 172 | have hy_pos | 0 < y |
| P9b.2 | 173 | have h_half | y/2 ≤ ⌊y⌋ |
| P9b.3 | 174 | calc 1: rpow_le_rpow_of_nonpos | ⌊y⌋^t ≤ (y/2)^t (t ≤ 0, taban monoton azalan) |
| P9b.4 | 175 | calc 2: div_rpow | = y^t / 2^t |
| P9b.5 | 176–178 | calc 3: gcongr; exact one_le_two | ≤ y^t / 2^(−1) (t ≥ −1) |
| P9b.6 | 179–181 | calc 4: rw rpow_neg_one; field | = 2y^t |
P9c — dvd_two_mul_succ_and_not_dvd_succ (185–195): q₀ ∣ 2(d+1) ∧ ¬ q₀ ∣ d+1
| # | Satır | Adım | Ne kurar |
|—|—|—|—|
| P9c.1 | 187 | obtain ⟨q, rfl⟩ | q₀ = 2q |
| P9c.2 | 188 | have h_half (omega) | 2q/2 − 1 + 1 = q |
| P9c.3 | 189–191 | have hd_succ (rw natCast_eq_natCast_iff; simpa) | (d+1 : ZMod 2q) = q |
| P9c.4 | 192 | constructor | iki parçaya böl |
| P9c.5 | 193 | rw zincir | 2q ∣ 2(d+1) (2·q ≡ 0) |
| P9c.6 | 194–195 | rw; exact Nat.not_dvd_of_pos_of_lt | ¬ 2q ∣ q (0<q<2q) |
P9 — eventually_primeRemainder_le_rpow (200–235): büyük gerçel y için R(y) ≤ y^(−1/2+ε)
| # | Satır | Adım | Ne kurar |
|—|—|—|—|
| P9.1 | 203–208 | let P : Parameters | q₀, d’den parametre paketi (P9c kullanılır) |
| P9.2 | 210–213 | obtain δ (refine min(1/200, ε/7); positivity; linarith×2) | 0<δ<1/100, 7δ ≤ ε |
| P9.3 | 214 | set C | C = 64φ(q₀)+3 |
| P9.4 | 215 | set t | t = −1/2+6δ |
| P9.5 | 216 | have ht_ge | −1 ≤ t |
| P9.6 | 217 | have ht_le | t ≤ 0 |
| P9.7 | 218–219 | have h_floor (tendsto_nat_floor ∘ P8 δ ile) | eventually R(⌊y⌋) ≤ C·⌊y⌋^t |
| P9.8 | 220–221 | have h_large | eventually 2C+26 ≤ y^δ |
| P9.9 | 222 | filter_upwards [h_floor, h_large, y≥2] | y için üç hipotez |
| P9.10 | 223 | have hy_one | 1 ≤ y |
| P9.11 | 224 | have hy_pos | 0 < y |
| P9.12 | 225–227 | calc 1: P9a | R(y) ≤ R(⌊y⌋) + 26/y |
| P9.13 | 228 | calc 2: grw [hy_floor, rpow_neg_one, div_eq_mul_inv] | ≤ C⌊y⌋^t + 26 y^(−1) |
| P9.14 | 229–231 | calc 3: gcongr; exact P9b | ≤ C(2y^t) + 26y^t (y^(−1) ≤ y^t de gcongr ile) |
| P9.15 | 232 | calc 4: ring | = (2C+26) y^t |
| P9.16 | 233 | calc 5: gcongr | ≤ y^δ · y^t |
| P9.17 | 234 | calc 6: rpow_add | = y^(δ+t) |
| P9.18 | 235 | calc 7: rpow_le_rpow_of_exponent_le | ≤ y^(−1/2+ε) (δ+t = −1/2+7δ ≤ −1/2+ε) |