Skip to main content

RefinementCounters

Struct RefinementCounters 

Source
pub struct RefinementCounters {
Show 17 fields pub models: usize, pub resolved: usize, pub l4_models: usize, pub l3_models: usize, pub ghosts: usize, pub theorem_modules: usize, pub unrefined: usize, pub orphaned_roots: usize, pub base: String, pub base_theorem_modules: usize, pub base_unrefined: usize, pub unrefined_baseline: usize, pub base_orphaned_roots: usize, pub new_unrefined: usize, pub new_orphaned_roots: usize, pub pc_resolver: String, pub violations: usize,
}
Expand description

The counters --gate refinement reports, flattened into GateExtra::Refinement’s JSON.

Fields§

§models: usize

Well-formed models: entries.

§resolved: usize§l4_models: usize

Models granting L4 (extraction/simulation, resolving, in the cone).

§l3_models: usize

Models granting L3 (test_witnessed, resolving, in the cone).

§ghosts: usize

model_of that does not resolve (PV-ONT-031).

§theorem_modules: usize

HEAD: modules in the root’s import cone with at least one theorem.

§unrefined: usize

HEAD: of those, the ones no L4 model covers.

§orphaned_roots: usize

HEAD: contract-bound theorems outside the cone.

§base: String

What HEAD was compared with (merge-base(HEAD, origin/main) <sha>).

§base_theorem_modules: usize§base_unrefined: usize§unrefined_baseline: usize

Same measured value as base_unrefined, under the name the ONT-3b spec probe reads. Measured at the merge-base in this run; never a stored count.

§base_orphaned_roots: usize§new_unrefined: usize

Unrefined at HEAD, not at BASE (PV-ONT-033).

§new_orphaned_roots: usize

Orphaned at HEAD, not at BASE (PV-ONT-034).

§pc_resolver: String

fired — the resolver found a present item and refused an absent one this run.

§violations: usize

Trait Implementations§

Source§

impl Clone for RefinementCounters

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RefinementCounters

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RefinementCounters

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Serialize for RefinementCounters

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.