Details

Time bar (total: 13.8s)

analyze2.2s (16%)

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.4s (46.1%)

Results
2.6s2535×body1024invalid
2.1s7813×body128valid
696.0ms900×body512invalid
267.0ms178×body2048invalid
172.0ms177×body1024valid
171.0ms381×body256invalid
140.0ms529×body128invalid
91.0ms144×body512valid
49.0ms107×body256valid
23.0ms15×body2048valid
Compiler

Compiled 125 to 59 computations (52.8% saved)

simplify70.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

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
7.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
34.3b
(*.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))))
10.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
Compiler

Compiled 206 to 96 computations (53.4% saved)

localize15.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.6b
(*.f64 y.re (atan2.f64 x.im x.re))
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
35.2b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series542.0ms (3.9%)

Counts
4 → 96
Calls

4 calls:

419.0ms
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
109.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
6.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:

5.0ms
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
3.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
3.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
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))))

simplify203.0ms (1.5%)

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

prune434.0ms (3.1%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New26112273
Fresh101
Picked101
Done000
Total26312275
Error
4.5b
Counts
275 → 12
Alt Table
StatusErrorProgram
10.8b
(*.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)))))))
22.9b
(*.f64 (fma.f64 (/.f64 (log.f64 (hypot.f64 x.im x.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) y.re (pow.f64 (exp.f64 y.im) (neg.f64 (atan2.f64 x.im x.re)))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
39.8b
(*.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))))
10.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 (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))))))
19.7b
(*.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)))
10.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 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
51.6b
(*.f64 (-.f64 (fma.f64 1/2 (*.f64 (/.f64 (*.f64 (*.f64 x.re x.re) y.re) (*.f64 x.im x.im)) (/.f64 (pow.f64 (/.f64 -1 x.im) (neg.f64 y.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (fma.f64 1/8 (*.f64 (/.f64 (*.f64 (pow.f64 x.re 4) (*.f64 y.re y.re)) (pow.f64 x.im 4)) (/.f64 (pow.f64 (/.f64 -1 x.im) (neg.f64 y.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (/.f64 (pow.f64 (/.f64 -1 x.im) (neg.f64 y.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))))) (*.f64 1/4 (*.f64 (/.f64 (*.f64 (pow.f64 x.re 4) y.re) (pow.f64 x.im 4)) (/.f64 (pow.f64 (/.f64 -1 x.im) (neg.f64 y.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
42.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 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
30.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log.f64 (exp.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
48.2b
(*.f64 (fma.f64 1/2 (/.f64 (*.f64 (*.f64 x.re x.re) (*.f64 y.re (pow.f64 x.im y.re))) (*.f64 (*.f64 x.im x.im) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (/.f64 (pow.f64 x.im y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
4.8b
(*.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)))))
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)))))
Compiler

Compiled 16021 to 5144 computations (67.9% saved)

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (log.f64 (hypot.f64 x.re x.im)) y.re)
1.6b
(*.f64 y.re (atan2.f64 x.im x.re))
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
35.2b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series554.0ms (4%)

Counts
1 → 36
Calls

1 calls:

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

simplify57.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

prune422.0ms (3.1%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2012203
Fresh2911
Picked011
Done000
Total20312215
Error
4.5b
Counts
215 → 12
Alt Table
StatusErrorProgram
10.8b
(*.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)))))))
22.9b
(*.f64 (fma.f64 (/.f64 (log.f64 (hypot.f64 x.im x.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) y.re (pow.f64 (exp.f64 y.im) (neg.f64 (atan2.f64 x.im x.re)))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
39.8b
(*.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.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 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.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 (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))))))
19.7b
(*.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)))
30.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log.f64 (exp.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
48.2b
(*.f64 (fma.f64 1/2 (/.f64 (*.f64 (*.f64 x.re x.re) (*.f64 y.re (pow.f64 x.im y.re))) (*.f64 (*.f64 x.im x.im) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (/.f64 (pow.f64 x.im y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
50.3b
(*.f64 (exp.f64 (-.f64 (fma.f64 1/2 (/.f64 (*.f64 y.re (*.f64 x.re x.re)) (*.f64 x.im x.im)) (*.f64 y.re (-.f64 (/.f64 (*.f64 (pow.f64 x.re 4) -1/4) (pow.f64 x.im 4)) (log.f64 (/.f64 -1 x.im))))) (*.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)))))
4.8b
(*.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)))))
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.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 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
Compiler

Compiled 10736 to 3565 computations (66.8% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))
1.2b
(*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
35.2b
(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)))))

series533.0ms (3.9%)

Counts
3 → 120
Calls

3 calls:

420.0ms
(*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))
90.0ms
(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)))))
22.0ms
(*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))

