Details

Time bar (total: 1.7s)

sample363.0ms

Algorithm
intervals
Results
42.0ms71×body1280valid
23.0ms266×body80valid
16.0ms42×body640valid
5.0ms19×body320valid
2.0ms12×body160valid

simplify351.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01937
13526
26325
39825
421525
587225
done500025

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
1.1b
(* (atan2 x.im x.re) y.im)
1.2b
(* (atan2 x.im x.re) y.re)
32.1b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt
13×add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* cbrt-unprod
cbrt-undiv pow-prod-down *-commutative unswap-sqr
pow-to-exp cos-sum frac-2neg pow-exp clear-num fma-udef div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
5.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series529.0ms

Counts
4 → 12
Calls
4 calls:
327.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
17.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(* (atan2 x.im x.re) y.re)
168.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify374.0ms

Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
01491444
13261414
210531207