Details

Time bar (total: 4.3s)

analyze46.0ms (1.1%)

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)

sample818.0ms (19%)

Results
780.0ms8256×body128valid
4.0ms25×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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 18 computations (40% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series34.0ms (0.8%)

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

rewrite165.0ms (3.8%)

Algorithm
egg-rewrite
Rules
45×egg
40×egg
Counts
2 → 85
Calls

2 calls:

107.0ms
(+.f64 (exp.f64 a) (exp.f64 b))
56.0ms
(/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
114713
2199813
3579413
068
11218
215308
348418
447808
549718

simplify52.0ms (1.2%)

Algorithm
egg-herbie
Rules
475×times-frac_binary64
464×associate-+l+_binary64
426×fma-def_binary64
303×associate-/l*_binary64
240×associate--l+_binary64
Counts
133 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01031020
1302981
21070965
35042965

prune123.0ms (2.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1084112
Fresh000
Picked101
Done000
Total1094113
Error
0b
Counts
113 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
12.4b
(/.f64 1 (+.f64 1 (exp.f64 b)))
24.9b
(+.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))))))))
Compiler

Compiled 2353 to 1070 computations (54.5% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (exp.f64 b))
0.0b
(fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a))
0.8b
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))

series50.0ms (1.2%)

Counts
3 → 52
Calls

3 calls:

36.0ms
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
11.0ms
(fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a))
3.0ms
(sqrt.f64 (exp.f64 b))

rewrite178.0ms (4.1%)

Algorithm
egg-rewrite
Rules
53×egg
45×egg
40×egg
Counts
3 → 138
Calls

3 calls:

81.0ms
(sqrt.f64 (exp.f64 b))
48.0ms
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
46.0ms
(fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
115513
2186813
3505713
078
11298
214118
352798
045
1745
27985
348585
455745

simplify56.0ms (1.3%)

Algorithm
egg-herbie
Rules
498×fma-def_binary64
490×associate-+l+_binary64
475×times-frac_binary64
303×associate-/l*_binary64
240×associate--l+_binary64
Counts
190 → 170
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01141063
13281022
211421003
352521003

prune191.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2170217
Fresh033
Picked011
Done000
Total2174221
Error
0b
Counts
221 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
12.4b
(/.f64 1 (+.f64 1 (exp.f64 b)))
24.9b
(+.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))))))))
Compiler

Compiled 4036 to 1718 computations (57.4% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series680.0ms (15.8%)

Counts
2 → 48
Calls

2 calls:

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

rewrite109.0ms (2.5%)

Algorithm
egg-rewrite
Rules
49×egg
16×egg
Counts
2 → 65
Calls

2 calls:

56.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
51.0ms
(log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
116613
2218813
3505813
0815
116515
2217515
3502915

simplify95.0ms (2.2%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02292778
17542674
236422499
349912499

prune214.0ms (5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2071208
Fresh112
Picked011
Done011
Total2084212
Error
0b
Counts
212 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
12.4b
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
24.9b
(+.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))))))))
Compiler

Compiled 6481 to 3463 computations (46.6% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series263.0ms (6.1%)

Counts
4 → 32
Calls

4 calls:

246.0ms
(log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b))))
7.0ms
(/.f64 1 (+.f64 1 (exp.f64 b)))
7.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
3.0ms
(+.f64 1 (exp.f64 b))

rewrite323.0ms (7.5%)

Algorithm
egg-rewrite
Rules
51×egg
36×egg
32×egg
18×egg
Counts
4 → 137
Calls

4 calls:

84.0ms
(+.f64 1 (exp.f64 b))
80.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
79.0ms
(/.f64 1 (+.f64 1 (exp.f64 b)))
77.0ms
(log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11249
214379
349129
450719
056
1986
211216
347106
451546
089
11439
216279
348789
450249
0711
114211
2161411
3482311
4496911

simplify80.0ms (1.9%)

Algorithm
egg-herbie
Rules
700×cancel-sign-sub-inv_binary64
532×fma-def_binary64
479×unsub-neg_binary64
448×unswap-sqr_binary64
374×*-commutative_binary64
Counts
169 → 133
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047345
1119333
2300319
3786304
42102304
53142304
64385304
75179304

prune122.0ms (2.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh101
Picked101
Done022
Total1343137
Error
0b
Counts
137 → 3
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 a) (fma.f64 (sqrt.f64 (exp.f64 b)) (sqrt.f64 (exp.f64 b)) (exp.f64 a)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
12.7b
(/.f64 (fma.f64 (+.f64 1 (/.f64 1 (+.f64 1 (exp.f64 b)))) (+.f64 1 (/.f64 1 (+.f64 1 (exp.f64 b)))) -1) (+.f64 (+.f64 1 (/.f64 1 (+.f64 1 (exp.f64 b)))) 1))
Compiler

Compiled 1862 to 1447 computations (22.3% saved)

regimes596.0ms (13.9%)

Accuracy

Total 0.3b remaining (51.7%)

Threshold costs 0.3b (51.7%)

Counts
142 → 1
Compiler

Compiled 13155 to 9071 computations (31% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
*-rgt-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
11715
22115
32315
42415
52315

end59.0ms (1.4%)

Compiler

Compiled 79 to 57 computations (27.8% saved)

Profiling

Loading profile data...