Skip to content
LeanLearn

Proof Lab

Problem, mathematics, Lean editor, live goals, proof tree and hints side by side. Goal states and the final verdict come from the real Lean 4 kernel.

A · Problem

Seven steps of next bring every weekday back to itself.

inductive-types

B · Mathematics

∀d,  next7(d)=d\forall d,\; \mathrm{next}^7(d) = d

Lean statement checked by the verifier:

∀ d : Weekday, d.next.next.next.next.next.next.next = d

E · Proof tree

Place the cursor inside a tactic proof to see its goal.

C · Lean editor · D · Goals · F · Feedback

Goals (line 1)

Place the cursor inside a tactic proof to see its goal.

Lean messages

No messages. Lean accepted everything.