pub struct ContractProofStatus {
pub stem: String,
pub proof_level: ProofLevel,
pub obligations: u32,
pub not_applicable: u32,
pub falsification_tests: u32,
pub kani_harnesses: u32,
pub lean_proved: u32,
pub lean_grounded: u32,
pub l4_self_declared: bool,
pub bindings_implemented: u32,
pub bindings_total: u32,
}Expand description
Proof status for a single contract.
Fields§
§stem: StringContract file stem (e.g. “softmax-kernel-v1”)
proof_level: ProofLevelComputed hierarchical proof level
obligations: u32Number of proof obligations in the contract
not_applicable: u32Obligations declared applies_to: not_applicable (PMAT-3091). Counted
APART: never passed, discharged or proved, and never removed from
obligations for the level computation, so they cannot raise a level.
falsification_tests: u32Number of falsification tests defined
kani_harnesses: u32Number of Kani bounded-model-checking harnesses
lean_proved: u32Number of obligations proved in Lean 4
lean_grounded: u32Obligations grounded by a sorry-free in-tree Lean theorem the equation names (ONT-2a)
l4_self_declared: boolThe contract claims a Lean proof its tree does not ground: printed self-declared, excluded from L4
bindings_implemented: u32Number of bindings with implemented status
bindings_total: u32Total number of equation bindings
Trait Implementations§
Source§impl Clone for ContractProofStatus
impl Clone for ContractProofStatus
Source§fn clone(&self) -> ContractProofStatus
fn clone(&self) -> ContractProofStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContractProofStatus
impl Debug for ContractProofStatus
Source§impl<'de> Deserialize<'de> for ContractProofStatus
impl<'de> Deserialize<'de> for ContractProofStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContractProofStatus
impl RefUnwindSafe for ContractProofStatus
impl Send for ContractProofStatus
impl Sync for ContractProofStatus
impl Unpin for ContractProofStatus
impl UnsafeUnpin for ContractProofStatus
impl UnwindSafe for ContractProofStatus
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