Details

Time bar (total: 12.4s)

sample71.0ms

Algorithm
intervals
Results
34.0ms93×body1280valid
17.0ms126×body80valid
6.0ms21×body640valid
3.0ms12×body320valid
1.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations
IterNodes
310
210
19
06

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.4b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16
sub-neg flip3-- diff-log diff-atan flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
2.0ms
(atan (+ N 1))
8.0ms
(- (atan (+ N 1)) (atan N))

series22.0ms

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

simplify2.5s

Counts
30 → 30
Iterations
IterNodes
65474
51652
4618
3287
2149
175
041

prune248.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ N 1) N)
0.1b
(atan2 1 (+ 1 (* (+ N 1) N)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-cbrt-cube associate-*l* add-exp-log add-cube-cbrt
associate-*r*
associate-*l/ insert-posit16 add-log-exp
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 30
Calls
2 calls:
26.0ms
(* (+ N 1) N)
1.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))

series46.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(* (+ N 1) N)
2.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))

simplify2.0s

Counts
36 → 36
Iterations
IterNodes
43175
3832
2305
1119
055

prune305.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(atan2 1 (+ 1 (* (+ N 1) N)))
0.6b
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
15.6b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.6b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

rewrite15.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
insert-posit16 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 → 86
Calls
4 calls:
0.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))
11.0ms
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
1.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
1.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))
5.0ms
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
28.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
24.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify2.2s

Counts
98 → 98
Iterations
IterNodes
53261
4872
3416
2237
1123
065

prune711.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N))))) (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
15.6b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.6b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.6b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

rewrite41.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*
insert-posit16 add-log-exp
rem-sqrt-square prod-exp cbrt-unprod
sqrt-unprod swap-sqr unswap-sqr
associate-*l* *-commutative
Counts
4 → 95
Calls
4 calls:
37.0ms
(* (* (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N))))) (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
1.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
1.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
1.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

series57.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N))))) (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
16.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
23.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify1.6s

Counts
107 → 107
Iterations
IterNodes
52000
41354
3851
2427
1183
087

prune791.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0.1b

regimes78.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
29
19
06

end0.0ms

sample1.5s

Algorithm
intervals
Results
914.0ms2859×body1280valid
259.0ms4083×body80valid
129.0ms609×body640valid
50.0ms299×body320valid
17.0ms150×body160valid