Details

Time bar (total: 2.9s)

analyze7.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%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 7 to 6 computations (14.3% saved)

sample1.1s (38.1%)

Results
1.1s8256×body128valid
Compiler

Compiled 20 to 17 computations (15% saved)

simplify12.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1124
2134
3104

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(-.f64 x 1/3)
Compiler

Compiled 17 to 13 computations (23.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x 1/3)

series2.0ms (0.1%)

Counts
1 → 3
Calls

1 calls:

2.0ms
(-.f64 x 1/3)

rewrite91.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
821×log1p-udef_binary64
452×log1p-expm1-u_binary64
452×expm1-log1p-u_binary64
389×pow1_binary64
218×unpow-prod-down_binary64
Counts
1 → 48
Calls

1 calls:

89.0ms
(-.f64 x 1/3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1934
211214
347494
461084
000
100

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Counts
51 → 50
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023
123

prune50.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh000
Picked011
Done000
Total48351
Error
0.0b
Counts
51 → 3
Alt Table
StatusErrorProgram
0.0b
(-.f64 x 1/3)
22.3b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
17.3b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
Compiler

Compiled 486 to 378 computations (22.2% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x -1/9)
0.0b
(+.f64 x 1/3)
0.1b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
16.1b
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))

series15.0ms (0.5%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
4.0ms
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
4.0ms
(fma.f64 x x -1/9)
2.0ms
(+.f64 x 1/3)

rewrite109.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
408×log-prod_binary64
235×pow2_binary64
164×expm1-udef_binary64
164×log1p-udef_binary64
163×egg-rr
Counts
4 → 163
Calls

4 calls:

104.0ms
(fma.f64 x x -1/9)
104.0ms
(+.f64 x 1/3)
104.0ms
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
104.0ms
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0934
119920
2236220
3499220
000
100

simplify122.0ms (4.2%)

Algorithm
egg-herbie
Rules
601×associate-/r*_binary64
414×fma-def_binary64
274×distribute-rgt-neg-in_binary64
256×associate-/l/_binary64
242×distribute-lft-neg-in_binary64
Counts
211 → 187
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044339
1112315
2280311
3708306
41934306
54518306
64755306
74955306
84884306

prune224.0ms (7.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1861187
Fresh011
Picked011
Done011
Total1864190
Error
0b
Counts
190 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 x 1/3)
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))
22.3b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
17.3b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
Compiler

Compiled 2520 to 1922 computations (23.7% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x 1/3)
0.0b
(/.f64 1 (-.f64 x 1/3))
0.0b
(log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3))))
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))

series15.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

7.0ms
(log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3))))
5.0ms
(/.f64 1 (-.f64 x 1/3))
3.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))

rewrite101.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
699×expm1-log1p-u_binary64
698×log1p-expm1-u_binary64
129×expm1-udef_binary64
129×log1p-udef_binary64
111×log-pow_binary64
Counts
3 → 92
Calls

3 calls:

98.0ms
(/.f64 1 (-.f64 x 1/3))
98.0ms
(log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3))))
98.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
117518
2177618
3496318
4485918
000
100

simplify147.0ms (5%)

Algorithm
egg-herbie
Rules
601×associate-/r*_binary64
413×fma-def_binary64
274×distribute-rgt-neg-in_binary64
256×associate-/l/_binary64
242×distribute-lft-neg-in_binary64
Counts
128 → 85
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
041417
1106405
2272397
3699387
41923387
54507387
64742387
74942387
84986387
94878387

prune143.0ms (4.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1350135
Fresh011
Picked011
Done022
Total1354139
Error
0b
Counts
139 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 x 1/3)
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))
22.3b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
17.3b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
Compiler

Compiled 1608 to 1351 computations (16% saved)

localize16.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 x 3) -1/27)
0.1b
(fma.f64 x 1/3 1/9)
21.4b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))

series16.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

7.0ms
(+.f64 (pow.f64 x 3) -1/27)
6.0ms
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
3.0ms
(fma.f64 x 1/3 1/9)

rewrite94.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
460×log-prod_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
179×prod-diff_binary64
162×log-pow_binary64
Counts
3 → 103
Calls

3 calls:

90.0ms
(+.f64 (pow.f64 x 3) -1/27)
90.0ms
(fma.f64 x 1/3 1/9)
90.0ms
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
124130
2272330
3488230
000
100

simplify181.0ms (6.2%)

Algorithm
egg-herbie
Rules
1333×sqr-pow_binary64
715×pow-sqr_binary64
529×cube-prod_binary64
481×fabs-mul_binary64
362×unswap-sqr_binary64
Counts
139 → 116
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013183
127165
239165
348165
470165
5126165
6307165
7623165
8633165
9763165
10917165
111080165
121308165
131609165
141957165
152432165
163050165
173246165
183420165
193534165
203581165
213633165
224511165
234814165

prune150.0ms (5.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1160116
Fresh000
Picked011
Done033
Total1164120
Error
0b
Counts
120 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 x 1/3)
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1/3)))))
22.3b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (fma.f64 x x (fma.f64 x 1/3 1/9)))
17.3b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
Compiler

Compiled 2147 to 1575 computations (26.6% saved)

regimes159.0ms (5.4%)

Accuracy

Total 0.0b remaining (86.6%)

Threshold costs 0.0b (86.6%)

Counts
26 → 1
Compiler

Compiled 548 to 447 computations (18.4% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
174
284
374

end106.0ms (3.6%)

Compiler

Compiled 47 to 36 computations (23.4% saved)

Profiling

Loading profile data...