Details

Time bar (total: 3.5s)

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

sample807.0ms (23.1%)

Results
778.0ms8256×body128valid
2.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

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

localize6.0ms (0.2%)

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

series35.0ms (1%)

Counts
2 → 48
Calls

2 calls:

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

rewrite48.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
70×egg-rr
Counts
2 → 70
Calls

2 calls:

47.0ms
((/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b))) (+.f64 (exp.f64 a) (exp.f64 b)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
114721
2199821
3579421
000
100

simplify37.0ms (1.1%)

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
118 → 98
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01031020
1302981
21070965
35042965

prune108.0ms (3.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New94498
Fresh000
Picked101
Done000
Total95499
Error
0b
Counts
99 → 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)))
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))))))))
12.4b
(/.f64 1 (+.f64 1 (exp.f64 b)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 2184 to 1029 computations (52.9% saved)

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

series48.0ms (1.4%)

Counts
3 → 52
Calls

3 calls:

34.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))
2.0ms
(sqrt.f64 (exp.f64 b))

rewrite48.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
78×egg-rr
Counts
3 → 78
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
115526
2186826
3505726
000
100

simplify45.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
130 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01141063
13281022
211421003
352521003

prune111.0ms (3.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1420142
Fresh033
Picked011
Done000
Total1424146
Error
0b
Counts
146 → 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)))
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))))))))
12.4b
(/.f64 1 (+.f64 1 (exp.f64 b)))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 2805 to 1232 computations (56.1% 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)))

series701.0ms (20%)

Counts
2 → 48
Calls

2 calls:

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

rewrite52.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
64×egg-rr
Counts
2 → 64
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0928
116628
2218828
3505828
000
100

simplify71.0ms (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
112 → 96
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02292778
17542674
236422499
349912499

prune202.0ms (5.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1931194
Fresh112
Picked011
Done011
Total1944198
Error
0b
Counts
198 → 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)))
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))))))))
12.4b
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 6284 to 3403 computations (45.8% saved)

localize8.0ms (0.2%)

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

series256.0ms (7.3%)

Counts
4 → 32
Calls

4 calls:

240.0ms
(log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b))))
8.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
7.0ms
(/.f64 1 (+.f64 1 (exp.f64 b)))
2.0ms
(+.f64 1 (exp.f64 b))

rewrite86.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
120×egg-rr
Counts
4 → 120
Calls

2 calls:

84.0ms
((/.f64 1 (+.f64 1 (exp.f64 b))) (+.f64 1 (exp.f64 b)) (expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b))))) (log1p.f64 (/.f64 1 (+.f64 1 (exp.f64 b)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0835
114335
2162735
3487835
4502435
000
100

simplify72.0ms (2%)

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
152 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047345
1119333
2300319
3786304
42102304
53142304
64385304
75179304

prune114.0ms (3.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1131114
Fresh101
Picked101
Done022
Total1153118
Error
0b
Counts
118 → 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)))
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))
0.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 a) (+.f64 (exp.f64 a) (exp.f64 b)))))
Compiler

Compiled 1543 to 1197 computations (22.4% saved)

regimes518.0ms (14.8%)

Accuracy

Total 0.3b remaining (51.7%)

Threshold costs 0.3b (51.7%)

Counts
122 → 1
Compiler

Compiled 11529 to 8033 computations (30.3% 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

end60.0ms (1.7%)

Compiler

Compiled 79 to 57 computations (27.8% saved)

Profiling

Loading profile data...