Skip to the guide
MathCase

MathCase subject guide

What kind of math would you like to try?

Open a subject to find a question, a way to understand it, and the result someone actually checked.

Number theoryWhen a prime divides a square, what else must it divide?

Start with a small number, then follow a worked lesson about why the divisor matters. Lean, a program that checks proofs, accepted the corrected argument for every prime divisor. The example with 4 and 2 is a separate arithmetic counterexample.

Read the same proof at five levels

These explanations were written for this page. Each explains the same statement. Lean checked the saved formal proof. The five explanations have not had independent teaching review.

High school · Think of a square as a product

A square is a number times itself. A prime that divides a product must divide at least one of its factors. In a square the two factors are the same number, so it must divide that number. For example, 5 divides 100 = 10 × 10, and it divides 10.

Associate · Use the prime product rule

Write n² as n × n. Euclid’s lemma says that if a prime p divides a product, then p divides its first factor or its second factor. Either conclusion here is p ∣ n.

Bachelor’s · Look at the remainder

Reduce n modulo p. If its remainder were nonzero, it would have a multiplicative inverse because p is prime. Its square could not be zero, since multiplying by the inverse twice would give 1 = 0 modulo p. So n has remainder zero.

Master’s · Recognize a prime ideal

In the integers, the ideal (p) of multiples of a prime p is a prime ideal. Since n · n belongs to (p), one of its factors belongs to (p). Both factors are n, which gives p ∣ n.

Doctorate · Reframe it in the quotient

The image of n in ℤ/(p) has square zero. This quotient is a field and hence reduced, so the image of n is zero. The square argument uses only the absence of nonzero square-zero elements in the quotient.

Graph coloring · RamseyCan you avoid a triangle whose lines are all one color?

Try six dots and two colors. The board checks the lines you chose. A short written proof explains why every such coloring contains a triangle. On larger graphs, a coloring that avoids a one-color group shows you need more dots before such a group is guaranteed.

Integer sequences · CollatzHow soon can a sequence fall below its starting number?

Follow one number by halving it when even or tripling it and adding 1 when odd. A separate Lean proof guarantees a drop within 37 ordinary steps for starts of at least 3 meeting a precise 23-step condition. Whether every positive start eventually reaches 1 remains open.

Fractions · Erdős–StrausWhen can 4/n be split into three fractions with 1 on top?

Try three denominators for 4/21 and check the sum exactly. The formula explanation extends examples to whole families, including numbers of the form 28k + 21. The finite search records more examples. The Erdős–Straus conjecture for all integers n ≥ 2 remains open.

Number patterns · Schur & van der WaerdenCan coloring whole numbers hide a pattern?

Look for equally spaced numbers of one color, or a same-color sum such as 2 + 3 = 5. The worked research notes explain which finite colorings avoided a pattern and where extensions failed. A failed extension of one coloring leaves other starting colorings open.

Related diagnosticsWhere can I inspect source audits and incomplete replays?

Small examples, pinned-source checks, and bounded searches are available with their limits. They are kept apart from the featured proof and established activities.

Logic & discrete structuresWhat does it mean to belong to a two-item list?

A value belongs to [b, c] exactly when it equals b or equals c. For example, 5 belongs to [2, 5] because it equals the second entry. The prototype records five draft explanations of this known theorem, from high school through doctorate. Independent teaching review remains open.

More: saved case records and replay instructions
For people rerunning checks from a MathCase clone

Re-run saved checks on your computer

The command-line launcher lists the available saved checks. Choose one to run its documented calculation or Lean check. Each run writes fresh logs and receipts in a new folder. No model is called.

python scripts/run_public_case.py list
python scripts/run_public_case.py collatz
python scripts/run_public_case.py collatz-at-most-twelve
python scripts/run_public_case.py ramsey66

The prime-to-√2 route needs pinned Mathlib or an explicit bootstrap directory. The Riemann route fetches only four hash-pinned upstream files. A visitor-owned Lean file is checked locally with the pinned toolchain.

Prime divisibility
Saved model attempt + Lean check

Plain claim: when a natural prime divides a square, it divides the number being squared.

p prime and p ∣ n² ⇒ p ∣ n

The saved case preserves a rejected first candidate and the checked correction. This is a known theorem and a historical saved run, not a new proof attempt or a broad capability claim.

A composite-divisor counterexample
Saved local arithmetic check

Plain claim: the unrestricted rule “a divisor of a square divides its root” is false.

4 ∣ 2², but 4 ∤ 2

The saved reader demonstrates this one exact counterexample. It was not a failed model response and it does not imply a general theorem.

