Details

Time bar (total: 2.6s)

sample27.0ms

Algorithm
intervals
Results
13.0ms93×body1280valid
4.0ms130×body80valid
2.0ms16×body640valid
1.0ms11×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 14.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series12.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
075154
1145145
2289143
3681142
42491142
55001142

prune40.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.4b

Counts
29 → 2

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

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

series70.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ 1 (* (+ N 1.0) N))
48.0ms
(* (+ N 1.0) N)
2.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

simplify112.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0177223
1766193
24572193
35001193

prune74.0ms

Filtered
48 candidates to 32 candidates (66.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43548
Fresh000
Picked011
Done101
Total44650

Merged error: 0.3b

Counts
50 → 6

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod *-un-lft-identity
22×add-sqr-sqrt
16×cbrt-div
14×add-cube-cbrt
11×pow1
swap-sqr
flip3-+ pow1/3 flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 88
Calls
4 calls:
3.0ms
(cbrt (+ N 1.0))
3.0ms
(cbrt (+ N 1.0))
14.0ms
(* (cbrt (+ N 1.0)) (cbrt (+ N 1.0)))
1.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))) (* (cbrt (+ N 1.0)) N))))

series294.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (148.0ms)

IterNodesCost
0330806
11079745
24794696
35001692

prune218.0ms

Filtered
100 candidates to 69 candidates (69.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New982100
Fresh134
Picked101
Done011
Total1006106

Merged error: 0.3b

Counts
106 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
18×flip3-+ flip-+
12×frac-times
associate-*r/ associate-*l/
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
cbrt-prod pow1/3
Counts
4 → 58
Calls
4 calls:
8.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
8.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
8.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
1.0ms
(atan2 1.0 (+ 1 (* (* (* (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0)))) (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))) (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))) (* (cbrt (+ N 1.0)) N))))

series330.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
106.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
107.0ms
(cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))
4.0ms
(atan2 1.0 (+ 1 (* (* (* (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0)))) (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))) (cbrt (* (cbrt (+ N 1.0)) (cbrt (+ N 1.0))))) (* (cbrt (+ N 1.0)) N))))

simplify56.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
02061032
1488934
21436925
35001925

prune226.0ms

Filtered
70 candidates to 56 candidates (80.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh134
Picked011
Done011
Total70676

Merged error: 0.3b

Counts
76 → 6

regimes26.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
391.0ms2809×body1280valid
132.0ms4089×body80valid
69.0ms610×body640valid
29.0ms330×body320valid
10.0ms162×body160valid