MathCase Your proof Saved Case Desk

Your proof notebook

Four goes evenly into 2 × 2. Does it go evenly into 2? Open the example and put your answer in your own words.

Try the 4 and 2 example Walk through the lesson

Help with writing a proof

Write what you think the example shows. Lean is a proof checker. It checks whether the code proves the statement written in Lean. You decide whether that statement captures your idea.

New to Lean? Write the claim in your own words, then prepare a draft request for an AI you choose. MathCase copies the request; it does not send your words to an AI or verify that the proposed Lean statement says the same thing.

Statement in Lean and theorem name

Lean checks whether the named theorem proves this statement. Compare it with your English claim to make sure they say the same thing.

Exact proposition SHA-256 · Not set

Check the proof

Add the exact proposition and its declaration name to check that the theorem proves the target.

Opening the public Lean editor sends your proof code and any generated target check to live.lean-lang.org.

Online checks and saved receipts

The online editor shows compiler output. It chooses its own Lean and Mathlib versions, which may differ from the MathCase local checker (Lean 4.33.1). To save a receipt, use the local check below.

Prefer a separate window?
Check locally and save a receipt

Choose Save the whole claim to download a packet with the plain claim, exact proposition, theorem name, and Lean source. Place it in the MathCase checkout and run the command below. The starter uses Lean Core. For sources importing Mathlib, use an already prepared Lean 4.33.1 project and add --lake-project PATH; this command does not fetch packages.

A MathCase Codespace can install the pinned Lean Core toolchain; Mathlib is not included by default.

Load the receipt to see whether its claim, proposition, theorem name, and proof code match this draft. The fingerprints identify the saved content. MathCase does not sign visitor receipts.