Details

Time bar (total: 12.7s)

sample58.0ms

Algorithm
intervals
Results
28.0ms81×body1280valid
10.0ms130×body80valid
6.0ms23×body640valid
3.0ms15×body320valid
1.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations
IterNodes
310
210
19
06

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.8b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.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:
1.0ms
(atan (+ N 1))
5.0ms
(- (atan (+ N 1)) (atan N))

series26.0ms

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

simplify2.4s

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

prune277.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.4b

localize22.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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:
32.0ms
(* (+ N 1) N)
0.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))

series75.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(* (+ N 1) N)
4.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))

simplify2.0s

Counts
36 → 36
Iterations
IterNodes
43175
3832
2305
1119
055

prune266.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.4b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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)))
21.0ms
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
2.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
2.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 1 (+ 1 (* (+ N 1) N)))
3.0ms
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
14.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
21.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify2.3s

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

prune851.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.4b

localize63.0ms

Local error

Found 4 expressions with local error:

13.9b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
14.4b
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))
14.4b
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))
14.4b
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))

rewrite4.0ms

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

series494.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
142.0ms
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))
177.0ms
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))
154.0ms
(cbrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify1.4s

Counts
62 → 62
Iterations
IterNodes
63314
5737
4262
3126
280
157
037

prune708.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.4b

regimes77.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
29
19
06

end0.0ms

sample1.5s

Algorithm
intervals
Results
909.0ms2875×body1280valid
271.0ms4048×body80valid
163.0ms620×body640valid
47.0ms282×body320valid
22.0ms175×body160valid