Details

Time bar (total: 1.6s)

analyze1.0ms

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

sample29.0ms

Algorithm
intervals
Results
15.0ms98×body1280valid
4.0ms128×body80valid
2.0ms14×body640valid
1.0ms11×body320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

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:
1.0ms
(atan (+ N 1.0))
3.0ms
(- (atan (+ N 1.0)) (atan N))

series3.0ms

Counts
2 → 6
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
2.0ms
(- (atan (+ N 1.0)) (atan N))

simplify67.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
05349236

prune39.0ms

Filtered
19 candidates to 27 candidates (-42.1%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New26127
Fresh000
Picked101
Done000
Total27128

Merged error: 0.4b

Counts
28 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.4b
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
1 → 7
Calls
1 calls:
1.0ms
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(atan2 1.0 (+ 1 (* N (+ N 1.0))))

simplify125.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
04712109
14712109

prune27.0ms

Filtered
8 candidates to 10 candidates (-25.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh000
Picked011
Done000
Total7411

Merged error: 0.4b

Counts
11 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.4b
(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))))))
16.0b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
16.0b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

rewrite11.0ms

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

series17.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(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))))))
6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
6.0ms
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05253989

prune131.0ms

Filtered
46 candidates to 94 candidates (-104.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New92294
Fresh022
Picked101
Done011
Total93598

Merged error: 0.4b

Counts
98 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))
0.4b
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))
16.0b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))
16.0b
(sqrt (atan2 1.0 (+ 1 (* N (+ 1.0 N)))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 40
Calls
4 calls:
1.0ms
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))
1.0ms
(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)))))

series16.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1.0 (+ 1 (* N (+ 1.0 N))))
2.0ms
(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)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04899570
14899570

prune118.0ms

Filtered
34 candidates to 52 candidates (-52.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New50252
Fresh033
Picked011
Done011
Total50757

Merged error: 0.4b

Counts
57 → 7

regimes52.0ms

Accuracy

0% (0.0b remaining)

Error of 0.4b against oracle of 0.4b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms

sample810.0ms

Algorithm
intervals
Results
443.0ms2844×body1280valid
143.0ms4114×body80valid
78.0ms595×body640valid
33.0ms305×body320valid
11.0ms142×body160valid

Profiling

Loading profile data...