Details

Time bar (total: 2.3s)

analyze6.0ms (0.3%)

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.4s (60.6%)

Results
1.3s8256×body128valid
Compiler

Compiled 20 to 17 computations (15% saved)

simplify10.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
284

prune12.0ms (0.6%)

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 → 12
Calls

1 calls:

2.0ms
(+.f64 x 1/3)

rewrite87.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
812×log1p-udef_binary64
446×log1p-expm1-u_binary64
446×expm1-log1p-u_binary64
384×pow1_binary64
217×unpow-prod-down_binary64
Counts
1 → 46
Calls

1 calls:

86.0ms
(+.f64 x 1/3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1914
211044
347804
461734
000
100

simplify15.0ms (0.7%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Counts
58 → 49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0439
1539
2539

prune56.0ms (2.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done000
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
22.3b
(/.f64 (+.f64 (pow.f64 x 3) 1/27) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))
Compiler

Compiled 465 to 359 computations (22.8% saved)

localize16.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series15.0ms (0.7%)

Counts
4 → 48
Calls

4 calls:

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

rewrite159.0ms (7%)

Algorithm
batch-egg-rewrite
Rules
414×prod-diff_binary64
328×fma-udef_binary64
222×expm1-udef_binary64
222×log1p-udef_binary64
205×fma-neg_binary64
Counts
4 → 113
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01242
127042
2316036
3483836
4480836
5486636
000
100

simplify218.0ms (9.7%)

Algorithm
egg-herbie
Rules
818×distribute-rgt-neg-in_binary64
557×sqr-pow_binary64
541×associate-*r*_binary64
533×distribute-lft-neg-in_binary64
528×*-commutative_binary64
Counts
161 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014273
132249
252217
3114217
4253217
5610217
61672217
72697217
83380217
93778217
102855217
113126217
123372217
133974217
144566217
154669217

prune146.0ms (6.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh000
Picked011
Done011
Total1272129
Error
0b
Counts
129 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
22.3b
(/.f64 (+.f64 (pow.f64 x 3) 1/27) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))
Compiler

Compiled 2286 to 1692 computations (26% saved)

regimes66.0ms (2.9%)

Accuracy

Total 0.0b remaining (69%)

Threshold costs 0.0b (69%)

Counts
20 → 1
Compiler

Compiled 384 to 300 computations (21.9% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
284

end69.0ms (3.1%)

Compiler

Compiled 27 to 20 computations (25.9% saved)

Profiling

Loading profile data...