Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
allSatMaxModelCount :: SMTConfig -> Maybe Intsbv Data.SBV.Trans In a allSat call, return at most this many models. If nothing, return all.
allSatMaxModelCountReached :: AllSatResult -> Boolsbv Data.SBV.Trans Did we reach the user given model count limit?
allSatPrintAlong :: SMTConfig -> Boolsbv Data.SBV.Trans In a allSat call, print models as they are found.
allSatResults :: AllSatResult -> [SMTResult]sbv Data.SBV.Trans All satisfying models
allSatSolverReturnedDSat :: AllSatResult -> Boolsbv Data.SBV.Trans Did the solver report delta-satisfiable at the end?
allSatSolverReturnedUnknown :: AllSatResult -> Boolsbv Data.SBV.Trans Did the solver report unknown at the end?
allSatTrackUFs :: SMTConfig -> Boolsbv Data.SBV.Trans In a allSat call, should we try to extract values of uninterpreted functions?
allSatWith :: SatisfiableM m a => SMTConfig -> a -> m AllSatResultsbv Data.SBV.Trans Generalization of allSatWith
-
sbv Documentation.SBV.Examples.KnuckleDragger.Lists not (all id xs) == any not xs
A list of booleans is not all true, if any of them is false. We have:>>> allAny Inductive lemma: allAny Step: Base Q.E.D. Step: 1 Q.E.D. Step: 2 Q.E.D. Step: 3 Q.E.D. Step: 4 Q.E.D. Result: Q.E.D. [Proven] allAny
-
sbv Documentation.SBV.Examples.Misc.Auxiliary Generate all satisfying assignments for our problem. We have:
>>> allModels Solution #1: x = 1 :: Integer y = -1 :: Integer Solution #2: x = 1 :: Integer y = 1 :: Integer Solution #3: x = 0 :: Integer y = 0 :: Integer Found 3 different solutions.
Note that solutions 2 and 3 share the value x = 1, since there are multiple values of y that make this particular choice of x satisfy our constraint.