Skip to the results
MathCase

MathCase results

What has the math shown?

Follow a number, color a graph, or inspect a proof. Each question below has an example you can try and a record of exactly what was checked.

Number sequences · Collatz

When must a number fall below its start?

Start with a whole number. If it’s even, halve it. If it’s odd, triple it and add 1. Each of those is one ordinary step.

A shortcut combines the odd step and the next halving. For a start of 3 or more, count how many of the first 23 shortcuts begin on an odd number. If the count is 14 or fewer, the sequence falls below its start within 37 ordinary steps. Lean, a mathematical proof checker, verified that guarantee. Whether every positive start eventually reaches 1 remains open.

Follow 239 step by step

Run the Lean proof from a fresh checkout ↗

See exactly which starts the 23-move theorem covers

Plain statement: for every start n ≥ 3, if at most 14 of the first 23 accelerated inputs are odd, the ordinary Collatz iterate at step 23+h is smaller than n, where h is the exact odd-input count.

The Lean count is 7,507,638 of 8,388,608 residue classes modulo 2^23. The descent theorem reports [propext, Quot.sound]; its count and combined theorem report [Classical.choice, propext, Quot.sound]. No sorryAx was reported. Reviewed statement file, SHA-256: cab441ca8079f71a6c9dbaadcea53a8e38cc8d4e9ee68f18f874f6bf39fb66bb. The bound is at most 37 ordinary steps.

Limits: this is one parity-conditioned first drop. It does not prove convergence for every start, novelty, or closure of the smaller-basis search.

We replayed the reviewed proof from a fresh public checkout with Lean 4.33.1. The four modules passed in 14.251 seconds on Windows. Read the replay receipt ↗

Explore the other parity counts in the lab notes →

Archived: finite Collatz sample and input-file record

This secondary record covers a finite representative sample, not every start in a residue class. It does not establish eventual descent or Collatz convergence.

Read the sample count, file-format history, and exact limits →

Other Collatz results and the starting-number calculator
Why do 2,652 number patterns drop after 32 ordinary steps?

Start with 239. After 32 ordinary steps it reaches 122. The proof covers 239 plus any multiple of 1,048,576 and 2,651 other patterns of starting numbers.

Plain statement: for each exact pair (r,q) listed in the checked Lean source and every natural k, start at 1,048,576k+r. After exactly 32 ordinary Collatz steps, the value is 531,441k+q, and that endpoint is smaller than the start.

C³²(2²⁰k + r) = 3¹²k + q < 2²⁰k + r, for each of the 2,652 source-listed (r,q) pairs

The Lean theorem states the equality and the strict inequality together. The map C sends even n to n/2 and odd n to 3n+1. A separate exact coefficient audit finds start − endpoint = 517,135k + (r−q); every listed intercept gap is positive, with minimum 117.

Two agreeing replays363 Lean files each · 23 axiom groups · 4,262 queries · zero sorryAx reports

The final theorem reports only propext and Quot.sound. Across both phases, all source, expected/produced OLEAN, stdout, stderr, and Lean exit-code hashes agree; timing and run-metadata hashes vary. This is a bounded first-descent result for the listed progressions, not a proof that every Collatz trajectory reaches 1.

Replay boundary: the runs used two fresh isolated workspaces, not two separate Git clones. The pinned Lean image supplied 346 Mathlib dependency OLEANs. The Phase 1 runner completed all Lean and axiom checks, but its Docker wrapper returned 124 when an added two-hour watchdog expired; Docker did not report OOM. Phase 2 returned 0.

Inspect the source and receipt locations

The archived Lean source is named M20CompositionAllFamiliesV1.lean; here, “M20” means the residue tier modulo 220, or 1,048,576 classes. Phase hash tables and axiom outputs are under evidence/collatz/m20-source-replay-2026-11-18/phase-1/ and phase-2/.

Try the exact coefficient calculation
Calculate the gap between a starting number and its endpoint

For example, a start of 239 reaches 122 after 32 steps. Subtract them to get 117. Choose a row below to make the same comparison for another start.

Plain statement: for every one of the 2,652 listed pairs and every natural number k, the starting expression exceeds the recorded endpoint expression by a positive amount of at least 117.

