Details

Time bar (total: 18.6s)

sample192.0ms

Algorithm
intervals
Results
62.0ms256×body80valid
38.0ms66×body10240exit
23.0ms301×body80nan

simplify3.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
079
1139
2229
3459
41159
52749
68379
732179
done50019

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
25.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
17.0ms
(pow (sqrt (atan2 b b)) (- b a))
6.0ms
(sqrt (atan2 b b))

series174.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
45.0ms
(pow (sqrt (atan2 b b)) (- b a))
46.0ms
(sqrt (atan2 b b))

simplify4.2s

Counts
72 → 72
Iterations

Useful iterations: 4 (2.6s)

IterNodesCost
0117962
1246836
2485757
31266728
44144699
done5000699

prune261.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
46×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
16×add-exp-log
14×sqr-pow
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 171
Calls
4 calls:
62.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
93.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series247.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
66.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
19.0ms
(sqrt (atan2 b b))
22.0ms
(sqrt (atan2 b b))

simplify3.7s

Counts
183 → 183
Iterations

Useful iterations: done (3.7s)

IterNodesCost
02094894
14343381
212473082
347012989
done50002988

prune613.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
done920

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.1s1783×body10240exit
1.4s7987×body80valid
1.1s9775×body80nan
15.0msbody5120valid
3.0msbody2560valid
2.0msbody640valid
1.0msbody160valid
1.0msbody320valid