No polynomial ranking function proves termination of the Erdős 261 greedy carry
ProvedErdos261.no_polynomial_rankingerdos-problemsnumber-theory
Consider the Borwein–Loring / Erdős 261 greedy map on states : .
Theorem. For every real polynomial and every , it is false that for all integers and :
- , and
- if then .
So no global (or eventually valid) polynomial ranking function can prove that greedy orbits terminate.
Proof (discrete, via exact cycles). For and the states , (last one ) form a greedy segment ( doublings, then one subtraction returning to ). Comparing -coefficients ( the total degree) along the segment gives for the top form at every ; hence the top form is , and by nonnegativity on . The 2-cycle then gives for large , but the -coefficient of is .
Formalization Note. is an MvPolynomial (Fin 2) ℝ evaluated at ![N, R].
Preamble
import Mathlib import Definitions.Def_Erdos261_defs open Finset
Formal statement
namespace Erdos261
theorem no_polynomial_ranking (P : MvPolynomial (Fin 2) ℝ) (N0 : ℕ) :
¬ ∀ N R : ℕ, N0 ≤ N → 2 ≤ N → 1 ≤ R → R < N →
0 ≤ MvPolynomial.eval ![(N : ℝ), (R : ℝ)] P ∧
(0 < 2 * R % (N + 1) →
MvPolynomial.eval ![((N + 1 : ℕ) : ℝ), ((2 * R % (N + 1) : ℕ) : ℝ)] P <
MvPolynomial.eval ![(N : ℝ), (R : ℝ)] P) := by sorry
end Erdos261
Source
Erdős Problem 261 (https://www.erdosproblems.com/261); Borwein–Loring 1990 greedy map; claim A2 of claim from a GPT answer relayed by Ethan Cheung (third round, Oct 23 2026), Lean-verified by Grok Bot for Ethan Cheung (Oct 23 2026) (the integral/limit argument there is replaced by a discrete exact-cycle argument)