Details

Time bar (total: 18.1s)

analyze789.0ms (4.4%)

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%50%0.1%6
50%50%0.1%7
50%50%0.1%8
50%50%0.1%9
50%50%0.1%10
50%50%0.1%11
50%50%0.1%12
50%50%0.1%13
50%50%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample12.7s (70.2%)

Symmetry

(sort a b)

Results
9.7s7717×body8192exit
1.6s2047×body1024valid
626.0ms4543×body128valid
427.0ms976×body512valid
172.0ms184×body2048valid
133.0ms506×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify6.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0%)

Local error

Found 2 expressions with local error:

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

series319.0ms (1.8%)

Counts
2 → 48
Calls

2 calls:

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

rewrite7.0ms (0%)

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)))

simplify83.0ms (0.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

prune59.0ms (0.3%)

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
32.0b
(+.f64 (log1p.f64 (exp.f64 b)) (/.f64 a (+.f64 1 (exp.f64 b))))
29.3b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))) (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
1.2b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
Compiler

Compiled 1379 to 624 computations (54.7% saved)

localize6.0ms (0%)

Local error

Found 3 expressions with local error:

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

series213.0ms (1.2%)

Counts
3 → 32
Calls

3 calls:

194.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
17.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))
1.0ms
(+.f64 1 (exp.f64 a))

rewrite18.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
Counts
3 → 70
Calls

3 calls:

9.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
4.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))
2.0ms
(+.f64 1 (exp.f64 a))

simplify84.0ms (0.5%)

Algorithm
egg-herbie
Rules
534×fma-neg_binary64
435×associate-/l*_binary64
384×fma-def_binary64
381×cancel-sign-sub-inv_binary64
224×distribute-rgt-in_binary64
Counts
102 → 103
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01381554
13541479
28671463
323901452
449391451
550661451

prune79.0ms (0.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1012103
Fresh022
Picked101
Done000
Total1024106
Error
0.6b
Counts
106 → 4
Alt Table
StatusErrorProgram
32.0b
(+.f64 (log1p.f64 (exp.f64 b)) (/.f64 a (+.f64 1 (exp.f64 b))))
29.3b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))) (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
1.6b
(+.f64 (log1p.f64 (exp.f64 a)) (*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a))))
19.5b
(exp.f64 (log.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 1851 to 966 computations (47.8% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))
0.0b
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
2.4b
(-.f64 1 (exp.f64 a))

series57.0ms (0.3%)

Counts
3 → 52
Calls

3 calls:

31.0ms
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
25.0ms
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))
2.0ms
(-.f64 1 (exp.f64 a))

rewrite33.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt_binary64
75×*-un-lft-identity_binary64
69×add-cube-cbrt_binary64
61×times-frac_binary64
34×associate-*l*_binary64
Counts
3 → 176
Calls

3 calls:

12.0ms
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
3.0ms
(-.f64 1 (exp.f64 a))
3.0ms
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))

simplify151.0ms (0.8%)

Algorithm
egg-herbie
Rules
645×fma-def_binary64
465×distribute-rgt-in_binary64
404×fma-neg_binary64
192×cancel-sign-sub-inv_binary64
168×associate-*l*_binary64
Counts
228 → 271
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02764853
16404540
221684167
347724166
449464166

prune254.0ms (1.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2701271
Fresh033
Picked101
Done000
Total2714275
Error
0.6b
Counts
275 → 4
Alt Table
StatusErrorProgram
1.6b
(+.f64 (log1p.f64 (exp.f64 a)) (+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))))
32.0b
(+.f64 (log1p.f64 (exp.f64 b)) (/.f64 a (+.f64 1 (exp.f64 b))))
29.3b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))) (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
19.5b
(exp.f64 (log.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 7545 to 2233 computations (70.4% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))
0.0b
(cbrt.f64 (exp.f64 a))
0.0b
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
2.4b
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))

series392.0ms (2.2%)

Counts
4 → 72
Calls

4 calls:

191.0ms
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
127.0ms
(cbrt.f64 (exp.f64 a))
48.0ms
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))
27.0ms
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))

rewrite36.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64
40×associate-*r*_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
30×times-frac_binary64
Counts
4 → 129
Calls

4 calls:

10.0ms
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))
7.0ms
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))
5.0ms
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
1.0ms
(cbrt.f64 (exp.f64 a))

simplify125.0ms (0.7%)

Algorithm
egg-herbie
Rules
759×fma-def_binary64
505×associate-*l*_binary64
333×associate-*r*_binary64
238×fma-neg_binary64
170×*-commutative_binary64
Counts
201 → 230
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02613513
17173304
233073218
349913218
449573218

prune293.0ms (1.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2751276
Fresh033
Picked101
Done000
Total2764280
Error
0.6b
Counts
280 → 4
Alt Table
StatusErrorProgram
32.0b
(+.f64 (log1p.f64 (exp.f64 b)) (/.f64 a (+.f64 1 (exp.f64 b))))
29.3b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))) (log.f64 (sqrt.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
1.6b
(+.f64 (log1p.f64 (exp.f64 a)) (+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 a))) 4))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))))
19.5b
(exp.f64 (log.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 10795 to 2589 computations (76% saved)

regimes2.1s (11.7%)

Accuracy

Total 0.5b remaining (47.9%)

Threshold costs 0.5b (47.9%)

Counts
373 → 1
Compiler

Compiled 61857 to 35641 computations (42.4% saved)

simplify3.0ms (0%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01436
12736
24134
35932
47032
57532
67632
77432

end228.0ms (1.3%)

Compiler

Compiled 175 to 96 computations (45.1% saved)

Profiling

Loading profile data...