Details

Time bar (total: 3.8s)

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)

sample2.9s (75.8%)

Results
1.8s4068×body1024valid
556.0ms2052×body512valid
218.0ms447×body2048valid
169.0ms985×body256valid
74.0ms704×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify55.0ms (1.4%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
579×fma-def_binary64
510×associate-/l*_binary64
467×div-sub_binary64
425×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0813
11913
23313
35713
411213
522413
651413
7130313
8304712
9446912
10485912

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
57.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 35 to 25 computations (28.6% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
6.3b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series2.0ms (0.1%)

Counts
1 → 8
Calls

1 calls:

2.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite16.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
68×add-sqr-sqrt_binary64
65×log1p-expm1-u_binary64
65×expm1-log1p-u_binary64
64×add-log-exp_binary64
62×add-cbrt-cube_binary64
Counts
1 → 0
Calls

1 calls:

16.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
11306
2716
000
100

simplify68.0ms (1.8%)

Algorithm
egg-herbie
Rules
704×fma-def_binary64
676×unswap-sqr_binary64
328×associate-*l*_binary64
309×*-commutative_binary64
305×associate-*l/_binary64
Counts
8 → 9
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02598
16498
214598
332198
457998
5116198
6166998
7268398
8457198
9496498
10473498

prune10.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New819
Fresh000
Picked011
Done000
Total8210
Error
0.0b
Counts
10 → 2
Alt Table
StatusErrorProgram
0.9b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) 2)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 170 to 136 computations (20% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
0.0b
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))))
0.1b
(*.f64 1/3 (pow.f64 x 3))

series13.0ms (0.3%)

Counts
3 → 24
Calls

3 calls:

6.0ms
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))))
4.0ms
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
3.0ms
(*.f64 1/3 (pow.f64 x 3))

rewrite60.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
269×expm1-udef_binary64
269×log1p-udef_binary64
226×log-pow_binary64
215×prod-diff_binary64
158×add-sqr-sqrt_binary64
Counts
3 → 70
Calls

3 calls:

58.0ms
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
58.0ms
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))))
58.0ms
(*.f64 1/3 (pow.f64 x 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01650
134250
2339350
3469750
000
100

simplify153.0ms (4%)

Algorithm
egg-herbie
Rules
1116×sqr-pow_binary64
672×cube-prod_binary64
636×fabs-mul_binary64
624×unswap-sqr_binary64
435×fma-def_binary64
Counts
94 → 87
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026357
164357
2137357
3287357
4478357
5931357
61305357
71831357
81979357
92207357
102483357
112853357
123199357
133718357
143940357
154073357
164271357
174388357
184514357
195224357

prune71.0ms (1.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86187
Fresh000
Picked011
Done011
Total86389
Error
0.0b
Counts
89 → 3
Alt Table
StatusErrorProgram
0.9b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) 2)
58.3b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1)) 2)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 2178 to 1790 computations (17.8% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/60 (pow.f64 x 5) (-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1))
0.0b
(exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3))))))
0.1b
(*.f64 1/3 (pow.f64 x 3))
6.3b
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1)

series23.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

11.0ms
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1)
6.0ms
(fma.f64 1/60 (pow.f64 x 5) (-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1))
5.0ms
(exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3))))))

rewrite67.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
371×prod-diff_binary64
310×log1p-udef_binary64
184×add-sqr-sqrt_binary64
182×expm1-log1p-u_binary64
181×log1p-expm1-u_binary64
Counts
3 → 94
Calls

3 calls:

65.0ms
(fma.f64 1/60 (pow.f64 x 5) (-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1))
65.0ms
(exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3))))))
65.0ms
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02065
140364
2401864
3496664
000
100

simplify80.0ms (2.1%)

Algorithm
egg-herbie
Rules
757×associate-/r*_binary64
623×associate-/l*_binary64
384×fma-def_binary64
242×associate-*l/_binary64
241×associate-+l+_binary64
Counts
130 → 155
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0921320
12581008
2702958
32027812
44846781
54965781
64824781

prune148.0ms (3.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1690169
Fresh000
Picked011
Done022
Total1693172
Error
0.0b
Counts
172 → 3
Alt Table
StatusErrorProgram
0.9b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) 2)
58.3b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 x 2 (*.f64 1/3 (pow.f64 x 3)))))) 1)) 2)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 5233 to 4425 computations (15.4% saved)

regimes38.0ms (1%)

Accuracy

Total 0.5b remaining (98.4%)

Threshold costs 0.5b (98.4%)

Counts
12 → 1
Compiler

Compiled 615 to 503 computations (18.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01728
11828
21828

end85.0ms (2.2%)

Compiler

Compiled 97 to 79 computations (18.6% saved)

Profiling

Loading profile data...