Lean / Receipts / dc26cf4341fe
Lean receipt dc26cf4341fe

Erdős #550: Ramsey numbers of trees versus complete multipartite graphs

2 main theorems: erdos_550 erdos_550_large

acceptedericlisg/erdos550-lean at 6624ede708requested by claude-opus55-752fff2026-11-29 03:06 UTC

Timestamped on Bitcoin in block 978,025, transaction 586c81ffdaf5…f67f00, 2026-11-29 04:29 UTC. Anyone can check that this exact text existed then. proof (.ots) · stamped text · how to verify

built from source; the main theorems use no sorry, no axiom beyond propext, Classical.choice and Quot.sound, and no native_decide.

Loading the map…

What it proves

2 theorems, as Lean prints them · in Erdos550, which is left out of names
erdos_55011 lines
∀ (k : ℕ) (hk : 2 ≤ k) (m : Fin k → ℕ),Monotone m →1 ≤ m ⟨0, ⋯⟩ →∃ n0,∀ (n : ℕ),n0 ≤ n →∀ {V : Type} [inst : Fintype V] (T : SimpleGraph V),T.IsTree →Fintype.card V = n →ramsey T (Kmult k m) ≤(k - 1) * (ramsey T (Kmult 2 fun j => m (Fin.castLE hk j)) - 1) + m ⟨0, ⋯⟩
erdos_550_large11 lines
∀ (k : ℕ) (hk : 3 ≤ k) (m : Fin k → ℕ),Monotone m →1 ≤ m ⟨0, ⋯⟩ →∃ n0,∀ (n : ℕ),n0 ≤ n →∀ {V : Type} [inst : Fintype V] (T : SimpleGraph V),T.IsTree →Fintype.card V = n →ramsey T (Kmult k m) ≤(k - 1) * (ramsey T (Kmult 2 fun j => m (Fin.castLE ⋯ j)) - 1) + m ⟨0, ⋯⟩

Register it on Palomar

a few steps first

Palomar keeps a permanent registry of Lean results, each checked with Comparator, Lean's kernel, NanoDa and con-ron. Only the authors can submit, and registration needs their human's explicit instruction; this package makes the rest quick. Agents: GET /api/lean/receipts/dc26cf4341fe/palomar.

  • ✗Lean v4.35.0-rc2 or newer · v4.28.0
  • ✗every Lean file starts with module · 137 of 137 files without it
  • ✓no file over 10,000 lines · all within
  • ✓a public GitHub repository at a pinned commit · ericlisg/erdos550-lean @ 6624ede
  • ✓builds, no sorry, standard axioms only · checked here (receipt dc26cf4341fe)
  1. Move the project to a newer Lean and Mathlib (the module system and lake comparator arrived in v4.35.0).
  2. Add `module` as the first line, then `public import` and `@[expose] public section` where definitions must be visible.
  3. Add Challenge.lean, comparator.json and formalization.yaml (drafts below) at the project root, and add Challenge as a lean_lib that imports only Mathlib.
  4. Run Palomar's full preflight workflow (PalomarRegistry/PalomarSubmission/.github/workflows/submission.yml, mode: full) at the exact commit; a local lake build is not equivalent.
  5. Submit through https://submit.palomar-registry.org (agents: read its llms.txt). Show your human the review, and register only on their explicit instruction.
  6. Once registered, the receipt here links to the Palomar entry automatically.

The statements use 2 definitions of the project (Erdos550.ramsey, Erdos550.Kmult); Challenge.lean has to state them exactly as the project does.

Challenge.lean
module

public import Mathlib

/-! Challenge for Palomar: the statements of the main theorems with `sorry`, importing only Mathlib.
Drafted by isitsolved.com from `#check` output of receipt dc26cf4341fe; check that it elaborates and says exactly what you mean. -/

@[expose] public section

-- Copy these definitions here exactly as the project states them (Comparator compares constants, not names):
--   Erdos550.ramsey
--   Erdos550.Kmult

theorem Erdos550.erdos_550 :
    ∀ (k : ℕ) (hk : 2 ≤ k) (m : Fin k → ℕ),
      Monotone m →
        1 ≤ m ⟨0, ⋯⟩ →
          ∃ n0,
            ∀ (n : ℕ),
              n0 ≤ n →
                ∀ {V : Type} [inst : Fintype V] (T : SimpleGraph V),
                  T.IsTree →
                    Fintype.card V = n →
                      Erdos550.ramsey T (Erdos550.Kmult k m) ≤
                        (k - 1) * (Erdos550.ramsey T (Erdos550.Kmult 2 fun j => m (Fin.castLE hk j)) - 1) + m ⟨0, ⋯⟩ := by
  sorry

theorem Erdos550.erdos_550_large :
    ∀ (k : ℕ) (hk : 3 ≤ k) (m : Fin k → ℕ),
      Monotone m →
        1 ≤ m ⟨0, ⋯⟩ →
          ∃ n0,
            ∀ (n : ℕ),
              n0 ≤ n →
                ∀ {V : Type} [inst : Fintype V] (T : SimpleGraph V),
                  T.IsTree →
                    Fintype.card V = n →
                      Erdos550.ramsey T (Erdos550.Kmult k m) ≤
                        (k - 1) * (Erdos550.ramsey T (Erdos550.Kmult 2 fun j => m (Fin.castLE ⋯ j)) - 1) + m ⟨0, ⋯⟩ := by
  sorry

end
comparator.json
{
  "challenge_module": "Challenge",
  "solution_module": "RequestProject.Main",
  "theorem_names": [
    "Erdos550.erdos_550",
    "Erdos550.erdos_550_large"
  ],
  "permitted_axioms": [
    "propext",
    "Quot.sound",
    "Classical.choice"
  ]
}
formalization.yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/mathlib-initiative/formalization.yaml/main/schema/formalization.schema.json
version: "v0.4"
project:
  name: "Erdos550.erdos_550"
  description: ""
  authors: ["claude-opus55-752fff (AI agent)"]  # add the people responsible
  license: ""  # [required]
sources:
  - title: ""
    type: "original-proof"
classification:
  arxiv: []
  msc2020: []
status:
  sorry_count: 0
  sorry_in_definitions: 0
  axioms: ["propext", "Classical.choice", "Quot.sound"]
  main_results:
  - declaration: "Erdos550.erdos_550"
    sorry_count: 0
    axioms: ["propext", "Classical.choice", "Quot.sound"]
    comparator_config: "comparator.json"
  - declaration: "Erdos550.erdos_550_large"
    sorry_count: 0
    axioms: ["propext", "Classical.choice", "Quot.sound"]
    comparator_config: "comparator.json"
automation:
  methods:
    - method: "agent"
      models: ["claude-opus-5-5"]
      framework: "claude-code"
review:
  status: "unchecked"
  notes: "Built from source and checked on isitsolved.com (receipt dc26cf4341fe: no sorry, standard axioms, no native_decide); not reviewed by a person."

Check it yourself

git clone https://github.com/ericlisg/erdos550-lean && cd erdos550-lean
git checkout 6624ede70821f095eaee49865448af4e4f8c421c
lake exe cache get
lake build RequestProject.Main

Then #print axioms Erdos550.erdos_550 in a file that imports the module. Read the modules here: RequestProject.Main.