Details

Time bar (total: 2.4s)

sample39.0ms

Algorithm
intervals
Results
21.0ms100×body1280valid
8.0ms132×body80valid
3.0ms15×body640valid
1.0msbody320valid
1.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: 13.7b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.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:
3.0ms
(- (atan (+ N 1.0)) (atan N))

series11.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0126328
1342227
21471217
35001161

prune48.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.5b

localize5.0ms

Local error

Found 1 expressions with local error:

0.5b
(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
Counts
1 → 9
Calls
1 calls:
0.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))

simplify97.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02157
13250
25550
37050
48950
514350
656750
7177950
8500150

prune29.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.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:
0.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
7.0ms
(* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))
1.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
1.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
2.0ms
(* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))
11.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
12.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))

simplify104.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0100554
1375496
22244476
35001461

prune165.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))))
15.2b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
15.8b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
15.8b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity sqrt-prod
10×cbrt-prod
associate-*r*
pow1
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
pow1/3
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 69
Calls
4 calls:
6.0ms
(* (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))))
1.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
0.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
1.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

series364.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))))
17.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
109.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
109.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

simplify54.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0127730
1417677
21346670
35002665

prune208.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.4b

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

sample1.1s

Algorithm
intervals
Results
565.0ms2845×body1280valid
257.0ms4041×body80valid
107.0ms617×body640valid
45.0ms342×body320valid
16.0ms155×body160valid