bug333 (missed optimization)

Time bar (total: 12.9s)

analyze1.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample12.7s (97.9%)

Results
1.1s8050×1valid-sollya
4.1s8050×1valid-rival
12.0ms174×0valid-sollya
30.0ms174×0valid-rival
Bogosity

preprocess166.0ms (1.3%)

Algorithm
egg-herbie
Rules
62×fma-neg
51×fma-define
25×sub-neg
16×neg-mul-1
15×cancel-sign-sub-inv
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019136
139132
271132
3131132
4212132
5309132
6362132
7394132
8396132
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))) (sqrt.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x))))
(neg.f64 (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))) (sqrt.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)))))
Outputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))) (sqrt.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x))))
(-.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x))))
(-.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) x)) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
(neg.f64 (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x))) (sqrt.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)))))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Symmetry

(negabs x)

Compiler

Compiled 10 to 7 computations (30% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
8.1%
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 20 to 14 computations (30% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative
sub-neg
1-exp
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01233
12233
22933
33333
43533
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Outputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 10 to 7 computations (30% saved)

preprocess104.0ms (0.8%)

Remove

(negabs x)

Compiler

Compiled 108 to 76 computations (29.6% saved)

end0.0ms (0%)

Profiling

Loading profile data...