Expand description
Semantic transformations for logical expressions.
This module provides post-parse semantic transformations:
apply_axioms: Expands predicates with entailments and hypernymyapply_kripke_lowering: Converts modals to explicit world quantification
These transformations enrich the logical representation with inferred content.
Re-exports§
pub use kripke::apply_kripke_lowering;
Modules§
- knowledge_
graph - Knowledge Graph extraction for hardware verification.
- kripke
- Kripke Semantics Lowering Pass
Functions§
- apply_
axioms - Apply axiom expansion to a logical expression.
- is_
privative_ adjective - Check if an adjective is privative (e.g., fake, counterfeit).
- lookup_
noun_ entailments - Get entailment predicates for a noun (e.g., bachelor -> [Unmarried, Male]).
- lookup_
noun_ hypernyms - Get hypernym predicates for a noun (e.g., dog -> [Animal, Mammal]).
- lookup_
verb_ entailment - Get verb entailment (e.g., murder -> (Kill, [Intentional])).