Details

Time bar (total: 2.2s)

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)

sample31.0ms (1.4%)

Algorithm
intervals
Results
13.0ms62×body2048valid
6.0ms144×body128valid
4.0ms28×body1024valid
2.0ms16×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.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.8b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize10.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64
add-cube-cbrt_binary64 cancel-sign-sub-inv_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64 diff-atan_binary64
Counts
2 → 24
Calls

2 calls:

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

series30.0ms (1.4%)

Counts
2 → 6
Calls

2 calls:

22.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
8.0ms
(atan.f64 (+.f64 N 1))

simplify66.0ms (3%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05005391

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

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite9.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-sqr-sqrt_binary64
pow1_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
add-log-exp_binary64 associate-*r/_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 prod-exp_binary64 flip-+_binary64 *-commutative_binary64
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))))

series73.0ms (3.3%)

Counts
2 → 6
Calls

2 calls:

59.0ms
(*.f64 N (+.f64 N 1))
14.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify93.0ms (4.2%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
04881383
14881383

prune64.0ms (2.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh000
Picked011
Done000
Total33437

Merged error: 0.5b

Counts
37 → 4
Compiler

Compiled 963 to 786 computations (18.4% saved)

localize8.0ms (0.4%)

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

rewrite19.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64
24×sqrt-prod_binary64
21×pow1_binary64
14×*-un-lft-identity_binary64 add-cube-cbrt_binary64
10×pow1/2_binary64 sqrt-pow1_binary64
swap-sqr_binary64
associate-*r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-*l*_binary64
pow-prod-up_binary64
add-log-exp_binary64 unswap-sqr_binary64 rem-sqrt-square_binary64
pow-prod-down_binary64 pow-sqr_binary64
cbrt-unprod_binary64 rem-square-sqrt_binary64 pow-plus_binary64 sqrt-unprod_binary64 prod-exp_binary64 sqr-abs_binary64 pow2_binary64 *-commutative_binary64
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))))))
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))))

series117.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

47.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
42.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
17.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))))

simplify77.0ms (3.5%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
051091475

prune166.0ms (7.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New93295
Fresh112
Picked101
Done011
Total95499

Merged error: 0.5b

Counts
99 → 4
Compiler

Compiled 2763 to 2294 computations (17% 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))))
14.0b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
14.0b
(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
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
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))))

series106.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

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

simplify57.0ms (2.6%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04935862
14935862

prune86.0ms (3.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done011
Total52456

Merged error: 0.5b

Counts
56 → 4
Compiler

Compiled 1552 to 1313 computations (15.4% saved)

regimes14.0ms (0.6%)

Compiler

Compiled 90 to 77 computations (14.4% saved)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11013

end0.0ms (0%)

sample1.1s (50.3%)

Algorithm
intervals
Results
432.0ms2055×body2048valid
178.0ms4169×body128valid
151.0ms1002×body1024valid
61.0ms533×body512valid
19.0ms241×body256valid
Compiler

Compiled 115 to 100 computations (13% saved)

Profiling

Loading profile data...