Details

Time bar (total: 1.9s)

analyze1.0ms (0.1%)

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

sample33.0ms (1.7%)

Algorithm
intervals
Results
15.0ms96×body1280valid
8.0ms127×body80valid
1.0ms12×body640valid
1.0ms10×body320valid
1.0ms11×body160valid

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune5.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.2b

Counts
2 → 1

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
2.2b
(- (atan (+ N 1.0)) (atan N))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg flip3-- diff-log diff-atan flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 21
Calls

2 calls:

3.0ms
(- (atan (+ N 1.0)) (atan N))
1.0ms
(atan (+ N 1.0))

series4.0ms (0.2%)

Counts
2 → 6
Calls

2 calls:

3.0ms
(- (atan (+ N 1.0)) (atan N))
1.0ms
(atan (+ N 1.0))

simplify66.0ms (3.5%)

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
05349236

prune46.0ms (2.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228

Merged error: 0.3b

Counts
28 → 2

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(* N (+ N 1.0))
0.3b
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

rewrite7.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
associate-*l*
associate-*r/ add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 30
Calls

2 calls:

6.0ms
(* N (+ N 1.0))
1.0ms
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

series7.0ms (0.4%)

Counts
2 → 6
Calls

2 calls:

5.0ms
(* N (+ N 1.0))
2.0ms
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

simplify60.0ms (3.2%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04907272
14907272

prune67.0ms (3.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New33336
Fresh000
Picked011
Done011
Total33538

Merged error: 0.3b

Counts
38 → 5

localize8.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.3b
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))
0.6b
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 82
Calls

4 calls:

6.0ms
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))
1.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
1.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
1.0ms
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))

series19.0ms (1%)

Counts
4 → 12
Calls

4 calls:

8.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
2.0ms
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))
2.0ms
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))

simplify46.0ms (2.4%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05253989

prune216.0ms (11.5%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93194
Fresh112
Picked011
Done022
Total94599

Merged error: 0.3b

Counts
99 → 5

localize12.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.6b
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (* (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))) (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

rewrite22.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
54×sqrt-pow1
45×pow1
30×pow1/2 pow-prod-up
16×add-sqr-sqrt
14×sqrt-prod
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
pow-prod-down
associate-*l* pow-sqr
add-log-exp
rem-sqrt-square prod-exp cbrt-unprod
sqrt-unprod swap-sqr unswap-sqr
associate-*r* *-commutative
Counts
4 → 85
Calls

4 calls:

15.0ms
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (* (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))) (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))))
1.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
1.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
1.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

series21.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
3.0ms
(* (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))) (* (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))) (sqrt (sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N))))))))

simplify55.0ms (3%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04775929
14775929

prune268.0ms (14.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New96197
Fresh011
Picked011
Done123
Total975102

Merged error: 0.2b

Counts
102 → 5

regimes80.0ms (4.2%)

Accuracy

Total 0.0b remaining (10.5%)

Threshold costs 0.0b (10.5%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms (0%)

sample801.0ms (42.6%)

Algorithm
intervals
Results
434.0ms2826×body1280valid
143.0ms4078×body80valid
79.0ms631×body640valid
30.0ms310×body320valid
11.0ms155×body160valid

Profiling

Loading profile data...