pub enum ParaconsistentSystem {
LP,
FDE,
RelevantR,
PriestLP,
JaskowskiD2,
}Expand description
Represents a paraconsistent logic: a logic where contradictions do not cause explosion (ex falso quodlibet fails).
Variants§
LP
LP (Logic of Paradox): allows true contradictions (dialetheism).
FDE
FDE (First Degree Entailment): four-valued logic.
RelevantR
Relevant logic R.
PriestLP
Priest’s LP with modus ponens.
JaskowskiD2
Jaskowski’s discussive logic D2.
Implementations§
Source§impl ParaconsistentSystem
impl ParaconsistentSystem
Sourcepub fn num_truth_values(&self) -> usize
pub fn num_truth_values(&self) -> usize
Returns the number of truth values in the system.
Sourcepub fn explosion_holds(&self) -> bool
pub fn explosion_holds(&self) -> bool
Check if the law of explosion (⊢ A → (¬A → B)) holds.
Sourcepub fn handles_liar_paradox(&self) -> bool
pub fn handles_liar_paradox(&self) -> bool
Whether this system handles the liar paradox consistently.
Trait Implementations§
Source§impl Clone for ParaconsistentSystem
impl Clone for ParaconsistentSystem
Source§fn clone(&self) -> ParaconsistentSystem
fn clone(&self) -> ParaconsistentSystem
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 ParaconsistentSystem
impl Debug for ParaconsistentSystem
Source§impl PartialEq for ParaconsistentSystem
impl PartialEq for ParaconsistentSystem
impl StructuralPartialEq for ParaconsistentSystem
Auto Trait Implementations§
impl Freeze for ParaconsistentSystem
impl RefUnwindSafe for ParaconsistentSystem
impl Send for ParaconsistentSystem
impl Sync for ParaconsistentSystem
impl Unpin for ParaconsistentSystem
impl UnsafeUnpin for ParaconsistentSystem
impl UnwindSafe for ParaconsistentSystem
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