Details

Time bar (total: 2.8s)

sample27.0ms

Algorithm
intervals
Results
13.0ms92×body1280valid
5.0ms138×body80valid
1.0ms13×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize6.0ms

Local error

Found 1 expressions with local error:

1.3b
(- (atan (+ N 1.0)) (atan N))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log diff-atan add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 15
Calls
1 calls:
3.0ms
(- (atan (+ N 1.0)) (atan N))

series11.0ms

Counts
1 → 3
Calls
1 calls:
11.0ms
(- (atan (+ N 1.0)) (atan N))

simplify75.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
072123
1142114
2286112
3678111
42488111
55001111

prune38.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.7b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
associate-*l/ add-log-exp
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 28
Calls
2 calls:
6.0ms
(* (+ N 1.0) N)
1.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

series49.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(* (+ N 1.0) N)
3.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

simplify54.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0121151
1432127
22321127
35002127

prune62.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize10.0ms

Local error

Found 4 expressions with local error:

0.7b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

rewrite5.0ms

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

series379.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
127.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
122.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
127.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

simplify198.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (32.0ms)

IterNodesCost
051407
172353
2192341
3656341
43983338
55001338

prune287.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.6b

localize13.0ms

Local error

Found 4 expressions with local error:

15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.8b
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 44
Calls
4 calls:
1.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
1.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
1.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
1.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
120.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
123.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
119.0ms
(cbrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

simplify122.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 4 (27.0ms)

IterNodesCost
046456
166400
2178392
3499392
42312388
55001388

prune121.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.6b

regimes53.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
0124
1124

end0.0ms

sample785.0ms

Algorithm
intervals
Results
423.0ms2886×body1280valid
133.0ms4013×body80valid
79.0ms620×body640valid
29.0ms317×body320valid
11.0ms164×body160valid