Details

Time bar (total: 2.3s)

sample28.0ms

Algorithm
intervals
Results
14.0ms102×body1280valid
4.0ms131×body80valid
2.0ms12×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
1.5b
(- (atan (+ N 1.0)) (atan N))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log diff-atan flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 38
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
7.0ms
(- (atan (+ N 1.0)) (atan N))

series11.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0129365
1345264
21480254
35001198

prune73.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma N (+ N 1.0) 1)
0.2b
(atan2 1.0 (fma N (+ N 1.0) 1))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
fma-udef
Counts
2 → 19
Calls
2 calls:
0.0ms
(fma N (+ N 1.0) 1)
0.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))

series19.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(fma N (+ N 1.0) 1)
2.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))

simplify140.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
047101
110489
251389
3453189
4500189

prune53.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(atan2 1.0 (* (* (cbrt (fma N (+ N 1.0) 1)) (cbrt (fma N (+ N 1.0) 1))) (cbrt (fma N (+ N 1.0) 1))))
17.6b
(cbrt (fma N (+ N 1.0) 1))
17.6b
(cbrt (fma N (+ N 1.0) 1))
17.6b
(cbrt (fma N (+ N 1.0) 1))

rewrite4.0ms

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

series243.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1.0 (* (* (cbrt (fma N (+ N 1.0) 1)) (cbrt (fma N (+ N 1.0) 1))) (cbrt (fma N (+ N 1.0) 1))))
81.0ms
(cbrt (fma N (+ N 1.0) 1))
81.0ms
(cbrt (fma N (+ N 1.0) 1))
79.0ms
(cbrt (fma N (+ N 1.0) 1))

simplify114.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (109.0ms)

IterNodesCost
0102450
1231398
2651392
32666383
45001377

prune169.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

17.1b
(sqrt (fma N (+ N 1.0) 1))
17.1b
(sqrt (fma N (+ N 1.0) 1))
17.6b
(cbrt (fma N (+ N 1.0) 1))
17.6b
(cbrt (fma N (+ N 1.0) 1))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
1.0ms
(sqrt (fma N (+ N 1.0) 1))
1.0ms
(sqrt (fma N (+ N 1.0) 1))
1.0ms
(cbrt (fma N (+ N 1.0) 1))
1.0ms
(cbrt (fma N (+ N 1.0) 1))

series238.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (fma N (+ N 1.0) 1))
35.0ms
(sqrt (fma N (+ N 1.0) 1))
83.0ms
(cbrt (fma N (+ N 1.0) 1))
85.0ms
(cbrt (fma N (+ N 1.0) 1))

simplify50.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0133338
1324314
21036310
35002308

prune235.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes18.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
093
193

end0.0ms

sample762.0ms

Algorithm
intervals
Results
384.0ms2852×body1280valid
125.0ms4071×body80valid
76.0ms595×body640valid
27.0ms306×body320valid
11.0ms176×body160valid