Details

Time bar (total: 15.5s)

analyze2.4s (15.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
48.9%50.9%0.2%13
50%49.7%0.2%14
Compiler

Compiled 42 to 20 computations (52.4% saved)

sample6.5s (41.9%)

Results
2.8s2649×body1024invalid
2.1s7837×body128valid
606.0ms916×body512invalid
263.0ms185×body2048invalid
149.0ms160×body1024valid
148.0ms329×body256invalid
121.0ms20×body2048valid
115.0ms470×body128invalid
104.0ms156×body512valid
36.0ms83×body256valid
Compiler

Compiled 125 to 59 computations (52.8% saved)

simplify71.0ms (0.5%)

Algorithm
egg-herbie
Rules
892×unswap-sqr_binary64
461×associate-/l*_binary64
323×associate-/r*_binary64
296×associate-*l/_binary64
286×associate-*r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02040
13938
27038
311838
426338
599638
6304338
7408538
8454138
9486638
10493238

prune6.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
6.7b
Counts
3 → 2
Alt Table
StatusErrorProgram
10.7b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
33.9b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))))
Compiler

Compiled 206 to 96 computations (53.4% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
1.3b
(*.f64 y.re (atan2.f64 x.im x.re))
2.4b
(*.f64 (atan2.f64 x.im x.re) y.im)
33.8b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series673.0ms (4.3%)

Counts
4 → 96
Calls

4 calls:

547.0ms
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
111.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
7.0ms
(*.f64 y.re (atan2.f64 x.im x.re))

rewrite17.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
24×*-un-lft-identity_binary64
24×add-cube-cbrt_binary64
21×times-frac_binary64
12×unpow-prod-down_binary64
Counts
4 → 97
Calls

4 calls:

4.0ms
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
3.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
1.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

simplify212.0ms (1.4%)

Algorithm
egg-herbie
Rules
731×times-frac_binary64
680×associate-/l*_binary64
644×fma-def_binary64
277×*-commutative_binary64
143×cancel-sign-sub-inv_binary64
Counts
193 → 273
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
06999245
121818424
245208364
349568364
448808364

prune417.0ms (2.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New26112273
Fresh101
Picked101
Done000
Total26312275
Error
3.2b
Counts
275 → 12
Alt Table
StatusErrorProgram
11.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (*.f64 (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))) (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
11.4b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (fma.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 y.im (log.f64 (hypot.f64 x.im x.re))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))
10.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.7b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
43.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im))))
39.5b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
3.9b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.9b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))))
35.0b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
22.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3)))
24.3b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))
15.9b
(*.f64 (pow.f64 (hypot.f64 x.im x.re) y.re) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
Compiler

Compiled 15831 to 5034 computations (68.2% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re)
1.3b
(*.f64 y.re (atan2.f64 x.im x.re))
2.4b
(*.f64 (atan2.f64 x.im x.re) y.im)
33.8b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series727.0ms (4.7%)

Counts
1 → 36
Calls

1 calls:

727.0ms
(*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re)

rewrite4.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*l*_binary64
pow1_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
Counts
1 → 21
Calls

1 calls:

3.0ms
(*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re)

simplify59.0ms (0.4%)

Algorithm
egg-herbie
Rules
583×associate-/r/_binary64
506×associate-/l/_binary64
259×times-frac_binary64
249×fma-def_binary64
217×distribute-rgt-neg-in_binary64
Counts
57 → 74
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01191306
13351108
28281108
328181087
453911087

prune338.0ms (2.2%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2021203
Fresh11011
Picked101
Done000
Total20411215
Error
3.2b
Counts
215 → 11
Alt Table
StatusErrorProgram
10.9b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))))
17.6b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))
11.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (*.f64 (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))) (cbrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
11.4b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (fma.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 y.im (log.f64 (hypot.f64 x.im x.re))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))
10.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.7b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
43.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im))))
39.5b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
35.0b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
22.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3)))
15.9b
(*.f64 (pow.f64 (hypot.f64 x.im x.re) y.re) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
Compiler

Compiled 10630 to 3490 computations (67.2% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))
1.3b
(*.f64 y.re (atan2.f64 x.im x.re))
2.4b
(*.f64 (atan2.f64 x.im x.re) y.im)
33.8b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series109.0ms (0.7%)

Counts
1 → 48
Calls

1 calls:

108.0ms
(log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))

simplify83.0ms (0.5%)

Algorithm
egg-herbie
Rules
606×fma-def_binary64
529×cancel-sign-sub-inv_binary64
356×associate-*r*_binary64
226×times-frac_binary64
224×*-commutative_binary64
Counts
59 → 74
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03133791
19693472
232593468
348963468

prune350.0ms (2.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2021203
Fresh1910
Picked101
Done000
Total20410214
Error
3.2b
Counts
214 → 10
Alt Table
StatusErrorProgram
10.9b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))))
17.6b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))
11.4b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (fma.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 y.im (log.f64 (hypot.f64 x.im x.re))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))
11.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (*.f64 (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))) (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))))
10.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
43.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im))))
39.5b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
35.0b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
22.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3)))
15.9b
(*.f64 (pow.f64 (hypot.f64 x.im x.re) y.re) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
Compiler

Compiled 12882 to 4573 computations (64.5% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))
1.3b
(*.f64 y.re (atan2.f64 x.im x.re))
2.4b
(*.f64 (atan2.f64 x.im x.re) y.im)
33.8b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series1.2s (8%)

Counts
1 → 32
Calls

1 calls:

1.2s
(/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))

rewrite18.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
60×times-frac_binary64
44×*-un-lft-identity_binary64
44×add-sqr-sqrt_binary64
44×add-cube-cbrt_binary64
42×unpow-prod-down_binary64
Counts
1 → 92
Calls

1 calls:

6.0ms
(/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))

simplify189.0ms (1.2%)

Algorithm
egg-herbie
Rules
833×fma-def_binary64
323×unswap-sqr_binary64
309×cancel-sign-sub-inv_binary64
280×fma-neg_binary64
239×associate-*r*_binary64
Counts
124 → 174
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02945747
17015538
225775377
346995375
449765375
549635375

prune655.0ms (4.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3632365
Fresh189
Picked101
Done000
Total36510375
Error
3.2b
Counts
375 → 10
Alt Table
StatusErrorProgram
10.9b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))))
10.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (/.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))) (cbrt.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))))) (cbrt.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
17.6b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))
11.4b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (fma.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 y.im (log.f64 (hypot.f64 x.im x.re))) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))
11.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (*.f64 (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))) (cbrt.f64 (log1p.f64 (expm1.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))))
39.5b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
35.0b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (*.f64 (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (sqrt.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
22.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3)))
43.2b
(*.f64 (*.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (*.f64 (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.re x.im)) y.re) (cbrt.f64 (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 y.im (log.f64 (/.f64 -1 x.im))))))
15.9b
(*.f64 (pow.f64 (hypot.f64 x.im x.re) y.re) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
Compiler

Compiled 26364 to 4569 computations (82.7% saved)

regimes1.2s (7.6%)

Accuracy

Total 0.4b remaining (11.8%)

Threshold costs 0.4b (11.8%)

Counts
168 → 1
Compiler

Compiled 43747 to 18465 computations (57.8% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01640
12540
23540
34140
44540
54640
64640

end217.0ms (1.4%)

Compiler

Compiled 473 to 210 computations (55.6% saved)

Profiling

Loading profile data...