Copyright | (c) Sirui Lu 2021-2023 |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | siruilu@cs.washington.edu |
Stability | Experimental |
Portability | GHC only |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- newtype SymbolSet = SymbolSet {}
- newtype Model = Model {}
- data ModelValuePair t = (TypedSymbol t) ::= t
- equation :: TypedSymbol a -> Model -> Maybe (Term Bool)
- evaluateTerm :: forall a. SupportedPrim a => Bool -> Model -> Term a -> Term a
Documentation
Symbolic constant set.
Instances
Model returned by the solver.
Instances
data ModelValuePair t Source #
A type used for building a model by hand.
>>>
buildModel ("x" ::= (1 :: Integer), "y" ::= True) :: Model
Model {x -> 1 :: Integer, y -> True :: Bool}
(TypedSymbol t) ::= t |
Instances
Show t => Show (ModelValuePair t) Source # | |
Defined in Grisette.IR.SymPrim.Data.Prim.Model showsPrec :: Int -> ModelValuePair t -> ShowS # show :: ModelValuePair t -> String # showList :: [ModelValuePair t] -> ShowS # | |
ModelRep (ModelValuePair t) Model Source # | |
Defined in Grisette.IR.SymPrim.Data.Prim.Model buildModel :: ModelValuePair t -> Model Source # |
evaluateTerm :: forall a. SupportedPrim a => Bool -> Model -> Term a -> Term a Source #