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

Define myR, the state after one clockwise turn of the right face, so that its 54 stickers are exactly those of a real R turn.

cube-moves

B · Mathematics

colours(myR)=stickers after R\mathrm{colours}(\mathrm{myR}) = \text{stickers after } R

Lean statement checked by the verifier:

myR.colours = [0, 0, 2, 0, 0, 2, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 5, 3, 3, 5, 3, 3, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 5, 5, 0, 5, 5, 0, 5, 5]

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.