You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to #1107 we can query flowR for the values of variables which (should, #1106) work great for aliases! Yet resolving aliases is insufficient for our desires! We want to gain information on intervals and this issue shall help us representing ranges like [1,42) and domains like {(-inf,-pi), [pi,12]} although we will handle them later.
For this let's start with a simple interface to represent a single interval (with an in/exclusive upper and lower bound). Make sure to add checks with which we may use to ensure that these intervals [a,b] are proper (i.e., a <= b) or to construct these intervals to be correct by-construction.
Now, let's add basic interval arithmetic! Support for adding, subtracting, multiplying and dividing intervals should be fine! Please note that without domains we have to over-approximate results like {(-2,1),(4,5]} to (-2,5]. Please add tests for these calculations.
With basic calculations for numeric values... we still require top and bottom! Top is easily represented as (-inf,inf) in this domain, yet for bottom it is probably better to add an explicit emptyset marker to force checking for bottom when analyzing.
As the final operation on intervals, it would be great to have intersection and union as interval operations! (we probably require both frequently in the future) as well as a order function for intervals (telling us that [1,2] < [3,4] is true but [1,4] < [3,5] only maybe true! - maybe would be then just the uncertain "interval"/set {false,true})
The text was updated successfully, but these errors were encountered:
Thanks to #1107 we can query flowR for the values of variables which (should, #1106) work great for aliases! Yet resolving aliases is insufficient for our desires! We want to gain information on intervals and this issue shall help us representing ranges like
[1,42)
and domains like{(-inf,-pi), [pi,12]}
although we will handle them later.[a,b]
are proper (i.e., a <= b) or to construct these intervals to be correct by-construction.{(-2,1),(4,5]}
to(-2,5]
. Please add tests for these calculations.(-inf,inf)
in this domain, yet for bottom it is probably better to add an explicit emptyset marker to force checking for bottom when analyzing.[1,2] < [3,4]
is true but[1,4] < [3,5]
only maybe true! - maybe would be then just the uncertain "interval"/set{false,true}
)The text was updated successfully, but these errors were encountered: