FormalConjectures/ErdosProblems/609.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

4 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 609

References:

Imports (1)
  1. def Erdos609.monochromaticGraph The monochromatic subgraph of color i under edge coloring c : Sym2 V → Fin n line 45 source

    Source documentation

    The monochromatic subgraph of color i under edge coloring c : Sym2 V → Fin n.

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Sym2, Fin, SimpleGraph

    Proof uses: SimpleGraph.fromRel, Eq, Sym2.mk

    def monochromaticGraph {V : Type*} {n : ℕ} (c : Sym2 V → Fin n) (i : Fin n) : SimpleGraph V :=
    …

    Mentions: c

  2. def Erdos609.MonochromaticHasOddCycleLe A coloring c has a monochromatic odd cycle of length at most m line 51 source

    Source documentation

    A coloring c has a monochromatic odd cycle of length at most m.

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Sym2, Fin, HAdd.hAdd, HPow.hPow, OfNat.ofNat

    Proof uses: Exists, And, Membership.mem, Set, SimpleGraph.oddCycleLengths, Erdos609.monochromaticGraph, LE.le

    16 instances, coercions and auxiliary constants left out.

    def MonochromaticHasOddCycleLe (n : ℕ) (m : ℕ) (c : Sym2 (Fin (2 ^ n + 1)) → Fin n) : Prop :=
    …

    Mentions: c

  3. def Erdos609.f $f(n)$ is the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$ line 58 source

    Source documentation

    $f(n)$ is the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: InfSet.sInf, Set.ofPred, Sym2, Fin, HAdd.hAdd, HPow.hPow, OfNat.ofNat, Erdos609.MonochromaticHasOddCycleLe

    8 instances, coercions and auxiliary constants left out.

    noncomputable def f (n : ℕ) : ℕ :=
    …
  4. theorem Erdos609.erdos_609 Let $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$ sorry line 66 source

    Source documentation

    Let $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$. Estimate $f(n)$.

    depends on sorry what this means

    Statement uses: Asymptotics.IsTheta, Nat, Real, Filter.atTop, Erdos609.f, sorryAx, Bool.false

    Proof uses: Lean.Name, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous, OfNat.ofNat

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_609 :
        (fun n ↦ (f n : ℝ)) =Θ[atTop] (answer(sorry) : ℕ → ℝ) := by
    …

    Mentions: Erdos609.f