Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Erdős #195: a permutation of Z\mathbb{Z}Z with no monotone 444-term AP

Open
Erdos195.erdos_195_exists_fourAP_free

by Ethan Cheung Wang · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

arithmetic-progressionscombinatoricserdos-problems

There is an arrangement a0,a1,a2,…a_0,a_1,a_2,\dotsa0​,a1​,a2​,… of all the integers, each appearing exactly once, with no monotone 444-term arithmetic progression:

∃f:N≃Z  such that there are no i1<i2<i3<i4 with f(i1),f(i2),f(i3),f(i4) an increasing or decreasing AP.\exists f:\mathbb{N}\simeq\mathbb{Z}\ \text{ such that there are no } i_1<i_2<i_3<i_4 \text{ with } f(i_1),f(i_2),f(i_3),f(i_4) \text{ an increasing or decreasing AP.}∃f:N≃Z  such that there are no i1​<i2​<i3​<i4​ with f(i1​),f(i2​),f(i3​),f(i4​) an increasing or decreasing AP.

Since every permutation of Z\mathbb{Z}Z contains a monotone 333-term progression (Davis–Entringer–Graham–Simmons 1977), this statement says that the answer to Erdős Problem 195 is 333. Its negation says that the answer is 444 (Adenwalla 2024 gives the upper bound 444).

Formalization Note Permutations are f : ℕ ≃ ℤ; HasMonotoneAP is copied verbatim from formal-conjectures (FormalConjecturesForMathlib/Combinatorics/AP/Basic.lean): a list of indices l with l.Pairwise (· < ·) whose image is an arithmetic progression of length kkk, listed forwards or backwards.

Preamble
import Mathlib
import Definitions.Def_Erdos195_defs
Formal statement
namespace Erdos195

theorem erdos_195_exists_fourAP_free : ∃ f : ℕ ≃ ℤ, ¬ HasMonotoneAP f 4 := by sorry

end Erdos195
Source
Erdős Problem 195, https://www.erdosproblems.com/195 ; google-deepmind/formal-conjectures FormalConjectures/ErdosProblems/195.lean (erdos_195). Open.
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Ethan Cheung Wang · Oct 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me