Details

Time bar (total: 2.6s)

sample28.0ms

Algorithm
intervals
Results
13.0ms89×body1280valid
4.0ms126×body80valid
3.0ms25×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
1.5b
(- (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 → 22
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
3.0ms
(- (atan (+ N 1.0)) (atan N))

series13.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
075154
1145145
2289143
3681142
42491142
55001142

prune54.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.3b

localize7.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)))

rewrite7.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)))

series48.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0121151
1432127
22321127
35002127

prune61.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N)))
14.1b
(cbrt (* (+ N 1.0) N))
14.1b
(cbrt (* (+ N 1.0) N))
14.1b
(cbrt (* (+ N 1.0) N))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
6.0ms
(* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N)))
4.0ms
(cbrt (* (+ N 1.0) N))
4.0ms
(cbrt (* (+ N 1.0) N))
5.0ms
(cbrt (* (+ N 1.0) N))

series414.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N)))
97.0ms
(cbrt (* (+ N 1.0) N))
97.0ms
(cbrt (* (+ N 1.0) N))
98.0ms
(cbrt (* (+ N 1.0) N))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0353803
11280743
25001669

prune248.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

14.1b
(cbrt (* (+ N 1.0) N))
14.1b
(cbrt (* (+ N 1.0) N))
14.1b
(cbrt (* (+ N 1.0) N))
14.1b
(cbrt (* (+ N 1.0) N))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-div associate-*l/
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 44
Calls
4 calls:
4.0ms
(cbrt (* (+ N 1.0) N))
5.0ms
(cbrt (* (+ N 1.0) N))
5.0ms
(cbrt (* (+ N 1.0) N))
5.0ms
(cbrt (* (+ N 1.0) N))

series393.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (* (+ N 1.0) N))
98.0ms
(cbrt (* (+ N 1.0) N))
96.0ms
(cbrt (* (+ N 1.0) N))
101.0ms
(cbrt (* (+ N 1.0) N))

simplify67.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0190556
1580528
22211472
35001472

prune224.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

regimes23.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample735.0ms

Algorithm
intervals
Results
400.0ms2870×body1280valid
124.0ms4056×body80valid
70.0ms598×body640valid
28.0ms323×body320valid
10.0ms153×body160valid