Details

Time bar (total: 2.6s)

sample28.0ms

Algorithm
intervals
Results
13.0ms82×body1280valid
4.0ms133×body80valid
3.0ms29×body640valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.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:
0.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))
10.0ms
(- (atan (+ N 1.0)) (atan N))

simplify49.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0129365
1345264
21480254
35001198

prune79.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize6.0ms

Local error

Found 2 expressions with local error:

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

series21.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
047101
110489
251389
3453189
4500189

prune57.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(atan2 1.0 (* (* (cbrt (fma N (+ N 1.0) 1)) (cbrt (fma N (+ N 1.0) 1))) (cbrt (fma N (+ N 1.0) 1))))
14.0b
(cbrt (fma N (+ N 1.0) 1))
14.0b
(cbrt (fma N (+ N 1.0) 1))
14.0b
(cbrt (fma N (+ N 1.0) 1))

rewrite3.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))))
0.0ms
(cbrt (fma N (+ N 1.0) 1))
0.0ms
(cbrt (fma N (+ N 1.0) 1))
1.0ms
(cbrt (fma N (+ N 1.0) 1))

series269.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))))
89.0ms
(cbrt (fma N (+ N 1.0) 1))
89.0ms
(cbrt (fma N (+ N 1.0) 1))
89.0ms
(cbrt (fma N (+ N 1.0) 1))

simplify114.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (108.0ms)

IterNodesCost
0102450
1231398
2651392
32666383
45001377

prune181.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

13.6b
(sqrt (fma N (+ N 1.0) 1))
13.6b
(sqrt (fma N (+ N 1.0) 1))
14.0b
(cbrt (fma N (+ N 1.0) 1))
14.0b
(cbrt (fma N (+ N 1.0) 1))

rewrite4.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))
0.0ms
(cbrt (fma N (+ N 1.0) 1))
1.0ms
(cbrt (fma N (+ N 1.0) 1))

series450.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (fma N (+ N 1.0) 1))
39.0ms
(sqrt (fma N (+ N 1.0) 1))
278.0ms
(cbrt (fma N (+ N 1.0) 1))
89.0ms
(cbrt (fma N (+ N 1.0) 1))

simplify46.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0133338
1324314
21036310
35002308

prune245.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.5b

regimes23.0ms

Accuracy

0% (0.0b remaining)

Error of 0.4b against oracle of 0.4b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample819.0ms

Algorithm
intervals
Results
444.0ms2862×body1280valid
143.0ms4063×body80valid
79.0ms614×body640valid
29.0ms296×body320valid
15.0ms165×body160valid