Details

Time bar (total: 5.7s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.6s (28.4%)

Results
640.0ms2050×body1024valid
432.0ms4466×body128valid
239.0ms1001×body512valid
94.0ms516×body256valid
92.0ms223×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify85.0ms (1.5%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.9b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series8.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite222.0ms (3.9%)

Algorithm
rewrite-expression-head
Rules
1322×*-un-lft-identity_binary64
1012×times-frac_binary64
869×add-sqr-sqrt_binary64
612×prod-diff_binary64
533×add-cube-cbrt_binary64
Counts
3 → 783
Calls

3 calls:

43.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

simplify930.0ms (16.5%)

Algorithm
egg-herbie
Rules
654×fma-neg_binary64
367×unsub-neg_binary64
299×fma-udef_binary64
213×sub-neg_binary64
202×associate-+r-_binary64
Counts
819 → 619
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054554602
1129031108
2304322839
3432322837
4498322837
5499122837
6474222837

prune630.0ms (11.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New6163619
Fresh000
Picked011
Done000
Total6164620
Error
0b
Counts
620 → 4
Alt Table
StatusErrorProgram
30.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
30.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
30.1b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
33.5b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 30394 to 22401 computations (26.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 3 (/.f64 1 x))
0.4b
(/.f64 1 (pow.f64 x 3))
0.5b
(/.f64 1 (pow.f64 x 2))
6.3b
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))

series12.0ms (0.2%)

Counts
4 → 15
Calls

4 calls:

4.0ms
(/.f64 1 (pow.f64 x 2))
4.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
3.0ms
(/.f64 1 (pow.f64 x 3))
1.0ms
(*.f64 3 (/.f64 1 x))

rewrite36.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
71×times-frac_binary64
61×add-sqr-sqrt_binary64
55×*-un-lft-identity_binary64
54×add-cube-cbrt_binary64
31×add-exp-log_binary64
Counts
4 → 188
Calls

4 calls:

13.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
7.0ms
(*.f64 3 (/.f64 1 x))
4.0ms
(/.f64 1 (pow.f64 x 3))
4.0ms
(/.f64 1 (pow.f64 x 2))

simplify128.0ms (2.3%)

Algorithm
egg-herbie
Rules
774×fma-neg_binary64
443×associate-/l*_binary64
339×unswap-sqr_binary64
281×log-prod_binary64
277×associate-/l/_binary64
Counts
203 → 232
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01722198
13462025
210851812
333331718
441631709
549271709
650621709

prune185.0ms (3.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2320232
Fresh022
Picked011
Done011
Total2324236
Error
0b
Counts
236 → 4
Alt Table
StatusErrorProgram
30.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
30.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
30.1b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
33.5b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 6131 to 5070 computations (17.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 3 (pow.f64 x 3))
0.5b
(/.f64 1 (*.f64 x x))
6.3b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
9.5b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))

series14.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

4.0ms
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
4.0ms
(/.f64 1 (*.f64 x x))
4.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
3.0ms
(/.f64 3 (pow.f64 x 3))

rewrite307.0ms (5.4%)

Algorithm
rewrite-expression-head
Rules
521×*-un-lft-identity_binary64
386×add-sqr-sqrt_binary64
347×times-frac_binary64
278×prod-diff_binary64
241×add-cube-cbrt_binary64
Counts
4 → 479
Calls

4 calls:

149.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
50.0ms
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
4.0ms
(/.f64 3 (pow.f64 x 3))
3.0ms
(/.f64 1 (*.f64 x x))

simplify458.0ms (8.1%)

Algorithm
egg-herbie
Rules
826×fma-neg_binary64
286×associate-*l*_binary64
263×associate-*r*_binary64
197×associate-/r*_binary64
170×fma-def_binary64
Counts
515 → 476
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
039226531
191317934
2358017735
3485317735
4505217735

prune679.0ms (12%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4760476
Fresh011
Picked011
Done022
Total4764480
Error
0b
Counts
480 → 4
Alt Table
StatusErrorProgram
30.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
30.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
30.1b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
33.5b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 25782 to 19062 computations (26.1% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 3 x))

series2.0ms (0%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(*.f64 x (+.f64 3 x))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
Counts
1 → 25
Calls

1 calls:

4.0ms
(*.f64 x (+.f64 3 x))

simplify88.0ms (1.6%)

Algorithm
egg-herbie
Rules
982×fma-def_binary64
428×unswap-sqr_binary64
372×distribute-rgt-out_binary64
345×+-commutative_binary64
343×associate-+r+_binary64
Counts
37 → 33
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048335
1122303
2392303
31110303
42468303
53561303
64612303
74910303
84853303

prune18.0ms (0.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New33033
Fresh000
Picked011
Done033
Total33437
Error
0b
Counts
37 → 4
Alt Table
StatusErrorProgram
30.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
30.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
30.1b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
33.5b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 460 to 327 computations (28.9% saved)

regimes96.0ms (1.7%)

Accuracy

Total 0.1b remaining (76.8%)

Threshold costs 0.1b (76.8%)

Counts
34 → 2
Compiler

Compiled 1106 to 892 computations (19.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
13×+-commutative_binary64
11×sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02574
13874
25574
37574
48774
59274
69374
79074

end93.0ms (1.6%)

Compiler

Compiled 167 to 127 computations (24% saved)

Profiling

Loading profile data...