pub struct ProofCertificate {
pub proposition: Expr,
pub proof_term: Expr,
pub is_constructive: bool,
pub has_sorry: bool,
}Expand description
A proof certificate: a self-contained record attesting that a term is a valid proof of a proposition.
Fields§
§proposition: ExprThe proven proposition.
proof_term: ExprThe proof term.
is_constructive: boolWhether the proof is constructive.
has_sorry: boolWhether the proof contains any sorry.
Implementations§
Trait Implementations§
Source§impl Clone for ProofCertificate
impl Clone for ProofCertificate
Source§fn clone(&self) -> ProofCertificate
fn clone(&self) -> ProofCertificate
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 Freeze for ProofCertificate
impl RefUnwindSafe for ProofCertificate
impl Send for ProofCertificate
impl Sync for ProofCertificate
impl Unpin for ProofCertificate
impl UnsafeUnpin for ProofCertificate
impl UnwindSafe for ProofCertificate
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