(1,048,576k+r) − (531,441k+q) = 517,135k + (r−q), with every listed r−q ≥ 117

The checker verifies the extracted table and computes one selected pair with exact integers. The source theorem separately checks that 32 Collatz steps really reach the endpoint.

This calculation runs in your browser. It does not start Lean, call a model, or send your input to a service.

Checking the saved list of starting numbers…

Arithmetic boundary: the data audit parses the listed proposition rows and confirms the count, distinct pairs, positive intercepts, and minimum gap. It does not recompute the trajectories, cover unlisted residues, or prove Collatz convergence.

Source and method: the pair rows and generator live in evidence/collatz/m20-source-replay-2026-11-18/coefficient-audit/. Read the human audit and reproduction steps.

A drop by step 35 under a 22-move condition

Plain statement: repeat 22 shortcut moves: halve an even number; for an odd number, calculate 3n+1 and halve. If a start n ≥ 3 begins at most 13 of these moves on odd numbers, a regular Collatz step takes it below n by step 35.

The exact count is 3,593,934 of 4,194,304 possible 22-step parity patterns (85.6861%). A shortcut move on an odd number corresponds to two regular Collatz steps, which accounts for the endpoint 22+h.

Limits: this is a separate parity filter from the 20-step and 21-step theorems, with non-nested classes. It guarantees one bounded first drop for qualifying starts; it does not cover every start, prove convergence, or make a novelty claim.

A drop by step 44 under a 27-move condition

Plain statement: for every n ≥ 26,018, if at most 17 of the first 27 shortcut inputs are odd, then the ordinary Collatz iterate after 27+h steps is smaller than n, where h is the exact odd-input count.

The arithmetic audit counts 126,025,204 of 134,217,728 qualifying residue classes modulo 2^27 (93.8961%). Lean checks the residue-count/parity-word recurrence; the final numeric sum is independently checked by Pascal recurrence and binomial coefficients, not stated as a separate Lean numeral theorem.

This is a bounded, parity-conditioned first drop for the stated range. It does not establish global convergence, natural density, novelty, or priority.

A drop within 21 steps for 7,825 groups of numbers

Plain statement: for every qualifying natural number in each of 7,825 listed residue classes, one of the first 21 ordinary Collatz steps reaches a smaller value.

7,825 / 8,192 residue classes · bounded first descent within 21 steps

This does not prove global convergence or close any whole congruence class modulo 128. Its saved source and local compile are public. A fresh independent build remains open.

Saved receipt location: proofs/collatz/remaining-residues/bounded-descent-receipt.json in the MathCase repository.

What can a formula prove about a whole family of starting numbers?

Each line means that for every natural k, the ordinary Collatz map reaches the listed smaller value after the stated number of steps.

Starting valuesStep count and endpointStrict gap
2³¹k + 11150 steps → 1,162,261,467k + 61985,222,181k + 50
2³¹k + 22350 steps → 1,162,261,467k + 122985,222,181k + 101
2²⁹k + 16747 steps → 387,420,489k + 122149,450,423k + 45

The saved local Lean receipts report exit code 0 and axioms [propext, Quot.sound]. These are three infinite arithmetic progressions, not all integers. The upstream arithmetic scans were exploratory; the certificates do not prove a global descent premise or settle Collatz.

Read the source and receipt map

Files: evidence/collatz/affine-trace-families/sources/ contains the generic trace and family sources; saved receipts are in the adjacent receipts/ directory. These local records cover the compiler checks. Independent review of the mathematical statement remains open.

How were groups of starting numbers counted?

Group numbers by the remainder they leave after division. For example, 3 and 11 both leave 3 when divided by 8. This table counts groups in one specified list.

Plain statement: among the 1,048,576 residue classes modulo 2²⁰, the largest recorded power-of-two tier has checked bounded-descent certificates for 1,021,248 classes.

The count is for one modulus and a fixed number of steps. The convergence and cycle questions remain open.

1,021,248 / 1,048,57697.394% of that residue space
ModulusResidue spaceChecked descent classesFinite share
21532,76831,47396.048%
21665,53663,42296.774%
218262,144254,64997.141%
2201,048,5761,021,24897.394%
How to read this percentage and the old shorthand

