Skip to main content

Module semantics

Module semantics 

Source
Expand description

Semantic transformations for logical expressions.

This module provides post-parse semantic transformations:

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])).