Details

Time bar (total: 2.5s)

sample30.0ms

Algorithm
intervals
Results
14.0ms99×body1280valid
4.0ms123×body80valid
2.0ms18×body640valid
1.0ms10×body320valid
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: 16.0b

localize7.0ms

Local error

Found 1 expressions with local error:

1.8b
(- (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))

series10.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0126328
1342227
21471217
35001161

prune256.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 1 expressions with local error:

0.4b
(atan2 1.0 (fma N (+ N 1.0) 1))

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

simplify101.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02157
13250
25550
37050
48950
514350
656750
7177950
8500150

prune35.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 4 expressions with local error:

0.4b
(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.3b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
15.3b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))

rewrite19.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))
13.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)))
2.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))

series27.0ms

Counts
4 → 12
Calls
4 calls:
2.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)))

simplify111.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0100554
1375496
22244476
35001461

prune169.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(atan2 1.0 (fma N (+ N 1.0) 1))
0.8b
(pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4)
15.8b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
15.8b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod unpow-prod-down
pow1 sqrt-prod
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow pow1/3
sqrt-pow1
pow-to-exp pow1/2 pow-exp sqrt-pow2 sqr-pow
Counts
4 → 64
Calls
4 calls:
0.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
5.0ms
(pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4)
1.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
1.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

series370.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
151.0ms
(pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4)
109.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
108.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

simplify107.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0139522
1450443
22162410
35001407

prune198.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.3b

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

sample870.0ms

Algorithm
intervals
Results
463.0ms2971×body1280valid
139.0ms3953×body80valid
75.0ms597×body640valid
30.0ms307×body320valid
12.0ms172×body160valid