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

Time bar (total: 3.3s)

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)

sample56.0ms (1.7%)

Memory
-3.7MiB live, 19.0MiB allocated
Samples
18.0ms96×1valid
18.0ms67×2valid
9.0ms97×0valid
Precisions
Click to see histograms. Total time spent on operations: 36.0ms
adjust: 9.0ms (24.8% of total)
ival-pow2: 7.0ms (19.3% of total)
ival-sub: 4.0ms (11% of total)
ival-mult: 4.0ms (11% of total)
ival-add: 4.0ms (11% of total)
ival-sqrt: 3.0ms (8.3% of total)
ival-div: 2.0ms (5.5% of total)
ival-fabs: 2.0ms (5.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain3.0s (90.6%)

Memory
18.2MiB live, 1 496.1MiB 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)))))
1201(7.641766630138697e-281 -3.9166643615033043e+102 2.6838890119193817e+101)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
01(2.8103751495558557e-28 50582946082.78844 1.2297454730576976e-162)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-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
-.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))))))cancellation1210
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))underflow60
(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
-156
Precision
0.9949748743718593
Recall
0.9949748743718593
Confusion?
Predicted +Predicted MaybePredicted -
+19801
-1056
Precision?
0.9949748743718593
Recall?
0.9949748743718593
Freqs
test
numberfreq
057
1136
263
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
56.3427734375
Average Time
0.22008895874023438
Samples
520.0ms2 232×1valid
508.0ms1 584×2valid
265.0ms2 328×0valid
Compiler

Compiled 3 804 to 912 computations (76% saved)

Precisions
Click to see histograms. Total time spent on operations: 907.0ms
adjust: 229.0ms (25.2% of total)
ival-pow2: 182.0ms (20.1% of total)
ival-mult: 111.0ms (12.2% of total)
ival-sub: 98.0ms (10.8% of total)
ival-add: 98.0ms (10.8% of total)
ival-sqrt: 82.0ms (9% of total)
ival-fabs: 51.0ms (5.6% of total)
ival-div: 40.0ms (4.4% of total)
exact: 8.0ms (0.9% of total)
ival-true: 5.0ms (0.6% of total)
ival-assert: 2.0ms (0.2% of total)

preprocess220.0ms (6.7%)

Memory
-1.9MiB 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)

simplify22.0ms (0.7%)

Memory
2.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.2%)

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...