Details

Time bar (total: 2.3s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%25%12.5%4
68.7%12.5%18.8%5
71.8%6.2%21.9%6
73.4%3.1%23.5%7
74.2%1.6%24.3%8
74.6%0.8%24.6%9
75%0.4%24.6%10
75.1%0.2%24.7%11
75.1%0.1%24.8%12
75.1%0%24.8%13
75.2%0%24.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample1.7s (74.1%)

Results
865.0ms2748×body1024valid
321.0ms1370×body512valid
246.0ms3131×body128valid
105.0ms290×body2048valid
98.0ms717×body256valid
Compiler

Compiled 16 to 12 computations (25% saved)

preprocess37.0ms (1.7%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
28×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5406
6596
71006
81466
92226
103496
115076
125796
136156
011
Stop Event
saturated
saturated
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify13.0ms (0.6%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
28×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5406
6596
71006
81466
92226
103496
115076
125796
136156
Stop Event
saturated
Counts
1 → 2

prune3.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 (expm1.f64 x) x)
Compiler

Compiled 21 to 13 computations (38.1% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

1.0ms
(/.f64 (expm1.f64 x) x)
x
-inf
1.0ms
(/.f64 (expm1.f64 x) x)
x
inf
1.0ms
(/.f64 (expm1.f64 x) x)
x
0

rewrite34.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
449×pow1_binary64
417×add-log-exp_binary64
417×log1p-expm1-u_binary64
417×expm1-log1p-u_binary64
407×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
1836
211046
Stop Event
node limit
Counts
1 → 32

simplify26.0ms (1.2%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
502×associate-*l*_binary64
484×fma-def_binary64
309×associate-*r*_binary64
186×fma-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02691
16889
214586
339379
498176
5309576
Stop Event
node limit
Counts
44 → 42

prune24.0ms (1.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New40242
Fresh000
Picked101
Done000
Total41243
Error
0b
Counts
43 → 2
Alt Table
StatusErrorProgram
21.0b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
0.0b
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
Compiler

Compiled 392 to 194 computations (50.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (expm1.f64 x))
0.0b
(pow.f64 (/.f64 x (expm1.f64 x)) -1)

series25.0ms (1.1%)

Counts
2 → 24
Calls

6 calls:

9.0ms
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
x
-inf
7.0ms
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
x
inf
4.0ms
(/.f64 x (expm1.f64 x))
x
-inf
3.0ms
(/.f64 x (expm1.f64 x))
x
inf
1.0ms
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
x
0

rewrite71.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
605×pow1_binary64
565×add-log-exp_binary64
565×log1p-expm1-u_binary64
565×expm1-log1p-u_binary64
61×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0615
112512
2155812
Stop Event
node limit
Counts
2 → 74

simplify26.0ms (1.1%)

Algorithm
egg-herbie
Rules
692×fma-neg_binary64
631×cancel-sign-sub-inv_binary64
347×fma-def_binary64
272×*-commutative_binary64
238×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034186
193180
2218173
3657158
42147158
Stop Event
node limit
Counts
98 → 90

prune52.0ms (2.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New90090
Fresh011
Picked011
Done000
Total90292
Error
0b
Counts
92 → 2
Alt Table
StatusErrorProgram
21.0b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
0.0b
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
Compiler

Compiled 916 to 455 computations (50.3% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

1.0ms
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
x
-inf
1.0ms
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
x
inf
1.0ms
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
x
0
1.0ms
(fma.f64 x 1/6 1/2)
x
-inf
0.0ms
(fma.f64 x 1/6 1/2)
x
inf

rewrite39.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
581×pow1_binary64
540×add-log-exp_binary64
540×log1p-expm1-u_binary64
540×expm1-log1p-u_binary64
531×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
113614
2141114
Stop Event
node limit
Counts
2 → 42

simplify66.0ms (2.9%)

Algorithm
egg-herbie
Rules
544×associate-*l*_binary64
512×fma-def_binary64
434×unswap-sqr_binary64
370×sqr-pow_binary64
316×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
014200
130180
248156
384144
4192144
5532144
61786144
73121144
83327144
93540144
103760144
114070144
124472144
134980144
Stop Event
node limit
Counts
66 → 55

prune28.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done011
Total55257
Error
0b
Counts
57 → 2
Alt Table
StatusErrorProgram
21.0b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
0.0b
(pow.f64 (/.f64 x (expm1.f64 x)) -1)
Compiler

Compiled 600 to 468 computations (22% saved)

regimes77.0ms (3.4%)

Accuracy

Total 0.0b remaining (51.9%)

Threshold costs 0.0b (51.9%)

Counts
20 → 1
Compiler

Compiled 333 to 237 computations (28.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
/-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
196
Stop Event
saturated

end35.0ms (1.6%)

Stop Event
done
Compiler

Compiled 25 to 17 computations (32% saved)

Profiling

Loading profile data...