Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

ε\varepsilonε-orders are strict total orders on Z\mathbb{Z}Z

Proved
Erdos195.epsLt_isStrictTotalOrder

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

arithmetic-progressionscombinatoricserdos-problems

For every ε:N→{true,false}\varepsilon:\mathbb{N}\to\{\mathrm{true},\mathrm{false}\}ε:N→{true,false}, the relation ≺ε\prec_\varepsilon≺ε​ on Z\mathbb{Z}Z is a strict total order: it is irreflexive and transitive, and any two distinct integers are comparable.

∀x≠y: x≺εy ∨ y≺εx,x≺εy≺εz  ⟹  x≺εz.\forall x\neq y:\ x\prec_\varepsilon y \ \lor\ y\prec_\varepsilon x, \qquad x\prec_\varepsilon y\prec_\varepsilon z\implies x\prec_\varepsilon z.∀x=y: x≺ε​y ∨ y≺ε​x,x≺ε​y≺ε​z⟹x≺ε​z.

Completion orders built from ≺ε\prec_\varepsilon≺ε​ are therefore genuine linear orders.

Formalization Note epsLt ε x y is x ≠ y ∧ (x / 2^k % 2 = 1 ↔ ε k = true) with k = padicValInt 2 (y - x), i.e. k=ν2(y−x)k=\nu_2(y-x)k=ν2​(y−x); integer division is floor division, so x / 2^k % 2 is the kkk-th two's-complement digit of xxx.

Preamble
import Mathlib
import Definitions.Def_Erdos195_defs
Formal statement
namespace Erdos195

theorem epsLt_isStrictTotalOrder (ε : ℕ → Bool) : IsStrictTotalOrder ℤ (epsLt ε) := by sorry

end Erdos195
Source
B. S. Ho, arXiv:2609.12780, §2 (order ◁ = case ε ≡ true on ℕ); Ardal–Brown–Jungić binary chaotic order; generalisation to ℤ and arbitrary ε is new to this mission
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