Details

Time bar (total: 8.7s)

sample45.0ms

Algorithm
intervals
Results
19.0ms87×body1280valid
7.0ms129×body80valid
4.0ms22×body640valid
2.0ms15×body320valid
0.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.9b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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))
7.0ms
(- (atan (+ N 1.0)) (atan N))

series16.0ms

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

simplify2.6s

Counts
28 → 28
Iterations

Useful iterations: 4 (262.0ms)

IterNodesCost
040271
176259
2151245
3326241
4966239
53321239
done5001239

prune64.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1 (* (+ N 1.0) N))
0.6b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

rewrite12.0ms

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

series36.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ 1 (* (+ N 1.0) N))
6.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

simplify745.0ms

Counts
24 → 24
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
041305
1119292
2690248
done5000248

prune105.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ 1 (* (+ N 1.0) N))) (sqrt (+ 1 (* (+ N 1.0) N))))
0.6b
(atan2 1.0 (* (sqrt (+ 1 (* (+ N 1.0) N))) (sqrt (+ 1 (* (+ N 1.0) N)))))
13.6b
(sqrt (+ 1 (* (+ N 1.0) N)))
13.6b
(sqrt (+ 1 (* (+ N 1.0) N)))

rewrite70.0ms

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

series132.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (sqrt (+ 1 (* (+ N 1.0) N))) (sqrt (+ 1 (* (+ N 1.0) N))))
4.0ms
(atan2 1.0 (* (sqrt (+ 1 (* (+ N 1.0) N))) (sqrt (+ 1 (* (+ N 1.0) N)))))
55.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))
51.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))

simplify1.3s

Counts
106 → 106
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01042105
12421389
212661255
done50001228

prune358.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize30.0ms

Local error

Found 4 expressions with local error:

0.6b
(atan2 1.0 (* (* (sqrt (sqrt (+ 1 (* (+ N 1.0) N)))) (sqrt (sqrt (+ 1 (* (+ N 1.0) N))))) (sqrt (+ 1 (* (+ N 1.0) N)))))
13.6b
(sqrt (+ 1 (* (+ N 1.0) N)))
13.6b
(sqrt (+ 1 (* (+ N 1.0) N)))
13.6b
(sqrt (+ 1 (* (+ N 1.0) N)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 52
Calls
4 calls:
0.0ms
(atan2 1.0 (* (* (sqrt (sqrt (+ 1 (* (+ N 1.0) N)))) (sqrt (sqrt (+ 1 (* (+ N 1.0) N))))) (sqrt (+ 1 (* (+ N 1.0) N)))))
10.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))
12.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))
13.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(atan2 1.0 (* (* (sqrt (sqrt (+ 1 (* (+ N 1.0) N)))) (sqrt (sqrt (+ 1 (* (+ N 1.0) N))))) (sqrt (+ 1 (* (+ N 1.0) N)))))
74.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))
43.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))
53.0ms
(sqrt (+ 1 (* (+ N 1.0) N)))

simplify722.0ms

Counts
64 → 64
Iterations

Useful iterations: done (720.0ms)

IterNodesCost
0621057
1144845
2638691
done5001685

prune267.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

regimes34.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0919
11419
done1419

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s2816×body1280valid
265.0ms4082×body80valid
121.0ms605×body640valid
51.0ms330×body320valid
18.0ms167×body160valid