Details

Time bar (total: 3.7s)

analyze20.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
74.9%25%0.1%3
87.4%12.5%0.1%4
93.7%6.2%0.1%5
93.7%6.2%0.1%6
93.7%4.7%1.7%7
93.7%3.9%2.4%8
93.7%2.7%3.6%9
93.7%2.1%4.2%10
93.7%1.5%4.9%11
93.7%1.1%5.2%12
93.7%0.8%5.6%13
93.7%0.6%5.8%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.4s (38.7%)

Results
993.0ms8256×body128valid
361.0ms3035×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify11.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
1813
2813

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 18 computations (40% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series63.0ms (1.7%)

Counts
2 → 48
Calls

2 calls:

54.0ms
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
9.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

rewrite21.0ms (0.6%)

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:

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

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

prune126.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1071108
Fresh000
Picked011
Done000
Total1072109
Error
0b
Counts
109 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
0.0b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 2231 to 821 computations (63.2% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series1.3s (35.2%)

Counts
2 → 48
Calls

2 calls:

1.2s
(log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b))))
61.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))

rewrite3.0ms (0.1%)

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

2 calls:

1.0ms
(log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b))))
1.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))

simplify167.0ms (4.5%)

Algorithm
egg-herbie
Rules
357×times-frac_binary64
337×cancel-sign-sub-inv_binary64
229×associate-/r*_binary64
225×unswap-sqr_binary64
211×associate-/l*_binary64
Counts
70 → 67
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02513189
17733027
236742850
350382850

prune250.0ms (6.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1750175
Fresh000
Picked011
Done011
Total1752177
Error
0b
Counts
177 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
0.0b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 5964 to 3056 computations (48.8% saved)

regimes59.0ms (1.6%)

Accuracy

Total 0.0b remaining (0.8%)

Threshold costs 0.0b (0.8%)

Counts
7 → 1
Compiler

Compiled 388 to 277 computations (28.6% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end52.0ms (1.4%)

Compiler

Compiled 46 to 30 computations (34.8% saved)

Profiling

Loading profile data...