pub struct ProofSkeleton {
pub term: Expr,
pub ty: Expr,
pub holes: Vec<Name>,
}Expand description
A proof skeleton: a proof term with holes (sorry) that need to be filled.
Proof skeletons are used in structured proof construction to track what remains to be proved.
Fields§
§term: ExprThe proof term, which may contain sorry nodes.
ty: ExprThe type (proposition) being proved.
holes: Vec<Name>Names of the holes that still need proofs.
Implementations§
Trait Implementations§
Source§impl Clone for ProofSkeleton
impl Clone for ProofSkeleton
Source§fn clone(&self) -> ProofSkeleton
fn clone(&self) -> ProofSkeleton
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 moreSource§impl Debug for ProofSkeleton
impl Debug for ProofSkeleton
Auto Trait Implementations§
impl Freeze for ProofSkeleton
impl RefUnwindSafe for ProofSkeleton
impl Send for ProofSkeleton
impl Sync for ProofSkeleton
impl Unpin for ProofSkeleton
impl UnsafeUnpin for ProofSkeleton
impl UnwindSafe for ProofSkeleton
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