The table counts residue classes for the displayed power-of-two moduli. Older files call the 220 tier “M20.” This is a finite fraction of one residue space, not a percentage of the Collatz conjecture solved and not a natural-density statement. The 2,652-family composition theorem above is one exact theorem within the larger recorded tier; the count comes from a separate family-basis audit.

The underlying audit checked 4,262 saved family rows, 229 shard modules, 496 input bindings, and the 7,825-class M13 seed. It did not compile Lean or rescan trajectories. An older README rounds this number incorrectly as 97.395%; the correction is recorded beside the preserved historical artifact.

Read the human coverage audit and its receipt location

Files: evidence/collatz/m15-m20-coverage-audit/ contains the summary, run manifest, verifier receipt, and audit scripts. The exact shard statements and per-shard receipts are in evidence/knowledge-graph/public-slice-v1/ and evidence/collatz/m15-m20-pinned-replay/.

Can one broader rule cover the 2,652 listed families?

Every one of the 2,652 listed starting-number patterns has exactly 12 odd inputs in its first 20 shortcut steps. A shortcut halves an even number; for an odd number it computes (3n+1)/2.

A separate Lean theorem proves that any starting number with this 12-of-20 pattern falls below its start after 32 ordinary steps. A new finite audit checks that each listed row fits the pattern and that its recorded endpoint matches both a 20-step shortcut calculation and a separate 32-step ordinary calculation. Combining that row-by-row check with the existing theorem covers every listed progression 1,048,576k+r.

start − endpoint = 517,135k + (r−q), with every listed r−q ≥ 117

The earlier M20-specific prefix screen is a different result: it found no reduction in the number of table rows and was not rerun. The new bridge supplies an alternative route through the broader 12-of-20 theorem; it does not rewrite or replace the historical M20 composition replay.

This remains bounded first descent for the listed progressions. It does not show that every Collatz sequence reaches 1, establish a general convergence rule, or claim novelty.

A lower bound after three odd-to-odd moves

This question compares a starting odd number with the number reached three odd-to-odd moves later. An odd-to-odd move triples and adds 1, then halves until another odd number appears.

Plain statement: for every positive member n of each saved odd class modulo 2³¹, after three accelerated odd-to-odd steps the value satisfies 16*T³(n) − 27*n ≥ 19.

T³(n) ≥ (27n + 19) / 16 · sharp on 4,146,987 saved classes

This compares the third iterate with the original start; it does not say the sequence increases at every individual step. The independent verifier rehashed 30 source/input bindings, checked the population count and sharp stratum, and did not rescan trajectories.

This is an exact arithmetic corollary of recorded affine formulas, not a Lean theorem. It does not establish a fourth-step decrease, cover all odd numbers, or prove convergence.

Read the stratum table, verification details, and limits

Files: the portable source/input bundle is evidence/collatz/m31-three-step-affine/source-bundle/; the successful copied-input verification receipt is in public-copy-check/.

Geometry · right triangles

Why is the midpoint of the longest side equally far from all three corners?

A familiar geometry fact says that the midpoint of a right triangle’s longest side is the same distance from all three corners. MathCase checked the algebra for a right triangle already placed in this coordinate layout.

Put the corners at A=(0,0), B=(6,0), and C=(0,8). The midpoint of the longest side BC is M=(3,4). Each squared distance is 25, so each actual distance is 5.

Lean checked the same algebra for every pair of positive side lengths in this axis-aligned coordinate model. This is a known geometry result, not a new theorem claim.

Read the proof and replay guide ↗
See the exact statement, Lean result, and limits

Coordinate statement: for positive real a and b, with A=(0,0), B=(a,0), C=(0,b), and M=(a/2,b/2), the squared distances MA², MB², and MC² are equal.

What Lean checked: the exact source compiled and the axiom audit exited 0 in the R06 replay using Lean 4.33.1 and Mathlib v4.33.1. The printed axioms were [propext, Classical.choice, Quot.sound]; no sorryAx appeared. R06 used a warm pinned Mathlib cache, networking disabled, one CPU, a 2 GiB memory cap, and a 180-second limit per Lean process.

What it does not check: the formal source assumes the triangle is already in this axis-aligned coordinate layout. MathCase has not formalized the rotation-and-translation argument from every Euclidean right triangle to that layout. A fresh public-clone replay and independent mathematical review remain open.

