Details

Time bar (total: 3.0s)

analyze490.0ms (16.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.7s (54.9%)

Results
866.0ms2737×body1024valid
300.0ms1389×body512valid
256.0ms3178×body128valid
112.0ms287×body2048valid
98.0ms665×body256valid
1.0msbody2048invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1128
2138
3118

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 25 to 15 computations (40% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.7b
(/.f64 (exp.f64 x) (expm1.f64 x))

series9.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

9.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))

rewrite92.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
334×unpow-prod-down_binary64
258×log-prod_binary64
241×prod-diff_binary64
Counts
1 → 67
Calls

1 calls:

90.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
1988
212508
348948
453218
000
100

simplify124.0ms (4.1%)

Algorithm
egg-herbie
Rules
1111×fma-neg_binary64
818×unswap-sqr_binary64
754×fma-def_binary64
462×cancel-sign-sub-inv_binary64
454×neg-mul-1_binary64
Counts
79 → 75
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018110
146106
297104
3229104
4551104
51141104
61839104
72317104
83682104
93797104
104445104
114865104
124972104
134805104

prune36.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh000
Picked011
Done000
Total73376
Error
0.6b
Counts
76 → 3
Alt Table
StatusErrorProgram
19.9b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 1000 to 435 computations (56.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
0.1b
(fma.f64 x 1/12 (/.f64 1 x))

series4.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(fma.f64 x 1/12 (/.f64 1 x))
2.0ms
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))

rewrite44.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
768×log1p-expm1-u_binary64
768×expm1-log1p-u_binary64
144×log1p-udef_binary64
122×prod-diff_binary64
83×add-sqr-sqrt_binary64
Counts
2 → 57
Calls

2 calls:

43.0ms
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
43.0ms
(fma.f64 x 1/12 (/.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
117219
2192819
3503919
000
100

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Counts
81 → 66
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
011213
119179
226179
328179
427179

prune33.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done011
Total66369
Error
0.6b
Counts
69 → 3
Alt Table
StatusErrorProgram
19.9b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 939 to 749 computations (20.2% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1 x))

series1.0ms (0%)

Counts
1 → 3
Calls

1 calls:

1.0ms
(+.f64 1/2 (/.f64 1 x))

rewrite67.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
588×log1p-expm1-u_binary64
588×expm1-log1p-u_binary64
241×log-prod_binary64
158×prod-diff_binary64
109×expm1-udef_binary64
Counts
1 → 39
Calls

1 calls:

66.0ms
(+.f64 1/2 (/.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11307
214927
348977
450587
000
100

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
42 → 41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
176
266

prune20.0ms (0.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40141
Fresh000
Picked011
Done022
Total40444
Error
0.6b
Counts
44 → 4
Alt Table
StatusErrorProgram
20.9b
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2))
19.9b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 471 to 392 computations (16.8% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1 x))
0.2b
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2))
0.4b
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))
0.6b
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)

series13.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

7.0ms
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)
5.0ms
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))
1.0ms
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2))

rewrite47.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
768×log1p-expm1-u_binary64
768×expm1-log1p-u_binary64
145×log1p-udef_binary64
88×add-sqr-sqrt_binary64
84×add-cbrt-cube_binary64
Counts
3 → 72
Calls

3 calls:

46.0ms
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2))
46.0ms
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))
46.0ms
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
119328
2198128
3487628
000
100

simplify60.0ms (2%)

Algorithm
egg-herbie
Rules
985×fma-neg_binary64
438×cancel-sign-sub-inv_binary64
328×fma-def_binary64
194×associate-*r*_binary64
191×distribute-rgt-out_binary64
Counts
108 → 106
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077652
1234554
2624512
32211488
44647488
55134488

prune135.0ms (4.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2282230
Fresh000
Picked101
Done123
Total2304234
Error
0.6b
Counts
234 → 4
Alt Table
StatusErrorProgram
19.9b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
21.5b
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x)))) 3) 2))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
61.6b
(*.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) (pow.f64 (fma.f64 2/3 (/.f64 (cbrt.f64 1/2) x) (cbrt.f64 1/2)) 2))
Compiler

Compiled 4511 to 3886 computations (13.9% saved)

regimes76.0ms (2.5%)

Accuracy

Total 0.1b remaining (20.6%)

Threshold costs 0.1b (20.6%)

Counts
30 → 1
Compiler

Compiled 1292 to 1108 computations (14.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1711

end66.0ms (2.2%)

Compiler

Compiled 68 to 56 computations (17.6% saved)

Profiling

Loading profile data...