Details

Time bar (total: 1.5s)

sample29.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
14.0ms91×body1280valid
4.0ms128×body80valid
2.0ms18×body640valid
1.0ms10×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.9b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series4.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
075154
1145145
2289143
3681142
42447142
55001142

prune38.0ms

Filtered
19 candidates to 28 candidates (-47.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New27128
Fresh000
Picked101
Done000
Total28129

Merged error: 0.7b

Counts
29 → 1

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

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

series6.0ms

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

prune63.0ms

Filtered
22 candidates to 34 candidates (-54.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New26834
Fresh000
Picked011
Done000
Total26935

Merged error: 0.7b

Counts
35 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.0ms

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

series66.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
095268
1172237
2446207
31754200
45001200

prune85.0ms

Filtered
41 candidates to 52 candidates (-26.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh347
Picked101
Done101
Total54761

Merged error: 0.7b

Counts
61 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow N 2) (+ (* 1.0 N) 1))
0.7b
(atan2 1.0 (+ (pow N 2) (+ (* 1.0 N) 1)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity
sum-log
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt add-cbrt-cube
+-commutative associate-+r+ flip3-+ flip-+ distribute-lft-out
Counts
2 → 21
Calls
2 calls:
7.0ms
(+ (pow N 2) (+ (* 1.0 N) 1))
1.0ms
(atan2 1.0 (+ (pow N 2) (+ (* 1.0 N) 1)))

series5.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0114181
1447154
22686153
35001150

prune39.0ms

Filtered
20 candidates to 27 candidates (-35.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh066
Picked011
Done000
Total27734

Merged error: 0.7b

Counts
34 → 7

regimes42.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
0145
1145

end0.0ms

sample792.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
440.0ms2878×body1280valid
141.0ms4023×body80valid
76.0ms614×body640valid
32.0ms325×body320valid
11.0ms160×body160valid

Profiling

Loading profile data...