Expand description
The proof drawer for Logic mode: the Studio’s bottom drawer, risen from the dock bar.
The drawer docks below the panel row, on the Studio page and in a frame alike, and is dragged
by the grip on its top edge the way the debugger’s drawer is. Its bar names it and says how the
proof stands (ProofStatus); its body is the derivation once there is one, drawn by the
Studio’s own tree (components::tree, the Files tree’s and the Syntax Tree’s): each step a row,
its rule in a pill and its conclusion beside it, its premises its parts, down to the givens
(ProofNode). Until there is one, the walkthrough: the three steps a first visit takes, each
marked done, next, or still to come (Walkthrough). The one action is Prove, in the dock bar
and nowhere else: the prover searches on its own (auto_view), so the panel offers no tactic a
reader would have to choose.
§Props
proof_text- Formatted derivation tree HTMLstatus- Current proof statesteps- What the reader has done so far, for the walkthroughheight- The drawer’s height, which its grip changeson_prove- Prove was pressedon_close- The drawer’s close was pressed
Re-exports§
pub use ProofPanel_completions::Component::ProofPanel;
Structs§
- Proof
Node - One step of a derivation, as the drawer draws it: the rule’s word, what the rule was applied with (the term a universal was instantiated at, a witness), the conclusion it reached, and the steps it rests on.
- Proof
Panel Props - Properties for the
ProofPanelcomponent. - Walkthrough
- What the reader has done so far: written something, and run Execute on it.
Enums§
- Proof
Status - Proof status for the UI
- Step
State - Where a step stands for this reader.
Constants§
- DERIVATION_
NOTE - What the note above the derivation says.
- STEPS
- The three steps a first visit takes, in order: what to do, and what it shows.
Functions§
- Proof
Panel - The proof drawer: its bar with the proof’s status, and the derivation tree or the walkthrough.
- dock_
prompt - The dock bar’s line: the step to take now, or, once Execute has run, what the prover last said
(
hint), else the invitation to prove.