Lean source theorem: primitive_cubic_unit_constant_of_zero_lower_density
ProvedErdosProblems.Erdos243.PaperCompleteR11.primitive_cubic_unit_constant_of_zero_lower_densityerdos-243support-lemma
If a natural sequence has coprime adjacent terms on a tail and disagrees with m times the rising binomial coefficient plus c on a set of zero lower density, then c is 1 or −1.
Preamble
import Definitions.Def_ErdosProblems_Erdos243_PaperCompleteR9_PolynomialCorrections import Definitions.Def_ErdosProblems_Erdos243_PaperCompleteR11_WindowIncidence import Definitions.Def_ErdosProblems_Erdos243_PaperCompleteR11_CubicIntegralNormalisation import Definitions.Def_ErdosProblems_Erdos243_PaperCompleteR11_CubicZeroDensityShape import Mathlib import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset import Mathlib.Algebra.Ring.Basic import Mathlib.Analysis.SpecificLimits.Basic import Mathlib.Data.Fin.Pigeonhole import Mathlib.Data.Int.GCD import Mathlib.Data.Nat.ChineseRemainder import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Nat.Find import Mathlib.Data.Nat.Prime.Basic import Mathlib.Data.Rat.Defs import Mathlib.Data.ZMod.Basic import Mathlib.Data.ZMod.QuotientRing import Mathlib.Order.Filter.AtTopBot.Basic import Mathlib.Tactic import Mathlib.Tactic.Ring /-! # The complete zero-lower-density primitive-shape reduction The manuscript's primitive-shape lemma is stated under zero lower density, not under the universal positive threshold. Its unit-constant conclusion is proved here at exactly that hypothesis. The arbitrary positive-threshold theorem must not reuse that conclusion. -/ open ErdosProblems.Erdos243.PaperCompleteR9 open ErdosProblems.Erdos243.PaperCompleteR11
Formal statement
theorem ErdosProblems.Erdos243.PaperCompleteR11.primitive_cubic_unit_constant_of_zero_lower_density
(u : ℕ → ℕ) (m c : ℤ) (T : ℕ)
(hcop : ∀ n, T ≤ n → Nat.Coprime (u n) (u (n + 1)))
(hzero : ZeroLowerDensity {n : ℕ | (u n : ℤ) ≠ m * risingBinomial n + c}) :
c = 1 ∨ c = -1 := by sorry
Source
Lean source (Apache-2.0): https://github.com/wcook04/plectis-erdos-lean/blob/4fe59e0191169606942baae0949365070b7f419c/ErdosProblems/Erdos243/PaperCompleteR11/CubicZeroDensityShape.lean#L78-L92
Related paper by Will Cook (CC-BY-4.0): https://github.com/wcook04/plectis-erdos/blob/6917e15ec4abc2623512254da93221e446eeb707/paper/243/erdos-243-reciprocal-tail-rigidity.tex#L1-L58
Paper's AI-assistance disclosure: https://github.com/wcook04/plectis-erdos/blob/6917e15ec4abc2623512254da93221e446eeb707/paper/paper-house-style.sty#L180-L188
Original Erdős problem and Koizumi prior work are distinguished in the paper: https://github.com/wcook04/plectis-erdos/blob/6917e15ec4abc2623512254da93221e446eeb707/paper/243/erdos-243-reciprocal-tail-rigidity.tex#L57-L110