Details

Time bar (total: 5.6s)

sample39.0ms

Algorithm
intervals
Results
20.0ms97×body1280valid
6.0ms131×body80valid
3.0ms14×body640valid
1.0msbody320valid
1.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06292
19292
210292
done10292

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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
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))

series20.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(atan (+ N 1.0))
17.0ms
(- (atan (+ N 1.0)) (atan N))

simplify2.4s

Counts
28 → 28
Iterations

Useful iterations: 4 (256.0ms)

IterNodesCost
0409184
1768813
21508813
32848773
46118732
515798732
done50008732

prune84.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite0.0ms

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

series4.0ms

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

simplify2.8s

Counts
10 → 10
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0203763
1353250
2493130
3743130
41093130
52023130
63553130
76943130
815603130
943163130
done50003130

prune43.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(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)))))
16.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))
16.9b
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) 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
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 → 82
Calls
4 calls:
0.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))
11.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))))

series40.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))))
17.0ms
(sqrt (atan2 1.0 (+ 1 (* (+ N 1.0) N))))

simplify86.0ms

Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
06436297
112830595