Details

Time bar (total: 6.9s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample5.3s (76.5%)

Results
3.7s4315×body2048valid
1.0s2046×body1024valid
349.0ms1002×body512valid
96.0ms517×body256valid
37.0ms376×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify56.0ms (0.8%)

Algorithm
egg-herbie
Rules
819×div-sub_binary64
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23513
35713
411213
522313
648113
789013
8157013
9477813
10581513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
3.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series4.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

2.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0ms
(-.f64 (exp.f64 x) 2)

rewrite55.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
815×log1p-expm1-u_binary64
815×expm1-log1p-u_binary64
536×prod-diff_binary64
92×add-sqr-sqrt_binary64
87×add-log-exp_binary64
Counts
2 → 80
Calls

2 calls:

54.0ms
(-.f64 (exp.f64 x) 2)
54.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
118117
2201217
3584217
000
100

simplify80.0ms (1.2%)

Algorithm
egg-herbie
Rules
750×unswap-sqr_binary64
683×distribute-rgt-out_binary64
567×associate-*l*_binary64
524×fma-def_binary64
411×associate-*r*_binary64
Counts
96 → 97
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045198
1108196
2236196
3630191
42026191
54956191
64921191
74962191

prune75.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New94397
Fresh000
Picked011
Done000
Total94498
Error
0.0b
Counts
98 → 4
Alt Table
StatusErrorProgram
0.9b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
26.1b
(/.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 2) 4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))
26.1b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
26.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1590 to 928 computations (41.6% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))

series11.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
3.0ms
(*.f64 1/20160 (pow.f64 x 8))

rewrite66.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
520×log-prod_binary64
314×prod-diff_binary64
236×expm1-udef_binary64
236×log1p-udef_binary64
201×log-pow_binary64
Counts
3 → 79
Calls

3 calls:

64.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
64.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
64.0ms
(*.f64 1/20160 (pow.f64 x 8))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01550
131850
2298350
3525050
000
100

simplify159.0ms (2.3%)

Algorithm
egg-herbie
Rules
714×distribute-rgt-out_binary64
540×sqr-pow_binary64
414×unswap-sqr_binary64
398×*-commutative_binary64
378×distribute-lft-out_binary64
Counts
103 → 94
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024357
161357
2129357
3333357
41097357
52251357
62328357
72795357
83554357
94571357
104810357
114625357
124856357
134991357
144847357

prune112.0ms (1.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New93194
Fresh022
Picked011
Done011
Total93598
Error
0.0b
Counts
98 → 5
Alt Table
StatusErrorProgram
1.6b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))) 3)
0.9b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
26.1b
(/.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 2) 4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))
26.1b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
26.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 2412 to 1821 computations (24.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))
0.4b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))) 3)
32.5b
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))

series26.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

18.0ms
(pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))) 3)
7.0ms
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))

rewrite111.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
314×prod-diff_binary64
262×expm1-udef_binary64
262×log1p-udef_binary64
235×fma-udef_binary64
192×fma-neg_binary64
Counts
2 → 63
Calls

2 calls:

109.0ms
(pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))) 3)
109.0ms
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01852
136452
2336252
3490652
4493752
5467252
000
100

simplify55.0ms (0.8%)

Algorithm
egg-herbie
Rules
560×associate-/l/_binary64
341×fma-def_binary64
300×times-frac_binary64
214×unswap-sqr_binary64
200×associate-/l*_binary64
Counts
87 → 111
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01071166
13001118
2817880
32916620
45003620

prune215.0ms (3.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1651166
Fresh022
Picked101
Done022
Total1665171
Error
0.0b
Counts
171 → 5
Alt Table
StatusErrorProgram
3.6b
(pow.f64 (+.f64 (*.f64 1/1224720 (pow.f64 (pow.f64 x 20) 1/3)) (+.f64 (*.f64 1/6480 (pow.f64 (pow.f64 x 14) 1/3)) (+.f64 (*.f64 1/36 (pow.f64 (pow.f64 x 8) 1/3)) (pow.f64 (pow.f64 x 2) 1/3)))) 3)
0.9b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
26.1b
(/.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 2) 4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))
26.1b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
26.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 4837 to 3832 computations (20.8% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.8b
(pow.f64 (pow.f64 x 20) 1/3)
8.2b
(pow.f64 (pow.f64 x 14) 1/3)
13.8b
(pow.f64 (pow.f64 x 8) 1/3)
34.3b
(pow.f64 (pow.f64 x 2) 1/3)

series110.0ms (1.6%)

Counts
4 → 0
Calls

4 calls:

32.0ms
(pow.f64 (pow.f64 x 2) 1/3)
27.0ms
(pow.f64 (pow.f64 x 14) 1/3)
26.0ms
(pow.f64 (pow.f64 x 20) 1/3)
25.0ms
(pow.f64 (pow.f64 x 8) 1/3)

rewrite78.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
526×log-prod_binary64
223×log-pow_binary64
222×expm1-udef_binary64
222×log1p-udef_binary64
191×pow3_binary64
Counts
4 → 94
Calls

4 calls:

77.0ms
(pow.f64 (pow.f64 x 20) 1/3)
77.0ms
(pow.f64 (pow.f64 x 14) 1/3)
77.0ms
(pow.f64 (pow.f64 x 8) 1/3)
77.0ms
(pow.f64 (pow.f64 x 2) 1/3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01524
133024
2296924
3497724
4475524
000
100

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune136.0ms (2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93194
Fresh112
Picked011
Done022
Total94599
Error
0.0b
Counts
99 → 5
Alt Table
StatusErrorProgram
3.6b
(pow.f64 (+.f64 (*.f64 1/1224720 (pow.f64 (pow.f64 x 20) 1/3)) (+.f64 (*.f64 1/6480 (pow.f64 (pow.f64 x 14) 1/3)) (+.f64 (*.f64 1/36 (pow.f64 (pow.f64 x 8) 1/3)) (pow.f64 (pow.f64 x 2) 1/3)))) 3)
25.6b
(pow.f64 (+.f64 (*.f64 1/1224720 (pow.f64 (pow.f64 x 20) 1/3)) (+.f64 (*.f64 1/6480 (pow.f64 (pow.f64 x 14) 1/3)) (+.f64 (*.f64 1/36 (pow.f64 (pow.f64 x 8) 1/3)) (-.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 x x)))) 1)))) 3)
0.9b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
26.1b
(/.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 2) 4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))
26.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 3357 to 2815 computations (16.1% saved)

regimes84.0ms (1.2%)

Accuracy

Total 0.5b remaining (97.2%)

Threshold costs 0.5b (97.2%)

Counts
42 → 1
Compiler

Compiled 1360 to 1042 computations (23.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
21625

end122.0ms (1.8%)

Compiler

Compiled 156 to 121 computations (22.4% saved)

Profiling

Loading profile data...