Expand description
Encoding of expressions into SMTExpr
This module provides traits and types to encode boolean or integer
expressions into SMT expressions. The encoding is done using the easy-smt
crate, therefore the expressions are encoded into SExpr types.
Modules§
- config_
ctx - This module defines the
ConfigContexttype which declares all SMT variables required to represent a configuration inside an SMT encoding - ctx_mgr
- Manager for configurations that build a path
- step_
ctx - Module for encoding possible paths between configurations in a threshold automaton
- ta_
encoding - Helper functions to encode expression of a threshold automaton into SMT constraints
Structs§
- StaticSMT
Context - A simple static context for encoding expressions related to threshold automata into SMT constraints and checking satisfiability
Enums§
- SMTSolver
Error - Error occurring in the interaction with the SMT solver
Traits§
- Declares
Variable - Trait for types that have associated SMT variables
- Encode
ToSMT - Trait defining the encoding of type
Tinto an SSMTExprgiven a context - GetAssignment
- Trait that allows to extract the assignment of a variable from the solution found by the SMT solver
- SMTVariable
Context - Trait of a context that provides mapping from type declaring SMT variables
Tto associated SMT expression