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

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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.8s (85.6%)

Memory
104.1MiB live, 2 859.9MiB allocated; 1.7s collecting garbage
Samples
1.1s3 209×1valid
988.0ms2 206×2valid
320.0ms2 841×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.0s
adjust: 633.0ms (31% of total)
ival-mult: 508.0ms (24.9% of total)
ival-pow2: 279.0ms (13.7% of total)
ival-add: 191.0ms (9.3% of total)
ival-sub: 146.0ms (7.1% of total)
ival-sqrt: 120.0ms (5.9% of total)
ival-fabs: 84.0ms (4.1% of total)
ival-div: 67.0ms (3.3% of total)
exact: 13.0ms (0.6% of total)
ival-assert: 3.0ms (0.1% of total)
Bogosity

explain298.0ms (9%)

Memory
8.3MiB live, 429.3MiB allocated; 69ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1510-2(-1.206111540333746e-156 3.94154878694655e-158 6.1342616801636256e-248)(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))
1220-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))))))
00-0-q
00-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-(-.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-rescue1470
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))overflow147
(pow.f64 q #s(literal 2 binary64))overflow68
(pow.f64 (-.f64 p r) #s(literal 2 binary64))overflow107
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))overflow68
-.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))))))cancellation1220
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-rescue20
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))underflow2
(pow.f64 q #s(literal 2 binary64))underflow61
(pow.f64 (-.f64 p r) #s(literal 2 binary64))underflow17
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))underflow61
Confusion
Predicted +Predicted -
+2041
-051
Precision
1.0
Recall
0.9951219512195122
Confusion?
Predicted +Predicted MaybePredicted -
+20401
-0051
Precision?
1.0
Recall?
0.9951219512195122
Freqs
test
numberfreq
052
1137
267
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
65.0ms192×1valid
46.0ms136×2valid
21.0ms184×0valid
Compiler

Compiled 220 to 58 computations (73.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 99.0ms
adjust: 35.0ms (35.5% of total)
ival-pow2: 16.0ms (16.2% of total)
ival-sub: 14.0ms (14.2% of total)
ival-mult: 9.0ms (9.1% of total)
ival-add: 9.0ms (9.1% of total)
ival-sqrt: 7.0ms (7.1% of total)
ival-fabs: 4.0ms (4.1% of total)
ival-div: 3.0ms (3% of total)
exact: 1.0ms (1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess176.0ms (5.3%)

Memory
-27.4MiB live, 116.0MiB allocated; 18ms 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...