PropaFP-0.1.2.0: Auto-active verification of floating-point programs
Copyright(c) Michal Konecny 2013 2021
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

PropaFP.DeriveBounds

Description

Deriving ranges for variables from hypotheses inside a formula

Synopsis

Documentation

evalF_comparisons :: VarBoundMap -> F -> F Source #

Replace within a formula some comparisons with FTrue/FFalse, namely those comparisons that on the given box can be easily seen to be true/false.

updateUpper :: CanMinMaxSameType a => (t, Maybe a) -> (t1, Maybe a) -> (t1, Maybe a) Source #

updateLower :: CanMinMaxSameType a => (Maybe a, t) -> (Maybe a, t1) -> (Maybe a, t1) Source #

evalE :: (Ring v, CanDivSameType v, CanPowBy v Integer, CanMinMaxSameType v, CanAbsSameType v, CanPowBy v v, CanSqrtSameType v, CanSinCosSameType v, IsInterval v, CanAddThis v Integer, HasDyadics v, CanMinMaxSameType (IntervalEndpoint v), _) => (Rational -> v) -> Map VarName v -> Precision -> E -> v Source #

compute the value of E with Vars at specified points | (a generalised version of computeE)