-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
I tried the benchmark ex4 and got the following result
python3 src/exp_use_default.py ex4_gaussian
RESULTS for ex4_gaussian
Volume: 0.02
Took 2.48 seconds to generate the invariant. Confirmed for FP: OK.
Ranges: {'x0': (-0.2, 0.2), 'x1': (-0.1, 0.2), 'x2': (-0.2, 0.1)}
Invariant: 0.04*x0 + -0.07*x1 + 0.5*x0^2 + -1.0*x0*x1 + -0.58*x0*x2 + 0.84*x1^2 + 0.28*x1*x2 + 0.63*x2^2 <= 0.01
However, seems the range is not correct
x0=0
x1=0
x2=0
in0=-0.8
for i in range(100):
x0 = 0.9379 * x0 - 0.0381 * x1 - 0.0414 * x2 + 0.0237 * in0
x1 = -0.0404 * x0 + 0.968 * x1 - 0.0179 * x2 + 0.0143 * in0
x2 = 0.0142 * x0 - 0.0197 * x1 + 0.9823 * x2 + 0.0077 * in0
print("x0:", x0)
print("x1:", x1)
print("x2:", x2)
would give the following result
x0: -0.07220538508329073
x1: -0.08225353230561162
x2: -0.2951334698552336
where x2 is out of range.
I wonder if there is any guarantee that the range of pine would always be correct? If yes, i wonder if this is a bug?
Metadata
Metadata
Assignees
Labels
No labels