Details

Time bar (total: 3.4s)

analyze108.0ms (3.2%)

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)

sample32.0ms (0.9%)

Algorithm
intervals
Results
12.0ms64×body2048valid
5.0ms141×body128valid
5.0ms34×body1024valid
2.0ms14×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

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 12 computations (14.3% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite38.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
13.2b
Rules
add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
add-log-exp_binary64_1140
add-cube-cbrt_binary64_1136 cancel-sign-sub-inv_binary64_1067
pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
diff-atan_binary64_1258 diff-log_binary64_1193 flip3--_binary64_1105 sub-neg_binary64_1094 flip--_binary64_1076 difference-of-squares_binary64_1070 distribute-lft-out--_binary64_1053
Counts
2 → 24
Calls

2 calls:

7.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
2.0ms
(atan.f64 (+.f64 N 1))
Compiler

Compiled 348 to 227 computations (34.8% saved)

series31.0ms (0.9%)

Error
13.8b
Counts
2 → 6
Calls

2 calls:

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

simplify93.0ms (2.7%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
04998391
14998391

prune22.0ms (0.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh000
Picked101
Done000
Total30131
Error
0.3b
Counts
31 → 1
Compiler

Compiled 351 to 229 computations (34.8% 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))))

rewrite44.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 add-cube-cbrt_binary64_1136 associate-*r*_binary64_1041
associate-*l*_binary64_1042
add-log-exp_binary64_1140 associate-*r/_binary64_1043
pow-prod-down_binary64_1172 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 unswap-sqr_binary64_1069 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050 flip3-+_binary64_1104 flip-+_binary64_1075 distribute-lft-out_binary64_1052 *-commutative_binary64_1032
Counts
2 → 30
Calls

2 calls:

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

series69.0ms (2%)

Error
0.3b
Counts
2 → 9
Calls

2 calls:

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

simplify94.0ms (2.8%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
04927392
14927392

prune49.0ms (1.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New38139
Fresh000
Picked011
Done000
Total38240
Error
0.3b
Counts
40 → 2
Compiler

Compiled 507 to 318 computations (37.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
0.6b
(*.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))))))
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)))))

rewrite160.0ms (4.7%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
30×add-sqr-sqrt_binary64_1123
24×sqrt-prod_binary64_1117
21×pow1_binary64_1162
14×add-cube-cbrt_binary64_1136 *-un-lft-identity_binary64_1101
10×pow1/2_binary64_1181 sqrt-pow1_binary64_1119
swap-sqr_binary64_1068
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 associate-*l*_binary64_1042 associate-*r*_binary64_1041
pow-prod-up_binary64_1171
add-log-exp_binary64_1140 rem-sqrt-square_binary64_1114 unswap-sqr_binary64_1069
pow-prod-down_binary64_1172 pow-sqr_binary64_1074
pow2_binary64_1182 pow-plus_binary64_1164 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 sqrt-unprod_binary64_1121 sqr-abs_binary64_1116 rem-square-sqrt_binary64_1113 *-commutative_binary64_1032
Counts
4 → 83
Calls

4 calls:

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

series117.0ms (3.4%)

Error
0.3b
Counts
4 → 12
Calls

4 calls:

36.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)))))
17.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))))))
15.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 648 to 512 computations (21% saved)

simplify101.0ms (3%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050951475

prune130.0ms (3.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New92395
Fresh000
Picked011
Done011
Total92597
Error
0.3b
Counts
97 → 5
Compiler

Compiled 2058 to 1334 computations (35.2% saved)

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite99.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
add-sqr-sqrt_binary64_1123
pow1_binary64_1162 add-cube-cbrt_binary64_1136 sqrt-prod_binary64_1117 *-un-lft-identity_binary64_1101
add-log-exp_binary64_1140 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
pow1/2_binary64_1181 sqrt-pow1_binary64_1119 rem-sqrt-square_binary64_1114
Counts
4 → 40
Calls

4 calls:

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

Compiled 1356 to 934 computations (31.1% saved)

series144.0ms (4.2%)

Error
0.3b
Counts
4 → 12
Calls

4 calls:

56.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
34.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N)))))
21.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
17.0ms
(atan2.f64 1 (+.f64 N (+.f64 1 (*.f64 N N))))
Compiler

Compiled 900 to 734 computations (18.4% saved)

simplify92.0ms (2.7%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04895862
14895862

prune77.0ms (2.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done022
Total52557
Error
0.3b
Counts
57 → 5
Compiler

Compiled 1552 to 1074 computations (30.8% saved)

regimes109.0ms (3.2%)

Accuracy

Total 0.1b remaining (12.4%)

Threshold costs 0.1b (12.4%)

Compiler

Compiled 1042 to 788 computations (24.4% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.7s (51.2%)

Algorithm
intervals
Results
448.0ms2102×body2048valid
163.0ms4173×body128valid
150.0ms989×body1024valid
54.0ms509×body512valid
17.0ms227×body256valid
Compiler

Compiled 525 to 399 computations (24% saved)

Profiling

Loading profile data...