pub struct TheoremBlock<'a> {
pub name: String,
pub premises: Vec<&'a LogicExpr<'a>>,
pub goal: &'a LogicExpr<'a>,
pub strategy: ProofStrategy,
}Expand description
A theorem block containing premises, goal, and proof strategy.
Fields§
§name: StringThe name of the theorem (e.g., “Socrates_Mortality”)
premises: Vec<&'a LogicExpr<'a>>Premises (Given statements) - logical expressions to assume true
goal: &'a LogicExpr<'a>The goal to prove (Prove statement)
strategy: ProofStrategyThe proof strategy to use
Trait Implementations§
Source§impl<'a> Clone for TheoremBlock<'a>
impl<'a> Clone for TheoremBlock<'a>
Source§fn clone(&self) -> TheoremBlock<'a>
fn clone(&self) -> TheoremBlock<'a>
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<'a> Freeze for TheoremBlock<'a>
impl<'a> RefUnwindSafe for TheoremBlock<'a>
impl<'a> Send for TheoremBlock<'a>
impl<'a> Sync for TheoremBlock<'a>
impl<'a> Unpin for TheoremBlock<'a>
impl<'a> UnwindSafe for TheoremBlock<'a>
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