Details

Time bar (total: 3.5s)

analyze97.0ms (2.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07111
17111
011
111
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample29.0ms (0.8%)

Algorithm
intervals
Results
10.0ms58×body2048valid
5.0ms43×body1024valid
4.0ms131×body128valid
2.0ms19×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune6.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
17.3b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1))
0.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite27.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
16.9b
Rules
add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
add-log-exp_binary64_2163
add-cube-cbrt_binary64_2159 cancel-sign-sub-inv_binary64_2090
pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
diff-atan_binary64_2281 diff-log_binary64_2216 flip3--_binary64_2128 sub-neg_binary64_2117 flip--_binary64_2099 difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076
Counts
2 → 24
Calls

2 calls:

4.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
1.0ms
(atan.f64 (+.f64 N 1))
Compiler

Compiled 348 to 227 computations (34.8% saved)

series28.0ms (0.8%)

Error
17.3b
Counts
2 → 6
Calls

2 calls:

16.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
8.0ms
(atan.f64 (+.f64 N 1))
Compiler

Compiled 126 to 98 computations (22.2% saved)

simplify72.0ms (2%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04998391
14998391

prune21.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New29130
Fresh000
Picked011
Done000
Total29231
Error
0.2b
Counts
31 → 2
Compiler

Compiled 351 to 229 computations (34.8% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1))
0.2b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

rewrite42.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 add-cube-cbrt_binary64_2159 associate-*r*_binary64_2064
associate-*l*_binary64_2065
add-log-exp_binary64_2163 associate-*r/_binary64_2066
pow-prod-down_binary64_2195 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 unswap-sqr_binary64_2092 distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073 flip3-+_binary64_2127 flip-+_binary64_2098 distribute-lft-out_binary64_2075 *-commutative_binary64_2055
Counts
2 → 30
Calls

2 calls:

7.0ms
(*.f64 N (+.f64 N 1))
0.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
Compiler

Compiled 468 to 361 computations (22.9% saved)

series58.0ms (1.6%)

Error
0.2b
Counts
2 → 9
Calls

2 calls:

37.0ms
(*.f64 N (+.f64 N 1))
13.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
Compiler

Compiled 200 to 174 computations (13% saved)

simplify75.0ms (2.1%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04927392
14927392

prune39.0ms (1.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New33639
Fresh000
Picked101
Done101
Total35641
Error
0.2b
Counts
41 → 6
Compiler

Compiled 578 to 369 computations (36.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 N) (cbrt.f64 N))
0.5b
(cbrt.f64 N)
0.5b
(cbrt.f64 N)
0.5b
(cbrt.f64 N)

rewrite85.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
25×cbrt-prod_binary64_2155
23×add-sqr-sqrt_binary64_2146
15×add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
11×pow1_binary64_2185
pow1/3_binary64_2206
add-exp-log_binary64_2162 swap-sqr_binary64_2091 associate-*l*_binary64_2065 associate-*r*_binary64_2064
add-log-exp_binary64_2163 add-cbrt-cube_binary64_2160 unswap-sqr_binary64_2092
pow-prod-down_binary64_2195 pow-prod-up_binary64_2194 pow-sqr_binary64_2097
pow2_binary64_2205 pow-plus_binary64_2187 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 *-commutative_binary64_2055
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 (cbrt.f64 N) (cbrt.f64 N))
1.0ms
(cbrt.f64 N)
1.0ms
(cbrt.f64 N)
1.0ms
(cbrt.f64 N)
Compiler

Compiled 1524 to 743 computations (51.2% saved)

series320.0ms (9%)

Error
0.2b
Counts
4 → 12
Calls

4 calls:

91.0ms
(*.f64 (cbrt.f64 N) (cbrt.f64 N))
77.0ms
(cbrt.f64 N)
73.0ms
(cbrt.f64 N)
69.0ms
(cbrt.f64 N)
Compiler

Compiled 663 to 513 computations (22.6% saved)

simplify75.0ms (2.1%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04873548
14873548

prune83.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh055
Picked011
Done000
Total85691
Error
0.2b
Counts
91 → 6
Compiler

Compiled 1649 to 949 computations (42.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
0.7b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))))
12.4b
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
12.4b
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))

rewrite145.0ms (4.1%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
30×add-sqr-sqrt_binary64_2146
24×sqrt-prod_binary64_2140
21×pow1_binary64_2185
14×add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
10×pow1/2_binary64_2204 sqrt-pow1_binary64_2142
swap-sqr_binary64_2091
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 associate-*l*_binary64_2065 associate-*r*_binary64_2064
pow-prod-up_binary64_2194
add-log-exp_binary64_2163 rem-sqrt-square_binary64_2137 unswap-sqr_binary64_2092
pow-prod-down_binary64_2195 pow-sqr_binary64_2097
pow2_binary64_2205 pow-plus_binary64_2187 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 sqrt-unprod_binary64_2144 sqr-abs_binary64_2139 rem-square-sqrt_binary64_2136 *-commutative_binary64_2055
Counts
4 → 83
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
1.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 2606 to 1704 computations (34.6% saved)

series108.0ms (3.1%)

Error
0.2b
Counts
4 → 12
Calls

4 calls:

34.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
33.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
16.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))) (sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))))
16.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 648 to 512 computations (21% saved)

simplify81.0ms (2.3%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
050951475

prune105.0ms (3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New90595
Fresh314
Picked011
Done101
Total947101
Error
0.1b
Counts
101 → 7
Compiler

Compiled 1987 to 1281 computations (35.5% saved)

regimes163.0ms (4.6%)

Accuracy

Total 0.1b remaining (17.1%)

Threshold costs 0.1b (17.1%)

Compiler

Compiled 2084 to 1512 computations (27.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01013
11013

end0.0ms (0%)

sample1.8s (51.8%)

Algorithm
intervals
Results
359.0ms2029×body2048valid
138.0ms4129×body128valid
122.0ms1049×body1024valid
48.0ms549×body512valid
19.0ms244×body256valid
Compiler

Compiled 1046 to 760 computations (27.3% saved)

Profiling

Loading profile data...