1/2(abs(p)+abs(r) - sqrt((p-r)^2 + 4q^2))

Time bar (total: 3.2s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 24 to 20 computations (16.7% saved)

sample2.6s (83.6%)

Memory
-0.1MiB live, 3 180.5MiB allocated; 1.3s collecting garbage
Samples
1.0s3 166×1valid
798.0ms2 251×2valid
336.0ms2 839×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.8s
adjust: 448.0ms (24.6% of total)
ival-fabs: 389.0ms (21.3% of total)
ival-pow2: 261.0ms (14.3% of total)
ival-mult: 194.0ms (10.6% of total)
ival-sub: 161.0ms (8.8% of total)
ival-add: 161.0ms (8.8% of total)
ival-sqrt: 130.0ms (7.1% of total)
ival-div: 62.0ms (3.4% of total)
exact: 15.0ms (0.8% of total)
ival-assert: 3.0ms (0.2% of total)
Bogosity

explain356.0ms (11.2%)

Memory
-18.3MiB live, 422.1MiB allocated; 54ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1560-0-(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))
1160-0-(-.f64 (+.f64 (fabs.f64 p) (fabs.f64 r)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))))
10-0-(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (-.f64 (+.f64 (fabs.f64 p) (fabs.f64 r)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))))
00-0-q
00-0-(-.f64 p r)
00-0-(pow.f64 q #s(literal 2 binary64))
00-0-#s(literal 1 binary64)
00-0-(pow.f64 (-.f64 p r) #s(literal 2 binary64))
00-0-(fabs.f64 p)
00-0-(+.f64 (fabs.f64 p) (fabs.f64 r))
00-0-(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
00-0-#s(literal 4 binary64)
00-0-p
00-0-(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))
00-0-(fabs.f64 r)
00-0-#s(literal 2 binary64)
00-0-r
00-0-(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))oflow-rescue1510
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))overflow152
(pow.f64 q #s(literal 2 binary64))overflow64
(pow.f64 (-.f64 p r) #s(literal 2 binary64))overflow106
(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))overflow1
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))overflow64
-.f64(-.f64 (+.f64 (fabs.f64 p) (fabs.f64 r)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))))cancellation1160
sqrt.f64(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))uflow-rescue50
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))underflow5
(pow.f64 q #s(literal 2 binary64))underflow73
(pow.f64 (-.f64 p r) #s(literal 2 binary64))underflow13
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))underflow73
*.f64(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (-.f64 (+.f64 (fabs.f64 p) (fabs.f64 r)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))))n*o10
Confusion
Predicted +Predicted -
+2040
-052
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+20400
-0052
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
052
1135
269
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
70.0ms182×0valid
68.0ms146×2valid
45.0ms184×1valid
Compiler

Compiled 220 to 58 computations (73.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 150.0ms
ival-fabs: 69.0ms (46.1% of total)
adjust: 21.0ms (14% of total)
ival-pow2: 18.0ms (12% of total)
ival-mult: 10.0ms (6.7% of total)
ival-sub: 9.0ms (6% of total)
ival-add: 9.0ms (6% of total)
ival-sqrt: 8.0ms (5.4% of total)
ival-div: 4.0ms (2.7% of total)
exact: 1.0ms (0.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess163.0ms (5.1%)

Memory
29.8MiB live, 118.0MiB allocated; 25ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073205
1168204
2466204
31734204
45460204
01820
03120
15020
29520
322720
444720
595820
6548920
0822715
Stop Event
iter limit
node limit
iter limit
node limit

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...