Details

Time bar (total: 2.0s)

sample29.0ms

Algorithm
intervals
Results
14.0ms95×body1280valid
5.0ms130×body80valid
2.0ms20×body640valid
1.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
1.0b
(- (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))

simplify75.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
074154
1143145
2289143
3681142
42491142
55001142

prune42.0ms

Filtered
28 candidates to 19 candidates (67.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New27128
Fresh000
Picked011
Done000
Total27229

Merged error: 0.7b

Counts
29 → 2

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

series50.0ms

Counts
2 → 6
Calls
2 calls:
48.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
0120152
1432127
22314127
35002127

prune51.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New29534
Fresh000
Picked011
Done101
Total30636

Merged error: 0.7b

Counts
36 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
19×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
12×associate-*l*
associate-*r*
cbrt-div associate-*l/
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 76
Calls
4 calls:
1.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N))) (cbrt (* (+ N 1.0) N)))))
6.0ms
(cbrt (* (+ N 1.0) N))
6.0ms
(cbrt (* (+ N 1.0) N))
6.0ms
(cbrt (* (+ N 1.0) N))

series319.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N))) (cbrt (* (+ N 1.0) N)))))
102.0ms
(cbrt (* (+ N 1.0) N))
107.0ms
(cbrt (* (+ N 1.0) N))
103.0ms
(cbrt (* (+ N 1.0) N))

simplify87.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0238809
1709761
23000719
35001702

prune212.0ms

Filtered
88 candidates to 71 candidates (80.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh044
Picked011
Done011
Total88694

Merged error: 0.7b

Counts
94 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
0.7b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
13.4b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
13.4b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

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

series35.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)))
15.0ms
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
15.0ms
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

simplify73.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
049332
179294
2159294
3330292
41195292
55002292

prune77.0ms

Filtered
52 candidates to 34 candidates (65.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New50252
Fresh123
Picked011
Done022
Total51758

Merged error: 0.7b

Counts
58 → 7

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

sample759.0ms

Algorithm
intervals
Results
399.0ms2748×body1280valid
135.0ms4155×body80valid
74.0ms609×body640valid
30.0ms325×body320valid
11.0ms163×body160valid