The preserved record includes earlier setup failures and timeouts. An earlier receipt contained a sorryAx field that contradicted its printed audit; R06 recompiled the exact same source and audit and reproduced the earlier output hashes. The old receipt was not edited.

Fractions · Erdős–Straus

Can three fractions with a 1 on top add up to 4/n?

A fraction like 1/7 is called a unit fraction. Choose n = 21 and three of them add up to 4/21. A formula extends examples like this one to every number of the form 28k + 21 for k = 0, 1, 2, …

A separate search found exact answers for all 831,860 numbers in its filtered set. Whether every integer n ≥ 2 admits such a sum remains open.

Minimum largest denominator (November 26, verified at 20:47:52 UTC): for all 143 primes p ≤ 10,000 with p ≡ 1 (mod 24), the smallest possible largest denominator z in a positive distinct triple for 4/p satisfies z ≤ 1,032p. Only p=9,601 reaches this ratio; one minimizing triple is (2,408, 806,484, 9,908,232). A different integer-enumeration checker verified every minimum. The claim covers this finite prime set only. Read the method and limits ↗

Try three denominators
Read the full counts, formulas and finite search limits

Plain statement: for the factor-conditioned candidates in the recorded ranges through d=10,000,000, the campaign saved one exact Egyptian-fraction witness per candidate.

831,860 / 831,860candidate rows with witnesses · 427 base misses resolved within the fixed 65,536 offset cap

The largest observed first-denominator offset was 35,498. The offset trend was noisy; v9-only correlation with range was r=0.067. Misses varied in factor shape and finer residues. The range search itself did not identify a family; a separate algebraic derivation below gives one exact progression identity. The full conjecture remains open.

The public MathCase main branch now includes all 100 range bundles and their per-witness records through d=10,000,000. The aggregate audit confirms the recorded bindings and exact identities; this remains a finite, factor-filtered computation, not a proof of the full conjecture.

Files: evidence/egyptian-fractions/v9-10m/ contains the range maxima, aggregate audit, summary, and human-readable campaign note.

Direct algebraic identity · statement review open · no Lean attempt

A three-fraction formula for every n = 433 + 840t.

Plain statement: for every integer t ≥ 0, set n = 433 + 840t. The formulas below give positive, strictly increasing denominators whose unit fractions add exactly to 4/n.

Formula: A = n(n+7)/4, x = (n+7)/4, y = (A+5)/7, and z = A(A+5)/35, so 4/n = 1/x + 1/y + 1/z.

Here n ≡ 1 (mod 4), n ≡ 3 (mod 5), and n ≡ 6 (mod 7). These make x and A integers; they also give A ≡ 0 (mod 5) and A ≡ 2 (mod 7), so y and z are integers. Since y−x = (x(n−7)+5)/7 > 0 and z/y = A/5 > 1, the denominators are ordered.

The identity follows by subtraction: 4/n − 1/x = 7/A, then 7/A − 1/y = 1/z. This covers one progression, not every integer. It does not settle Erdős–Straus. A 2026 paper studies the same first-denominator shift c=7 in a related prime case; no novelty claim or broad literature search is made.

Try a value of t. This checker uses browser-local BigInt arithmetic, makes no network request, and verifies the exact integer identity and denominator order for the displayed member.

Ready to check t = 0.

Limits: this is an elementary algebraic identity, not a Lean-checked result. The statement has not had a human fidelity review or a Lean attempt. The campaign’s finite witness record remains a separate, factor-conditioned computation.

Graph coloring · Ramsey

How many dots can avoid a one-color group of five?

Connect every pair of dots. Color each line red or blue. Six dots always contain a one-color triangle. Now look for five dots whose ten connecting lines are all the same color.

A known arrangement of 42 dots avoids every such group. Lean checked this arrangement. That shows that a guarantee for five must start at 43 dots or more. This example alone cannot tell us the exact threshold.

Start with the six-dot puzzle
Inspect the 42-dot coloring, formal proof and checker

Plain statement: there is a simple graph on 42 vertices with no clique of size five, and no independent set of size five. This witnesses the established lower bound R(5,5) ≥ 43.

