Details

Time bar (total: 5.9s)

analyze76.0ms (1.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
50%50%0.1%5
50%37.5%12.6%6
50%25%25.1%7
50%18.7%31.3%8
50%12.5%37.6%9
50%9.4%40.7%10
50%6.2%43.8%11
50%4.7%45.4%12
50%3.1%46.9%13
50%2.3%47.7%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample98.0ms (1.7%)

Algorithm
intervals
Symmetry

(sort a b)

Results
29.0ms60×body1024valid
8.0ms30×body512valid
8.0ms147×body128valid
3.0msbody2048valid
2.0ms14×body256valid
0.0msbody128overflowed
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

prune48.0ms (0.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.0b
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 a) (exp.f64 b))
4.3b
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))

series587.0ms (9.9%)

Counts
2 → 48
Calls

2 calls:

582.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
4.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
Counts
2 → 34
Calls

2 calls:

3.0ms
(+.f64 (exp.f64 a) (exp.f64 b))
3.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
418×associate-+l+_binary64
392×fma-def_binary64
238×times-frac_binary64
229×associate-+r+_binary64
Counts
82 → 83
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01231238
13341183
210341155
340621151
448281151
549731151

prune102.0ms (1.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh000
Picked101
Done000
Total81384
Error
0.6b
Counts
84 → 3
Alt Table
StatusErrorProgram
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
28.0b
(expm1.f64 (log1p.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
30.4b
(+.f64 (log1p.f64 (exp.f64 b)) (+.f64 (/.f64 a (+.f64 1 (exp.f64 b))) (*.f64 (*.f64 (/.f64 a (+.f64 1 (exp.f64 b))) a) (-.f64 1/2 (/.f64 1/2 (+.f64 1 (exp.f64 b)))))))
Compiler

Compiled 1401 to 648 computations (53.7% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 b (+.f64 1 (exp.f64 a)))
0.0b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
0.0b
(+.f64 1 (exp.f64 a))
0.0b
(log1p.f64 (exp.f64 a))

series492.0ms (8.3%)

Counts
4 → 44
Calls

4 calls:

265.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
205.0ms
(log1p.f64 (exp.f64 a))
20.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))
2.0ms
(+.f64 1 (exp.f64 a))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
Counts
4 → 81
Calls

4 calls:

7.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
4.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))
3.0ms
(+.f64 1 (exp.f64 a))
0.0ms
(log1p.f64 (exp.f64 a))

simplify107.0ms (1.8%)

Algorithm
egg-herbie
Rules
571×fma-neg_binary64
461×cancel-sign-sub-inv_binary64
403×fma-def_binary64
224×distribute-rgt-in_binary64
201×associate-+l+_binary64
Counts
125 → 120
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01521715
13821640
29271622
325711611
447791610
549941610
649231610

prune188.0ms (3.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1173120
Fresh022
Picked101
Done000
Total1185123
Error
0.6b
Counts
123 → 5
Alt Table
StatusErrorProgram
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
28.0b
(expm1.f64 (log1p.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
30.4b
(+.f64 (log1p.f64 (exp.f64 b)) (+.f64 (/.f64 a (+.f64 1 (exp.f64 b))) (*.f64 (*.f64 (/.f64 a (+.f64 1 (exp.f64 b))) a) (-.f64 1/2 (/.f64 1/2 (+.f64 1 (exp.f64 b)))))))
25.0b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 2161 to 1145 computations (47% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
0.0b
(/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a)))
0.0b
(-.f64 -1 (exp.f64 a))
0.0b
(log1p.f64 (exp.f64 a))

series281.0ms (4.7%)

Counts
3 → 60
Calls

3 calls:

260.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
19.0ms
(/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a)))
2.0ms
(-.f64 -1 (exp.f64 a))

rewrite34.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity_binary64
65×add-sqr-sqrt_binary64
50×times-frac_binary64
41×add-cube-cbrt_binary64
18×distribute-lft-neg-in_binary64
Counts
3 → 133
Calls

3 calls:

14.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
6.0ms
(/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a)))
3.0ms
(-.f64 -1 (exp.f64 a))

simplify114.0ms (1.9%)

Algorithm
egg-herbie
Rules
580×fma-def_binary64
403×fma-neg_binary64
350×div-sub_binary64
278×cancel-sign-sub-inv_binary64
209×distribute-rgt-in_binary64
Counts
193 → 192
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02403222
15593074
219112956
342762946
449012946

prune160.0ms (2.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2110211
Fresh044
Picked011
Done000
Total2115216
Error
0.6b
Counts
216 → 5
Alt Table
StatusErrorProgram
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
28.0b
(expm1.f64 (log1p.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
30.4b
(+.f64 (log1p.f64 (exp.f64 b)) (+.f64 (/.f64 a (+.f64 1 (exp.f64 b))) (*.f64 (*.f64 (/.f64 a (+.f64 1 (exp.f64 b))) a) (-.f64 1/2 (/.f64 1/2 (+.f64 1 (exp.f64 b)))))))
25.0b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 4190 to 1953 computations (53.4% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
0.0b
(+.f64 1 (exp.f64 a))
0.0b
(log1p.f64 (exp.f64 a))
0.0b
(expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a)))))

series320.0ms (5.4%)

Counts
2 → 48
Calls

2 calls:

301.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
19.0ms
(expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a)))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 30
Calls

2 calls:

2.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a)))))

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Rules
486×distribute-rgt-neg-in_binary64
438×associate-+r+_binary64
366×cancel-sign-sub-inv_binary64
347×associate-*l*_binary64
332×sub-neg_binary64
Counts
78 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0801175
12041119
25321103
315441099
436751099
547271099
650331099

prune102.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh123
Picked101
Done011
Total1124116
Error
0.6b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.9b
(expm1.f64 (log1p.f64 (+.f64 (log1p.f64 (exp.f64 a)) (expm1.f64 (log1p.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))))
0.8b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 (neg.f64 b) (-.f64 -1 (exp.f64 a))))
30.4b
(+.f64 (log1p.f64 (exp.f64 b)) (+.f64 (/.f64 a (+.f64 1 (exp.f64 b))) (*.f64 (*.f64 (/.f64 a (+.f64 1 (exp.f64 b))) a) (-.f64 1/2 (/.f64 1/2 (+.f64 1 (exp.f64 b)))))))
25.0b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
Compiler

Compiled 2010 to 1150 computations (42.8% saved)

regimes705.0ms (11.9%)

Accuracy

Total 0.5b remaining (50%)

Threshold costs 0.5b (50%)

Counts
139 → 1
Compiler

Compiled 14161 to 9867 computations (30.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11520
21420

end6.0ms (0.1%)

Compiler

Compiled 42 to 30 computations (28.6% saved)

sample2.3s (38.4%)

Algorithm
intervals
Results
1.0s1893×body1024valid
271.0ms962×body512valid
243.0ms4408×body128valid
161.0ms225×body2048valid
75.0ms512×body256valid
7.0ms135×body128overflowed
Compiler

Compiled 97 to 68 computations (29.9% saved)

Profiling

Loading profile data...