pub struct TheoryStep {
pub id: TheoryStepId,
pub rule: TheoryRule,
pub premises: Vec<TheoryStepId>,
pub args: Vec<ProofTerm>,
pub conclusion: ProofTerm,
}Expand description
A single step in a theory proof
Fields§
§id: TheoryStepIdUnique identifier for this step
rule: TheoryRuleThe rule applied
premises: Vec<TheoryStepId>Premises (indices of previous steps)
args: Vec<ProofTerm>Arguments to the rule (theory-specific)
conclusion: ProofTermThe conclusion (what this step proves)
Trait Implementations§
Source§impl Clone for TheoryStep
impl Clone for TheoryStep
Source§fn clone(&self) -> TheoryStep
fn clone(&self) -> TheoryStep
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 TheoryStep
impl Debug for TheoryStep
Auto Trait Implementations§
impl Freeze for TheoryStep
impl RefUnwindSafe for TheoryStep
impl Send for TheoryStep
impl Sync for TheoryStep
impl Unpin for TheoryStep
impl UnsafeUnpin for TheoryStep
impl UnwindSafe for TheoryStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more