Details

Time bar (total: 1.7s)

sample29.0ms

Algorithm
intervals
Results
13.0ms85×body1280valid
5.0ms127×body80valid
4.0ms30×body640valid
1.0msbody320valid
0.0msbody160valid

simplify4.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.2b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series3.0ms

Counts
2 → 6
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
2.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
42447142
55001142

prune41.0ms

Filtered
28 candidates to 19 candidates (32.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New26228
Fresh000
Picked011
Done000
Total26329

Merged error: 0.7b

Counts
29 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1 (* (+ N 1.0) N))
0.0b
(* (+ N 1.0) N)
0.7b
(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)))

series9.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0177222
1766193
24572193
35001193

prune72.0ms

Filtered
48 candidates to 32 candidates (33.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New43548
Fresh011
Picked011
Done011
Total43851

Merged error: 0.7b

Counts
51 → 8

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

rewrite15.0ms

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

series30.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0207623
1572575
21929533
35001525

prune157.0ms

Filtered
52 candidates to 47 candidates (9.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New52052
Fresh055
Picked011
Done022
Total52860

Merged error: 0.7b

Counts
60 → 8

localize10.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)))
12.4b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
12.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))))

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

simplify74.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
049332
179294
2159294
3330292
41184292
55001292

prune87.0ms

Filtered
52 candidates to 34 candidates (34.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New51152
Fresh044
Picked101
Done033
Total52860

Merged error: 0.7b

Counts
60 → 8

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

sample826.0ms

Algorithm
intervals
Results
429.0ms2884×body1280valid
143.0ms4046×body80valid
71.0ms591×body640valid
28.0ms299×body320valid
12.0ms180×body160valid

Profiling

Loading profile data...