Cancel like terms

Time bar (total: 712.0ms)

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

sample645.0ms (90.6%)

Results
319.0ms5173×body256valid
232.0ms2054×body1024valid
83.0ms1029×body512valid
Bogosity

preprocess19.0ms (2.7%)

Algorithm
egg-herbie
Rules
66×fma-def
40×sub-neg
20×distribute-lft-neg-in
18×associate-+l-
16×fma-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01026
1252
2612
31002
41472
51762
61942
72002
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 1 x) x)
(-.f64 (+.f64 1 (neg.f64 x)) (neg.f64 x))
Outputs
(-.f64 (+.f64 1 x) x)
(+.f64 1 (-.f64 x x))
1
(-.f64 (+.f64 1 (neg.f64 x)) (neg.f64 x))
(+.f64 1 (-.f64 x x))
1
Symmetry

(abs x)

Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify5.0ms (0.7%)

Algorithm
egg-herbie
Rules
20×sub-neg
12×fma-def
12×+-commutative
10×associate-+l+
associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0613
1141
2251
3281
4361
5451
6551
7741
8791
Stop Event
saturated
Counts
1 → 3
Calls
Call 1
Inputs
(-.f64 (+.f64 1 x) x)
Outputs
(-.f64 (+.f64 1 x) x)
(+.f64 1 (-.f64 x x))
1

eval0.0ms (0.1%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New213
Fresh101
Picked000
Done000
Total314
Accurracy
100.0%
Counts
4 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
1
100.0%
1
Compiler

Compiled 4 to 4 computations (0% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
1
100.0%
1
Compiler

Compiled 4 to 4 computations (0% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
1
100.0%
1
Compiler

Compiled 4 to 4 computations (0% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
1
100.0%
1
Compiler

Compiled 4 to 4 computations (0% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
1
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes5.0ms (0.7%)

Accuracy

Total -30.0b remaining (-∞%)

Threshold costs -30b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
1
(-.f64 (+.f64 1 x) x)
Outputs
1
Calls

2 calls:

2.0ms
x
2.0ms
(-.f64 (+.f64 1 x) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 1 x) x)
Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify3.0ms (0.5%)

Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
151
Stop Event
fuel
saturated
Calls
Call 1
Inputs
1
Outputs
1
Compiler

Compiled 2 to 2 computations (0% saved)

soundness15.0ms (2.1%)

Rules
20×sub-neg
12×fma-def
12×+-commutative
10×associate-+l+
associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0613
1141
2251
3281
4361
5451
6551
7741
8791
Stop Event
saturated
Compiler

Compiled 15 to 11 computations (26.7% saved)

end15.0ms (2.1%)

Remove

(abs x)

Compiler

Compiled 20 to 16 computations (20% saved)

Profiling

Loading profile data...