Details

Time bar (total: 2.0s)

sample27.0ms

Algorithm
intervals
Results
14.0ms97×body1280valid
4.0ms128×body80valid
2.0ms13×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: 14.3b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
2.6b
(- (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:
1.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))

simplify52.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0129365
1345264
21480254
35001198

prune72.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.7b

localize8.0ms

Local error

Found 2 expressions with local error:

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

localize8.0ms

Local error

Found 4 expressions with local error:

0.7b
(atan2 1.0 (fma N (+ N 1.0) 1))
0.7b
(atan2 1.0 (fma N (+ N 1.0) 1))
15.6b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
15.6b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 48
Calls
4 calls:
0.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
0.0ms
(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)))

series25.0ms

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

simplify180.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 6 (45.0ms)

IterNodesCost
037296
162276
2100276
3148276
4341276
5975276
63911274
75001274

prune134.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(atan2 1.0 (fma N (+ N 1.0) 1))
15.6b
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
16.1b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
16.1b
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

rewrite3.0ms

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

series229.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1.0 (fma N (+ N 1.0) 1))
11.0ms
(sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))
110.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))
107.0ms
(cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))

simplify55.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
052352
1109319
2235315
3808315
45002315

prune177.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.6b

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

sample766.0ms

Algorithm
intervals
Results
417.0ms2952×body1280valid
126.0ms3956×body80valid
73.0ms638×body640valid
26.0ms297×body320valid
10.0ms157×body160valid