<style>button,.story-clue{pointer-events:none}button{opacity:.55}.story-clue{pointer-events:auto}.panel-select{opacity:1}#app-status{display:none}</style>
A MATHEMATICAL ADVENTURE FOR CURIOUS MINDS

A small why. A big adventure.

Follow the story. Try a proof. Let curiosity choose how deep you go.

No account. No API key. Just curiosity.

Two ways in. One table between them.

I'd rather not fight math today

Walk in through the manga: seventeen chapters, sixty-four pocket pebbles, zero required formulas. The Lean source stays behind glass until you ask for it.

Straight to the mathematics

Begin at the proof map — thousands of named theorems — then climb the full ladder from clock inverses to R = T. The story keeps telling itself beside you; it will keep you honest.

Made for company: one reader who loves math and one who does not — one sofa. Whatever each of you finds carries over to the tea salon.

Start with “I don’t know yet.”

Seventeen chapters, one extraordinary argument. One small discovery is enough for today.

17 chapters · StoryOriginal source ↗

Pip’s rule: mistakes are clues. Every chapter is open, and every question allows another try.

Modularity, the 3–5 trick, and compatible pieces.

Choose your depthStart with the intuition.
Explore the whole proof29,511 theorems · original statements · dependencies

Search the local catalogue in English or Japanese. Major landmarks have Japanese titles. Open the full original proof on GitHub for the complete context.

Your discovery in this chapter

Recognize the key challenge in patching: compatible local data must produce one coherent object.

Compatibility
Shared parts of different pieces agree.
Coherent object
One object satisfying the required relationships all at once.
Where the metaphor ends

A quilt is a metaphor for compatibility. Randomly assembling examples does not establish the theorem. The substantial construction precedes this final wrapper.

</>S_Algebra_PatchingDatum_nonempty_patchingLevel_bot.lean
theorem solution
{𝒪 : Type} [CommRing 𝒪] [IsDomain 𝒪] [IsDiscreteValuationRing 𝒪]
[IsAdicComplete (IsLocalRing.maximalIdeal 𝒪) 𝒪] [Finite (IsLocalRing.ResidueField 𝒪)]
{ℓ r : ℕ} (hℓ : (ℓ : 𝒪) ∈ IsLocalRing.maximalIdeal 𝒪)
{R : Type} [CommRing R] [Algebra 𝒪 R] {M : Type} [AddCommGroup M] [Module R M]
(P : Algebra.PatchingDatum 𝒪 ℓ r R M) :
Nonempty (Algebra.PatchingLevel 𝒪 r R M ⊥) := by
rcases subsingleton_or_nontrivial M with hM | hM
· exact ⟨FrobDictPC.Limit.trivialLevel P⟩
· haveI : Fact ((ℓ : 𝒪) ∈ IsLocalRing.maximalIdeal 𝒪) := ⟨hℓ⟩
exact ⟨FrobDictPC.Limit.patchedLevel P⟩

👩🏻‍🎨 Mika · Source reading guide

Each piece may satisfy its own rules, but the pieces must also agree where they meet. The input records the pieces and their constraints. A developed construction then supplies one object with all those relationships. This is called patching and supports the deeper lifting machinery.

Annotated original · not a live Lean state

Point to a story clue or a highlighted term to connect the two.

Try this logical move →
Source and verification details

Source: anthropics/fermats-last-theorem @ aa2d8b3. Upstream reports verification; this reader has not independently rebuilt the project. Manga explanations are not formal proofs.

Source license & attribution
Chapter 13/17 · Story

Pip’s impossible quilt

A thousand local pieces. One pigeon volunteering to glue them randomly.

How we got here

The two workshops supplied objects and a map between them. Patching must also make the pieces compatible. Matching individual pieces is not enough unless the relations between them agree.

These links explain the reading route. A story analogy is not a proof of this theorem.

Take it to the tea salon
PIP
“I found lots of correct quilt squares. Surely that finishes the quilt?”
One ambitious quilt

Story → proofLoose quilt squares are input pieces. Patching data also specifies how their joins must fit.

Pieces and compatibilityAlgebra.PatchingDatum
PIP
“An almost empty quilt? Finally, a role with little rehearsal.”
A quiet special case

Story → proofThe empty frame represents the subsingleton special case, where the separate trivial-level construction suffices.

The quiet special caseFrobDictPC.Limit.trivialLevel
MIKA
“For the other case, the earlier construction supplies the fitted object. That is where the hard work lives.”
A coherent construction

Story → proofThe sewn bridge is the witness supplied by patchedLevel in the other case. Loose pieces or random glue are not enough.

The assembled bridgeFrobDictPC.Limit.patchedLevel

The idea behind the story

Each piece may satisfy its own rules, but the pieces must also agree where they meet. The input records the pieces and their constraints. A developed construction then supplies one object with all those relationships. This is called patching and supports the deeper lifting machinery.

Is a pile of individually correct puzzle pieces already a complete puzzle?

  • No. Their joins and overall compatibility still matter.
  • Yes. Glue proves compatibility.

The story and source are readable here. Enable JavaScript to edit proofs, try quizzes, and explore the interactive map.

With modularity and irreducibility in hand, the proof can force the curve’s modular companion into a very small room.

Read. Try. Make it click.

  1. Read the manga and choose Story, Math, or Lean depth.
  2. Open the proof playground. Edit the tactics and watch the goals change.
  3. Select a state, term, or hint. Wrong turns are part of the story.

The playground checks a small propositional language. FLT excerpts are editable reading material, not live-checked Lean proofs. The complete FLT build remains an upstream verification report.

I’m lost · Help

Mika’s help desk

Pip’s impossible quilt

One thing at a time

Start with the cake-scale story. You only need to read one small piece at a time. If you are in the Fermat story, start with Story depth, then the words listed before the chapter.

In simpler words

You do not need to know Lean, symbols or university mathematics to begin. Definitions come first in the small stories.

A small clue

Look at the small example before the general formula. Ask what changed and what stayed the same.

Close this panel to return to the exact place you were reading. These are prepared hints for this page.

Start with the first small story →