Details

Time bar (total: 21.7s)

sample48.0ms

Algorithm
intervals
Results
26.0ms94×body1280valid
7.0ms125×body80valid
5.0ms19×body640valid
2.0ms12×body320valid
1.0msbody160valid

simplify11.0ms

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.2b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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
11.0ms
(- (atan (+ N 1)) (atan N))
2.0ms
(atan (+ N 1))

series15.0ms

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

simplify3.2s

Counts
59 → 46
Calls
59 calls:
Slowest
538.0ms
(* (* (- (atan (+ N 1)) (atan N)) (- (atan (+ N 1)) (atan N))) (- (atan (+ N 1)) (atan N)))
255.0ms
(- (pow (atan (+ N 1)) 3) (pow (atan N) 3))
198.0ms
(fma (sqrt (atan (+ N 1))) (sqrt (atan (+ N 1))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))
186.0ms
(fma (* (cbrt (atan (+ N 1))) (cbrt (atan (+ N 1)))) (cbrt (atan (+ N 1))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))
182.0ms
(fma 1 (atan (+ N 1)) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))))

prune387.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 1 expressions with local error:

0.2b
(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
0.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))

simplify561.0ms

Counts
13 → 13
Calls
13 calls:
Slowest
75.0ms
(* (* (atan2 1 (fma N (+ N 1) 1)) (atan2 1 (fma N (+ N 1) 1))) (atan2 1 (fma N (+ N 1) 1)))
52.0ms
(exp (atan2 1 (fma N (+ N 1) 1)))
51.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
50.0ms
(* (cbrt (atan2 1 (fma N (+ N 1) 1))) (cbrt (atan2 1 (fma N (+ N 1) 1))))
49.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))

prune136.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize23.0ms

Local error

Found 4 expressions with local error:

13.9b
(sqrt (atan2 1 (fma N (+ N 1) 1)))
13.9b
(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.2b
(atan2 1 (fma N (+ N 1) 1))

rewrite33.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
25.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1))))
3.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
2.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
1.0ms
(atan2 1 (fma N (+ N 1) 1))

series33.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
16.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
13.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
2.0ms
(* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1))))
2.0ms
(atan2 1 (fma N (+ N 1) 1))

simplify5.8s

Counts
117 → 106
Calls
117 calls:
Slowest
218.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)))))
207.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)))))
167.0ms
(exp (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
164.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))))))
107.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))))

prune1.2s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize44.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
60×sqrt-pow1
51×pow1
36×pow1/2
34×pow-prod-up
16×add-sqr-sqrt
14×sqrt-prod
*-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
pow-sqr
pow-prod-down
pow-plus associate-*r*
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-*l* *-commutative
Counts
4 → 103
Calls
4 calls:
Slowest
66.0ms
(* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (atan2 1 (fma N (+ N 1) 1))))
3.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
3.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
2.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
19.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
13.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
12.0ms
(sqrt (atan2 1 (fma N (+ N 1) 1)))
3.0ms
(* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (atan2 1 (fma N (+ N 1) 1))))

simplify7.5s

Counts
121 → 115
Calls
121 calls:
Slowest
606.0ms
(* (* (* (* (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)))))) (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
556.0ms
(* (* (* (* (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)))))) (* (* (sqrt (atan2 1 (fma N (+ N 1) 1))) (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
429.0ms
(* (* (* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (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 (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 (atan2 1 (fma N (+ N 1) 1)))))
242.0ms
(exp (* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (atan2 1 (fma N (+ N 1) 1)))))
142.0ms
(* (* (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1)))) (sqrt (sqrt (atan2 1 (fma N (+ N 1) 1))))) (sqrt (atan2 1 (fma N (+ N 1) 1))))

prune917.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

regimes35.0ms

Accuracy

0% (0.2b remaining)

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

bsearch2.0ms

end0.0ms

sample1.6s

Algorithm
intervals
Results
928.0ms2826×body1280valid
244.0ms4092×body80valid
209.0ms632×body640valid
54.0ms314×body320valid
16.0ms136×body160valid