lim 3x = 6 as x → 2, in the shape of an ε–δ definition typed exactly like this

Line 11 fails: δ = ε / 2 is too big.

  1. 4Given ε : ℝ where ε > 0valid · Context
  2. 5Let δ = ε / 2valid · Context
  3. 7Given x : ℝvalid · Context
  4. 8Assume |x − 2| < δvalid · Context
  5. 9Step: |3·x − 6| = 3·|x − 2|valid · SymPy
  6. 10Step: < 3·δvalid · Z3
  7. 11Step: = εinvalid · SymPy

    Algebraic step failed: ((3 * δ)) - (ε) simplifies to ε/2 ≠ 0.

    Counterexample: δ=1/4, ε=1/2, x=15/8

  8. 12Therefore ∃ δ > 0, ∀ x ∈ ℝ, |x − 2| < δ ⇒ |3·x − 6| < ε [witness: ε / 2]invalid · Z3 (Witness)
  9. 2at QED Claim: ∀ ε > 0, ∃ δ > 0, ∀ x ∈ ℝ, |x − 2| < δ ⇒ |3·x − 6| < εinvalid · QED

Check proofs the way your notes write them.

Lemmata checks every line, and when one fails it shows which, why, and a counterexample.

Free. Runs in your browser, or offline on your desktop. No account.

Write what your lecturer writes.

Type the symbol, or its name: forall, \epsilon, <=. Both read the same, and the app's symbol strip inserts any of these with a click.

It also says what you assumed.

Cancelling (x − 1) is right, unless x = 1. The checker points out the assumption the proof never states; add Assume x != 1 and the warning goes.

  1. 3Given x : Realvalid · Context
  2. 4Step: (x^2 - 1) / (x - 1) = x + 1warning · SymPy

    Unresolved domain obligation

    requires non-zero denominator ((x - 1) ≠ 0) in (((x ^ 2) - 1) / (x - 1)) (violated at x=1).

  • Algebra and logic, both. Calculations are checked by SymPy; inequalities, quantifiers and deductions by Z3.
  • Strict when you want it. Turn on strict domains and an unstated assumption fails the proof instead of warning.
  • What is known, at every line. Click any step to see the variables in scope, the hypotheses and the facts derived so far.
  • Honest about its limits. When the solver cannot decide, it says so. What it can check
The Lemmata app: a proof with δ = ε/2 in the editor, its audit beneath with the failing step and its counterexample, and the Guide's real-analysis page, with the δ = ε/3 version, pinned in the reading pane. The Lemmata app on a phone: the proof in the editor and its audit below, the failing step marked.
The study desk: your proof, its audit, and a page of the Guide pinned beside it.

Your module, as proofs you can check.

Course packs transcribe a module's results into Lemmata, numbered as in the notes, with deliberate mistakes to find. Install them from the Library, use a theorem in your own proof, or make a pack of your own.

The course packs that ship with Lemmata
PackEntriesTrapsChapters
MTH2008 Real Analysis67105
MTH2010 Algebra2912
Notation Notation and traps37232

More are published to the public pack registry, where every entry is re-checked before it is listed. Search it from the Library.

For lecturers and departments.

Lemmata is a study tool, not a grader: it explains and points, and never scores anyone.

Publish a module
Put your results and exercises in a pack and open a pull request. The registry checks every entry with the engine students use before anyone can install it. How to publish
Traps to find
A pack can carry deliberate mistakes. Students open one as an exercise and look for the failing line before the checker shows it.
Your own copy
Host it yourself: one site.json sets the name, the accent colour, the packs a first visit installs and your own registry. Self-hosting
What it can and cannot check
The capability matrix lists every construction the checker supports and every known gap, each one verified by a test. Read it

Before Lean, not instead of it.

Proof assistants such as Lean check everything, once you have learned type theory and their syntax. A computer algebra system checks one calculation at a time. Lemmata sits between them: the whole argument, line by line, in the notation of your notes, so you learn what a checked proof feels like before you formalise one.

Use it your way.

Bring tonight's problem sheet.

Type the first line of your proof and see how far the argument holds.

Open Lemmata