Details

Time bar (total: 12.2s)

sample67.0ms

Algorithm
intervals
Results
36.0ms95×body1280valid
10.0ms125×body80valid
6.0ms19×body640valid
3.0ms11×body320valid
1.0msbody160valid

simplify20.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
20.0ms
(- (atan (+ N 1)) (atan N))

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.8b

localize21.0ms

Local error

Found 2 expressions with local error:

2.4b
(- (atan (+ N 1)) (atan N))
0.0b
(atan (+ N 1))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
prod-diff add-cube-cbrt
add-log-exp
fma-neg
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
sub-neg flip3-- diff-log diff-atan flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
Slowest
10.0ms
(- (atan (+ N 1)) (atan N))
2.0ms
(atan (+ N 1))

series22.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
19.0ms
(- (atan (+ N 1)) (atan N))
3.0ms
(atan (+ N 1))

simplify1.7s

Counts
32 → 46
Calls
32 calls:
Slowest
211.0ms
(fma (* (cbrt (atan (+ N 1))) (cbrt (atan (+ N 1)))) (cbrt (atan (+ N 1))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))
208.0ms
(fma (sqrt (atan (+ N 1))) (sqrt (atan (+ N 1))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))
161.0ms
(fma 1 (atan (+ N 1)) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))
146.0ms
(fma (- (cbrt (atan N))) (* (cbrt (atan N)) (cbrt (atan N))) (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N)))))
146.0ms
(fma (- (cbrt (atan N))) (* (cbrt (atan N)) (cbrt (atan N))) (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N)))))

prune352.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
Slowest
1.0ms
(atan2 1 (fma N (+ N 1) 1))

series2.0ms

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

simplify69.0ms

Counts
3 → 13
Calls
3 calls:
Slowest
36.0ms
(atan2 1 (fma N (+ N 1) 1))
17.0ms
(atan2 1 (fma N (+ N 1) 1))
16.0ms
(atan2 1 (fma N (+ N 1) 1))

prune98.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize31.0ms

Local error

Found 4 expressions with local error:

15.4b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
15.4b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
0.6b
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1))))
0.4b
(atan2 1 (fma N (+ N 1) 1))

rewrite25.0ms

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

series57.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
28.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
22.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
4.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1))))
3.0ms
(atan2 1 (fma N (+ N 1) 1))

simplify2.3s

Counts
82 → 106
Calls
82 calls:
Slowest
179.0ms
(* (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
119.0ms
(* (* (cbrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (cbrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (* (cbrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (cbrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))
43.0ms
(sqrt (* (cbrt (atan2 1 (fma N (+ N 1) 1))) (cbrt (atan2 1 (fma N (+ N 1) 1)))))
43.0ms
(sqrt (* (cbrt (atan2 1 (fma N (+ N 1) 1))) (cbrt (atan2 1 (fma N (+ N 1) 1)))))
42.0ms
(+ (log (sqrt (atan2 1 (fma N (+ N 1) 1)))) (log (sqrt (atan2 1 (fma N (+ N 1) 1)))))

prune977.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.4b

localize46.0ms

Local error

Found 4 expressions with local error:

15.4b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
15.4b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
15.4b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
0.6b
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
54×sqrt-pow1
45×pow1
30×pow1/2 pow-prod-up
16×add-sqr-sqrt
14×sqrt-prod
*-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
pow-prod-down
associate-*l* pow-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square prod-exp cbrt-unprod
sqrt-unprod swap-sqr unswap-sqr
associate-*r* *-commutative
Counts
4 → 97
Calls
4 calls:
Slowest
29.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))
2.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
2.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
2.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
22.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
21.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
21.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
4.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))

simplify3.3s

Counts
87 → 109
Calls
87 calls:
Slowest
498.0ms
(* (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (* (* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))))))
406.0ms
(* (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (* (* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))))))
101.0ms
(* (atan2 1 (fma N (+ N 1) 1)) (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
84.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))
78.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))))

prune1.1s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.4b

regimes88.0ms

Accuracy

0% (0.0b remaining)

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

bsearch1.0ms

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.1s2860×body1280valid
316.0ms4053×body80valid
158.0ms617×body640valid
145.0ms303×body320valid
23.0ms167×body160valid