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

Time bar (total: 2.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)

sample55.0ms (2.4%)

Memory
2.8MiB live, 19.0MiB allocated
Samples
19.0ms102×1valid
16.0ms61×2valid
9.0ms97×0valid
Precisions
Click to see histograms. Total time spent on operations: 36.0ms
adjust: 9.0ms (25.2% of total)
ival-pow2: 7.0ms (19.6% of total)
ival-mult: 5.0ms (14% of total)
ival-sub: 4.0ms (11.2% of total)
ival-add: 4.0ms (11.2% of total)
ival-sqrt: 3.0ms (8.4% of total)
ival-div: 2.0ms (5.6% of total)
ival-fabs: 2.0ms (5.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain2.0s (86.8%)

Memory
10.1MiB live, 1 415.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1480-1(-3.425201662687631e-290 -1.2118410019842631e-161 -9.415178349086052e-239)(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))
13131(5.205931085885297e-220 -1.3954171667883087e-148 -1.955191305700122e-251)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
-.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-rescue1430
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))overflow144
(pow.f64 q #s(literal 2 binary64))overflow74
(pow.f64 (-.f64 p r) #s(literal 2 binary64))overflow102
(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)))overflow74
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-rescue40
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))underflow4
(pow.f64 q #s(literal 2 binary64))underflow60
(pow.f64 (-.f64 p r) #s(literal 2 binary64))underflow19
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))underflow60
*.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 -
+2110
-1134
Precision
0.9504504504504504
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+21100
-11034
Precision?
0.9504504504504504
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
034
1134
288
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
11.806884765625
Average Time
0.046120643615722656
Samples
266.0ms1 212×1valid
223.0ms732×2valid
117.0ms1 128×0valid
Compiler

Compiled 3 780 to 888 computations (76.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 431.0ms
adjust: 108.0ms (25.1% of total)
ival-pow2: 83.0ms (19.3% of total)
ival-mult: 52.0ms (12.1% of total)
ival-add: 49.0ms (11.4% of total)
ival-sub: 47.0ms (10.9% of total)
ival-sqrt: 38.0ms (8.8% of total)
ival-fabs: 26.0ms (6% of total)
ival-div: 21.0ms (4.9% of total)
exact: 4.0ms (0.9% of total)
ival-true: 2.0ms (0.5% of total)
ival-assert: 1.0ms (0.2% of total)

preprocess210.0ms (9.3%)

Memory
0.5MiB 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
22.2%
(*.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)

simplify20.0ms (0.9%)

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)

preprocess11.0ms (0.5%)

Memory
-5.2MiB 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...