Details

Time bar (total: 2.4s)

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)

sample32.0ms (1.3%)

Algorithm
intervals
Results
15.0ms75×body2048valid
6.0ms137×body128valid
4.0ms25×body1024valid
1.0ms12×body512valid
1.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify178.0ms (7.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

Merged error: 12.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))
1.7b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_1111 add-sqr-sqrt_binary64_1133
add-log-exp_binary64_1150
cancel-sign-sub-inv_binary64_1077 add-cube-cbrt_binary64_1146
add-cbrt-cube_binary64_1147 pow1_binary64_1172 add-exp-log_binary64_1149
diff-atan_binary64_1268 flip3--_binary64_1115 diff-log_binary64_1203 difference-of-squares_binary64_1080 sub-neg_binary64_1104 distribute-lft-out--_binary64_1063 flip--_binary64_1086
Counts
2 → 24
Calls

2 calls:

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

series31.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

23.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
7.0ms
(atan.f64 (+.f64 N 1))

simplify70.0ms (2.9%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04971391
14971391

prune26.0ms (1.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh000
Picked101
Done000
Total30131

Merged error: 0.5b

Counts
31 → 1
Compiler

Compiled 367 to 243 computations (33.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite14.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_1111 add-sqr-sqrt_binary64_1133
add-cbrt-cube_binary64_1147 add-cube-cbrt_binary64_1146 add-log-exp_binary64_1150 pow1_binary64_1172 add-exp-log_binary64_1149
associate-*r*_binary64_1051
associate-*l*_binary64_1052
flip-+_binary64_1085 distribute-lft-in_binary64_1060 flip3-+_binary64_1114 distribute-rgt-in_binary64_1061 associate-*r/_binary64_1053 associate-+r+_binary64_1043
*-commutative_binary64_1042 prod-exp_binary64_1160 cbrt-unprod_binary64_1144 +-commutative_binary64_1041 pow-prod-down_binary64_1182 unswap-sqr_binary64_1079 distribute-lft-out_binary64_1062 sum-log_binary64_1202
Counts
3 → 43
Calls

3 calls:

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

series87.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

57.0ms
(*.f64 N (+.f64 N 1))
17.0ms
(+.f64 1 (*.f64 N (+.f64 N 1)))
13.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify95.0ms (3.9%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
04915599
14915599

prune64.0ms (2.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New49352
Fresh000
Picked011
Done000
Total49453

Merged error: 0.5b

Counts
53 → 4
Compiler

Compiled 1018 to 808 computations (20.6% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite20.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_1133
24×sqrt-prod_binary64_1127
21×pow1_binary64_1172
14×*-un-lft-identity_binary64_1111 add-cube-cbrt_binary64_1146
10×pow1/2_binary64_1191 sqrt-pow1_binary64_1129
swap-sqr_binary64_1078
add-cbrt-cube_binary64_1147 associate-*r*_binary64_1051 associate-*l*_binary64_1052 add-exp-log_binary64_1149
pow-prod-up_binary64_1181
rem-sqrt-square_binary64_1124 unswap-sqr_binary64_1079 add-log-exp_binary64_1150
pow-sqr_binary64_1084 pow-prod-down_binary64_1182
*-commutative_binary64_1042 prod-exp_binary64_1160 cbrt-unprod_binary64_1144 rem-square-sqrt_binary64_1123 pow-plus_binary64_1174 pow2_binary64_1192 sqrt-unprod_binary64_1131 sqr-abs_binary64_1126
Counts
4 → 83
Calls

4 calls:

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

series127.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

52.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
46.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.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))))))
12.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

simplify79.0ms (3.3%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
051111475

prune123.0ms (5.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh112
Picked011
Done011
Total95499

Merged error: 0.5b

Counts
99 → 4
Compiler

Compiled 2190 to 1805 computations (17.6% saved)

localize11.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1133
*-un-lft-identity_binary64_1111 add-cube-cbrt_binary64_1146 pow1_binary64_1172 sqrt-prod_binary64_1127
add-cbrt-cube_binary64_1147 add-log-exp_binary64_1150 add-exp-log_binary64_1149
pow1/2_binary64_1191 rem-sqrt-square_binary64_1124 sqrt-pow1_binary64_1129
Counts
4 → 40
Calls

4 calls:

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

series102.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

42.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
39.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
11.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
10.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

simplify61.0ms (2.5%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04937862
14937862

prune92.0ms (3.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New51152
Fresh011
Picked011
Done022
Total51556

Merged error: 0.5b

Counts
56 → 5
Compiler

Compiled 1670 to 1414 computations (15.3% saved)

regimes15.0ms (0.6%)

Compiler

Compiled 120 to 103 computations (14.2% 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.6%)

Algorithm
intervals
Results
452.0ms2167×body2048valid
180.0ms4061×body128valid
153.0ms1011×body1024valid
54.0ms492×body512valid
21.0ms269×body256valid
Compiler

Compiled 145 to 126 computations (13.1% saved)

Profiling

Loading profile data...