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
Statics§
- WORD_
TABLES - Every word table this module generates, by name, with its sorted, duplicate-free keys.
- WORD_
TABLE_ CONFLICTS - Every key a table was written with twice, answering differently:
(table, key, kept, dropped)— the first answer is the one the table gives.
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])).