Details

Time bar (total: 2.5s)

sample27.0ms

Algorithm
intervals
Results
12.0ms93×body1280valid
4.0ms126×body80valid
3.0ms26×body640valid
1.0msbody320valid
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: 15.7b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.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 → 22
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
5.0ms
(- (atan (+ N 1.0)) (atan N))

series11.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
075154
1145145
2289143
3681142
42491142
55001142

prune51.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series41.0ms

Counts
2 → 6
Calls
2 calls:
38.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 (5.0ms)

IterNodesCost
0121151
1432127
22321127
35002127

prune63.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

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.3b
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

rewrite16.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))
7.0ms
(cbrt (+ N 1.0))
0.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(cbrt (+ N 1.0))
83.0ms
(cbrt (+ N 1.0))
84.0ms
(cbrt (+ N 1.0))
3.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

simplify56.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0198498
1513454
21617445
35002430

prune222.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ N 1.0))
0.3b
(cbrt (- N 1.0))
0.3b
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (/ (cbrt (- (* N N) (* 1.0 1.0))) (cbrt (- N 1.0)))) (* (cbrt (+ N 1.0)) N))))
15.4b
(cbrt (- (* N N) (* 1.0 1.0)))

rewrite19.0ms

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

series394.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (+ N 1.0))
94.0ms
(cbrt (- N 1.0))
8.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (/ (cbrt (- (* N N) (* 1.0 1.0))) (cbrt (- N 1.0)))) (* (cbrt (+ N 1.0)) N))))
193.0ms
(cbrt (- (* N N) (* 1.0 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0481606
11462551
25001537

prune266.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.2b

regimes36.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

sample736.0ms

Algorithm
intervals
Results
375.0ms2883×body1280valid
124.0ms4063×body80valid
64.0ms611×body640valid
29.0ms312×body320valid
8.0ms131×body160valid