Exact Lean target: ∃ G : SimpleGraph (Fin 42), G.CliqueFree 5 ∧ (Gᶜ).CliqueFree 5. Ryan reviewed that the English statement matches this target. Lean checked it in 27 separately compiled chunks plus a final composition; all returned exit 0. The recorded axiom list is [propext, Classical.choice, Quot.sound], with no sorryAx or native_decide in the proof sources.

The graph is a known Exoo construction. MathCase formalized and checked this finite witness; it is not a new construction, does not determine the Ramsey number, and has yet to receive independent review. The original Lean run used a warm local cache; a fresh-checkout rebuild has not yet been verified.

Graph6 correction: the first exported bytes used row-major ordering, which is not the standard graph6 order. The historical file and receipts remain available for audit, but the browser check and current download now use a corrected standard graph6 file that matches all 42 Lean adjacency rows. The corrected file was independently checked over all 850,668 five-vertex subsets. Read the human correction and verification note.

This check runs locally in your browser. It fetches the saved graph6 certificate from this site, verifies its pinned SHA-256, decodes the 42-vertex graph, and checks every five-vertex subset in both colors.

The finite check has not run in this browser yet.

A separate supplied certificate failed an order check: its metadata said 42 vertices but its graph6 bytes decoded to 41. That failed input is preserved and is not used for the passing construction.

Files: evidence/finite-graphs/ramsey-r55/ contains the standard graph6 browser checker, the preserved legacy encoding, and the correction record. The MathCase bundle contains all 29 Lean sources, 27 exact chunk receipts, and the final receipt. Dossier acceptance has not been granted, and the Lean proof has not been independently rebuilt from a clean checkout.

How can a 101-dot arrangement avoid a one-color group of six?

Plain statement: there is a simple graph on 101 labeled vertices with no clique of six and no independent set of six. This is a witness for the known lower bound R(6,6) ≥ 102.

Exact target: ∃ G : SimpleGraph (Fin 101), G.CliqueFree 6 ∧ (Gᶜ).CliqueFree 6. Ryan reviewed that the English statement matches this target.

The saved graph is the known Paley graph P(101), with 2,525 edges and degree 50 at every vertex. Two separately written local checkers found no six-clique and no independent six-set; both exited 0. The browser control below checks the saved certificate and displays one vertex; it does not rerun those exhaustive searches.

Separately, Lean 4.33.1 rebuilt the three MathCase theorem files from source under the current pinned Mathlib dependencies, using a fresh MathCase output folder. It reused the public Mathlib cache fetched during setup; no MathCase proof output was reused. The axiom report lists [propext, Classical.choice, Quot.sound]; no sorryAx was reported. This run took 147.929 seconds, with no Windows-enforced memory cap. It verifies a known bound, not new mathematics or independent review.

Inspect the saved graph in this browser. The page checks the certificate hash and degree sequence, then displays one vertex’s neighbors. It does not rerun the exhaustive clique searches.

The certificate is not loaded until you inspect a vertex.

Evidence files: the graph certificate and finite-checker receipts are in evidence/finite-graphs/ramsey-r66-paley101/. The separate Lean sources, current-lock replay receipt, and rebuild steps are in the public MathCase package linked above.

Prime numbers · Proof checking

What went wrong in the AI’s first proof?

A prime that divides a square also divides the number you squared. For instance, 3 divides 36 and also divides 6. The proof had to work for every prime and every square.

The AI supplied “divides the square” when Lean first needed “is prime.” It supplied both facts in the correct order on its second attempt. Lean accepted the repaired proof of this known theorem.

Read the two saved attempts
See the formal claim and source

Plain statement: if a natural prime p divides n squared, then p divides n.

p prime, p ∣ n² ⟹ p ∣ n

The first saved candidate was rejected by Lean because it used the divisibility assumption where the theorem required primality. The repaired candidate used both assumptions and its saved Lean check passed.

Known theoremOne exact statement checked · no novelty claim

The useful system evidence is the visible sequence: statement, rejected attempt, checker response, repaired proof, and saved check. A pass applies only to that formal target.

Files: use the saved reader on this site, or find the theorem source in MathCase at proofs/first-rung/MathCasePrimeInfiniteDescent.lean.

