Details

Time bar (total: 2.3m)

sample4.4s

Algorithm
intervals
Results
4.1s924×body10240exit
82.0ms256×body80valid

simplify3.5s

Counts
1 → 1
Iterations
IterNodes
65780
5821
4208
395
262
135
019

prune34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize67.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (atan2 x.im x.re) y.re)
0.3b
(* (atan2 x.im x.re) y.im)
0.3b
(* y.re (log (hypot x.re x.im)))
22.8b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity add-cube-cbrt
11×pow1
10×add-cbrt-cube associate-*r* add-exp-log
associate-*l*
log-prod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cos-sum log-pow fma-udef
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(* y.re (log (hypot x.re x.im)))
4.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series331.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (atan2 x.im x.re) y.re)
31.0ms
(* (atan2 x.im x.re) y.im)
107.0ms
(* y.re (log (hypot x.re x.im)))
164.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify2.6s

Counts
93 → 93
Iterations
IterNodes
42806
31272
2616
1284
0150

prune1.6s

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify3.0ms

Iterations
IterNodes
219
119
015

end0.0ms

sample2.1m

Algorithm
intervals
Results
2.0m30133×body10240exit
4.3s8000×body80valid