Details

Time bar (total: 3.9s)

analyze48.0ms (1.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
62.4%37.5%0.1%4
68.7%31.2%0.1%5
68.7%18.7%12.6%6
68.7%17.2%14.1%7
68.7%10.1%21.2%8
68.7%9%22.3%9
68.7%5.3%26%10
68.7%4.6%26.7%11
68.7%2.7%28.6%12
68.7%2.3%29%13
68.7%1.4%30%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample823.0ms (21%)

Results
791.0ms8256×body128valid
3.0ms30×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
1813
2813

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 18 computations (40% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 a) (exp.f64 b))
0.5b
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))

series35.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

30.0ms
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
4.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

rewrite12.0ms (0.3%)

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

2 calls:

5.0ms
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
3.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

simplify85.0ms (2.2%)

Algorithm
egg-herbie
Rules
806×fma-neg_binary64
536×times-frac_binary64
493×fma-def_binary64
389×associate-/l*_binary64
245×associate-/r*_binary64
Counts
100 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01681981
14491869
214031853
349151853
456401853

prune108.0ms (2.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1044108
Fresh000
Picked101
Done000
Total1054109
Error
0b
Counts
109 → 4
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (exp.f64 a)) (/.f64 (sqrt.f64 (exp.f64 a)) (+.f64 (exp.f64 b) (exp.f64 a))))
0.5b
(/.f64 (exp.f64 a) (log.f64 (*.f64 (exp.f64 (exp.f64 a)) (exp.f64 (exp.f64 b)))))
26.0b
(+.f64 (/.f64 (exp.f64 a) (+.f64 1 (exp.f64 a))) (-.f64 (*.f64 (exp.f64 a) (+.f64 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 3)) (/.f64 (pow.f64 b 3) (pow.f64 (+.f64 1 (exp.f64 a)) 3)))) (fma.f64 1/6 (/.f64 (*.f64 (exp.f64 a) (pow.f64 b 3)) (pow.f64 (+.f64 1 (exp.f64 a)) 2)) (fma.f64 1/2 (*.f64 (/.f64 (*.f64 b (exp.f64 a)) (pow.f64 (+.f64 1 (exp.f64 a)) 2)) b) (*.f64 (exp.f64 a) (+.f64 (/.f64 b (pow.f64 (+.f64 1 (exp.f64 a)) 2)) (/.f64 (pow.f64 b 3) (pow.f64 (+.f64 1 (exp.f64 a)) 4))))))))
0.0b
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 2449 to 961 computations (60.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
0.0b
(+.f64 (exp.f64 a) (exp.f64 b))
1.0b
(-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b))))
1.8b
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))

series957.0ms (24.4%)

Counts
3 → 72
Calls

3 calls:

455.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
267.0ms
(-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b))))
234.0ms
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
24×prod-diff_binary64
23×add-cube-cbrt_binary64
19×exp-sum_binary64
Counts
3 → 95
Calls

3 calls:

6.0ms
(-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b))))
5.0ms
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
3.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))

simplify126.0ms (3.2%)

Algorithm
egg-herbie
Rules
813×fma-neg_binary64
540×times-frac_binary64
303×cancel-sign-sub-inv_binary64
290×sub-neg_binary64
134×+-commutative_binary64
Counts
167 → 179
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02593797
16483524
223813260
345223255
449203255

prune170.0ms (4.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2171218
Fresh303
Picked011
Done000
Total2202222
Error
0b
Counts
222 → 2
Alt Table
StatusErrorProgram
19.3b
(exp.f64 (-.f64 a (-.f64 (fma.f64 1/2 (/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a))) (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))) (*.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))))))
0.0b
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 5454 to 2019 computations (63% saved)

localize19.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))
0.3b
(/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a)))
0.5b
(log1p.f64 (exp.f64 a))
12.8b
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a))) (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))) (*.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))))

series584.0ms (14.9%)

Counts
4 → 84
Calls

4 calls:

293.0ms
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a))) (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))) (*.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))))
196.0ms
(log1p.f64 (exp.f64 a))
71.0ms
(/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))
23.0ms
(/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a)))

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×add-exp-log_binary64
20×*-un-lft-identity_binary64
14×add-cbrt-cube_binary64
13×associate-/r*_binary64
13×times-frac_binary64
Counts
4 → 98
Calls

4 calls:

6.0ms
(/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))
5.0ms
(/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a)))
3.0ms
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a))) (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))) (*.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))))
0.0ms
(log1p.f64 (exp.f64 a))

simplify129.0ms (3.3%)

Algorithm
egg-herbie
Rules
713×fma-def_binary64
384×distribute-rgt-in_binary64
361×distribute-lft-in_binary64
330×cancel-sign-sub-inv_binary64
282×fma-neg_binary64
Counts
182 → 178
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02334573
15934143
219843761
348453760
449363760

prune202.0ms (5.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1780178
Fresh000
Picked011
Done011
Total1782180
Error
0b
Counts
180 → 2
Alt Table
StatusErrorProgram
19.3b
(exp.f64 (-.f64 a (-.f64 (fma.f64 1/2 (/.f64 (*.f64 b b) (+.f64 1 (exp.f64 a))) (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))) (*.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 (+.f64 1 (exp.f64 a)) 2))))))
0.0b
(exp.f64 (-.f64 a (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 7906 to 4531 computations (42.7% saved)

regimes491.0ms (12.6%)

Accuracy

Total 0.1b remaining (20.9%)

Threshold costs 0.1b (20.9%)

Counts
106 → 1
Compiler

Compiled 12845 to 7730 computations (39.8% 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
01119
11419
21919
32119
42219
52219

end57.0ms (1.5%)

Compiler

Compiled 75 to 52 computations (30.7% saved)

Profiling

Loading profile data...