Details

Time bar (total: 2.9s)

sample27.0ms

Algorithm
intervals
Results
12.0ms85×body1280valid
4.0ms128×body80valid
3.0ms20×body640valid
1.0ms16×body320valid
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: 18.0b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

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

simplify85.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (13.0ms)

IterNodesCost
075154
1145145
2289143
3681142
42491142
55001142

prune51.0ms

Filtered
28 candidates to 19 candidates (67.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New27128
Fresh000
Picked101
Done000
Total28129

Merged error: 0.6b

Counts
29 → 1

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

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

series45.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0121151
1432127
22321127
35002127

prune66.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New27734
Fresh000
Picked011
Done000
Total27835

Merged error: 0.5b

Counts
35 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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)))))
7.0ms
(cbrt (* (+ N 1.0) N))
7.0ms
(cbrt (* (+ N 1.0) N))
7.0ms
(cbrt (* (+ N 1.0) N))

series333.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(atan2 1.0 (+ 1 (* (* (cbrt (* (+ N 1.0) N)) (cbrt (* (+ N 1.0) N))) (cbrt (* (+ N 1.0) N)))))
113.0ms
(cbrt (* (+ N 1.0) N))
110.0ms
(cbrt (* (+ N 1.0) N))
103.0ms
(cbrt (* (+ N 1.0) N))

simplify99.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0240809
1712761
23007719
35001702

prune283.0ms

Filtered
88 candidates to 71 candidates (80.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New86288
Fresh156
Picked101
Done011
Total88896

Merged error: 0.5b

Counts
96 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
52×cbrt-prod
24×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt associate-*l*
12×associate-*r*
cbrt-div associate-*l/
pow1 add-exp-log flip3-+ pow1/3 *-commutative add-cbrt-cube flip-+ distribute-lft-out add-log-exp unswap-sqr
Counts
4 → 92
Calls
4 calls:
7.0ms
(cbrt (* (+ N 1.0) N))
7.0ms
(cbrt (* (+ N 1.0) N))
7.0ms
(cbrt (* (+ N 1.0) N))
7.0ms
(cbrt (* (+ N 1.0) N))

series420.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(cbrt (* (+ N 1.0) N))
102.0ms
(cbrt (* (+ N 1.0) N))
103.0ms
(cbrt (* (+ N 1.0) N))
103.0ms
(cbrt (* (+ N 1.0) N))

simplify98.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0222872
1683844
22971788
35001776

prune393.0ms

Filtered
104 candidates to 84 candidates (80.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh336
Picked011
Done011
Total1057112

Merged error: 0.5b

Counts
112 → 7

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

sample754.0ms

Algorithm
intervals
Results
406.0ms2794×body1280valid
131.0ms4113×body80valid
71.0ms615×body640valid
28.0ms319×body320valid
10.0ms159×body160valid