Cancel like terms

Time bar (total: 2.6s)

analyze1.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

sample2.5s (96%)

Results
153.0ms4401×0valid-sollya
186.0ms4401×0valid-rival
264.0ms3855×1valid-sollya
399.0ms3855×1valid-rival
Bogosity

preprocess67.0ms (2.6%)

Algorithm
egg-herbie
Rules
28×fma-neg
21×sub-neg
13×fma-define
10×distribute-lft-neg-in
10×associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01384
1334
2914
31304
41774
52034
62154
72194
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) x) (neg.f64 x)))
#s(literal -1 binary64)
Symmetry

(abs x)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

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

Compiled 12 to 8 computations (33.3% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11719
22119
32319
42419
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess29.0ms (1.1%)

Remove

(abs x)

Compiler

Compiled 48 to 32 computations (33.3% saved)

end0.0ms (0%)

Profiling

Loading profile data...