Displaying Proof Goals with Alectryon
This post exercises the Alectryon integration: every coq and rocq fence
below is executed by Coq, and the proof state after each sentence is recorded.
Not every sentence produces a state (the closing Qed., for instance, produces
none), so only the steps that do are marked with a trailing dot. Hover a marked
step, or tap it, to reveal the goals it produces.
A trivial proof
True /\ TrueTrueTrueexact I.Trueexact I. Qed.True
The same proof written with a rocq fence
The rocq fence is normalized to alectryon just like the coq fence, so it
is executed in the same session.
1 + 1 = 2reflexivity. Qed.1 + 1 = 2
Both blocks share one Coq session, in source order.