pub enum ExpansionKind {
Alpha(Box<PropositionalFormula>, Option<Box<PropositionalFormula>>),
Beta(Box<PropositionalFormula>, Box<PropositionalFormula>),
}Expand description
Result of expansion using various rules.
Variants§
Alpha(Box<PropositionalFormula>, Option<Box<PropositionalFormula>>)
The alpha (α) rule is applicable to the forms:
| Form | α1 | α2 |
|---|---|---|
(A^B) | A | B |
(A<->B) | (A->B) | (B->A) |
(-(A|B)) | (-A) | (-B) |
(-(A->B)) | A | (-B) |
(-(-A)) | A | - |
Beta(Box<PropositionalFormula>, Box<PropositionalFormula>)
The beta (β) rule is applicable to the forms:
| Form | β1 | β2 |
|---|---|---|
(A|B) | A | B |
(-(A^B)) | (-A) | (-B) |
(A->B) | (-A) | B |
-(A<->B) | (A^(-B)) | (B^(-A)) |
Trait Implementations§
Source§impl Clone for ExpansionKind
impl Clone for ExpansionKind
Source§fn clone(&self) -> ExpansionKind
fn clone(&self) -> ExpansionKind
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 ExpansionKind
impl Debug for ExpansionKind
Source§impl PartialEq for ExpansionKind
impl PartialEq for ExpansionKind
impl Eq for ExpansionKind
impl StructuralPartialEq for ExpansionKind
Auto Trait Implementations§
impl Freeze for ExpansionKind
impl RefUnwindSafe for ExpansionKind
impl Send for ExpansionKind
impl Sync for ExpansionKind
impl Unpin for ExpansionKind
impl UnwindSafe for ExpansionKind
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