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 every P is a Q, and something is a P, then something is a Q.

quantifier-proofs

B · Mathematics

(∀x, P(x)→Q(x))→(∃x, P(x))→∃x, Q(x)(\forall x,\, P(x) \to Q(x)) \to (\exists x,\, P(x)) \to \exists x,\, Q(x)

Lean statement checked by the verifier:

∀ (P Q : Nat → Prop), (∀ x, P x → Q x) → (∃ x, P x) → ∃ x, Q x

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.