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

Time bar (total: 10.7s)

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)

sample54.0ms (0.5%)

Memory
-3.4MiB live, 19.2MiB allocated
Samples
18.0ms110×1valid
18.0ms75×2valid
7.0ms75×0valid
Precisions
Click to see histograms. Total time spent on operations: 35.0ms
adjust: 7.0ms (20.2% of total)
ival-pow2: 6.0ms (17.3% of total)
ival-sub: 4.0ms (11.6% of total)
ival-sqrt: 4.0ms (11.6% of total)
ival-mult: 4.0ms (11.6% of total)
ival-add: 4.0ms (11.6% of total)
ival-div: 2.0ms (5.8% of total)
ival-fabs: 2.0ms (5.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain10.4s (97.3%)

Memory
82.0MiB live, 5 667.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1470-1(-7.28151250474085e-170 8.371469555463784e-162 -1.5200888070473089e-198)(sqrt.f64 (+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))))
1400-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
-.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))))))cancellation1401
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-rescue1380
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))overflow138
(pow.f64 q #s(literal 2 binary64))overflow54
(pow.f64 (-.f64 p r) #s(literal 2 binary64))overflow103
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))overflow54
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-rescue80
(+.f64 (pow.f64 (-.f64 p r) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64))))underflow8
(pow.f64 q #s(literal 2 binary64))underflow70
(pow.f64 (-.f64 p r) #s(literal 2 binary64))underflow14
(*.f64 #s(literal 4 binary64) (pow.f64 q #s(literal 2 binary64)))underflow70
Confusion
Predicted +Predicted -
+2110
-045
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+21100
-0144
Precision?
0.9952830188679245
Recall?
1.0
Freqs
test
numberfreq
045
1136
275
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
53.0703125
Average Time
0.207305908203125
Samples
2.0s9 720×1valid
1.9s6 660×2valid
715.0ms6 660×0valid
Compiler

Compiled 14 265 to 3 420 computations (76% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.2s
adjust: 627.0ms (19.9% of total)
ival-pow2: 626.0ms (19.9% of total)
ival-mult: 409.0ms (13% of total)
ival-sub: 389.0ms (12.3% of total)
ival-add: 389.0ms (12.3% of total)
ival-sqrt: 327.0ms (10.4% of total)
ival-fabs: 190.0ms (6% of total)
ival-div: 138.0ms (4.4% of total)
exact: 30.0ms (1% of total)
ival-true: 18.0ms (0.6% of total)
ival-assert: 9.0ms (0.3% of total)

preprocess199.0ms (1.9%)

Memory
-3.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
21.3%
(*.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)

simplify25.0ms (0.2%)

Memory
0.2MiB 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.1%)

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