pub struct Sequent {
pub free_vars: Vec<V>,
pub body_literals: Vec<Literal>,
pub head_literals: Vec<Vec<Literal>>,
/* private fields */
}Expand description
Is represented by a list of Literals in the body and a list of list of Literals in the
head.
Fields§
§free_vars: Vec<V>Is the list of free variables in the sequent and is used for memoization.
body_literals: Vec<Literal>Represents the body of the sequent as a list of Literals. The literals in
body_literals are assumed to be conjoined.
Note: See here for more information about the structure of geometric sequents.
head_literals: Vec<Vec<Literal>>Represents the head of the sequent as a list of list of Literals. The literals in
each sublist of head_literals are assumed to be conjoined where the sublists are
disjointed with each other.
Note: See here for more information about the structure of geometric sequents.
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more