Details

Time bar (total: 1.8s)

sample28.0ms

Algorithm
intervals
Results
15.0ms109×body1280valid
4.0ms120×body80valid
1.0ms10×body640valid
1.0ms12×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: 14.2b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series12.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
072123
1142114
2286112
3678111
42488111
55001111

prune35.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series48.0ms

Counts
2 → 6
Calls
2 calls:
45.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

prune59.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ N 1.0))
0.3b
(cbrt (+ N 1.0))
0.3b
(cbrt (+ N 1.0))
0.6b
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
Counts
4 → 49
Calls
4 calls:
4.0ms
(cbrt (+ N 1.0))
4.0ms
(cbrt (+ N 1.0))
4.0ms
(cbrt (+ N 1.0))
0.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

series262.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(cbrt (+ N 1.0))
86.0ms
(cbrt (+ N 1.0))
85.0ms
(cbrt (+ N 1.0))
4.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

simplify55.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0198498
1513454
21617445
35002430

prune199.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow N 2) (+ (* 1.0 N) 1))
0.6b
(atan2 1.0 (+ (pow N 2) (+ (* 1.0 N) 1)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity
sum-log
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt add-cbrt-cube
+-commutative associate-+r+ flip3-+ flip-+ distribute-lft-out
Counts
2 → 21
Calls
2 calls:
24.0ms
(+ (pow N 2) (+ (* 1.0 N) 1))
0.0ms
(atan2 1.0 (+ (pow N 2) (+ (* 1.0 N) 1)))

series27.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0114181
1447156
22686155
35001152

prune56.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.6b

regimes19.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
0145
1145

end0.0ms

sample737.0ms

Algorithm
intervals
Results
375.0ms2851×body1280valid
123.0ms4049×body80valid
65.0ms614×body640valid
27.0ms328×body320valid
10.0ms158×body160valid