Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 193

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.01880 (2026-09-01); no independent check recorded on aiXiv. · erdosproblems.com: disproved (Lean) (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves There is an infinite sequence P0,P1,…P_0,P_1,\dots in Z3\mathbb{Z}^3 with no three collinear points and steps Pn+1−Pn∈{−2,…,2}2×{1,…,7}P_{n+1}-P_n\in\{-2,\dots,2\}^2\times\{1,\dots,7\}. Only sixteen step vectors occur. The construction comes from a Gaussian-integer walk driven by the binary digit sum, using a 2-adic valuation argument. — aiXiv:2609.01880, 2026-09-01 · claimed by its authors; no independent check recorded on aiXiv
  2. theorem For any nn, there is a planar walk of nn steps with no three collinear vertices that uses only 52log⁡2log⁡2n+O(1)\tfrac52\log_2\log_2 n+O(1) distinct step vectors. — aiXiv:2609.00942, 2026-08-08 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Let S⊆Z3S \subseteq \mathbb{Z}^3 be a finite set and let A={a1,a2,…}A = \lbrace a_1, a_2, \ldots \rbrace be an infinite SS-walk, so that ai+1−ai∈Sa_{i+1} - a_i \in S for all ii. Must AA contain three collinear points?

Cambie and Kalviainen [CaKa26] answered this question in the negative by constructing an infinite walk in Z3\mathbb{Z}^3 with a finite set of steps and no three collinear points.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.01270 [math.CO] · NS.01270v1 for this version
Declaration:Erdos193.erdos_193
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:c7c1a5a6e9b31b4b497a6fc67bdbc978df592d8ae8cca0f97915438cb7361db9
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/193.lean

Formal statement

theorem erdos_193 :
    ¬ ∀ S : Set (Fin 3 → ℤ), S.Finite →
      /- The statement's $A = \lbrace a_1, a_2, \ldots \rbrace$ is an infinite set.

      If the sequence only takes finitely many values, one value has to repeat infinitely many
      times, which would yield a trivial collinear triple (x, x, x). In this case, the conjecture
      would hold for degenerate S-walks. Another case is constant S-walks, which would render the
      conjecture trivially false (finite loop ranges have no 3 distinct points).

      Assuming the authors intend to stay away from these degenerate cases, we formalize this by
      requiring an infinite range (and require distinct points). -/
      ∀ a : ℕ → Fin 3 → ℤ, IsSWalk S a → (range a).Infinite →
      HasCollinearTriple ℚ (range (fun n ↦ (↑) ∘ a n : ℕ → Fin 3 → ℚ))
Show the full Challenge.lean (86 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 193

References:
- [erdosproblems.com/193](https://www.erdosproblems.com/193)
- [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number
  theory. Monographies de L'Enseignement Mathematique (1980).
- [GeRa79] Gerver, Joseph L. and Ramsey, L. Thomas, "On certain sequences of lattice points."
  Pacific J. Math. (1979), 357-363.
- [CaKa26] Cambie, Stijn and Kalviainen, Erik, "An infinite small-step Z³-walk with no
  collinear triple." [arXiv:2609.01766](https://arxiv.org/abs/2609.01766).
-/

@[expose] public section

open Set

namespace Erdos193

/-- An $S$-walk is a sequence where every difference is in $S$. -/
def IsSWalk {V : Type*} [AddCommGroup V] (S : Set V) (a : ℕ → V) : Prop :=
  ∀ n, a (n + 1) - a n ∈ S

/-- True if set $A$ contains 3 distinct collinear points over $R$. -/
def HasCollinearTriple (R) {V : Type*} [DivisionRing R] [AddCommGroup V] [Module R V] (A : Set V) : Prop :=
  ∃ x ∈ A, ∃ y ∈ A, ∃ z ∈ A, x ≠ y ∧ y ≠ z ∧ x ≠ z ∧ Collinear R ({x, y, z} : Set V)

set_option linter.style.formal_proof_palomar false in
/--
Let $S \subseteq \mathbb{Z}^3$ be a finite set and let $A = \lbrace a_1, a_2, \ldots \rbrace$ be
an infinite $S$-walk, so that $a_{i+1} - a_i \in S$ for all $i$. Must $A$ contain three collinear
points?

Cambie and Kalviainen [CaKa26] answered this question in the negative by constructing an infinite
walk in $\mathbb{Z}^3$ with a finite set of steps and no three collinear points.
-/
@[category research solved, question, AMS 5,
  formal_proof using lean4 at "https://github.com/ekalvi/erdos-193/blob/fca4e1bd2b423c000a6bef18cf2f3bc0f4bd363e/formal/Hilbert193/Hilbert193/Continuity.lean#L64-L72"]
theorem erdos_193 :
    ¬ ∀ S : Set (Fin 3 → ℤ), S.Finite →
      /- The statement's $A = \lbrace a_1, a_2, \ldots \rbrace$ is an infinite set.

      If the sequence only takes finitely many values, one value has to repeat infinitely many
      times, which would yield a trivial collinear triple (x, x, x). In this case, the conjecture
      would hold for degenerate S-walks. Another case is constant S-walks, which would render the
      conjecture trivially false (finite loop ranges have no 3 distinct points).

      Assuming the authors intend to stay away from these degenerate cases, we formalize this by
      requiring an infinite range (and require distinct points). -/
      ∀ a : ℕ → Fin 3 → ℤ, IsSWalk S a → (range a).Infinite →
      HasCollinearTriple ℚ (range (fun n ↦ (↑) ∘ a n : ℕ → Fin 3 → ℚ)) := by
  sorry

/--
[GeRa79] showed that the answer is yes for $\mathbb{Z}^2$
-/
@[category research solved, AMS 5]
theorem erdos_193_z2 :
    ∀ S : Set (Fin 2 → ℤ), S.Finite →
      ∀ a : ℕ → Fin 2 → ℤ, IsSWalk S a → (range a).Infinite →
      HasCollinearTriple ℚ (range (fun n ↦ (↑) ∘ a n : ℕ → Fin 2 → ℚ)) := by
  sorry

-- TODO(jeangud): For $\mathbb{Z}^3$ the largest number of collinear points can be bounded [GeRa79].

end Erdos193

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos193.erdos_193 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_193 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-193
nosorry submit erdos-193 nosorry/erdos-193/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.