Walk through the saved case

Source records

Search 4,262 statements in the proof library

This public slice records each statement, source digest, listed dependencies, axiom report, and receipt row. Search matches the literal theorem name or exact Lean text; it does not infer meaning or theorem reuse.

The data stays unloaded until you click “Verify and load the index.” No model or search service is used.

What the hash check verifies

The browser checks the manifest, index, and records file against pinned SHA-256 values before searching. It also checks a displayed statement against its recorded statement digest. The 4,262 rows concern the pinned 215–220 shard set; the wording of the individual statements has not been independently reviewed.

Read the data scope and excluded records

Files: evidence/knowledge-graph/public-slice-v1/ contains the manifest, index, and records. The full graph contains 4,294 records. Only the linked slice is public.

How can the historical Collatz proof be rebuilt?

The November 26 public-source v2 run passed from 15:00:22 to 18:42:53 UTC: 363 modules compiled, all 23 axiom groups and 4,262 theorem queries exited successfully, and their axiom union was [propext, Quot.sound]. Its runner hash is recorded. A separate same-host read-only audit passed at 19:13:37 UTC after rehashing the saved inputs, outputs, logs, and dependencies; it did not rerun Lean. All 363 compiled outputs match the November 18 Phase 2 manifest; none match the original container OLEAN hashes.

A November 23 author-side run also reported a full PASS, and its saved artifacts later matched the published manifests. Its receipt lacks the runner hash. The earlier one-shard smoke test is a third, smaller record. Neither the same-host artifact audits nor the author-side builds amount to an independent stranger replay; that and mathematical review remain open. The local Docker image used by the run has no public pull URL; the documented source bootstrap is the public reproduction route.

Which mathematical and independent checks remain open?

Independent rebuild

The November 26 runner-bound, author-side public-source replay passed. A stranger’s full replay and independent mathematical review remain open.

Human and independent review

The wording of the individual Collatz statements has not been independently reviewed. The R(5,5) wording was reviewed and has a Lean proof, but no independent review or fresh-checkout replay. The public repository provides a self-service route for anyone to report an outside replay or mathematical review; no outside check is claimed here.

Learning from earlier proofs

One matched Collatz comparison tied on every test group. Whether saved examples help on average remains open. Read the matched comparison.

Open problems

These results do not solve Collatz or Erdős–Straus. The finite Ramsey construction reproduces a known lower bound; it is not a new result.

The R(5,5) source and receipt bundle is published in MathCase. The result still awaits independent review.

Which calculations and build attempts failed?
  • Largest-tier composition: two Lean elaboration failures and one 200,000-heartbeat definitional-equality timeout are preserved in the attempt history. A separate earlier all-at-once run stopped after 132 shards with exit 137; Docker reported no OOM. The later chunked proof and two source replays are separate records.
  • Replay setup: the root guard rejected one input path before Lean parsed a theorem; stderr SHA-256 is 2def9b59c92924c0da78eacb2ff935fb652dede81c4186b7aec689b1c3cff0f6. Phase 1's wrapper exit 124 came from the added watchdog after the inner runner completed.
  • 231-tier verification setup: two starts failed before reading data because the expected output directory or bound summary was missing. The later corrected public-copy audit passed; details and receipt hash are in its human report.
  • Finite graph input: a supplied graph6 certificate declared 42 vertices in YAML but encoded 41. It is excluded from the successful check and retained as a failed input record. The later R(5,5) Lean proof also preserves six earlier nonpassing receipt hashes beside the successful 27-chunk composition.
  • TruffleHog history scan: two unverified URI findings remain in historical negative-test fixtures. The current source constructs those inputs with net/url; an exact public exception record documents the fixture hashes and fail-closed monitoring rule. History was not rewritten and the scanner was not weakened. Read the exception and verification record ↗.
  • Separate preliminary check: a parent/import preflight stopped before a usable compatible receipt existed; no child proof was started. Restricted theorem material and source were not included here.

Failure files: evidence/collatz/m15-m20-pinned-replay/m20-composition-v1/attempt-history.md, legacy-aggregate-stop.json, and evidence/finite-graphs/ramsey-r55/graph6-order-mismatch-receipt.json. Only the outcome of the preliminary check is public.