Details

Time bar (total: 16.8s)

sample140.0ms

Algorithm
intervals
Results
51.0ms66×body10240exit
30.0ms301×body80nan
29.0ms256×body80valid

simplify3.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
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))

rewrite46.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 sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 48
Calls
3 calls:
28.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
10.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series159.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
31.0ms
(pow (sqrt (atan2 b b)) (- b a))
34.0ms
(sqrt (atan2 b b))

simplify2.6s

Counts
57 → 57
Iterations

Useful iterations: 3 (263.0ms)

IterNodesCost
075614
1147571
2337536
3836527
42732527
done5001527

prune176.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
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 → 136
Calls
4 calls:
55.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
73.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series229.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
59.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
13.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify3.5s

Counts
148 → 148
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01413640
12812623
29572461
338122409
done50012400

prune402.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.5s

Algorithm
intervals
Results
2.5s1783×body10240exit
1.1s7987×body80valid
1.1s9775×body80nan
21.0msbody5120valid
7.0msbody640valid
2.0msbody2560valid
1.0msbody160valid
0.0msbody320valid