pub struct ProofExplainer { /* private fields */ }Expand description
Proof explanation generator.
Implementations§
Source§impl ProofExplainer
impl ProofExplainer
Sourcepub fn with_verbosity(verbosity: Verbosity) -> Self
pub fn with_verbosity(verbosity: Verbosity) -> Self
Create a proof explainer with specific verbosity.
Sourcepub fn explain_node(&self, proof: &Proof, node: &ProofNode) -> ExplainedStep
pub fn explain_node(&self, proof: &Proof, node: &ProofNode) -> ExplainedStep
Explain a single proof node.
Sourcepub fn explain_proof(&self, proof: &Proof) -> Vec<ExplainedStep>
pub fn explain_proof(&self, proof: &Proof) -> Vec<ExplainedStep>
Explain an entire proof.
Sourcepub fn summarize_proof(&self, proof: &Proof) -> String
pub fn summarize_proof(&self, proof: &Proof) -> String
Generate a step-by-step summary of the proof.
Sourcepub fn critical_path(&self, proof: &Proof) -> Vec<ProofNodeId>
pub fn critical_path(&self, proof: &Proof) -> Vec<ProofNodeId>
Identify the critical path in a proof (longest path from axiom to conclusion).
Sourcepub fn analyze_complexity(&self, proof: &Proof) -> ProofComplexity
pub fn analyze_complexity(&self, proof: &Proof) -> ProofComplexity
Analyze proof complexity.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProofExplainer
impl RefUnwindSafe for ProofExplainer
impl Send for ProofExplainer
impl Sync for ProofExplainer
impl Unpin for ProofExplainer
impl UnsafeUnpin for ProofExplainer
impl UnwindSafe for ProofExplainer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more