Details

Time bar (total: 2.5s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample29.0ms (1.2%)

Algorithm
intervals
Results
13.0ms74×body2048valid
5.0ms129×body128valid
4.0ms32×body1024valid
1.0ms15×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify97.0ms (3.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.7b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite6.0ms (0.3%)

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

2 calls:

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

series30.0ms (1.2%)

Counts
2 → 6
Calls

2 calls:

21.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
9.0ms
(atan.f64 (+.f64 N 1))
Compiler

Compiled 108 to 96 computations (11.1% saved)

simplify68.0ms (2.7%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
04886409
14886409

prune22.0ms (0.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh000
Picked101
Done000
Total30131

Merged error: 0.3b

Counts
31 → 1
Compiler

Compiled 363 to 243 computations (33.1% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite8.0ms (0.3%)

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

2 calls:

6.0ms
(*.f64 N (+.f64 N 1))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series32.0ms (1.3%)

Counts
2 → 7
Calls

2 calls:

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

Compiled 137 to 127 computations (7.3% saved)

simplify72.0ms (2.9%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04937396
14937396

prune39.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33437
Fresh000
Picked011
Done000
Total33538

Merged error: 0.3b

Counts
38 → 5
Compiler

Compiled 558 to 433 computations (22.4% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
16.2b
(cbrt.f64 (*.f64 N (+.f64 1 N)))
16.2b
(cbrt.f64 (*.f64 N (+.f64 1 N)))
16.2b
(cbrt.f64 (*.f64 N (+.f64 1 N)))

rewrite27.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
20×associate-*r/_binary64_2066
18×cbrt-div_binary64_2156
11×pow1_binary64_2185
10×add-sqr-sqrt_binary64_2146
pow1/3_binary64_2206 flip3-+_binary64_2127 flip-+_binary64_2098
add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
cbrt-prod_binary64_2155
add-exp-log_binary64_2162
swap-sqr_binary64_2091 add-log-exp_binary64_2163 associate-*l*_binary64_2065 associate-*r*_binary64_2064 frac-times_binary64_2134 add-cbrt-cube_binary64_2160
pow-prod-down_binary64_2195 pow-prod-up_binary64_2194 associate-*l/_binary64_2067 pow-sqr_binary64_2097
unswap-sqr_binary64_2092 *-commutative_binary64_2055 prod-exp_binary64_2173 pow-plus_binary64_2187 pow2_binary64_2205 cbrt-unprod_binary64_2157
Counts
4 → 72
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))

series240.0ms (9.7%)

Counts
4 → 29
Calls

4 calls:

79.0ms
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
57.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
53.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
50.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
Compiler

Compiled 1219 to 1043 computations (14.4% saved)

simplify117.0ms (4.7%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
048681439
148681439

prune143.0ms (5.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh033
Picked011
Done011
Total1015106

Merged error: 0.3b

Counts
106 → 5
Compiler

Compiled 2771 to 2111 computations (23.8% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
15.4b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.4b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite17.0ms (0.7%)

Algorithm
rewrite-expression-head
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×sqrt-pow1_binary64_2142 pow1/2_binary64_2204
swap-sqr_binary64_2091
associate-*l*_binary64_2065 associate-*r*_binary64_2064 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
pow-prod-up_binary64_2194
unswap-sqr_binary64_2092 rem-sqrt-square_binary64_2137 add-log-exp_binary64_2163
pow-prod-down_binary64_2195 pow-sqr_binary64_2097
sqrt-unprod_binary64_2144 *-commutative_binary64_2055 prod-exp_binary64_2173 pow-plus_binary64_2187 rem-square-sqrt_binary64_2136 pow2_binary64_2205 sqr-abs_binary64_2139 cbrt-unprod_binary64_2157
Counts
4 → 83
Calls

4 calls:

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

series93.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

33.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
31.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
14.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
Compiler

Compiled 496 to 436 computations (12.1% saved)

simplify68.0ms (2.7%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049731533
149731533

prune108.0ms (4.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New93295
Fresh022
Picked011
Done022
Total937100

Merged error: 0.3b

Counts
100 → 7
Compiler

Compiled 2024 to 1656 computations (18.2% saved)

regimes54.0ms (2.2%)

Compiler

Compiled 540 to 456 computations (15.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.2s (47.1%)

Algorithm
intervals
Results
370.0ms2103×body2048valid
151.0ms4121×body128valid
128.0ms1024×body1024valid
51.0ms520×body512valid
15.0ms232×body256valid
Compiler

Compiled 289 to 246 computations (14.9% saved)

Profiling

Loading profile data...