Expand description
Logic expression AST types for first-order logic with modal and event extensions.
This module defines the core logical expression types including:
LogicExpr: The main expression enum with all logical constructsTerm: Terms (constants, variables, function applications)NounPhrase: Parsed noun phrase structure- Semantic types: Montague-style type markers
- Event roles: Neo-Davidsonian thematic roles (Agent, Theme, Goal, etc.)
- Modal vectors: Kripke semantics parameters (domain, flavor, force)
- Temporal operators: Past, future, perfect, progressive
All types use arena allocation with the 'a lifetime parameter.
Structs§
- Categorical
Data - Aristotelian categorical proposition data.
- Modal
Vector - Modal operator parameters for Kripke semantics.
- NeoEvent
Data - Neo-Davidsonian event structure with thematic roles.
- Noun
Phrase - Parsed noun phrase structure for compositional interpretation.
- Relation
Data - Simple subject-verb-object relation data.
Enums§
- Aspect
Operator - Grammatical aspect operators for event structure.
- Binary
OpKind - Binary logical connectives.
- Dimension
- Physical dimension for degree semantics and unit tracking.
- Logic
Expr - First-order logic expression with modal, temporal, and event extensions.
- Logical
Type - Montague semantic types for compositional interpretation.
- Modal
Domain - Modal logic domain classification.
- Modal
Flavor - Modal flavor affecting scope interpretation.
- Number
Kind - Numeric literal representation for degree semantics.
- Quantifier
Kind - Quantifier types for first-order and generalized quantifiers.
- Temporal
Operator - Prior-style tense logic operators.
- Term
- First-order logic term representing entities or values.
- Thematic
Role - Neo-Davidsonian thematic roles for event semantics.
- Unary
OpKind - Unary logical operators.
- Voice
Operator - Grammatical voice operators.