Details

Time bar (total: 3.2s)

analyze128.0ms (4%)

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)

sample28.0ms (0.9%)

Algorithm
intervals
Results
10.0ms62×body2048valid
4.0ms38×body1024valid
4.0ms135×body128valid
1.0ms16×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify18.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.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
15.5b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite24.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
14.9b
Rules
add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
add-log-exp_binary64_2504 cancel-sign-sub-inv_binary64_2431
add-cube-cbrt_binary64_2500
diff-atan_binary64_2622 diff-log_binary64_2557 pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 flip3--_binary64_2469 sub-neg_binary64_2458 flip--_binary64_2440 difference-of-squares_binary64_2434 distribute-lft-out--_binary64_2417
Counts
1 → 17
Calls

1 calls:

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

Compiled 260 to 165 computations (36.5% saved)

series24.0ms (0.7%)

Error
15.5b
Counts
1 → 3
Calls

1 calls:

18.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 63 to 50 computations (20.6% saved)

simplify71.0ms (2.2%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04992306
14992306

prune19.0ms (0.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New18220
Fresh000
Picked101
Done000
Total19221
Error
0.6b
Counts
21 → 2
Compiler

Compiled 267 to 174 computations (34.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.6b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
pow1_binary64_2526 add-log-exp_binary64_2504 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
Counts
1 → 7
Calls

1 calls:

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

Compiled 127 to 104 computations (18.1% saved)

series22.0ms (0.7%)

Error
0.6b
Counts
1 → 3
Calls

1 calls:

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

Compiled 81 to 70 computations (13.6% saved)

simplify206.0ms (6.5%)

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 0 (197.0ms)

IterNodesCost
04793162
14793162

prune24.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh101
Picked011
Done000
Total8412
Error
0.6b
Counts
12 → 4
Compiler

Compiled 201 to 137 computations (31.8% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite71.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
add-sqr-sqrt_binary64_2487
pow1_binary64_2526 add-cube-cbrt_binary64_2500 sqrt-prod_binary64_2481 *-un-lft-identity_binary64_2465
add-log-exp_binary64_2504 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
pow1/2_binary64_2545 sqrt-pow1_binary64_2483 rem-sqrt-square_binary64_2478
Counts
4 → 40
Calls

4 calls:

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

Compiled 1196 to 774 computations (35.3% saved)

series124.0ms (3.9%)

Error
0.6b
Counts
4 → 12
Calls

4 calls:

34.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
32.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
26.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
19.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 756 to 590 computations (22% saved)

simplify104.0ms (3.3%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
04895862
14895862

prune70.0ms (2.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New50252
Fresh202
Picked011
Done011
Total52456
Error
0.6b
Counts
56 → 4
Compiler

Compiled 1422 to 920 computations (35.3% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite110.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
10×add-sqr-sqrt_binary64_2487
sqrt-prod_binary64_2481
pow1_binary64_2526 add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
add-log-exp_binary64_2504 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
pow1/2_binary64_2545 sqrt-pow1_binary64_2483 rem-sqrt-square_binary64_2478
Counts
4 → 46
Calls

4 calls:

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
(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 1970 to 1304 computations (33.8% saved)

series144.0ms (4.5%)

Error
0.6b
Counts
4 → 12
Calls

4 calls:

37.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
35.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)))))
20.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 1224 to 914 computations (25.3% saved)

simplify99.0ms (3.1%)

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04895969
14895969

prune133.0ms (4.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New57158
Fresh011
Picked011
Done022
Total57562
Error
0.6b
Counts
62 → 5
Compiler

Compiled 2258 to 1492 computations (33.9% saved)

regimes82.0ms (2.6%)

Accuracy

Total 0.1b remaining (11.3%)

Threshold costs 0.1b (11.3%)

Compiler

Compiled 864 to 657 computations (24% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.6s (51.1%)

Algorithm
intervals
Results
454.0ms2093×body2048valid
171.0ms1014×body1024valid
166.0ms4130×body128valid
62.0ms506×body512valid
20.0ms257×body256valid
Compiler

Compiled 432 to 331 computations (23.4% saved)

Profiling

Loading profile data...