See what each Rocq tactic builds
Every tactic constructs part of a λ-term. Step through a proof and watch the term grow, side by side with the script. All terms are real Show Proof. output from Coq.
split on P /\ Q builds conj with two holes.
Theorem split_ex : forall P Q : Prop, P -> Q -> P /\ Q. Proof. intros P Q p q. split. - exact p. - exact q. Qed.
MMMMMMMMMM
A proof starts as a single hole whose type is the statement.
?GoalOpen goals (1) one per hole
- ?Goalcurrent goal⊢ forall P Q : Prop, P -> Q -> P /\ Q
built by the current tactichole: a goal still to fillearlier tactics greyed · later ones dashed
What is this?
In Rocq (formerly Coq) a proof is a program: every tactic you run builds part of a λ-term, the proof term. Rocq can show the partial term with Show Proof., but only as text, after you run it by hand. This page runs your proof in the browser, asks Coq for Show Proof. after every tactic, and highlights what the tactic just built. Holes (?Goal) are the goals still open.