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

Time bar (total: 2.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
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)

sample58.0ms (2.4%)

Memory
2.8MiB live, 19.0MiB allocated
Samples
19.0ms96×1valid
18.0ms67×2valid
9.0ms97×0valid
Precisions
Click to see histograms. Total time spent on operations: 38.0ms
adjust: 10.0ms (26.7% of total)
ival-pow2: 7.0ms (18.7% of total)
ival-mult: 5.0ms (13.3% of total)
ival-sub: 4.0ms (10.7% of total)
ival-add: 4.0ms (10.7% of total)
ival-sqrt: 3.0ms (8% of total)
ival-fabs: 3.0ms (8% of total)
ival-div: 2.0ms (5.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain2.1s (86.2%)

Memory
16.4MiB live, 1 421.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1420-1(-3.419059235178342e-251 -5.394739363683815e-225 2.7103133351686933e-157)(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))
12042(-3.5232151616364163e-6 8.279301886660006e-304 1.7681200774220417e-276)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
02(-6.383921104101359e+152 1.0044733835507586e+21 1.778391781764744e-162)0-(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.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))))))cancellation1620
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-rescue1350
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))overflow135
(pow.f64 q #s(literal 2 binary64))overflow69
(pow.f64 (-.f64 p r) #s(literal 2 binary64))overflow97
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))overflow69
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-rescue60
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))underflow6
(pow.f64 q #s(literal 2 binary64))underflow61
(pow.f64 (-.f64 p r) #s(literal 2 binary64))underflow25
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))underflow59
Confusion
Predicted +Predicted -
+1981
-1938
Precision
0.9124423963133641
Recall
0.9949748743718593
Confusion?
Predicted +Predicted MaybePredicted -
+19801
-19038
Precision?
0.9124423963133641
Recall?
0.9949748743718593
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
039
1131
286
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
12.6298828125
Average Time
0.049335479736328125
Samples
258.0ms1 116×1valid
249.0ms792×2valid
125.0ms1 164×0valid
Compiler

Compiled 3 780 to 888 computations (76.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 449.0ms
adjust: 113.0ms (25.1% of total)
ival-pow2: 86.0ms (19.1% of total)
ival-mult: 57.0ms (12.7% of total)
ival-add: 50.0ms (11.1% of total)
ival-sub: 48.0ms (10.7% of total)
ival-sqrt: 40.0ms (8.9% of total)
ival-fabs: 27.0ms (6% of total)
ival-div: 21.0ms (4.7% of total)
exact: 4.0ms (0.9% of total)
ival-true: 2.0ms (0.4% of total)
ival-assert: 1.0ms (0.2% of total)

preprocess234.0ms (9.8%)

Memory
-6.6MiB live, 18.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069187
1160184
2443180
31440180
43448180
55328180
67340180
01820
03120
14520
28020
317020
434520
579120
6160320
7308420
8382520
9411320
10420320
11420720
12420720
13433720
14436120
15436120
0436119
Stop Event
iter limit
saturated
iter limit
node limit
Calls
Call 1
Inputs
(*.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)))))))
Outputs
(*.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)))))))
(*.f64 #s(literal -1/2 binary64) (-.f64 (sqrt.f64 (fma.f64 (*.f64 q q) #s(literal 4 binary64) (pow.f64 (-.f64 p r) #s(literal 2 binary64)))) (+.f64 (fabs.f64 r) (fabs.f64 p))))
Symmetry

(abs q)

(sort p r)

Compiler

Compiled 22 to 18 computations (18.2% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
27.5%
(*.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)))))))
Compiler

Compiled 44 to 36 computations (18.2% saved)

simplify28.0ms (1.2%)

Memory
0.8MiB live, 18.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01822
12922
23622
34022
44222
Stop Event
saturated
Calls
Call 1
Inputs
(*.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)))))))
Outputs
(*.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)))))))
(*.f64 (-.f64 (+.f64 (fabs.f64 r) (fabs.f64 p)) (sqrt.f64 (+.f64 (*.f64 (pow.f64 q #s(literal 2 binary64)) #s(literal 4 binary64)) (pow.f64 (-.f64 p r) #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))

soundness0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 22 to 18 computations (18.2% saved)

preprocess6.0ms (0.3%)

Memory
-4.0MiB live, 3.8MiB allocated
Remove

(sort p r)

(abs q)

Compiler

Compiled 264 to 216 computations (18.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...