Details

Time bar (total: 2.5s)

analyze1.0ms (0.1%)

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

Compiled 8 to 7 computations (12.5% saved)

sample26.0ms (1%)

Algorithm
intervals
Results
11.0ms68×body2048valid
5.0ms140×body128valid
4.0ms30×body1024valid
1.0ms16×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify106.0ms (4.2%)

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
Error
13.1b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite6.0ms (0.2%)

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

series28.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

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

simplify72.0ms (2.9%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04886409
14886409

prune29.0ms (1.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New27330
Fresh000
Picked101
Done000
Total28331
Error
0.7b
Counts
31 → 3
Compiler

Compiled 402 to 272 computations (32.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite9.0ms (0.4%)

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:

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

series52.0ms (2.1%)

Counts
2 → 9
Calls

2 calls:

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

Compiled 143 to 131 computations (8.4% saved)

simplify80.0ms (3.2%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
04937404
14937404

prune44.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New35439
Fresh022
Picked011
Done000
Total35742
Error
0.7b
Counts
42 → 7
Compiler

Compiled 595 to 458 computations (23% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt.f64 N)
0.5b
(cbrt.f64 N)
0.5b
(cbrt.f64 N)
0.7b
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 (cbrt.f64 N) (cbrt.f64 N)) (*.f64 (+.f64 1 N) (cbrt.f64 N)))))

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64_2155
add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
pow1_binary64_2185 add-log-exp_binary64_2163 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
pow1/3_binary64_2206
Counts
4 → 40
Calls

4 calls:

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

series300.0ms (11.8%)

Counts
4 → 12
Calls

4 calls:

95.0ms
(cbrt.f64 N)
93.0ms
(cbrt.f64 N)
89.0ms
(cbrt.f64 N)
23.0ms
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 (cbrt.f64 N) (cbrt.f64 N)) (*.f64 (+.f64 1 N) (cbrt.f64 N)))))
Compiler

Compiled 430 to 352 computations (18.1% saved)

simplify132.0ms (5.2%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04905429
14905429

prune51.0ms (2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh055
Picked011
Done011
Total52759
Error
0.7b
Counts
59 → 7
Compiler

Compiled 1047 to 627 computations (40.1% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_2146
sqrt-prod_binary64_2140 pow1_binary64_2185 add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
add-log-exp_binary64_2163 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
sqrt-pow1_binary64_2142 rem-sqrt-square_binary64_2137 pow1/2_binary64_2204
Counts
4 → 40
Calls

4 calls:

1.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))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

series104.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

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

Compiled 568 to 496 computations (12.7% saved)

simplify101.0ms (4%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
04938910
14938910

prune74.0ms (2.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New50252
Fresh044
Picked011
Done112
Total51859
Error
0.7b
Counts
59 → 8
Compiler

Compiled 1376 to 1122 computations (18.5% saved)

regimes74.0ms (2.9%)

Accuracy

Total 0.1b remaining (14.2%)

Threshold costs 0.1b (14.2%)

Compiler

Compiled 728 to 608 computations (16.5% 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%)

Algorithm
intervals
Results
364.0ms2107×body2048valid
135.0ms4194×body128valid
111.0ms958×body1024valid
44.0ms485×body512valid
16.0ms256×body256valid
Compiler

Compiled 368 to 309 computations (16% saved)

Profiling

Loading profile data...