pub struct CertificationContext<'a> { /* private fields */ }Expand description
Context for certifying derivation trees into kernel terms.
Wraps a kernel [Context] and tracks additional state
needed during certification:
- Local variables: Variables bound by lambda abstractions during traversal
- Induction state: For resolving IH (inductive hypothesis) references in step cases
§Lifetime
The 'a lifetime ties this context to the kernel context it wraps.
The certification context borrows the kernel context immutably.
§Example
ⓘ
use logicaffeine_proof::certifier::CertificationContext;
use logicaffeine_kernel::Context;
let kernel_ctx = Context::new();
let cert_ctx = CertificationContext::new(&kernel_ctx);§See Also
certify- The main function that uses this context- [
Context] - The underlying kernel context
Implementations§
Source§impl<'a> CertificationContext<'a>
impl<'a> CertificationContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for CertificationContext<'a>
impl<'a> RefUnwindSafe for CertificationContext<'a>
impl<'a> Send for CertificationContext<'a>
impl<'a> Sync for CertificationContext<'a>
impl<'a> Unpin for CertificationContext<'a>
impl<'a> UnwindSafe for CertificationContext<'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