Prime lemma reused in the √2 descent
Pinned local parent-to-child replay · candidate-only

Plain claim: the public child source uses the prime-divisibility lemma at the prime two inside a classical infinite-descent proof of the irrationality of √2.

The public replay compiled the exact parent source and then the child from pinned Lean 4.33.1 and Mathlib bytes, checked both formal targets, and rejected a negative control with primality removed. The recorded axioms are [Classical.choice, Quot.sound, propext].

This is a fresh check of the published source. It does not replace a human review of the statement, establish a new result, or amount to independent acceptance of the dossier.

When do 32 Collatz steps take a number downhill?
Collatz · number patterns · Lean checked

Plain claim: if exactly 12 of a number’s first 20 accelerated Collatz inputs are odd, its value after 32 ordinary steps is smaller than its start. This holds for every number in each qualifying residue progression.

125,970 of 1,048,576 residues satisfy the condition; Lean proves the exact count and the descent for every progression member.

The result covers a fixed parity pattern, not every starting value; it proves no global convergence and makes no priority claim.

py -3 -B reproduction/collatz-twelve-of-twenty-v1/check_word_bound.py
py -3 -B reproduction/collatz-twelve-of-twenty-v1/verify_count.py
Do twelve or fewer odd inputs lead to a drop?
Collatz · parity patterns · Lean checked

Plain claim: for every start at least 3, if no more than 12 of its first 20 accelerated inputs are odd, one ordinary iterate at step 20 through 32 is smaller than the start.

910,596 of 1,048,576 residue classes qualify. The exact step is 20 plus the odd-input count.

The Lean theorem covers every member of each qualifying progression. A separate 13-odd theorem marks the limit of this all-members guarantee at its corresponding endpoint. No convergence or novelty claim is made.

python scripts/run_public_case.py collatz-at-most-twelve
Can 21 parity steps guarantee a first drop?
Collatz · parity patterns · Lean checked

Plain claim: for every start at least 3, if no more than 13 of its first 21 accelerated inputs are odd, one ordinary iterate at step 21 through 34 is smaller than the start.

1,898,712 of 2,097,152 residue classes qualify (90.5376%). Lean proves the exact count and the descent for every member of each qualifying progression.

A separate Lean boundary statement shows that every 14-odd residue has a representative that is not smaller at the corresponding step 35. This bounds this uniform rule; it does not say every such trajectory fails to descend later. No convergence or novelty claim is made.

python scripts/run_public_case.py collatz-at-most-thirteen
Can 22 parity steps guarantee a first drop?
Collatz · parity patterns · Lean checked

Plain claim: repeat this shortcut 22 times: halve even numbers; for odd numbers, do 3n+1 and halve. For every start n ≥ 3 whose shortcut path begins on an odd number at most 13 times, a regular Collatz step takes it below its start by step 35.

The Lean-checked count is 3,593,934 of 4,194,304 possible 22-step parity patterns (85.6861%).

Example: starting at 7, the shortcut path begins 7 → 11 → 17 → 26 → 13 → 20 → 10 → 5 → 8 → 4 → 2 → 1. This is one example, not the proof. The theorem covers every qualifying start, but does not prove every Collatz sequence reaches 1 or make a novelty claim. Its pattern set differs from the 20- and 21-step results.

python scripts/run_public_case.py collatz-at-most-thirteen-22
Can a number fall below itself within 44 steps?
Collatz · Lean checked

The rule: halve an even number. For an odd number, triple it, add 1, and halve once. Repeat 27 times.

Plain claim: for every start n ≥ 26,018 with at most 17 odd moves, the ordinary Collatz value at step 27+h is below its start, no later than step 44.

Example: 26,018 has 12 odd moves and falls below its start after 39 ordinary steps, reaching 107. That example illustrates the rule; it is not the proof.

The rule covers only starts that meet its size and parity conditions. It does not prove that every Collatz sequence reaches 1.

Show the pattern count and command-line replay

The separate arithmetic count is 126,025,204 of 134,217,728 possible 27-move parity patterns (93.8961%). It is not a natural-density result or a percentage of Collatz solved.

python scripts/run_public_case.py collatz-at-most-seventeen-27

Open the proof guide and replay files ↗

Can 23 shortcut moves force a first drop?
Collatz · reviewed statement · Lean checked

Plain claim: for every start n ≥ 3, if at most 14 of the first 23 shortcut moves begin on an odd number, a regular Collatz step takes it below its start at step 23+h, no later than step 37.

Lean counted exactly 7,507,638 of 8,388,608 residue classes modulo 2²³. The descent theorem reports [propext, Quot.sound]; the count and combined theorem report [Classical.choice, propext, Quot.sound]. No sorryAx was reported.

