Details

Time bar (total: 8.4s)

sample56.0ms

Algorithm
intervals
Results
28.0ms84×body1280valid
11.0ms141×body80valid
5.0ms16×body640valid
2.0ms11×body320valid
1.0msbody160valid

simplify5.0ms

Counts
1 → 1
Iterations
IterNodes
done12
212
111
06

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.6b

localize12.0ms

Local error

Found 1 expressions with local error:

0.8b
(- (atan (+ N 1)) (atan N))

rewrite5.0ms

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

series26.0ms

Counts
1 → 3
Calls
1 calls:
26.0ms
(- (atan (+ N 1)) (atan N))

simplify1.3s

Counts
19 → 19
Iterations
IterNodes
done2000
62000
51968
4692
3307
2147
173
036

prune81.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 2 expressions with local error:

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

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

series63.0ms

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

simplify1.2s

Counts
36 → 36
Iterations
IterNodes
done2002
42002
3706
2266
1121
055

prune124.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(atan2 1 (+ 1 (* (+ N 1) N)))
0.6b
(* (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
15.7b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.7b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

rewrite12.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)))
8.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))))

series43.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)))))
19.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
14.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify1.4s

Counts
98 → 98
Iterations
IterNodes
done2004
52004
41111
3489
2247
1128
065

prune315.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

localize30.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.7b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.7b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
15.7b
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

rewrite48.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:
44.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))))

series50.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N))))) (sqrt (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))) (sqrt (atan2 1 (+ 1 (* (+ N 1) N)))))
18.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
13.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))
14.0ms
(sqrt (atan2 1 (+ 1 (* (+ N 1) N))))

simplify1.2s

Counts
107 → 107
Iterations
IterNodes
done2003
52003
41189
3845
2402
1188
087

prune621.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.2b

regimes88.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done11
111
06

end0.0ms

sample1.6s

Algorithm
intervals
Results
874.0ms2859×body1280valid
344.0ms4076×body80valid
190.0ms623×body640valid
54.0ms300×body320valid
47.0ms142×body160valid