{"canonical":{"exp.step.average":[37,17778,17867],"exp.step.cycle_bound":[50,26195,26250],"exp.step.fractional_part":[21,10701,10793],"exp.step.gap":[19,8711,8741],"exp.step.split":[26,11887,11921],"exp.step.uniform_bound":[52,27250,27312],"exp.thm-main":[8,4134,4319]},"families":[{"id":"family-series","name":"The chosen exponents and their sums · A rational number’s fixed gap · Consequences and other bases","named":false,"part":0,"topics":["series","rational-gap","scope"]},{"id":"family-remainders","name":"Multiplication and fractional parts · Averaging complete cycles · Combining the estimates","named":false,"part":0,"topics":["combining-estimates","remainders","cycle-averages"]},{"id":"family-incomplete-cycles","name":"Unfinished cycles","named":false,"part":0,"topics":["incomplete-cycles"]},{"id":"family-doubling","name":"The doubling exponents","named":false,"part":0,"topics":["doubling"]}],"layer":"phrases","meaning":"Each tie is a pointer that landed. Whether the paper and the Lean say the same thing is a reading.","parts":[{"end_byte":54689,"name":"","start_byte":0}],"passages":[[3816,7634,["exp.thm-main"],"sec-problem"],[7763,8742,["exp.step.gap"],"sec-test"],[8881,12969,["exp.step.fractional_part","exp.step.split"],"sec-split"],[14849,29446,["exp.step.average","exp.step.cycle_bound","exp.step.uniform_bound"],"sec-general"],[29558,35022,["exp.step.explicit_choices","exp.thm-main"],"sec-proof"],[35134,37156,["exp.thm-main"],"sec-limits"],[37292,46018,["exp.thm-main"],"app-full"]],"segments":[[726,764,[0]],[1331,1419,[1]],[1424,1467,[2]],[2513,2549,[3]],[2650,2706,[4]],[2712,2807,[5]],[3137,3166,[6]],[3273,3301,[7]],[4150,4215,[8]],[4216,4252,[9]],[4260,4302,[10]],[4303,4319,[11]],[4399,4424,[12]],[4543,4577,[13]],[5027,5053,[14]],[5124,5145,[15]],[8256,8316,[16]],[8338,8365,[17]],[8432,8453,[18]],[8711,8741,[19]],[10091,10166,[20]],[10701,10793,[21]],[10894,10905,[22]],[10949,10996,[23]],[11056,11105,[24]],[11264,11351,[25]],[11887,11921,[26]],[11922,11958,[27]],[12074,12080,[28]],[12576,12637,[29]],[12693,12735,[30]],[12741,12780,[31]],[13579,13594,[32]],[13663,13739,[33]],[16238,16293,[34]],[16468,16578,[35]],[17616,17653,[36]],[17778,17867,[37]],[18018,18102,[38]],[18319,18354,[39]],[19676,19728,[40]],[20772,20785,[41]],[20884,20891,[42]],[20964,21045,[43]],[21460,21543,[44]],[21901,21998,[45]],[22004,22029,[46]],[22389,22426,[47]],[22470,22521,[48]],[22642,22725,[49]],[26195,26250,[50]],[27066,27149,[51]],[27250,27312,[52]],[28505,28618,[53]],[28880,28910,[54]],[29022,29074,[55]],[30575,30629,[56]],[33625,33693,[57]],[34712,34735,[58]],[34752,34804,[59]],[35185,35318,[60]],[35385,35411,[61]],[35819,35871,[62]],[36508,36534,[63]],[38627,38656,[64]],[38768,38847,[65]],[38927,38958,[66]],[38963,38988,[67]],[38993,39009,[68]],[40388,40418,[69]],[40769,40814,[70]],[40843,40987,[71]],[41664,41699,[72]],[42170,42203,[73]],[42949,43042,[74]],[43396,43612,[75]],[43694,43739,[76]],[44653,44720,[77]],[44842,44897,[78]],[44898,44927,[79]],[45153,45198,[80]],[45200,45250,[81]],[45278,45320,[82]],[45322,45458,[83]],[45480,45513,[84]],[45515,45563,[85]],[45565,45619,[86]],[45695,45788,[87]],[45964,46016,[88]],[49252,49288,[89]],[49386,49432,[90]],[52190,52198,[91]],[52846,52902,[92]]],"ties":[{"anchor":"sec-intro","at":"b726-764","from_record":false,"lean":true,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","origin":"ai","part":0,"phrase":"exp.series.geometric-example","plain":"Geometric sums and their tails","record":null,"relation":"states","role":"statement","rows":[{"end_line":290,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean gives the exact geometric tail after every natural-number cutoff $n$; the paper uses the case $n = 0$.","fidelity_source":"ai","line":285,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","note":"Set the source cutoff $n = 0$.","plain":"Geometric sums and their tails","proof_lines":[287,290],"relation":"states","annotation":"In `tsum_half_nat_add_succ`, the summation index starts at $0$ and the first exponent is $n+1$. Setting $n=0$ gives the opening sum. The general formula gives $2^{-n}$ after omitting the first $n$ terms."}],"tone":0,"topic":"series"},{"anchor":"sec-intro","at":"b1331-1419","from_record":false,"lean":true,"lines":[6127,6131],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.opening.integer-error","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"weaker","fidelity_note":"The cited proof lines use `p = r.num`, `q = r.den` and the witness integers $m,z$ chosen in this proof. The paper states the algebra or gap for arbitrary representations $\\frac pq$ and arbitrary integers $u,j$; that universally quantified statement is not declared here.","fidelity_source":"ai","line":6120,"lines":[6127,6131],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"The proof uses the canonical rational numerator and denominator; this is a local ingredient, not the full general statement.","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"proof","annotation":"The proof defines the integer numerator `N` as $m p-zq$, with $p$ and $q$ given by `r.num` and `r.den`. The equality `hval` puts the error over $q$ for the two witness integers $m,z$."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-intro","at":"b1424-1467","from_record":false,"lean":true,"lines":[6132,6143],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.opening.positive-gap","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"weaker","fidelity_note":"The cited proof lines use `p = r.num`, `q = r.den` and the witness integers $m,z$ chosen in this proof. The paper states the algebra or gap for arbitrary representations $\\frac pq$ and arbitrary integers $u,j$; that universally quantified statement is not declared here. The local lower bound is for the absolute error, and specializes to a positive error as in the paper.","fidelity_source":"ai","line":6120,"lines":[6132,6143],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"The proof uses the canonical rational numerator and denominator; this is a local ingredient, not the full general statement.","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"proof","annotation":"For the witness error $N/q$, `hN0` rules out $N=0$. The proof applies `Int.one_le_abs` and divides by $q>0$ to obtain the absolute gap $1/q$, which also bounds any positive error from below."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-intro","at":"b2513-2549","from_record":false,"lean":true,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","origin":"ai","part":0,"phrase":"exp.def.series","plain":"The selected reciprocal series","record":null,"relation":"defines","role":"definition","rows":[{"end_line":8898,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":8897,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","note":"Set $b = 2$; the indicator keeps precisely the selected exponents.","plain":"The selected reciprocal series","relation":"defines","annotation":"With $b=2$, `Set.indicator A` contributes $1/(2^n-1)$ at each selected exponent and zero elsewhere. The symbol `∑'` in `erdosSupportSeries` sums this family over the natural numbers."}],"tone":0,"topic":"series"},{"anchor":"sec-intro","at":"b2650-2706","from_record":false,"lean":true,"lines":[5129,5130],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.finiteErdosSum","origin":"ai","part":0,"phrase":"exp.def.partial-sum","plain":"A finite selected sum","record":null,"relation":"defines","role":"definition","rows":[{"end_line":5130,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":5129,"lines":[5129,5130],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.finiteErdosSum","note":"Take $F$ to be the finitely many selected exponents already read, and $b = 2$.","plain":"A finite selected sum","relation":"defines","annotation":"Take `F` to be the finite set of exponents reached so far and put $b=2$. The codomain `Rat` reflects that a partial sum of these rational summands is rational."}],"tone":0,"topic":"series"},{"anchor":"sec-intro","at":"b2712-2807","from_record":false,"lean":true,"lines":[52,53],"module":"Erdos249257.GenericTailOrbitRigidity","name":"Erdos249257.hasRationalValue_iff_not_irrational","origin":"ai","part":0,"phrase":"exp.def.irrational","plain":"Rationality and positive denominators","record":null,"relation":"states","role":"definition","rows":[{"end_line":63,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":52,"lines":[52,53],"module":"Erdos249257.GenericTailOrbitRigidity","name":"Erdos249257.hasRationalValue_iff_not_irrational","note":"","plain":"Rationality and positive denominators","proof_lines":[54,63],"relation":"states","annotation":"`HasRationalValue` asks for an integer numerator and a positive natural denominator. `hasRationalValue_iff_not_irrational` identifies the existence of such a fraction with the negation of `Irrational`."}],"tone":0,"topic":"series"},{"anchor":"sec-intro","at":"b3137-3166","from_record":false,"lean":true,"lines":[1157,1158],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.geom_sum_half","origin":"ai","part":0,"phrase":"exp.series.geometric-partial","plain":"Finite sums of powers of ½","record":null,"relation":"states","role":"statement","rows":[{"end_line":1166,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":1157,"lines":[1157,1158],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.geom_sum_half","note":"","plain":"Finite sums of powers of ½","proof_lines":[1159,1166],"relation":"states","annotation":"The index set `Finset.Icc 1 K` includes both endpoints, so $K=N$ gives the first $N$ positive powers of $1/2$. The empty sum at $N=0$ also satisfies the displayed formula."}],"tone":0,"topic":"series"},{"anchor":"sec-intro","at":"b3273-3301","from_record":false,"lean":true,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","origin":"ai","part":0,"phrase":"exp.series.convergence","plain":"Convergence of every selected series","record":null,"relation":"states","role":"statement","rows":[{"end_line":8933,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":8902,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","note":"","plain":"Convergence of every selected series","proof_lines":[8905,8933],"relation":"states","annotation":"The name `Summable` here applies to the Mersenne summands selected by `Set.indicator A`. The proof compares them with $2b^{-n}$ under $b\\ge2$, so convergence holds for every support at $b=2$ and requires no assumption on $\\sum_{n\\in A}1/n$."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4150-4215","from_record":false,"lean":true,"lines":[396,396],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.thm-main.infinite","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"part","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":395,"lines":[396,396],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"The increasing sequence is represented by its infinite range A.","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"part","annotation":"The range $A=\\{n_1,n_2,\\ldots\\}$ of the strictly increasing sequence supplies `hA : A.Infinite`. The statement works directly with the set and uses no ordering of its elements."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4216-4252","from_record":false,"lean":true,"lines":[397,397],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.thm-main.summability","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"part","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":395,"lines":[397,397],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"hsum is convergence of the reciprocal-exponent series on the range A.","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"part","annotation":"The assumption `hsum` requires summability of `reciprocalSupportTerm`, whose value is $1/n_k$ at the exponent $n_k$ and zero off the range. The strict increase makes each selected exponent occur once."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4260-4302","from_record":false,"lean":true,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","origin":"ai","part":0,"phrase":"exp.thm-main.series","plain":"The selected reciprocal series","record":"exp.thm-main","relation":"defines","role":"definition","rows":[{"end_line":8898,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":8897,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","note":"Use $b = 2$ and $A=\\{n_1,n_2,\\dots\\}$.","plain":"The selected reciprocal series","relation":"defines","annotation":"Use $b=2$ and take $A$ to be the range of $k\\mapsto n_k$. The indicator in `erdosSupportSeries` therefore includes each summand $1/(2^{n_k}-1)$ once."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4303-4319","from_record":false,"lean":true,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.thm-main#1","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"states","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean allows every integer base $b \\ge 2$, not only 2, and an infinite set $A \\subseteq \\mathbb N$. The paper uses the increasing enumeration of $A$ with exponent 0 excluded; Lean normalizes the 0 term to 0.","fidelity_source":"ai","line":395,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"states","annotation":"The conclusion `Irrational (erdosSupportSeries b A)` specializes to the displayed claim at $b=2$. The theorem requires an infinite support and a summable reciprocal-exponent series for any natural base $b\\ge2$."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4399-4424","from_record":false,"lean":true,"lines":[397,397],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.hypothesis.set-form","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"part","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":395,"lines":[397,397],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"part","annotation":"Here $A$ is already the set of selected exponents. `Summable (reciprocalSupportTerm A)` says exactly that the sum of $1/n$ over its positive exponents is finite."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b4543-4577","from_record":false,"lean":true,"lines":[789,790],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.reciprocalSupportTerm","origin":"ai","part":0,"phrase":"exp.hypothesis.exponents","plain":"Reciprocals of selected exponents","record":null,"relation":"defines","role":"definition","rows":[{"end_line":790,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":789,"lines":[789,790],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.reciprocalSupportTerm","note":"","plain":"Reciprocals of selected exponents","relation":"defines","annotation":"`reciprocalSupportTerm A n` uses the exponent $n$ itself as the denominator at selected indices. Summing these terms yields the hypothesis $\\sum_{n\\in A}1/n<\\infty$."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b5027-5053","from_record":false,"lean":true,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","origin":"ai","part":0,"phrase":"exp.hypothesis.doubling-reciprocals","plain":"Geometric sums and their tails","record":null,"relation":"states","role":"statement","rows":[{"end_line":290,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean gives the exact geometric tail after every natural-number cutoff $n$; the paper uses the case $n = 0$.","fidelity_source":"ai","line":285,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","note":"The row is $1/2 + 1/4 + 1/8 + \\dots$; set the source cutoff $n = 0$.","plain":"Geometric sums and their tails","proof_lines":[287,290],"relation":"states","annotation":"Set the cutoff `n` in `tsum_half_nat_add_succ` to $0$. The resulting geometric sum is the reciprocal-exponent sum for the doubling support $2,4,8,\\ldots$."}],"tone":0,"topic":"series"},{"anchor":"sec-problem","at":"b5124-5145","from_record":false,"lean":true,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","origin":"ai","part":0,"phrase":"exp.series.convergence-reminder","plain":"Convergence of every selected series","record":null,"relation":"states","role":"statement","rows":[{"end_line":8933,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":8902,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","note":"","plain":"Convergence of every selected series","proof_lines":[8905,8933],"relation":"states","annotation":"At $b=2$, `summable_erdosSupport_indicator` gives convergence of $S_A$ for any selection $A$. In the proof the geometric comparison is uniform over all selections."}],"tone":0,"topic":"series"},{"anchor":"sec-test","at":"b8256-8316","from_record":false,"lean":true,"lines":[47,48],"module":"Erdos249257.GenericTailOrbitRigidity","name":"Erdos249257.HasRationalValue","origin":"ai","part":0,"phrase":"exp.assume.rational","plain":"Rational representation with a positive denominator","record":null,"relation":"defines","role":"definition","rows":[{"end_line":48,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":47,"lines":[47,48],"module":"Erdos249257.GenericTailOrbitRigidity","name":"Erdos249257.HasRationalValue","note":"","plain":"Rational representation with a positive denominator","relation":"defines","annotation":"The binder `∃ p : ℤ` chooses the integer numerator, and the separate condition `0 < v` makes the natural denominator positive. The equality in `HasRationalValue` is the paper’s $S=p/q$ with $v=q$."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-test","at":"b8338-8365","from_record":false,"lean":true,"lines":[6127,6131],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.gap.integer-numerator","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"weaker","fidelity_note":"The cited proof lines use `p = r.num`, `q = r.den` and the witness integers $m,z$ chosen in this proof. The paper states the algebra or gap for arbitrary representations $\\frac pq$ and arbitrary integers $u,j$; that universally quantified statement is not declared here.","fidelity_source":"ai","line":6120,"lines":[6127,6131],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"The proof uses the canonical rational numerator and denominator; this is a local ingredient, not the full general statement.","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"proof","annotation":"At the highlighted lines, `hval` is the displayed common-denominator calculation with $u=m$, $j=z$, $p$ given by `r.num` and $q$ by `r.den`. These are the particular numerator, denominator and witnesses used in the proof."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-test","at":"b8432-8453","from_record":false,"lean":true,"lines":[6132,6143],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.gap.lower-bound","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"weaker","fidelity_note":"The cited proof lines use `p = r.num`, `q = r.den` and the witness integers $m,z$ chosen in this proof. The paper states the algebra or gap for arbitrary representations $\\frac pq$ and arbitrary integers $u,j$; that universally quantified statement is not declared here. The local lower bound is for the absolute error, and specializes to a positive error as in the paper.","fidelity_source":"ai","line":6120,"lines":[6132,6143],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"The proof uses the canonical rational numerator and denominator; this is a local ingredient, not the full general statement.","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"proof","annotation":"The highlighted `hge` is a bound on the absolute value of the error for the chosen witnesses and the reduced denominator `r.den`. When the error is positive, removing the absolute value gives $uS-j\\ge1/q$."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-test","at":"b8711-8741","from_record":false,"lean":true,"lines":[6120,6123],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.step.gap#1","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":"exp.step.gap","relation":"part","role":"statement","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The hypothesis `h` requires such witnesses for every positive $q$ and permits $0<\\lvert m\\xi-z\\rvert<1/q$. The paper uses the special case $m\\xi - z > 0$. The theorem is a criterion for irrationality, not a claim that arbitrary integers $u,j$ satisfy this display.","fidelity_source":"ai","line":6120,"lines":[6120,6123],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"part","annotation":"For each positive $q$, the hypothesis `h` asks for two integers with a nonzero error of absolute value below $1/q$. It includes the displayed positive error case and allows the witnesses to depend on $q$."}],"tone":1,"topic":"rational-gap"},{"anchor":"sec-split","at":"b10091-10166","from_record":false,"lean":true,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","origin":"ai","part":0,"phrase":"exp.remainders.nonnegative","plain":"Each fractional contribution is nonnegative","record":null,"relation":"states","role":"statement","rows":[{"end_line":34,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":32,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","note":"At $b = 2$, `displacementAtom 2 k n` is the residue formula for $\\ell_{n}(k)$.","plain":"Each fractional contribution is nonnegative","proof_lines":[34,34],"relation":"states","annotation":"The numerator of `displacementAtom` at a positive exponent $n$ is $b^{k\\bmod n}-1$. It is nonnegative under $b\\ge2$, which gives $\\ell_n(k)\\ge0$ at $b=2$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b10701-10793","from_record":false,"lean":false,"lines":null,"module":null,"name":null,"origin":"ai","part":0,"phrase":"exp.step.fractional_part#1","record":"exp.step.fractional_part","role":"explanation","rows":[],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b10894-10905","from_record":false,"lean":true,"lines":[25,26],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom","origin":"ai","part":0,"phrase":"exp.def.fractional-contribution","plain":"One fractional contribution","record":null,"relation":"defines","role":"definition","rows":[{"end_line":26,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":25,"lines":[25,26],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom","note":"For $n > 0$, unfold at $b = 2$ to obtain $\\frac{2^{k\\bmod n}-1}{2^n-1}$.","plain":"One fractional contribution","relation":"defines","annotation":"`displacementAtom 2 k n` subtracts the unshifted term from the shifted term. For $n>0$ this gives $(2^{k\\bmod n}-1)/(2^n-1)$, the residue formula for $\\ell_n(k)$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b10949-10996","from_record":false,"lean":true,"lines":[47,48],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_eq_tsum","origin":"ai","part":0,"phrase":"exp.def.sum-contributions","plain":"The sum of fractional contributions","record":null,"relation":"states","role":"definition","rows":[{"end_line":56,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":47,"lines":[47,48],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_eq_tsum","note":"The paper’s $R(k)$ is `displacement 2 A k`.","plain":"The sum of fractional contributions","proof_lines":[49,56],"relation":"states","annotation":"`displacement_eq_tsum` moves the subtraction of the unshifted series inside the infinite sum. With $b=2$, its left side is $R(k)$ and the terms on its right are $\\ell_n(k)$ at the selected exponents."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b11056-11105","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.remainders.divides-zero","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"states","role":"statement","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The source handles the sum over any finite set $F$ and every integer base $b \\ge 2$. Set $b = 2$ and $F = \\{n\\}$ for this one-exponent implication; the following words “and only then” are outside this tie.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"states","annotation":"Set the finite set `F` to $\\{n\\}$ and the multiplier exponent `N` to $k$. The assumption `hdiv` makes $k\\bmod n=0$ and the singleton's contribution zero."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b11264-11351","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.remainders.common-multiple","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"states","role":"statement","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"states","annotation":"`hdiv` says every $d$ in the finite set `F` divides the chosen shift `N`. All those atoms then have numerator $b^0-1=0$, so their combined contribution vanishes."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b11887-11921","from_record":false,"lean":false,"lines":null,"module":null,"name":null,"origin":"ai","part":0,"phrase":"exp.step.split#1","record":"exp.step.split","role":"explanation","rows":[],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b11922-11958","from_record":false,"lean":true,"lines":[37,38],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.summable_displacementAtom","origin":"ai","part":0,"phrase":"exp.remainders.convergence","plain":"Convergence of the total remainder","record":null,"relation":"states","role":"statement","rows":[{"end_line":45,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":37,"lines":[37,38],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.summable_displacementAtom","note":"","plain":"Convergence of the total remainder","proof_lines":[39,45],"relation":"states","annotation":"`summable_displacementAtom` subtracts two summable shifted families under $b\\ge2$. In base two the resulting family is exactly the selected residue contributions defining $R(k)$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b12074-12080","from_record":false,"lean":true,"lines":[29,30],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement","origin":"ai","part":0,"phrase":"exp.def.total-remainder","plain":"The total remainder","record":null,"relation":"defines","role":"definition","rows":[{"end_line":30,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":29,"lines":[29,30],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement","note":"The displacement is the total of the separate fractional contributions, which can exceed 1.","plain":"The total remainder","relation":"defines","annotation":"`displacement 2 A k` is the shifted support sum minus the original series. Termwise subtraction gives $R(k)$, which adds the fractional contributions separately and can exceed $1$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b12576-12637","from_record":false,"lean":true,"lines":[875,875],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.binaryCoeffTail_supportCoeff_zero_strictMinimum","origin":"ai","part":0,"phrase":"exp.remainders.infinite-witness","plain":"On an infinite support, every positive shift increases the binary coefficient tail","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":884,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":871,"lines":[875,875],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.binaryCoeffTail_supportCoeff_zero_strictMinimum","note":"","plain":"On an infinite support, every positive shift increases the binary coefficient tail","proof_lines":[875,884],"relation":"proof","annotation":"The highlighted `hA.exists_gt N` extracts a selected exponent $d>N$ from the infinitude of $A$. Put $N=k$ to recover the index needed to prove strict positivity."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b12693-12735","from_record":false,"lean":true,"lines":[862,864],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.shiftedSupportAtom_zero_lt_of_mem_of_lt","origin":"ai","part":0,"phrase":"exp.remainders.positive-contribution","plain":"A later exponent contributes positively","record":null,"relation":"states","role":"derivation","rows":[{"end_line":866,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":862,"lines":[862,864],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.shiftedSupportAtom_zero_lt_of_mem_of_lt","note":"Subtract the value at shift 0; `hdA`, `hN` and `hNd` mean $n \\in A$, $0 < k$ and $k < n$.","plain":"A later exponent contributes positively","proof_lines":[865,866],"relation":"states","annotation":"The binders `hdA`, `hN` and `hNd` give $n\\in A$ and $0<k<n$. Thus $k\\bmod n=k$ and the strict comparison of shifted atoms means that $\\ell_n(k)>0$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-split","at":"b12741-12780","from_record":false,"lean":true,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","origin":"ai","part":0,"phrase":"exp.remainders.other-contributions","plain":"Each fractional contribution is nonnegative","record":null,"relation":"states","role":"derivation","rows":[{"end_line":34,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the assertion for every natural-number base $b \\ge 2$; the paper here fixes $b = 2$.","fidelity_source":"ai","line":32,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","note":"","plain":"Each fractional contribution is nonnegative","proof_lines":[34,34],"relation":"states","annotation":"`displacementAtom_nonneg` applies separately to every exponent. Its inequality ensures that adding the remaining contributions preserves the strict gain from the one selected exponent above $k$."}],"tone":4,"topic":"remainders"},{"anchor":"sec-doubling","at":"b13579-13594","from_record":false,"lean":true,"lines":[116,128],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.doubling-zero-prefix","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The proof gives zero for each selected atom whenever `hdiv : ∀ d ∈ F, d ∣ N` holds, for every finite $F$ and integer base $b\\ge2$. Here the preceding unlinked clause supplies divisibility for the doubling exponents.","fidelity_source":"ai","line":116,"lines":[116,128],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"Supplies the zero contribution once the divisibility in the paper has been established.","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"proof","annotation":"Every early doubling exponent divides the chosen $k$, so `hdiv` holds with `F` equal to that finite group. The proof sets each remainder to zero before summing."}],"tone":7,"topic":"doubling"},{"anchor":"sec-doubling","at":"b13663-13739","from_record":false,"lean":true,"lines":[154,156],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_future_eq","origin":"ai","part":0,"phrase":"exp.doubling-future-row","plain":"Future-support displacement equals (bᴺ − 1) times the series","record":null,"relation":"part","role":"derivation","rows":[{"end_line":168,"exact_lines":true,"fidelity":"weaker","fidelity_note":"For $b=2$, $N=k$ and $A=\\{n\\}$, `hfuture` is $k<n$ and the theorem gives the equality $\\ell_n(k)=\\frac{2^k-1}{2^n-1}$. It does not state either strict inequality in this display.","fidelity_source":"ai","line":154,"lines":[154,156],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_future_eq","note":"For the singleton support {n}, gives the middle equality only.","plain":"Future-support displacement equals (bᴺ − 1) times the series","proof_lines":[157,168],"relation":"part","annotation":"For a singleton support, `hfuture` is just $k<n$. With $b=2$ the identity gives $\\ell_n(k)=(2^k-1)/(2^n-1)$. The strict bounds on either side use separate estimates."}],"tone":7,"topic":"doubling"},{"anchor":"sec-general","at":"b16238-16293","from_record":false,"lean":true,"lines":[21,22],"module":"ErdosProblems.Erdos257.PaperCompleteR8.FiniteMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.progressionMean","origin":"ai","part":0,"phrase":"exp.mean-sampling","plain":"Mean of equally spaced samples","record":null,"relation":"contains","role":"explanation","rows":[{"end_line":22,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":21,"lines":[21,22],"module":"ErdosProblems.Erdos257.PaperCompleteR8.FiniteMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.progressionMean","note":"The arguments $(m+1)L$ are $Q, 2Q, \\dots, MQ$ when $L=Q$ and $T=M$.","plain":"Mean of equally spaced samples","relation":"contains","annotation":"The term at index `m` in `Finset.range T` is sampled at `((m + 1) * L)`. Taking $L=Q$ and $T=M$ starts at $Q$ and ends at $MQ$."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b16468-16578","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.mean-zero-rows","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"states","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean applies to every finite $F$ and every integer base $b\\ge2$ at any $N$ divisible by all $d\\in F$. Here take $b=2$ and $N=mQ$; $d\\mid Q$ implies $d\\mid mQ$.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"The same initial finite set has zero remainder at every candidate mQ.","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"states","annotation":"Take `F` to be the initial group. Because each $d\\in F$ divides $Q$, it divides every $mQ$, so `hdiv` makes the same group vanish in every column."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b17616-17653","from_record":false,"lean":true,"lines":[21,22],"module":"ErdosProblems.Erdos257.PaperCompleteR8.FiniteMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.progressionMean","origin":"ai","part":0,"phrase":"exp.mean-definition","plain":"Mean of equally spaced samples","record":null,"relation":"defines","role":"definition","rows":[{"end_line":22,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":21,"lines":[21,22],"module":"ErdosProblems.Erdos257.PaperCompleteR8.FiniteMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.progressionMean","note":"Read f as R, L as Q and T as M.","plain":"Mean of equally spaced samples","relation":"defines","annotation":"Put $f(k)=R(k)$, $L=Q$ and $T=M$ in `progressionMean`. Each value in this finite mean is the total of an entire column at a single exponent $mQ$."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b17778-17867","from_record":false,"lean":true,"lines":[50,53],"module":"ErdosProblems.Erdos257.PaperCompleteR8.CountableMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.tsum_progressionMean","origin":"ai","part":0,"phrase":"exp.step.average#1","plain":"Interchanging rows and column averages","record":"exp.step.average","relation":"states","role":"statement","rows":[{"end_line":60,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The theorem covers any real family `u i N` whose columns satisfy `hu : ∀ N, Summable (fun i => u i N)`. Take `u n k = indicator A (displacementAtom 2 k) n`, $L=Q$ and $T=M$. The packet separately supplies `hu` and $R(k)=\\sum_{n\\in A}\\ell_n(k)$.","fidelity_source":"ai","line":50,"lines":[50,53],"module":"ErdosProblems.Erdos257.PaperCompleteR8.CountableMeans","name":"ErdosProblems.Erdos257.PaperCompleteR8.tsum_progressionMean","note":"Specialize to the fractional-part rows; the equality is printed in the opposite direction.","plain":"Interchanging rows and column averages","proof_lines":[54,60],"relation":"states","annotation":"Take `u` to be the selected `displacementAtom` family at $b=2$. Each column is summable, giving `hu`. `tsum_progressionMean` then equates the sum of row means with the mean of column sums, with the sides reversed from Equation (4).","annotation_references":[{"start":218,"end":230,"key":"equation:4"}]}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b18018-18102","from_record":false,"lean":true,"lines":[309,311],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.exists_lt_of_mean_lt","origin":"ai","part":0,"phrase":"exp.mean-small-column","plain":"A finite sample with mean below c has an entry below c","record":null,"relation":"states","role":"statement","rows":[{"end_line":323,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean allows any real values $f$ on any nonempty finite set $s$ and any real threshold $c$; it does not require nonnegativity. Take `s = range M`, $f(m)=R((m+1)Q)$, $c=1/q$.","fidelity_source":"ai","line":309,"lines":[309,311],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.exists_lt_of_mean_lt","note":"One candidate from the same average lies below the chosen threshold.","plain":"A finite sample with mean below c has an entry below c","proof_lines":[312,323],"relation":"states","annotation":"Apply `exists_lt_of_mean_lt` to `Finset.range M` and $f(m)=R((m+1)Q)$ with threshold $1/q$. Its witness is one index of the finite set, so all contributions in the chosen column use the same shift."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b18319-18354","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.mean-zero-preview","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"states","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean allows all $b\\ge2$ and all finite $F$. In this paragraph the earlier choice $d\\mid Q$ supplies `hdiv` at each $N=mQ$; the lemma does not make an arbitrary finite group vanish.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"Uses the divisibility requirement on Q stated above.","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"states","annotation":"For the already chosen finite group, divisibility by $Q$ supplies `hdiv` at each shift $mQ$. Its total contribution can therefore be removed before estimating the column mean."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b19676-19728","from_record":false,"lean":true,"lines":[150,159],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.sum_cycle_weight_eq","origin":"ai","part":0,"phrase":"exp.cycle-geometric-sum","plain":"Geometric sum over consecutive remainders","record":null,"relation":"states","role":"derivation","rows":[{"end_line":160,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves the normalized geometric identity for every real $B>1$ and $d>0$. With $B=2$ and $d=n$, multiplying by $2^n-1$ gives the paper’s sum of powers.","fidelity_source":"ai","line":150,"lines":[150,159],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.sum_cycle_weight_eq","note":"This is the geometric identity before subtracting one from each numerator.","plain":"Geometric sum over consecutive remainders","proof_lines":[152,160],"relation":"states","annotation":"The Lean identity sums $B^i/(B^d-1)$ for $0\\le i<d$ and $B>1$. At $B=2$ and $d=n$, multiplying by $2^n-1$ recovers the unnormalized sum used here."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b20772-20785","from_record":false,"lean":true,"lines":[159,161],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-gcd-definition","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"definition","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[159,161],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The proof uses d for n and writes gcd Q d; gcd is symmetric.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The proof defines `g := Nat.gcd Q d` using `d` for the row exponent $n$. This common factor is the spacing between the possible sampled remainders."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b20884-20891","from_record":false,"lean":true,"lines":[159,161],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-length-definition","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"definition","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[159,161],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The local $h=d/g$ is the paper’s number $c$ of samples in a cycle.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The local `h := d / g` becomes $c=n/g$ in the paper. The summation runs over `Finset.range (d / Nat.gcd Q d)`, so it contains exactly one cycle of samples."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b20964-21045","from_record":false,"lean":true,"lines":[173,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-residue-enumeration","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"statement","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[173,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The bijection `e` and `hresidue` identify the $c$ sampled remainders with $0,g,\\dots,n-g$.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The bijection `e` permutes the integers $0,\\ldots,c-1$. The identity `hresidue` multiplies those values by $g$ to obtain the remainders of the $c$ sampled exponents modulo $n$."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b21460-21543","from_record":false,"lean":true,"lines":[246,280],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit_block","origin":"ai","part":0,"phrase":"exp.cycle-period","plain":"Each complete cycle of the same row has the same sum","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":280,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":240,"lines":[246,280],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit_block","note":"hperiod gives n∣cQ, and hbperiod removes any whole number of these cycles modulo n.","plain":"Each complete cycle of the same row has the same sum","proof_lines":[246,280],"relation":"proof","annotation":"The result `hperiod` says $n\\mid cQ$. The proof uses `hbperiod` to remove any whole number of increments $cQ$ from the exponent before taking its remainder modulo $n$."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b21901-21998","from_record":false,"lean":true,"lines":[159,172],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-coprime","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[159,172],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"`hcop` states `Nat.Coprime q h`, where $q=Q/g$ and $h=n/g$.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"After defining $q=Q/g$ and $h=n/g$, the proof obtains `hcop : Nat.Coprime q h` from `Nat.coprime_div_gcd_div_gcd`. Both quotients are taken by the same gcd."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b22004-22029","from_record":false,"lean":true,"lines":[175,181],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-cancellation","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[175,181],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"`hcancel` removes the coprime multiplier $q=Q/g$ from the congruence modulo $h=n/g$.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The local equality `hcancel` uses coprimality to cancel $Q/g$ from a congruence modulo $n/g$. The remaining congruence compares the two sample indices incremented by one."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b22389-22426","from_record":false,"lean":true,"lines":[173,195],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-distinct","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[173,195],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"heinj proves distinct reduced residues; hresidue multiplies them by the positive g.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"To prove `heinj`, the code cancels the coprime factor in the equality of reduced residues and then cancels the common offset $1$. Since both indices are less than $n/g$, congruence modulo $n/g$ implies equality."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b22470-22521","from_record":false,"lean":true,"lines":[187,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-exhaustion","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[187,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"hebij gives all possible remainders in the first cycle.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The set `Fin h` has the same size as the domain and codomain of `e`. Thus injectivity gives the bijection `hebij`, which, together with `hresidue`, shows that the first cycle exhausts the possible remainders once each."},{"end_line":280,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":240,"lines":[258,280],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit_block","note":"The pointwise modular equality repeats that first cycle in each later block.","plain":"Each complete cycle of the same row has the same sum","proof_lines":[246,280],"relation":"proof","annotation":"For each index within a later block, the proof removes a multiple of $n$ from the exponent before taking its remainder. This matches the first cycle term by term and preserves its enumeration."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b22642-22725","from_record":false,"lean":true,"lines":[196,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.cycle-reordering","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The proof reindexes the powers over every complete sampled orbit for arbitrary positive $Q,n$. For $Q=4,n=6$ it is the displayed permutation; subtracting the common constant per term and dividing by the unchanged count preserves the fractional-part mean.","fidelity_source":"ai","line":153,"lines":[196,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The argument reorders values for comparison; it does not change the candidate exponents.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"`hsumPerm` reindexes the sum of powers by `e`. For $Q=4$ and $n=6$ this permutes the three remainders $4,2,0$ into $0,2,4$. Subtracting the same baseline per term and dividing by three preserves the equality of means."}],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b26195-26250","from_record":false,"lean":false,"lines":null,"module":null,"name":null,"origin":"ai","part":0,"phrase":"exp.step.cycle_bound#1","record":"exp.step.cycle_bound","role":"explanation","rows":[],"tone":5,"topic":"cycle-averages"},{"anchor":"sec-general","at":"b27066-27149","from_record":false,"lean":true,"lines":[422,425],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_mul_le_inv_pow_gap_of_lt","origin":"ai","part":0,"phrase":"exp.incomplete-before-cycle","plain":"Pre-cycle sum bound 2^(1 − d + KQ) when KQ < d","record":null,"relation":"part","role":"explanation","rows":[{"end_line":488,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":422,"lines":[422,425],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_mul_le_inv_pow_gap_of_lt","note":"The hypothesis `hnowrap : K*Q<d` is precisely $MQ<n$.","plain":"Pre-cycle sum bound 2^(1 − d + KQ) when KQ < d","proof_lines":[426,488],"relation":"part","annotation":"With `K = M` and `d = n`, `hnowrap` says the largest sampled exponent $MQ$ is strictly less than $n$. Each sampled remainder is then the sampled exponent itself."}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"sec-general","at":"b27250-27312","from_record":false,"lean":false,"lines":null,"module":null,"name":null,"origin":"ai","part":0,"phrase":"exp.step.uniform_bound#1","record":"exp.step.uniform_bound","role":"explanation","rows":[],"tone":6,"topic":"incomplete-cycles"},{"anchor":"sec-general","at":"b28505-28618","from_record":false,"lean":true,"lines":[1139,1145],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.sum_range_eq_mul_blockSum_add_blockRemainder","origin":"ai","part":0,"phrase":"exp.incomplete-decomposition","plain":"Complete cycles and a remainder","record":null,"relation":"states","role":"derivation","rows":[{"end_line":1161,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean gives this sum decomposition for any real sequence whose aligned length-h blocks all have the same sum `hblock`. Here $h=n$, $N=MQ$ and $x_j=\\ell_n(j+1)$; periodicity supplies `hblock`.","fidelity_source":"ai","line":1139,"lines":[1139,1145],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.sum_range_eq_mul_blockSum_add_blockRemainder","note":"Natural division counts the complete blocks and natural remainder counts the unfinished entries.","plain":"Complete cycles and a remainder","proof_lines":[1146,1161],"relation":"states","annotation":"Use $x_j=\\ell_n(j+1)$, block length $n$ and $N=MQ$. Periodicity gives `hblock`. The quotient $N/n$ rounded down counts the whole blocks, and `blockRemainder` sums the first $N\\bmod n$ entries of the next block."}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"sec-general","at":"b28880-28910","from_record":false,"lean":true,"lines":[116,128],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.incomplete-unit-row","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"part","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean handles all finite sets of divisors at every $b\\ge2$. Specialize $F=\\{1\\}$, $b=2$ and $N=k$; 1 divides every $k$, so its single remainder is zero.","fidelity_source":"ai","line":116,"lines":[116,128],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"The special $n=1$ row is zero for every candidate.","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"part","annotation":"Take `F` to be $\\{1\\}$. Because $1$ divides every shift, `hdiv` holds for every column and the single fractional contribution vanishes in any base $b\\ge2$."}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"sec-general","at":"b29022-29074","from_record":false,"lean":true,"lines":[363,368],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.blockRemainder_le_blockSum","origin":"ai","part":0,"phrase":"exp.incomplete-remove-entries","plain":"Partial cycles have no larger sums","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":368,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":356,"lines":[363,368],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.blockRemainder_le_blockSum","note":"The proof uses the same removal principle; it does not establish the paper’s $2Q/n$ estimate.","plain":"Partial cycles have no larger sums","proof_lines":[363,368],"relation":"proof","annotation":"The proof includes `Finset.range (N % h)` in the full block `Finset.range h`, then applies `Finset.sum_le_sum_of_subset_of_nonneg` using `hx0`. This is the removal step in the argument for the separate $2Q/n$ estimate in Equation (6).","annotation_references":[{"start":221,"end":233,"key":"equation:6"}]}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"sec-proof","at":"b30575-30629","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.combine.numeric-prefix-zero","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean lemma applies to every finite set $F$ of exponents and every integer base $b \\ge 2$, provided each $d \\in F$ divides $N$; this passage applies it to the stated base-2 prefix.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"proof","annotation":"The four displayed exponents divide $16$, hence also $16m$. That divisibility is the input `hdiv` that gives zero contribution at every candidate in this finite example."}],"tone":3,"topic":"combining-estimates"},{"anchor":"sec-proof","at":"b33625-33693","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.combine.prefix-zero","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean lemma applies to every finite set $F$ of exponents and every integer base $b \\ge 2$, provided each $d \\in F$ divides $N$; this passage applies it to the stated base-2 prefix.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"proof","annotation":"The chosen $Q$ is a common multiple of the initial exponents, so `hdiv` holds for each sample $mQ$. The lemma makes the contribution from that finite group zero before any averaging."}],"tone":3,"topic":"combining-estimates"},{"anchor":"sec-proof","at":"b34712-34735","from_record":false,"lean":true,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.combine.conclusion","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"states","role":"mention","rows":[{"end_line":456,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":395,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"Opens the same conclusion, reached by the separate formal proof.","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"states","annotation":"The formal theorem yields `Irrational (erdosSupportSeries 2 A)` from `hA` and `hsum` for an infinite support with summable reciprocal exponents. Its more general base parameter permits any natural $b\\ge2$."}],"tone":3,"topic":"combining-estimates"},{"anchor":"sec-proof","at":"b34752-34804","from_record":false,"lean":true,"lines":[64,66],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_pos","origin":"ai","part":0,"phrase":"exp.combine.positivity-role","plain":"Infinite selections give positive remainders","record":null,"relation":"states","role":"explanation","rows":[{"end_line":69,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":64,"lines":[64,66],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_pos","note":"","plain":"Infinite selections give positive remainders","proof_lines":[67,69],"relation":"states","annotation":"The hypothesis `hA` supplies a selected exponent beyond the positive shift `N`. Its atom contributes strictly positively, so the sum of all contributions remains positive by nonnegativity."}],"tone":3,"topic":"combining-estimates"},{"anchor":"sec-limits","at":"b35185-35318","from_record":false,"lean":true,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.scope.all-bases","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"states","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The paper selects positive exponents. Lean additionally permits exponent 0, normalized to zero in both series; all other hypotheses and the all-base conclusion agree.","fidelity_source":"ai","line":395,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"states","annotation":"The assumptions `hA` and `hsum` are the first two conditions in the display. Lean permits $0\\in A$, with both series assigning that index zero. For positive exponents the conclusion is the same for all natural bases $b\\ge2$."}],"tone":2,"topic":"scope"},{"anchor":"sec-limits","at":"b35385-35411","from_record":false,"lean":true,"lines":[25,26],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom","origin":"ai","part":0,"phrase":"exp.scope.radix-fraction","plain":"One fractional contribution","record":null,"relation":"defines","role":"definition","rows":[{"end_line":26,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":25,"lines":[25,26],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom","note":"","plain":"One fractional contribution","relation":"defines","annotation":"At a positive exponent `d = n`, expanding the two `shiftedRadixAtom` values at `N = k` and at $0$ gives the displayed quotient. The exponent-zero branch of the atoms contributes zero."}],"tone":2,"topic":"scope"},{"anchor":"sec-limits","at":"b35819-35871","from_record":false,"lean":true,"lines":[1539,1540],"module":"Erdos249257.DyadicPrefixCompression","name":"Erdos249257.erdosSupportSeries_finset_eq_cast_finiteErdosSum","origin":"ai","part":0,"phrase":"exp.scope.finite-selection","plain":"Finite selections have rational sums","record":null,"relation":"states","role":"statement","rows":[{"end_line":1554,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean proves rationality of every finite base-2 selection, not only a selection of square exponents. It does not contain the later all-base corollary.","fidelity_source":"ai","line":1539,"lines":[1539,1540],"module":"Erdos249257.DyadicPrefixCompression","name":"Erdos249257.erdosSupportSeries_finset_eq_cast_finiteErdosSum","note":"","plain":"Finite selections have rational sums","proof_lines":[1541,1554],"relation":"states","annotation":"`erdosSupportSeries_finset_eq_cast_finiteErdosSum` identifies a finite base-two selection with the real cast of a rational sum. Take `F` to be the finitely many retained square exponents. The later statement for all bases lies outside this lemma."}],"tone":2,"topic":"scope"},{"anchor":"sec-limits","at":"b36508-36534","from_record":false,"lean":true,"lines":[9045,9046],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_erdosSupportSeries_univ","origin":"ai","part":0,"phrase":"exp.scope.full-series-irrational","plain":"The full series is irrational","record":null,"relation":"states","role":"statement","rows":[{"end_line":9048,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The cited declaration proves irrationality of the full series for every integer base $b \\ge 2$; this phrase concerns base 2.","fidelity_source":"ai","line":9045,"lines":[9045,9046],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_erdosSupportSeries_univ","note":"","plain":"The full series is irrational","proof_lines":[9047,9048],"relation":"states","annotation":"`Set.univ` selects every exponent, so the theorem gives the full series at $b=2$. It applies to all natural bases $b\\ge2$ and treats the term at exponent zero as zero."}],"tone":2,"topic":"scope"},{"anchor":"app-full","at":"b38627-38656","from_record":false,"lean":true,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","origin":"ai","part":0,"phrase":"exp.appendix.geometric-sum","plain":"Geometric sums and their tails","record":null,"relation":"states","role":"statement","rows":[{"end_line":290,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean states the exact geometric tail after every natural cutoff; set $n=0$ for this sum.","fidelity_source":"ai","line":285,"lines":[285,286],"module":"Erdos249257.GreedyAchievementSet","name":"Erdos249257.tsum_half_nat_add_succ","note":"The source index $k$ starts at zero, so its exponent $k+1$ is the paper’s $j$.","plain":"Geometric sums and their tails","proof_lines":[287,290],"relation":"states","annotation":"Setting the cutoff to $n=0$ leaves the exponents $k+1$ in `tsum_half_nat_add_succ`. The index $k=0$ gives the first term $2^{-1}$ and the terminal value is $1$."}],"tone":0,"topic":"series"},{"anchor":"app-full","at":"b38768-38847","from_record":false,"lean":true,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","origin":"ai","part":0,"phrase":"exp.appendix.convergence","plain":"Convergence of every selected series","record":null,"relation":"states","role":"statement","rows":[{"end_line":8933,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":8902,"lines":[8902,8904],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.summable_erdosSupport_indicator","note":"","plain":"Convergence of every selected series","proof_lines":[8905,8933],"relation":"states","annotation":"The only hypothesis on the summable Mersenne family is `hb : 2 ≤ b`. In particular the statement imposes no summability condition on the reciprocal exponents of the arbitrary set `A`."}],"tone":0,"topic":"series"},{"anchor":"app-full","at":"b38927-38958","from_record":false,"lean":true,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","origin":"ai","part":0,"phrase":"exp.appendix.nonnegative-terms","plain":"Each fractional contribution is nonnegative","record":null,"relation":"states","role":"statement","rows":[{"end_line":34,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":32,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","note":"","plain":"Each fractional contribution is nonnegative","proof_lines":[34,34],"relation":"states","annotation":"`displacementAtom b N d` is the shifted term minus its baseline at exponent $d$. At $b=2$, $N=k$ and $d=n>0$, its nonnegativity is precisely $\\ell_n(k)\\ge0$."}],"tone":4,"topic":"remainders"},{"anchor":"app-full","at":"b38963-38988","from_record":false,"lean":true,"lines":[131,133],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_le_amplified","origin":"ai","part":0,"phrase":"exp.appendix.term-bound","plain":"A bound by the multiplied term","record":null,"relation":"states","role":"statement","rows":[{"end_line":136,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":131,"lines":[131,133],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_le_amplified","note":"","plain":"A bound by the multiplied term","proof_lines":[134,136],"relation":"states","annotation":"The proof uses $N\\bmod d\\le N$ to bound the residue numerator by $b^N-1$. Set $b=2$, $N=k$ and $d=n$ to obtain the stated upper bound."}],"tone":4,"topic":"remainders"},{"anchor":"app-full","at":"b38993-39009","from_record":false,"lean":true,"lines":[37,38],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.summable_displacementAtom","origin":"ai","part":0,"phrase":"exp.appendix.remainder-converges","plain":"Convergence of the total remainder","record":null,"relation":"states","role":"statement","rows":[{"end_line":45,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":37,"lines":[37,38],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.summable_displacementAtom","note":"","plain":"Convergence of the total remainder","proof_lines":[39,45],"relation":"states","annotation":"At $b=2$ the family `Set.indicator A (displacementAtom b N)` is exactly the sequence of selected fractional contributions at shift $N$. The `Summable` conclusion justifies the sum $R(N)$ for every support."}],"tone":4,"topic":"remainders"},{"anchor":"app-full","at":"b40388-40418","from_record":false,"lean":true,"lines":[171,172],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.appendix.reduced-coprime","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[171,172],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The source uses $q = Q/g$ and $h = n/g$ for the paper’s $u$ and $c$.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The proof names the two quotients `q` and `h`. The assertion `hcop : Nat.Coprime q h` is coprimality of the paper’s $u=Q/g$ and $c=n/g$ after removing their common factor $g$."}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b40769-40814","from_record":false,"lean":true,"lines":[173,188],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.appendix.distinct-remainders","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[173,188],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The residue map is injective, hence bijective on the finite cycle.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The assertion `heinj` is injectivity of the map `e` sending each sample index to its reduced residue modulo $c$. Multiplying by the positive gcd $g$ preserves distinctness of the first $c$ sampled remainders."}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b40843-40987","from_record":false,"lean":true,"lines":[187,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","origin":"ai","part":0,"phrase":"exp.appendix.every-cycle-remainder","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":236,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":153,"lines":[187,201],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.sum_shiftedMersenneAtom_gcdOrbit","note":"The bijective map gives each residue g times an index exactly once.","plain":"A full cycle sums to 1/(2ᵍ − 1), where g = gcd(Q,d)","proof_lines":[158,236],"relation":"proof","annotation":"The identity `hresidue` writes each sampled remainder as $g$ times a value of `e`. Since `hebij` makes `e` a bijection on $0,\\ldots,c-1$, each possible multiple of $g$ below $n$ occurs once."}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b41664-41699","from_record":false,"lean":true,"lines":[701,707],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tsum_cesaroMean_shiftedSupportAtom_mul","origin":"ai","part":0,"phrase":"exp.appendix.add-row-averages","plain":"Sum rows or average columns","record":null,"relation":"proof","role":"mention","rows":[{"end_line":712,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean theorem gives the equality for the full sum directly, for every set $A$ and every $Q,K$, including zero under its conventions. Subtract $S_A$ from its shifted sums when $K > 0$ to obtain the paper’s equality.","fidelity_source":"ai","line":701,"lines":[701,707],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tsum_cesaroMean_shiftedSupportAtom_mul","note":"","plain":"Sum rows or average columns","proof_lines":[708,712],"relation":"proof","annotation":"`tsum_cesaroMean_shiftedSupportAtom_mul` interchanges the infinite row sum and finite average for shifted atoms. For $K>0$ each mean subtracts the same unshifted contribution, giving the fractional-part version in Equation (4).","annotation_references":[{"start":214,"end":226,"key":"equation:4"}]}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b42170-42203","from_record":false,"lean":true,"lines":[150,151],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.sum_cycle_weight_eq","origin":"ai","part":0,"phrase":"exp.appendix.radix-geometric-sum","plain":"Geometric sum over consecutive remainders","record":null,"relation":"states","role":"derivation","rows":[{"end_line":160,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean gives the normalized identity for every real $B>1$ and positive $d$. Set $B=b$ and $d=n$, then multiply by the positive denominator $b^n-1$.","fidelity_source":"ai","line":150,"lines":[150,151],"module":"ErdosProblems.Erdos257.PaperCompleteR7.CoverKernel","name":"ErdosProblems.Erdos257.PaperCompleteR7.sum_cycle_weight_eq","note":"The source divides both sides of this geometric identity by $b^n-1$.","plain":"Geometric sum over consecutive remainders","proof_lines":[152,160],"relation":"states","annotation":"Use `B` for $b$ and `d` for $n$ in `sum_cycle_weight_eq`. Multiplying the normalized identity by $b^n-1>0$ gives the paper’s geometric sum."}],"tone":2,"topic":"scope"},{"anchor":"app-full","at":"b42949-43042","from_record":false,"lean":true,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.appendix.other-bases-conclusion","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"states","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The statement agrees for positive exponents at all integer bases $b \\ge 2$. Lean also allows exponent 0, which contributes zero; this link supports the conclusion, not the finite proof just described.","fidelity_source":"ai","line":395,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"states","annotation":"The general base `b` is a parameter of the formal conclusion. `hA` requires infinitely many exponents and `hsum` requires their reciprocals to be summable. This is a statement-level link to the all-base result in Theorem A.1 of the short paper.","annotation_references":[{"start":213,"end":224,"key":"short/theorem:a.1"}]}],"tone":2,"topic":"scope"},{"anchor":"app-full","at":"b43396-43612","from_record":false,"lean":true,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.formal.theorem-statement","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"states","role":"statement","rows":[{"end_line":456,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":395,"lines":[395,398],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"states","annotation":"The signature separates `hb` for the base bound, `hA` for infinite support and `hsum` for the sum of reciprocal exponents. The output is `Irrational (erdosSupportSeries b A)` for those same `b` and `A`."}],"tone":2,"topic":"scope"},{"anchor":"app-full","at":"b43694-43739","from_record":false,"lean":true,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","origin":"ai","part":0,"phrase":"exp.formal.zero-convention","plain":"The selected reciprocal series","record":null,"relation":"part","role":"explanation","rows":[{"end_line":8898,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":8897,"lines":[8897,8898],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.erdosSupportSeries","note":"","plain":"The selected reciprocal series","relation":"part","annotation":"At exponent $0$, the Mersenne denominator in `erdosSupportSeries` is $b^0-1=0$. Lean's real division gives zero there, including when $0$ is selected."},{"end_line":790,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":789,"lines":[789,790],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.reciprocalSupportTerm","note":"","plain":"Reciprocals of selected exponents","relation":"part","annotation":"The division in `reciprocalSupportTerm A 0` has denominator $0$, so Lean assigns it zero even if $0\\in A$. The indicator also assigns zero when $0\\notin A$."}],"tone":0,"topic":"series"},{"anchor":"app-full","at":"b44653-44720","from_record":false,"lean":true,"lines":[270,273],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.shiftedRadixAtom_sub_zero_le_two_mul_binary_sub_zero","origin":"ai","part":0,"phrase":"exp.formal.base-transfer","plain":"A base-b fractional contribution is at most twice its base-two counterpart","record":null,"relation":"states","role":"derivation","rows":[{"end_line":347,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":270,"lines":[270,273],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.shiftedRadixAtom_sub_zero_le_two_mul_binary_sub_zero","note":"","plain":"A base-b fractional contribution is at most twice its base-two counterpart","proof_lines":[274,347],"relation":"states","annotation":"The two differences of atoms subtract the baseline at shift zero. At every positive exponent the inequality therefore bounds the base-$b$ fractional contribution by twice the corresponding base-$2$ contribution, under $b\\ge2$."}],"tone":2,"topic":"scope"},{"anchor":"app-full","at":"b44842-44897","from_record":false,"lean":true,"lines":[47,48],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_eq_tsum","origin":"ai","part":0,"phrase":"exp.formal.shifted-bridge","plain":"The sum of fractional contributions","record":null,"relation":"states","role":"derivation","rows":[{"end_line":56,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":47,"lines":[47,48],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_eq_tsum","note":"","plain":"The sum of fractional contributions","proof_lines":[49,56],"relation":"states","annotation":"At base $2$, expanding `displacement` on the left gives the shifted sum minus $S_A$. The right side is the sum of separate fractional parts $R(k)$. Moving $S_A$ to the right gives the display."}],"tone":4,"topic":"remainders"},{"anchor":"app-full","at":"b44898-44927","from_record":false,"lean":true,"lines":[764,765],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tsum_shiftedSupportAtom_zero","origin":"ai","part":0,"phrase":"exp.formal.initial-value","plain":"The original sum at zero shift","record":null,"relation":"states","role":"statement","rows":[{"end_line":771,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":764,"lines":[764,765],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tsum_shiftedSupportAtom_zero","note":"","plain":"The original sum at zero shift","proof_lines":[766,771],"relation":"states","annotation":"At shift zero the sum of `shiftedSupportAtom A 0 d` equals `erdosSupportSeries 2 A`. Every positive selected exponent has remainder zero, so its shifted numerator is $2^0=1$."}],"tone":4,"topic":"remainders"},{"anchor":"app-full","at":"b45153-45198","from_record":false,"lean":true,"lines":[618,623],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tendsto_cesaroMean_shiftedSupportAtom_mul","origin":"ai","part":0,"phrase":"exp.formal.row-limit","plain":"Row averages approach cycle means","record":null,"relation":"proof","role":"statement","rows":[{"end_line":631,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":618,"lines":[618,623],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tendsto_cesaroMean_shiftedSupportAtom_mul","note":"Subtract the fixed baseline from both sides of the displayed shifted-row convergence.","plain":"Row averages approach cycle means","proof_lines":[624,631],"relation":"proof","annotation":"With positive `Q` and the exponent `d` fixed, the theorem sends the length `K` to infinity. Its limit is the mean of the shifted cycle. Subtract the constant contribution at shift zero to obtain the fractional-part cycle mean."}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b45200-45250","from_record":false,"lean":true,"lines":[1196,1209],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.tendsto_cesaroMean_of_constant_blocks","origin":"ai","part":0,"phrase":"exp.formal.last-cycle","plain":"An unfinished cycle vanishes in average","record":null,"relation":"proof","role":"explanation","rows":[{"end_line":1215,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":1180,"lines":[1196,1209],"module":"Erdos249257.RationalSupportCarrySkeleton","name":"Erdos249257.tendsto_cesaroMean_of_constant_blocks","note":"The unfinished block divided by the total length tends to zero.","plain":"An unfinished cycle vanishes in average","proof_lines":[1186,1215],"relation":"proof","annotation":"The sequence is between zero and one by `hx0` and `hx1`. The last incomplete block has fewer than $h$ entries, so its contribution to an average of length $N$ is bounded by $h/N$, which tends to zero."}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"app-full","at":"b45278-45320","from_record":false,"lean":true,"lines":[494,497],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.cesaroMean_shiftedMersenneAtom_mul_le","origin":"ai","part":0,"phrase":"exp.formal.uniform-bound","plain":"Uniform base-two row-average bound 2(Q + 1)/d","record":null,"relation":"states","role":"statement","rows":[{"end_line":606,"exact_lines":true,"fidelity":"stronger","fidelity_note":"Lean bounds the average of $\\ell_n(mQ)+\\frac{1}{2^n-1}$ by $\\frac{2(Q+1)}{n}$, for $Q,K > 0$; subtracting its nonnegative baseline gives the paper’s fractional-part bound.","fidelity_source":"ai","line":494,"lines":[494,497],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.cesaroMean_shiftedMersenneAtom_mul_le","note":"","plain":"Uniform base-two row-average bound 2(Q + 1)/d","proof_lines":[498,606],"relation":"states","annotation":"The bound $2(Q+1)/d$ is for the mean of `shiftedMersenneAtom` at $Q,2Q,\\ldots,KQ$, for positive $Q$ and $K$. At $d=n>0$, subtracting $1/(2^n-1)$ from each shifted value gives the fractional-part mean and can only lower it."}],"tone":6,"topic":"incomplete-cycles"},{"anchor":"app-full","at":"b45322-45458","from_record":false,"lean":true,"lines":[724,733],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tendsto_cesaroMean_tsum_shiftedSupportAtom_mul","origin":"ai","part":0,"phrase":"exp.formal.interchange-limit","plain":"Reciprocal summability allows the limit inside the row sum","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":733,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":716,"lines":[724,733],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.tendsto_cesaroMean_tsum_shiftedSupportAtom_mul","note":"The fixed-Q reciprocal bound supplies dominated convergence for the infinite sum.","plain":"Reciprocal summability allows the limit inside the row sum","proof_lines":[724,733],"relation":"proof","annotation":"The proof multiplies the summability assumption `hsum` by $2(Q+1)$ to obtain `hbound`. For this fixed $Q$ the resulting majorant covers every averaging length `K`, so the limit in `K` may pass through the sum over exponents."}],"tone":5,"topic":"cycle-averages"},{"anchor":"app-full","at":"b45480-45513","from_record":false,"lean":true,"lines":[515,517],"module":"Erdos249257.CarrySurvivorExtinction","name":"Erdos249257.TotientTailPeriodKiller.periodLcm","origin":"ai","part":0,"phrase":"exp.formal.lcm-choice","plain":"A common multiple of initial exponents","record":null,"relation":"defines","role":"definition","rows":[{"end_line":517,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":515,"lines":[515,517],"module":"Erdos249257.CarrySurvivorExtinction","name":"Erdos249257.TotientTailPeriodKiller.periodLcm","note":"","plain":"A common multiple of initial exponents","relation":"defines","annotation":"`periodLcm` starts with $1$ and takes `Nat.lcm` with $t+1$ at the successor step. Thus `periodLcm t` is the prescribed modulus for the second limit."}],"tone":3,"topic":"combining-estimates"},{"anchor":"app-full","at":"b45515-45563","from_record":false,"lean":true,"lines":[525,525],"module":"Erdos249257.CarrySurvivorExtinction","name":"Erdos249257.TotientTailPeriodKiller.dvd_periodLcm","origin":"ai","part":0,"phrase":"exp.formal.initial-means-zero","plain":"Initial exponents divide the common multiple","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":534,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":525,"lines":[525,525],"module":"Erdos249257.CarrySurvivorExtinction","name":"Erdos249257.TotientTailPeriodKiller.dvd_periodLcm","note":"","plain":"Initial exponents divide the common multiple","proof_lines":[526,534],"relation":"proof","annotation":"With $h=n$, the hypotheses `h1` and `ht` give $1\\le n\\le t$. The conclusion makes every observation at a multiple of `periodLcm t` divisible by that $n$."},{"end_line":149,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":142,"lines":[142,144],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.shiftedSupportOrbitMean_eq_zero_of_dvd","note":"The shifted mean equals its baseline; subtracting it gives zero.","plain":"The cycle mean equals the zero-shift value when d divides Q","proof_lines":[145,149],"relation":"proof","annotation":"At positive exponent $d$ dividing $Q$, `shiftedSupportOrbitMean` equals the value at shift zero. Subtracting that value makes the fractional-part mean zero."}],"tone":3,"topic":"combining-estimates"},{"anchor":"app-full","at":"b45565-45619","from_record":false,"lean":true,"lines":[116,118],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.shiftedSupportOrbitMean_le_reciprocalSupportTerm","origin":"ai","part":0,"phrase":"exp.formal.other-means-bound","plain":"Cycle means have reciprocal bounds","record":null,"relation":"states","role":"statement","rows":[{"end_line":123,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The source bounds the shifted mean itself by the selected reciprocal term for every $Q,d$. Subtracting its nonnegative baseline bounds the fractional-part mean, for the paper’s $n > t$.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.shiftedSupportOrbitMean_le_reciprocalSupportTerm","note":"","plain":"Cycle means have reciprocal bounds","proof_lines":[119,123],"relation":"states","annotation":"`reciprocalSupportTerm A d` is $1/d$ at selected positive exponents. It bounds the shifted mean for every `Q`, so the same bound applies after subtracting the nonnegative baseline and holds uniformly as $t$ grows."}],"tone":3,"topic":"combining-estimates"},{"anchor":"app-full","at":"b45695-45788","from_record":false,"lean":true,"lines":[965,983],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.exists_shiftedSupportAtom_closeReturn_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.formal.choose-witness","plain":"Reciprocal summability gives arbitrarily small positive-shift remainders","record":null,"relation":"proof","role":"explanation","rows":[{"end_line":1009,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":957,"lines":[965,983],"module":"Erdos249257.ReciprocalSupportIrrationality","name":"Erdos249257.exists_shiftedSupportAtom_closeReturn_of_summable_reciprocal","note":"The proof chooses the LCM step before choosing the averaging length.","plain":"Reciprocal summability gives arbitrarily small positive-shift remainders","proof_lines":[963,1009],"relation":"proof","annotation":"The proof first uses `houter` to choose a large `P` with small total mean for `periodLcm P`. At that fixed step it increases the averaging length until a finite average is within the required error.","annotation_references":[{"start":172,"end":198,"key":"section:7.2"}]}],"tone":3,"topic":"combining-estimates"},{"anchor":"app-full","at":"b45964-46016","from_record":false,"lean":true,"lines":[441,455],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","origin":"ai","part":0,"phrase":"exp.formal.integer-gap","plain":"Irrationality from summable exponent reciprocals","record":"exp.thm-main","relation":"proof","role":"derivation","rows":[{"end_line":456,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The proof obtains $0<u(N)-u(0)<1$ for every base $b \\ge 2$. Its identity $u(N)-u(0)=v(T(N)-T(0))$ is $vR_b(N)$; the paper writes $qR(k)$ at base 2.","fidelity_source":"ai","line":395,"lines":[441,455],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.irrational_erdosSupportSeries_of_summable_reciprocal","note":"The denominator is v in Lean; the integer difference is v times the total remainder.","plain":"Irrationality from summable exponent reciprocals","proof_lines":[399,456],"relation":"proof","annotation":"The integer `u N - u 0` is the denominator `v` times the increase of the shifted sum. At $b=2$, $N=k$ and $v=q$, it is $qR(k)$. The local results `hgapPos` and `hgapLt` put it strictly between $0$ and $1$ (Equation (1)).","annotation_references":[{"start":206,"end":218,"key":"equation:1"}]}],"tone":1,"topic":"rational-gap"},{"anchor":"app-answers","at":"b49252-49288","from_record":false,"lean":true,"lines":[251,251],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.shiftedRadixSupportAtom_zero_strictMinimum","origin":"ai","part":0,"phrase":"exp.answers.positive-witness","plain":"On an infinite support, every positive shift increases the base-b sum","record":null,"relation":"proof","role":"explanation","rows":[{"end_line":264,"exact_lines":true,"fidelity":"same","fidelity_source":"ai","line":246,"lines":[251,251],"module":"Erdos249257.AllBaseReciprocalSupportIrrationality","name":"Erdos249257.shiftedRadixSupportAtom_zero_strictMinimum","note":"The source’s hA.exists_gt N supplies exactly the selected exponent beyond N.","plain":"On an infinite support, every positive shift increases the base-b sum","proof_lines":[251,264],"relation":"proof","annotation":"The line `hA.exists_gt N` uses infinite support to choose an exponent $d\\in A$ above $N$. At $N=k$ this is the selected row whose shifted value strictly increases."}],"tone":1,"topic":"rational-gap"},{"anchor":"app-answers","at":"b49386-49432","from_record":false,"lean":true,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","origin":"ai","part":0,"phrase":"exp.answers.nonnegative-others","plain":"Each fractional contribution is nonnegative","record":null,"relation":"states","role":"statement","rows":[{"end_line":34,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean statement allows every integer base $b \\ge 2$, while this passage uses $b = 2$; its exponent-zero convention adds only zero.","fidelity_source":"ai","line":32,"lines":[32,33],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacementAtom_nonneg","note":"","plain":"Each fractional contribution is nonnegative","proof_lines":[34,34],"relation":"states","annotation":"For every remaining exponent the inequality `0 ≤ displacementAtom b N d` gives a nonnegative change when $b\\ge2$. Consequently those rows cannot cancel the strictly positive change at the chosen exponent."}],"tone":1,"topic":"rational-gap"},{"anchor":"app-answers","at":"b52190-52198","from_record":false,"lean":true,"lines":[6120,6123],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","origin":"ai","part":0,"phrase":"exp.answers.sqrt-test","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","record":null,"relation":"states","role":"mention","rows":[{"end_line":6144,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The source permits signed integer witnesses and uses absolute error, so the paper’s positive-gap test is a special case. The square-root recurrence that supplies the witnesses here is not formalized in the packet.","fidelity_source":"ai","line":6120,"lines":[6120,6123],"module":"Erdos249257.CertificateKernel","name":"Erdos249257.irrational_of_int_mul_near_int","note":"","plain":"Arbitrarily small positive integer-multiple errors imply irrationality","proof_lines":[6124,6144],"relation":"states","annotation":"`irrational_of_int_mul_near_int` applies once integers with a nonzero absolute error below $1/q$ are supplied for each positive $q$. The example uses positive errors. Its square-root recurrence supplies the witnesses separately in the paper."}],"tone":1,"topic":"rational-gap"},{"anchor":"app-answers","at":"b52846-52902","from_record":false,"lean":true,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","origin":"ai","part":0,"phrase":"exp.answers.other-multiples","plain":"Zero displacement at a common multiple of the finite support","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"stronger","fidelity_note":"The Lean lemma applies to every finite set $F$ of exponents and every integer base $b \\ge 2$, provided each $d \\in F$ divides $N$; this passage applies it to the stated base-2 prefix.","fidelity_source":"ai","line":116,"lines":[116,118],"module":"ErdosProblems.Erdos257.PaperCompleteR7.Displacement","name":"ErdosProblems.Erdos257.PaperCompleteR7.displacement_finset_eq_zero","note":"","plain":"Zero displacement at a common multiple of the finite support","proof_lines":[119,128],"relation":"proof","annotation":"If every exponent in the finite initial group divides $P_j$, then it divides every multiple $N$ of $P_j$. That is precisely `hdiv`, which sets their total displacement to zero at all those multiples."}],"tone":3,"topic":"combining-estimates"}],"topics":[{"dark":"oklch(0.561 0.159 45.4)","description":"Distinguish the reciprocal Mersenne series from the reciprocal-exponent hypothesis and state the irrationality theorem.","family":"family-series","id":"series","light":"oklch(0.396 0.112 45.4)","name":"The chosen exponents and their sums","part":0,"tone":0},{"dark":"oklch(0.685 0.164 58.0)","description":"A nonzero integer multiple of a fraction differs from an integer by at least a fixed positive amount.","family":"family-series","id":"rational-gap","light":"oklch(0.520 0.124 58.0)","name":"A rational number’s fixed gap","part":0,"tone":1},{"dark":"oklch(0.809 0.155 70.6)","description":"Explain the extension to other integer bases, the consequences for selected series and the limits of the result.","family":"family-series","id":"scope","light":"oklch(0.644 0.139 70.6)","name":"Consequences and other bases","part":0,"tone":2},{"dark":"oklch(0.536 0.180 142.9)","description":"Use initial zeros and small later contributions while preserving the order of the choices.","family":"family-remainders","id":"combining-estimates","light":"oklch(0.371 0.124 142.9)","name":"Combining the estimates","part":0,"tone":3},{"dark":"oklch(0.660 0.161 155.5)","description":"Calculate each selected term’s leftover contribution and add the contributions to obtain the total remainder.","family":"family-remainders","id":"remainders","light":"oklch(0.495 0.121 155.5)","name":"Multiplication and fractional parts","part":0,"tone":4},{"dark":"oklch(0.784 0.158 168.1)","description":"Average complete attempts, understand the sampled residue cycles and obtain a small column from a small mean.","family":"family-remainders","id":"cycle-averages","light":"oklch(0.619 0.125 168.1)","name":"Averaging complete cycles","part":0,"tone":5},{"dark":"oklch(0.700 0.158 257.0)","description":"Control row averages when the chosen number of samples does not complete a cycle.","family":"family-incomplete-cycles","id":"incomplete-cycles","light":"oklch(0.535 0.190 257.0)","name":"Unfinished cycles","part":0,"tone":6},{"dark":"oklch(0.660 0.190 339.0)","description":"Use exponents 2, 4, 8 and so on to see earlier terms disappear and the remaining total become small.","family":"family-doubling","id":"doubling","light":"oklch(0.495 0.190 339.0)","name":"The doubling exponents","part":0,"tone":7}]}