Details

Time bar (total: 2.3m)

sample5.1s

Algorithm
intervals
Results
4.8s1047×body10240exit
78.0ms256×body80valid

simplify2.9s

Counts
1 → 1
Iterations
IterNodes
65712
5823
4210
395
262
135
019

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.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:
14.0ms
(* y.re (log (hypot x.re x.im)))
12.0ms
(* (atan2 x.im x.re) y.im)
12.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series354.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* y.re (log (hypot x.re x.im)))
26.0ms
(* (atan2 x.im x.re) y.im)
18.0ms
(* (atan2 x.im x.re) y.re)
202.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.5s

Counts
93 → 93
Iterations
IterNodes
42908
31356
2631
1285
0150

prune1.8s

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify4.0ms

Iterations
IterNodes
219
119
015

end0.0ms

sample2.1m

Algorithm
intervals
Results
2.0m30970×body10240exit
3.2s8000×body80valid