Details

Time bar (total: 13.5s)

sample173.0ms

Algorithm
intervals
Results
65.0ms256×body80valid
50.0ms68×body10240exit
34.0ms319×body80nan

simplify3.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
done50019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite41.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:
15.0ms
(pow (sqrt (atan2 b b)) (- b a))
21.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
3.0ms
(sqrt (atan2 b b))

series180.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(pow (sqrt (atan2 b b)) (- b a))
128.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
27.0ms
(sqrt (atan2 b b))

simplify2.2s

Counts
57 → 57
Iterations

Useful iterations: 3 (234.0ms)

IterNodesCost
075614
1147571
2337536
3843527
42738527
done5000527

prune165.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
1 → 7
Calls
1 calls:
12.0ms
(sin (pow (atan2 b b) (* (- b a) 1/2)))

series78.0ms

Counts
1 → 3
Calls
1 calls:
78.0ms
(sin (pow (atan2 b b) (* (- b a) 1/2)))

simplify4.3s

Counts
10 → 10
Iterations

Useful iterations: 4 (304.0ms)

IterNodesCost
031160
165160
2159140
3394119
4710116
51404116
64860116
done5001116

prune35.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cos 1) (log (sqrt (atan2 b b))))
2.0b
(log (sqrt (atan2 b b)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×log-prod
16×pow1 *-un-lft-identity
14×add-cube-cbrt
12×add-exp-log sqrt-prod
11×associate-*r* add-cbrt-cube
distribute-rgt-in distribute-lft-in
log-pow
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
sqrt-pow1 pow1/2
sub-neg associate-*r/ *-commutative
rem-sqrt-square flip3-- rem-log-exp flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
40.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))
14.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
2.0ms
(log (sqrt (atan2 b b)))

series440.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
12.0ms
(sqrt (atan2 b b))
169.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
75.0ms
(log (sqrt (atan2 b b)))

simplify1.8s

Counts
101 → 101
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
01191237
12401183
28421012
330491012
done50001012

prune213.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes1.0ms