This is one bounded first-drop result. It does not show that every sequence reaches 1, prove Collatz, or claim novelty. Three neighboring parameter cases remain exploratory.

python -B scripts/run_public_case.py collatz-parity-envelope-23-14

The command passed from a fresh public checkout with Lean 4.33.1. It compiles the four modules for this result and writes a receipt. The recorded Windows run took 14.251 seconds.

The 2,652 listed Collatz progressions
Compact Lean replay · separate from historical 363-module replay

Plain claim: for each of the 2,652 published coefficient pairs and every natural k, 32 ordinary steps take 1,048,576k+r to 531,441k+q, which is smaller.

The five-module Lean-core replay also checks a prespecified sample of 456 rows.

The November 26 author-side v2 run passed with a runner hash bound: 363 modules, 23 axiom groups, and 4,262 theorem queries. A separate same-host audit rehashed its files without running Lean. A stranger’s full replay and independent mathematical review remain open.

py -3 -B reproduction/collatz-affine-family-replay-v1/verify_parity.py
Can these 860 selected groups of Collatz starts be shown to drop?
Secondary record · fresh replay and review open

The saved Lean record reports a bounded first-drop result for 860 selected groups of Collatz starting numbers. Each group contains infinitely many starts: take a fixed offset and add the same fixed jump size any whole number of times. The recorded form is r + 2dk, with k = 0, 1, 2, …. The exact statement has no recorded wording review, and the process that selected these groups has not been independently reproduced. The public checker checks saved files and arithmetic; it does not run Lean. A fresh outside replay remains open, and this is not a proof that every Collatz sequence reaches 1.

Does saved Collatz context help the proof writer?
One matched pair · no observed uplift

Plain finding: the control and library-assisted responses returned identical predictors and tied on each recorded test group.

Both arms scored 681/681 held rows, 4,096/4,096 outside probes, and 96/96 boundary cases; both exact Lean audits passed. This single pair found no benefit. It is not enough data to estimate average performance, and Codex credit use was not exposed.

py -3 -B research/collatz-library-transfer-pilot-v1/replay_pilot.py
Ramsey R(5,5)
Known finite lower bound · source replay status shown

Plain claim: a known 42-vertex graph has no monochromatic five-clique, witnessing the established bound R(5,5) ≥ 43.

The standard graph6 export and its browser decoder now agree with the Lean adjacency masks; an exhaustive local checker examines all 850,668 five-vertex subsets. The Lean proof still has its recorded warm-cache receipt; a fresh-checkout Lean build and independent review remain open.

Ramsey R(6,6)
Known lower bound · author replay passed

Plain claim: a known coloring of 101 dots avoids a one-color group of six. So any guarantee of such a group needs at least 102 dots: R(6,6) ≥ 102.

A fresh author-side replay with Lean 4.33.1 rebuilt all three MathCase proof files under the current pinned Lake lock, using a fresh MathCase output folder. It reused the public Mathlib cache fetched during setup. The final audit reported [propext, Classical.choice, Quot.sound] and no sorryAx. This checks the known 101-dot witness; it is not a new Ramsey bound.

The command below checks the saved graph certificate in Python; it does not run Lean. The linked guide explains how to rebuild the proof. A stranger has not yet independently rebuilt it, and independent mathematical review remains open. The older container receipt pins a different dependency lock; the reason for that mismatch is unknown.

python scripts/run_public_case.py ramsey66
Erdős–Straus
Finite search and one identity family

Plain claim: the public campaign records exact bounded denominator witnesses and an identity for one arithmetic progression.

The finite witnesses and the one identity are different kinds of evidence. They do not establish the Erdős–Straus conjecture for all integers.

Riemann Hypothesis source audit
External result · source check only

This is a hash check of four public reference files, not a proof replay or independent validation. The preserved attribution and source links are in the diagnostics archive.

What does the permanent count that the determinant subtracts?
Worked arithmetic · upstream proof not replayed

The two-by-two example and the upstream source-identity check are kept in the diagnostics archive. MathCase did not replay the upstream theorem.

Bring your own theorem
Visitor-owned work

Plain route: write the statement in Lean, save the source, and ask the configured checker to compile it. A successful compile certifies that exact formal target, not that it matches your informal wording.

How to read these labels: “saved” means an earlier result is displayed; “local calculation” runs bounded arithmetic in your browser; “Lean replay” compiles source locally when you run the command. The public site does not run arbitrary Lean in the browser. No model calls or external inference API calls are triggered by this catalog.

← HomeAll work →Back to top ↑