rewrite15.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×add-exp-log_binary64
17×pow1_binary64
10×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
cbrt-unprod_binary64
Counts
3 → 58
Calls

3 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))
4.0ms
(*.f64 (cbrt.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 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))

simplify110.0ms (0.8%)

Algorithm
egg-herbie
Rules
679×fma-def_binary64
487×associate-*r*_binary64
344×associate-*l*_binary64
271×*-commutative_binary64
256×unswap-sqr_binary64
Counts
178 → 145
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03855027
111054594
238164587
350714587

prune310.0ms (2.3%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1760176
Fresh01010
Picked011
Done011
Total17612188
Error
4.5b
Counts
188 → 12
Alt Table
StatusErrorProgram
10.8b
(*.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)))))))
22.9b
(*.f64 (fma.f64 (/.f64 (log.f64 (hypot.f64 x.im x.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) y.re (pow.f64 (exp.f64 y.im) (neg.f64 (atan2.f64 x.im x.re)))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
39.8b
(*.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.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 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.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 (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))))))
19.7b
(*.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)))
30.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log.f64 (exp.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
48.2b
(*.f64 (fma.f64 1/2 (/.f64 (*.f64 (*.f64 x.re x.re) (*.f64 y.re (pow.f64 x.im y.re))) (*.f64 (*.f64 x.im x.im) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (/.f64 (pow.f64 x.im y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
50.3b
(*.f64 (exp.f64 (-.f64 (fma.f64 1/2 (/.f64 (*.f64 y.re (*.f64 x.re x.re)) (*.f64 x.im x.im)) (*.f64 y.re (-.f64 (/.f64 (*.f64 (pow.f64 x.re 4) -1/4) (pow.f64 x.im 4)) (log.f64 (/.f64 -1 x.im))))) (*.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)))))
4.8b
(*.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)))))
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.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 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
Compiler

Compiled 9730 to 2885 computations (70.3% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.6b
(*.f64 y.re (atan2.f64 x.im x.re))
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
9.2b
(cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
35.1b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))))))

series739.0ms (5.4%)

Counts
2 → 84
Calls

2 calls:

653.0ms
(cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
86.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))))))

rewrite4.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
2 → 21
Calls

2 calls:

2.0ms
(cbrt.f64 (*.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 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))))))

simplify104.0ms (0.8%)

Algorithm
egg-herbie
Rules
654×fma-def_binary64
531×cancel-sign-sub-inv_binary64
360×associate-*r*_binary64
232×*-commutative_binary64
226×sub-neg_binary64
Counts
105 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03504369
110304050
233904014
349314014

prune327.0ms (2.4%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh099
Picked011
Done022
Total23112243
Error
4.5b
Counts
243 → 12
Alt Table
StatusErrorProgram
10.8b
(*.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)))))))
22.9b
(*.f64 (fma.f64 (/.f64 (log.f64 (hypot.f64 x.im x.re)) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) y.re (pow.f64 (exp.f64 y.im) (neg.f64 (atan2.f64 x.im x.re)))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
39.8b
(*.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.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 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
10.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 (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))))))
19.7b
(*.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)))
30.2b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (log.f64 (exp.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
48.2b
(*.f64 (fma.f64 1/2 (/.f64 (*.f64 (*.f64 x.re x.re) (*.f64 y.re (pow.f64 x.im y.re))) (*.f64 (*.f64 x.im x.im) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (/.f64 (pow.f64 x.im y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
50.3b
(*.f64 (exp.f64 (-.f64 (fma.f64 1/2 (/.f64 (*.f64 y.re (*.f64 x.re x.re)) (*.f64 x.im x.im)) (*.f64 y.re (-.f64 (/.f64 (*.f64 (pow.f64 x.re 4) -1/4) (pow.f64 x.im 4)) (log.f64 (/.f64 -1 x.im))))) (*.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)))))
4.8b
(*.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)))))
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.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 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
Compiler

Compiled 12791 to 3050 computations (76.2% saved)

regimes438.0ms (3.2%)

Accuracy

Total 0.3b remaining (7%)

Threshold costs 0.3b (7%)

Counts
63 → 1
Compiler

Compiled 11132 to 6160 computations (44.7% 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

end252.0ms (1.8%)

Compiler

Compiled 522 to 262 computations (49.8% saved)

Profiling

Loading profile data...