pub struct Sequent {
pub linear: Vec<Formula>,
pub unrestricted: Vec<Formula>,
pub focus: Option<Formula>,
}Expand description
A one-sided sequent ⊢ Γ.
We use a zone-based representation for focused proof search:
- Linear zone: formulas that must be used exactly once
- Unrestricted zone: formulas under ? that can be reused
Fields§
§linear: Vec<Formula>Linear hypotheses (multiset, represented as Vec)
unrestricted: Vec<Formula>Unrestricted hypotheses (under ?)
focus: Option<Formula>Currently focused formula (if any)
Implementations§
Trait Implementations§
impl Eq for Sequent
impl StructuralPartialEq for Sequent
Auto Trait Implementations§
impl Freeze for Sequent
impl RefUnwindSafe for Sequent
impl Send for Sequent
impl Sync for Sequent
impl Unpin for Sequent
impl UnsafeUnpin for Sequent
impl UnwindSafe for Sequent
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