Details

Time bar (total: 2.5s)

analyze77.0ms (3.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
46.9%3.1%50%8
46.9%3.1%50%9
47.2%2.7%50%10
47.2%2.7%50%11
47.3%2.7%50%12
47.4%2.6%50%13
47.4%2.5%50%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.2s (47.3%)

Results
1.1s8256×body128valid
Compiler

Compiled 25 to 21 computations (16% saved)

simplify36.0ms (1.4%)

Algorithm
egg-herbie
Rules
396×fma-neg_binary64
375×fma-def_binary64
260×div-sub_binary64
123×times-frac_binary64
116×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11917
22517
33517
45717
57317
610217
715817
824017
929917
1039117
1153617
1277717
1382617
1479917
1572217

prune2.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 2 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
Compiler

Compiled 36 to 30 computations (16.7% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))
0.0b
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))

series13.0ms (0.5%)

Counts
3 → 24
Calls

3 calls:

6.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
5.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
2.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

rewrite22.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity_binary64
56×add-sqr-sqrt_binary64
49×times-frac_binary64
30×sqrt-prod_binary64
26×add-cube-cbrt_binary64
Counts
3 → 106
Calls

3 calls:

7.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
6.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
0.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

simplify145.0ms (5.8%)

Algorithm
egg-herbie
Rules
697×fma-neg_binary64
247×associate-/r*_binary64
244×sub-neg_binary64
227×fma-def_binary64
215×associate-*l*_binary64
Counts
130 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01822612
14102466
210962454
333532449
447512449
549852449
649202449

prune114.0ms (4.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh000
Picked101
Done000
Total1292131
Error
0b
Counts
131 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))))
Compiler

Compiled 2601 to 2122 computations (18.4% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))
0.0b
(sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
0.0b
(log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
1.0b
(expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))

series13.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
4.0ms
(expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
3.0ms
(log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
log1p-expm1-u_binary64
Counts
3 → 37
Calls

3 calls:

1.0ms
(sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
0.0ms
(expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
0.0ms
(log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

simplify83.0ms (3.3%)

Algorithm
egg-herbie
Rules
746×times-frac_binary64
588×fma-neg_binary64
337×sub-neg_binary64
232×cancel-sign-sub-inv_binary64
225×fma-def_binary64
Counts
73 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01301322
13271211
29771187
330981177
448561177
556541177

prune129.0ms (5.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1600160
Fresh011
Picked011
Done000
Total1602162
Error
0b
Counts
162 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))))
Compiler

Compiled 3151 to 2624 computations (16.7% saved)

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x)))))
0.0b
(sqrt.f64 (fma.f64 x x (-.f64 1 x)))
0.0b
(*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))
0.0b
(fma.f64 x x (-.f64 1 x))

series16.0ms (0.6%)

Counts
4 → 48
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))
4.0ms
(atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x)))))
2.0ms
(fma.f64 x x (-.f64 1 x))
2.0ms
(sqrt.f64 (fma.f64 x x (-.f64 1 x)))

rewrite115.0ms (4.6%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64
43×sqrt-prod_binary64
43×*-un-lft-identity_binary64
33×associate-*l*_binary64
27×times-frac_binary64
Counts
4 → 98
Calls

4 calls:

15.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))
1.0ms
(sqrt.f64 (fma.f64 x x (-.f64 1 x)))
0.0ms
(atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x)))))
0.0ms
(fma.f64 x x (-.f64 1 x))

simplify131.0ms (5.2%)

Algorithm
egg-herbie
Rules
746×fma-neg_binary64
414×times-frac_binary64
391×associate-*l*_binary64
294×associate-*r*_binary64
266×unswap-sqr_binary64
Counts
146 → 186
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01943616
14153433
211233360
334853357
448223357
550513357

prune182.0ms (7.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1860186
Fresh000
Picked011
Done011
Total1862188
Error
0b
Counts
188 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (log1p.f64 (expm1.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))))
Compiler

Compiled 5490 to 4284 computations (22% saved)

regimes154.0ms (6.1%)

Accuracy

Total 0.0b remaining (17.8%)

Threshold costs 0.0b (17.8%)

Counts
36 → 1
Compiler

Compiled 2951 to 2502 computations (15.2% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01221
11821
22221
32421
42521
52421

end59.0ms (2.3%)

Compiler

Compiled 64 to 53 computations (17.2% saved)

Profiling

Loading profile data...