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.Simplify

Contents

Description

TODO: - Putting in a normal form to spot "prove by assumption" - Additional simplification rules, namely various cancelation. - Things like: lg2 e(x) = x, where we know thate is increasing.

Synopsis

Simplify a property

crySimplify :: Prop -> Prop Source #

Simplify a property, if possible.

crySimplifyMaybe :: Prop -> Maybe Prop Source #

Simplify a property, if possible.

Simplify expressions in a prop

crySimpPropExpr :: Prop -> Prop Source #

Simplify only the Expr parts of a Prop.

crySimpPropExprMaybe :: Prop -> Maybe Prop Source #

Simplify only the Expr parts of a Prop. Returns Nothing if there were no changes.