pub enum ModalSystem {
K,
T,
S4,
S5,
D,
KD45,
GL,
B,
}Expand description
Identifies a normal modal logic by its axiom schema name.
Variants§
K
K: the minimal normal modal logic
T
T (= M): K + Axiom T (reflexivity)
S4
S4: T + Axiom 4 (transitivity)
S5
S5: S4 + Axiom B (symmetry)
D
D: K + Axiom D (seriality, deontic)
KD45
KD45: D + Axiom 4 + Axiom 5 (doxastic belief)
GL
GL: K + Axiom Löb (provability)
B
B: K + T + B (Brouwer)
Implementations§
Source§impl ModalSystem
impl ModalSystem
Sourcepub fn frame_validates(&self, frame: &KripkeFrame, rel: usize) -> bool
pub fn frame_validates(&self, frame: &KripkeFrame, rel: usize) -> bool
Check whether the given frame satisfies the characteristic frame condition.
Trait Implementations§
Source§impl Clone for ModalSystem
impl Clone for ModalSystem
Source§fn clone(&self) -> ModalSystem
fn clone(&self) -> ModalSystem
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 ModalSystem
impl Debug for ModalSystem
Source§impl Hash for ModalSystem
impl Hash for ModalSystem
Source§impl PartialEq for ModalSystem
impl PartialEq for ModalSystem
impl Eq for ModalSystem
impl StructuralPartialEq for ModalSystem
Auto Trait Implementations§
impl Freeze for ModalSystem
impl RefUnwindSafe for ModalSystem
impl Send for ModalSystem
impl Sync for ModalSystem
impl Unpin for ModalSystem
impl UnsafeUnpin for ModalSystem
impl UnwindSafe for ModalSystem
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