pub struct ProofAnalyzer;Expand description
A proof analysis engine.
Implementations§
Source§impl ProofAnalyzer
impl ProofAnalyzer
Sourcepub fn is_constructive(term: &Expr) -> bool
pub fn is_constructive(term: &Expr) -> bool
Check whether a proof is constructive (no classical axioms).
Sourcepub fn uses_classical(term: &Expr) -> bool
pub fn uses_classical(term: &Expr) -> bool
Check whether a proof uses any classical axioms.
Sourcepub fn count_applications(term: &Expr) -> usize
pub fn count_applications(term: &Expr) -> usize
Count the number of applications in a proof term.
Auto Trait Implementations§
impl Freeze for ProofAnalyzer
impl RefUnwindSafe for ProofAnalyzer
impl Send for ProofAnalyzer
impl Sync for ProofAnalyzer
impl Unpin for ProofAnalyzer
impl UnsafeUnpin for ProofAnalyzer
impl UnwindSafe for ProofAnalyzer
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