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

If one y works for every x, then for every x some y works.

quantifier-proofs

B · Mathematics

(∃y, ∀x, R(x,y))→∀x, ∃y, R(x,y)(\exists y,\, \forall x,\, R(x, y)) \to \forall x,\, \exists y,\, R(x, y)

Lean statement checked by the verifier:

∀ (R : Nat → Nat → Prop), (∃ y, ∀ x, R x y) → ∀ x, ∃ y, R x y

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.