pub struct Hyp {
pub name: String,
pub prop: ProofExpr,
/* private fields */
}Expand description
A local hypothesis: its name, its proposition prop, and proof — a
derivation that proves prop in the current local context. For a hypothesis
that is directly in scope (a premise, an intro-discharged antecedent, or a
branch hypothesis bound by cases) the proof is a PremiseMatch leaf the
certifier resolves against the bound/registered hypothesis. For a conjunct
extracted by cases from A ∧ B, the proof is the ConjunctionElim
PROJECTION of the parent — so using the conjunct emits the projection, not a
dangling reference. This is what lets elimination compose with the rest.
Fields§
§name: String§prop: ProofExprTrait Implementations§
Auto Trait Implementations§
impl Freeze for Hyp
impl RefUnwindSafe for Hyp
impl Send for Hyp
impl Sync for Hyp
impl Unpin for Hyp
impl UnsafeUnpin for Hyp
impl UnwindSafe for Hyp
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