Details

Time bar (total: 9.7s)

sample547.0ms

Algorithm
intervals
Results
337.0ms256×body80valid
51.0ms64×body10240exit
38.0ms380×body80nan

simplify2.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
07492
113492
222492
345492
4110492
5250492
61161492
done5019492

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (- b a))
0.0b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up sqrt-pow1 pow1/2
pow-to-exp rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 48
Calls
3 calls:
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
12.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(sqrt (atan2 b b))

series124.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(pow (sqrt (atan2 b b)) (- b a))
75.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
19.0ms
(sqrt (atan2 b b))

simplify3.4s

Counts
57 → 57
Iterations

Useful iterations: 3 (438.0ms)

IterNodesCost
07526038
118124619
239524579
3105724539
4335724539
done500224539

prune321.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (atan2 b b) (* 1/2 (- b a)))
0.0b
(sin (pow (atan2 b b) (* 1/2 (- b a))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up
add-sqr-sqrt pow1 unpow-prod-down *-un-lft-identity add-exp-log add-cube-cbrt
distribute-rgt-in sub-neg distribute-lft-in add-cbrt-cube add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 26
Calls
2 calls:
7.0ms
(pow (atan2 b b) (* 1/2 (- b a)))
11.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))

series168.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(pow (atan2 b b) (* 1/2 (- b a)))
126.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))

simplify2.4s

Counts
32 → 32
Iterations

Useful iterations: done (2.4s)

IterNodesCost
06618451
115717776
239717074
3133716914
done500116591

prune187.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize66.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
2.0b
(log (sqrt (atan2 b b)))
2.0b
(log (sqrt (atan2 b b)))
2.0b
(log (sqrt (atan2 b b)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×log-prod
12×add-sqr-sqrt sqrt-prod
11×pow1 *-un-lft-identity add-cube-cbrt
log-pow
add-exp-log
sqrt-pow1 add-cbrt-cube pow1/2 add-log-exp
rem-log-exp
rem-sqrt-square
Counts
4 → 64
Calls
4 calls:
2.0ms
(sqrt (atan2 b b))
3.0ms
(log (sqrt (atan2 b b)))
3.0ms
(log (sqrt (atan2 b b)))
3.0ms
(log (sqrt (atan2 b b)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (atan2 b b))
115.0ms
(log (sqrt (atan2 b b)))
115.0ms
(log (sqrt (atan2 b b)))
92.0ms
(log (sqrt (atan2 b b)))

simplify19.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
03324383