Details

Time bar (total: 19.3s)

sample90.0ms

Algorithm
intervals
Results
31.0ms66×body10240exit
20.0ms301×body80nan
18.0ms256×body80valid

simplify4.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52749
68379
732179
done50019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite33.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:
19.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
8.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series155.0ms

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

simplify4.4s

Counts
72 → 72
Iterations

Useful iterations: 4 (2.9s)

IterNodesCost
0117962
1246836
2485757
31266728
44144699
done5000699

prune235.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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

rewrite115.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:
28.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
71.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))

series234.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
56.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
19.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify3.8s

Counts
183 → 183
Iterations

Useful iterations: done (3.8s)

IterNodesCost
02094894
14343381
212473082
347012989
done50002988

prune663.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
done920

end0.0ms

sample5.4s

Algorithm
intervals
Results
1.7s7987×body80valid
1.6s1783×body10240exit
1.2s9775×body80nan
17.0msbody5120valid
4.0msbody2560valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid