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§
Auto 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