cryptol-2.5.0: Cryptol: The Language of Cryptography

Copyright(c) 2014-2016 Galois Inc.
LicenseBSD3
Maintainercryptol@galois.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Cryptol.TypeCheck.Solver.Numeric.Defined

Description

 

Synopsis

Documentation

cryDefinedProp :: Prop -> Prop Source #

A condition ensure that the given *basic* proposition makes sense.

cryDefined :: Expr -> Prop Source #

Generate a property ensuring that the expression is well-defined. This might be a bit too strict. For example, we reject things like max inf (0 - 1), which one might think would simplify to inf.