grisette-0.11.0.0: Symbolic evaluation as a library
Copyright(c) Sirui Lu 2024
LicenseBSD-3-Clause (see the LICENSE file)
Maintainersiruilu@cs.washington.edu
StabilityExperimental
PortabilityGHC only
Safe HaskellNone
LanguageHaskell2010

Grisette.Internal.Backend.QuantifiedStack

Description

 
Synopsis

Documentation

newtype QuantifiedSymbols Source #

A set of quantified symbols.

addQuantified :: TypedConstantSymbol a -> Dynamic -> QuantifiedStack -> QuantifiedStack Source #

Add a quantified symbol to the stack.

lookupQuantified :: forall (knd :: SymbolKind). (HasCallStack, IsSymbolKind knd) => SomeTypedSymbol knd -> QuantifiedStack -> Maybe Dynamic Source #

Look up a quantified symbol in the stack.

emptyQuantifiedSymbols :: QuantifiedSymbols Source #

An empty set of quantified symbols.

isQuantifiedSymbol :: forall a (knd :: SymbolKind). (SupportedPrim a, IsSymbolKind knd) => TypedSymbol knd a -> QuantifiedSymbols -> Bool Source #

Check if a symbol is quantified.

emptyQuantifiedStack :: QuantifiedStack Source #

An empty stack of quantified symbols.