Details

Time bar (total: 2.5s)

analyze51.0ms (2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
74.9%25%0.1%5
74.9%25%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.2s (48%)

Results
1.0s8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify97.0ms (3.9%)

Algorithm
egg-herbie
Rules
694×fma-def_binary64
621×fma-neg_binary64
457×times-frac_binary64
316×div-sub_binary64
141×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0712
11812
23812
37112
415212
520712
659710
793710
8131410
9133710
10134210
11136910
12137910
13137910
14127410

prune5.0ms (0.2%)

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 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

series16.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite18.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
Counts
1 → 47
Calls

1 calls:

12.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify120.0ms (4.7%)

Algorithm
egg-herbie
Rules
360×cancel-sign-sub-inv_binary64
305×neg-mul-1_binary64
284×div-sub_binary64
252×fma-def_binary64
243×fma-neg_binary64
Counts
71 → 57
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081291
12741214
27951163
325941145
444361145
551071145

prune44.0ms (1.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358
Error
0b
Counts
58 → 3
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
36.2b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
Compiler

Compiled 925 to 318 computations (65.6% saved)

localize15.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

series42.0ms (1.6%)

Counts
2 → 48
Calls

2 calls:

27.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
14.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

rewrite39.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity_binary64
52×exp-prod_binary64
40×times-frac_binary64
39×add-sqr-sqrt_binary64
27×log-pow_binary64
Counts
2 → 76
Calls

2 calls:

16.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
11.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

simplify138.0ms (5.5%)

Algorithm
egg-herbie
Rules
454×times-frac_binary64
368×cancel-sign-sub-inv_binary64
313×associate-/l*_binary64
290×fma-neg_binary64
267×fma-def_binary64
Counts
124 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01602152
13332044
29391918
336371903
450161903

prune114.0ms (4.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1760176
Fresh022
Picked011
Done000
Total1763179
Error
0b
Counts
179 → 3
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
36.2b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
Compiler

Compiled 3117 to 992 computations (68.2% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.6b
(expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

series29.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

20.0ms
(expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
9.0ms
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
0.0ms
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

simplify84.0ms (3.3%)

Algorithm
egg-herbie
Rules
472×fma-neg_binary64
450×cancel-sign-sub-inv_binary64
423×times-frac_binary64
309×associate-/l*_binary64
256×fma-def_binary64
Counts
70 → 60
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01001424
12621306
28521222
335731207
449531207
549661207

prune63.0ms (2.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done011
Total1173120
Error
0b
Counts
120 → 3
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
36.2b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
Compiler

Compiled 1930 to 795 computations (58.8% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 n f) 1)
0.2b
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))

series18.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

14.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))
4.0ms
(+.f64 (/.f64 n f) 1)

rewrite19.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
19×times-frac_binary64
17×add-cube-cbrt_binary64
13×fma-def_binary64
Counts
2 → 66
Calls

2 calls:

10.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))
5.0ms
(+.f64 (/.f64 n f) 1)

simplify94.0ms (3.7%)

Algorithm
egg-herbie
Rules
332×associate-*l*_binary64
268×associate-*r*_binary64
245×associate-*l/_binary64
242×associate-*r/_binary64
228×distribute-rgt-in_binary64
Counts
114 → 95
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0991388
12351221
27791141
326121140
440701128
549761128

prune54.0ms (2.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done022
Total95398
Error
0b
Counts
98 → 3
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(log1p.f64 (expm1.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
36.2b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
Compiler

Compiled 1830 to 891 computations (51.3% saved)

regimes172.0ms (6.8%)

Accuracy

Total 0.0b remaining (54.9%)

Threshold costs 0.0b (54.9%)

Counts
46 → 1
Compiler

Compiled 1530 to 1131 computations (26.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11517
21917
32117
42217
52117

end52.0ms (2.1%)

Compiler

Compiled 62 to 41 computations (33.9% saved)

Profiling

Loading profile data...