pub struct Report {
pub verdicts: Vec<(String, Verdict)>,
pub rounds: Vec<Round>,
pub stats: Stats,
}Expand description
A decision over units: a verdict per output name, the rounds that made it, and the last round’s cost.
Fields§
§verdicts: Vec<(String, Verdict)>§rounds: Vec<Round>§stats: StatsImplementations§
Source§impl Report
impl Report
Sourcepub fn check(
&self,
left: &Side<'_>,
right: &Side<'_>,
functions: &[(String, String)],
) -> bool
pub fn check( &self, left: &Side<'_>, right: &Side<'_>, functions: &[(String, String)], ) -> bool
Every round’s derivation replays from its miter’s formula and proves the operand equalities of every
identification it makes, each of two applications of one function (one name on a side, or a pair functions
declares), each made one once and never with itself; the last round’s proves the outputs claimed equal; and no
output is claimed different.
Sourcepub fn check_unrolled(
&self,
left: &Unrolled<'_>,
right: &Unrolled<'_>,
functions: &[(String, String)],
) -> bool
pub fn check_unrolled( &self, left: &Unrolled<'_>, right: &Unrolled<'_>, functions: &[(String, String)], ) -> bool
Report::check over sides unrolled as each says.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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