pub struct LibraryTheorem {
pub name: String,
pub premises: Vec<ProofExpr>,
pub goal: ProofExpr,
pub cites: Vec<String>,
}Expand description
One theorem in a dependency-ordered library: proved from its own premises plus
the conclusions of the theorems it cites. This is the unit the multi-theorem
driver discharges in citation order (the Euclid-graph engine).
Fields§
§name: String§premises: Vec<ProofExpr>§goal: ProofExpr§cites: Vec<String>Names of earlier theorems whose conclusions this proof relies on.
Trait Implementations§
Source§impl Clone for LibraryTheorem
impl Clone for LibraryTheorem
Source§fn clone(&self) -> LibraryTheorem
fn clone(&self) -> LibraryTheorem
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 LibraryTheorem
impl Debug for LibraryTheorem
Source§impl PartialEq for LibraryTheorem
impl PartialEq for LibraryTheorem
Source§fn eq(&self, other: &LibraryTheorem) -> bool
fn eq(&self, other: &LibraryTheorem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LibraryTheorem
Auto Trait Implementations§
impl Freeze for LibraryTheorem
impl RefUnwindSafe for LibraryTheorem
impl Send for LibraryTheorem
impl Sync for LibraryTheorem
impl Unpin for LibraryTheorem
impl UnsafeUnpin for LibraryTheorem
impl UnwindSafe for LibraryTheorem
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