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

There are 27 ways the four last-layer corners can be twisted, and exactly one of them is already solved.

cube-moves

B · Mathematics

∣coCases∣=27∧∣{c∈coCases∣c=1}∣=1|\mathrm{coCases}| = 27 \land |\{c \in \mathrm{coCases} \mid c = 1\}| = 1

Lean statement checked by the verifier:

coCases.length = 27 ∧ (coCases.filter (· = 1)).length = 1

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.