pub struct ProofAnalysis {
pub size: usize,
pub depth: usize,
pub lambda_count: usize,
pub app_count: usize,
pub let_count: usize,
pub fvar_count: usize,
pub bvar_count: usize,
pub uses_classical: bool,
pub constants: HashSet<Name>,
}Expand description
A record describing the structure of a proof term for analysis.
Fields§
§size: usizeTotal AST node count.
depth: usizeMaximum nesting depth.
lambda_count: usizeNumber of lambda abstractions.
app_count: usizeNumber of applications.
let_count: usizeNumber of let-bindings.
fvar_count: usizeNumber of free variables referenced.
bvar_count: usizeNumber of bound variable references.
uses_classical: boolWhether the term contains any classical axiom.
constants: HashSet<Name>Names of all constants referenced.
Implementations§
Trait Implementations§
Source§impl Clone for ProofAnalysis
impl Clone for ProofAnalysis
Source§fn clone(&self) -> ProofAnalysis
fn clone(&self) -> ProofAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProofAnalysis
impl RefUnwindSafe for ProofAnalysis
impl Send for ProofAnalysis
impl Sync for ProofAnalysis
impl Unpin for ProofAnalysis
impl UnsafeUnpin for ProofAnalysis
impl UnwindSafe for ProofAnalysis
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