Details

Time bar (total: 10.7s)

sample27.0ms

Algorithm
intervals
Results
11.0ms86×body1280valid
4.0ms130×body80valid
3.0ms24×body640valid
1.0ms12×body320valid
0.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.2b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
1.7b
(- (atan (+ N 1.0)) (atan N))

rewrite7.0ms

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

series13.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(atan (+ N 1.0))
11.0ms
(- (atan (+ N 1.0)) (atan N))

simplify1.2s

Counts
28 → 28
Iterations

Useful iterations: 4 (127.0ms)

IterNodesCost
040271
176259
2145245
3270241
4534239
51497239
done5000239

prune52.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize6.0ms

Local error

Found 1 expressions with local error:

0.5b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
1 → 7
Calls
1 calls:
0.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

simplify2.7s

Counts
10 → 10
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
020133
135133
248109
359109
471109
591109
6133109
7285109
8848109
93642109
done5001109

prune20.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 4 expressions with local error:

0.5b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
0.6b
(* (sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N)))) (sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N)))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

rewrite18.0ms

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

series43.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
4.0ms
(* (sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N)))) (sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N)))))
16.0ms
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
20.0ms
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

simplify4.4s

Counts
94 → 94
Iterations

Useful iterations: 5 (2.4s)

IterNodesCost
0641843
11041267
22161115
34091064
48381028
54762998
done5000998

prune163.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
0.5b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
14.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
14.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

rewrite3.0ms

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

series40.0ms

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

simplify1.1s

Counts
52 → 52
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
032698
150646
272570
399570
4143570
5251570
6549570
71704570
done5000570

prune138.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.5b

regimes25.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1129
done129

end0.0ms

sample739.0ms

Algorithm
intervals
Results
368.0ms2795×body1280valid
126.0ms4077×body80valid
68.0ms646×body640valid
30.0ms329×body320valid
9.0ms153×body160valid