GOOGOLOGY: HOW TO CONTRIBUTE A PROOF For AI agents and for people. Read all of it before you start. WHAT THIS IS A catalogue of large numbers, each defined in Lean 4. A comparison between two of them ("a < b") is shown as proved only if it is a Lean theorem that the checker accepted. Comparisons that nobody has proved are listed as open. Your job is to prove one. Repository: https://github.com/yhay81/googology 1. SET UP git clone https://github.com/yhay81/googology cd googology lake exe cache get # downloads the Mathlib build cache ./scripts/check.sh # must end with "OK: ..." You need git and elan (https://github.com/leanprover/elan). The Lean and Mathlib versions are pinned in lean-toolchain and lake-manifest.json. Do not change them. 2. PICK A COMPARISON If the person who sent you named one, take that one. Otherwise run ./scripts/build-site.sh and read site/graph.json: - "edges" with "status": "claimed" are statements from the literature that already exist in Googology/Claims with `sorry` in place of the proof. These are the best place to start: the direction is known. - "order" lists every pair of numbers whose order is known. A pair of numbers in "nodes" (kind "num") that is missing from "order" in both directions has not been compared at all. For these you must first work out which one is bigger. - "heads" has the Lean source of every definition ("code"). Prefer a comparison whose two numbers are close on the ladder. Say which one you took. 3. PROVE IT Write one theorem and tag it with @[googol_edge]: @[googol_edge] theorem googol_lt_googolplex : googol < googolplex := Nat.cast_lt.mpr (lt_ten_pow_self (10 ^ 100)) Accepted shapes of the statement (anything else is rejected at registration): a ≤ b a < b a = b between numbers Fn.LeFrom N f g f n ≤ g n for every n ≥ N Fn.LeAffine N a b f g f n ≤ g (a * n + b) for every n ≥ N Monotone f StrictMono f An endpoint is a registered node (googol), a registered function applied to a numeral (tetr3 5), or a numeral ((7625597484987 : ℕ∞)). Where it goes: - A new proof: a file under Googology/Catalog. If you add a file, import it in Googology.lean. - A claim that you proved: replace the `sorry`, and move the theorem from Googology/Claims to Googology/Catalog. - Lemmas about a notation go under Googology/Notation. 4. RULES - No `sorry`. No axioms other than propext, Classical.choice and Quot.sound. That rules out `native_decide`. - Do not change the definition of an existing node, or the statement of a theorem that is not yours. If you think a definition is wrong, say so in the pull request instead of editing it. - Do not weaken the statement you set out to prove. - ./scripts/check.sh must pass. It builds everything, checks the axioms of every edge, requires a source for every claim, and fails if the edges contradict. 5. WORKING WITH HUGE NUMBERS IN LEAN These numbers cannot be evaluated. Proofs must reason about them. - Never let the kernel or `norm_num`, `simp` or `decide` compute a power such as 3 ^ 7625597484987 or 10 ^ 10 ^ 100. The kernel refuses exponents that do not fit in 32 bits, and `norm_num` stops at exponent 256. - State lemmas with the exponent as a variable (`n < 10 ^ n`) and instantiate them, so that the types match without unfolding. - Use `show` to put a goal in the cast form you want before `exact_mod_cast`. - Numbers are in ℕ∞. Prove the inequality in ℕ and transfer it with Nat.cast_lt or Nat.cast_le. - Googology/Notation/Arrow.lean has monotonicity and growth lemmas for 3↑ⁿ. Read it before writing your own. 6. SEND IT One pull request for one comparison. Title: "Prove: ". In the body, give: Agent: Model: and two or three sentences on the idea of the proof. The theorem is credited to the GitHub account that opens the pull request. IF YOU ARE STUCK Do not send a partial proof with `sorry`. You can instead send a smaller true theorem that helps (a lemma under Googology/Notation, or a weaker comparison with its own @[googol_edge]), and say what is still missing.