pub enum ModalFlavor {
Root,
Epistemic,
}Expand description
Modal flavor affecting scope interpretation.
The distinction between root and epistemic modals affects quantifier scope: root modals scope under quantifiers (de re), while epistemic modals scope over quantifiers (de dicto).
Variants§
Root
Root modals express ability, obligation, or circumstantial possibility. Verbs: can, must, should, shall, could, would. Scope: NARROW (de re) — modal attaches inside quantifier scope. Example: “Every student can solve this” = ∀x(Student(x) → ◇Solve(x, this))
Epistemic
Epistemic modals express possibility or deduction based on evidence. Verbs: might, may (epistemic readings). Scope: WIDE (de dicto) — modal wraps the entire quantified formula. Example: “A student might win” = ◇∃x(Student(x) ∧ Win(x))
Trait Implementations§
Source§impl Clone for ModalFlavor
impl Clone for ModalFlavor
Source§fn clone(&self) -> ModalFlavor
fn clone(&self) -> ModalFlavor
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 ModalFlavor
impl Debug for ModalFlavor
Source§impl PartialEq for ModalFlavor
impl PartialEq for ModalFlavor
impl Copy for ModalFlavor
impl Eq for ModalFlavor
impl StructuralPartialEq for ModalFlavor
Auto Trait Implementations§
impl Freeze for ModalFlavor
impl RefUnwindSafe for ModalFlavor
impl Send for ModalFlavor
impl Sync for ModalFlavor
impl Unpin for ModalFlavor
impl UnwindSafe for ModalFlavor
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