Details

Time bar (total: 2.1s)

sample29.0ms

Algorithm
intervals
Results
15.0ms109×body1280valid
4.0ms120×body80valid
1.0ms10×body640valid
1.0ms12×body320valid
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: 14.2b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

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

series11.0ms

Counts
1 → 3
Calls
1 calls:
11.0ms
(- (atan (+ N 1.0)) (atan N))

simplify46.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0126328
1342227
21471217
35001161

prune51.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

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

series25.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
047101
110489
251389
3453189
4500189

prune56.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.6b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1)))
0.6b
(atan2 1.0 (* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1))))
18.3b
(sqrt (fma N (+ N 1.0) 1))
18.3b
(sqrt (fma N (+ N 1.0) 1))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 90
Calls
4 calls:
14.0ms
(* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1)))
0.0ms
(atan2 1.0 (* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1))))
2.0ms
(sqrt (fma N (+ N 1.0) 1))
2.0ms
(sqrt (fma N (+ N 1.0) 1))

series101.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1)))
2.0ms
(atan2 1.0 (* (sqrt (fma N (+ N 1.0) 1)) (sqrt (fma N (+ N 1.0) 1))))
38.0ms
(sqrt (fma N (+ N 1.0) 1))
42.0ms
(sqrt (fma N (+ N 1.0) 1))

simplify160.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0152528
1551459
23555439
35001439

prune195.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(atan2 1.0 (* (* (sqrt (sqrt (fma N (+ N 1.0) 1))) (sqrt (sqrt (fma N (+ N 1.0) 1)))) (sqrt (fma N (+ N 1.0) 1))))
18.3b
(sqrt (fma N (+ N 1.0) 1))
18.3b
(sqrt (fma N (+ N 1.0) 1))
18.3b
(sqrt (fma N (+ N 1.0) 1))

rewrite9.0ms

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

series121.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(atan2 1.0 (* (* (sqrt (sqrt (fma N (+ N 1.0) 1))) (sqrt (sqrt (fma N (+ N 1.0) 1)))) (sqrt (fma N (+ N 1.0) 1))))
43.0ms
(sqrt (fma N (+ N 1.0) 1))
38.0ms
(sqrt (fma N (+ N 1.0) 1))
38.0ms
(sqrt (fma N (+ N 1.0) 1))

simplify84.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 4 (78.0ms)

IterNodesCost
082411
1189362
2583362
32230359
45001356

prune199.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.6b

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

sample752.0ms

Algorithm
intervals
Results
371.0ms2851×body1280valid
129.0ms4049×body80valid
66.0ms614×body640valid
30.0ms328×body320valid
10.0ms158×body160valid