Details

Time bar (total: 22.3s)

analyze3.7s (16.7%)

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
49%50.8%0.2%13
50.1%49.7%0.2%14
Compiler

Compiled 42 to 20 computations (52.4% saved)

sample361.0ms (1.6%)

Algorithm
intervals
Results
117.0ms80×body1024invalid
68.0ms240×body128valid
31.0ms34×body512invalid
18.0msbody2048invalid
15.0msbody1024valid
7.0ms12×body256invalid
5.0ms17×body128invalid
3.0msbody2048valid
3.0msbody512valid
2.0msbody256valid
Compiler

Compiled 87 to 43 computations (50.6% saved)

simplify87.0ms (0.4%)

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
02252
14150
27250
312050
426550
599850
6304550
7408750
8454350
9486850
10493450

prune10.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
5.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
7.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 y.re (atan2.f64 x.im x.re)))))
29.8b
(*.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)

localize33.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)))
0.7b
(*.f64 y.re (atan2.f64 x.im x.re))
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
31.7b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

rewrite33.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:

8.0ms
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
5.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
2.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

series1.3s (5.9%)

Counts
4 → 96
Calls

4 calls:

1.0s
(/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
213.0ms
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))
48.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
41.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify593.0ms (2.7%)

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 → 345
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
070111429
1218310566
2452210506
3495110506
4487510506

prune969.0ms (4.3%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New33114345
Fresh101
Picked101
Done000
Total33314347
Error
3.8b
Counts
347 → 14
Alt Table
StatusErrorProgram
7.9b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) 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)))))
8.3b
(*.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)))))
8.1b
(*.f64 (cbrt.f64 (pow.f64 (/.f64 (pow.f64 (hypot.f64 x.im x.re) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) 3)) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
38.1b
(*.f64 (+.f64 (/.f64 1 (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) (/.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) 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)))))
40.4b
(*.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)))))
14.3b
(*.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)))))
38.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 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im))))
19.3b
(*.f64 (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)))))
41.0b
(*.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 (sqrt.f64 y.re) (*.f64 (sqrt.f64 y.re) (atan2.f64 x.im x.re))))))
8.1b
(*.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))))))
32.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
8.4b
(*.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)))))))
20.4b
(*.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)))
20.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (-.f64 (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)))) (fma.f64 1/2 (*.f64 (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 2) (*.f64 (pow.f64 y.im 2) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))) (*.f64 1/6 (*.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 (pow.f64 y.im 3) (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 3)))))))
Compiler

Compiled 16006 to 5407 computations (66.2% saved)

localize41.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))
0.7b
(*.f64 y.re (atan2.f64 x.im x.re))
1.5b
(*.f64 y.im (atan2.f64 x.im x.re))
31.7b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

rewrite26.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
30×times-frac_binary64
29×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64
27×add-cube-cbrt_binary64
24×unpow-prod-down_binary64
Counts
2 → 79
Calls

2 calls:

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

series1.1s (5%)

Counts
2 → 44
Calls

2 calls:

1.1s
(/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))
45.0ms
(*.f64 y.im (atan2.f64 x.im x.re))

simplify336.0ms (1.5%)

Algorithm
egg-herbie
Rules
545×fma-def_binary64
300×unswap-sqr_binary64
273×cancel-sign-sub-inv_binary64
241×fma-neg_binary64
217×associate-*r*_binary64
Counts
123 → 217
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02765197
17035026
227274801
349004801
449814801

prune1.1s (4.9%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New3213324
Fresh21113
Picked101
Done000
Total32414338
Error
3.8b
Counts
338 → 14
Alt Table
StatusErrorProgram
8.1b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (cbrt.f64 (pow.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) 3))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
8.3b
(*.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)))))
40.4b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
14.3b
(*.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)))))
38.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 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im))))
38.1b
(*.f64 (+.f64 (/.f64 1 (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) (/.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) 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)))))
19.3b
(*.f64 (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)))))
7.9b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) 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)))))
41.0b
(*.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 (sqrt.f64 y.re) (*.f64 (sqrt.f64 y.re) (atan2.f64 x.im x.re))))))
8.1b
(*.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))))))
32.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
8.4b
(*.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)))))))
20.4b
(*.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)))
20.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (-.f64 (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)))) (fma.f64 1/2 (*.f64 (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 2) (*.f64 (pow.f64 y.im 2) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))) (*.f64 1/6 (*.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 (pow.f64 y.im 3) (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 3)))))))
Compiler

Compiled 15691 to 4330 computations (72.4% saved)

localize47.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
0.7b
(*.f64 y.re (atan2.f64 x.im x.re))
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
31.7b
(sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))

rewrite22.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
39×times-frac_binary64
36×sqrt-prod_binary64
36×unpow-prod-down_binary64
31×*-un-lft-identity_binary64
31×add-sqr-sqrt_binary64
Counts
1 → 71
Calls

1 calls:

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

series1.5s (6.9%)

Counts
1 → 48
Calls

1 calls:

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

simplify263.0ms (1.2%)

Algorithm
egg-herbie
Rules
546×times-frac_binary64
518×associate-/l*_binary64
431×associate-*r*_binary64
316×associate-/r*_binary64
265×associate-*l*_binary64
Counts
119 → 235
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04317993
113227729
252517729

prune1.2s (5.4%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New4963499
Fresh21113
Picked101
Done000
Total49914513
Error
3.8b
Counts
513 → 14
Alt Table
StatusErrorProgram
8.1b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (cbrt.f64 (pow.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) 3))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
8.3b
(*.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)))))
14.3b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (pow.f64 (pow.f64 (hypot.f64 x.re x.im) 1/4) 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)))))
19.3b
(*.f64 (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)))))
40.4b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
20.4b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (cbrt.f64 (*.f64 (*.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (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))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
38.5b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) 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))))
38.1b
(*.f64 (+.f64 (/.f64 1 (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) (/.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) 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)))))
41.0b
(*.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 (sqrt.f64 y.re) (*.f64 (sqrt.f64 y.re) (atan2.f64 x.im x.re))))))
8.1b
(*.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))))))
32.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
8.4b
(*.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)))))))
20.4b
(*.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)))
20.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (-.f64 (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)))) (fma.f64 1/2 (*.f64 (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 2) (*.f64 (pow.f64 y.im 2) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))) (*.f64 1/6 (*.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 (pow.f64 y.im 3) (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 3)))))))
Compiler

Compiled 22924 to 6542 computations (71.5% saved)

localize42.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 y.re)
0.7b
(*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
31.3b
(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)))))

rewrite22.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×add-exp-log_binary64
15×pow1_binary64
add-cbrt-cube_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
3 → 47
Calls

3 calls:

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

series640.0ms (2.9%)

Counts
3 → 96
Calls

3 calls:

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

simplify246.0ms (1.1%)

Algorithm
egg-herbie
Rules
691×fma-def_binary64
479×associate-*r*_binary64
328×associate-*l*_binary64
257×*-commutative_binary64
250×unswap-sqr_binary64
Counts
143 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03795605
110965156
237705150
350715150

prune493.0ms (2.2%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New3371338
Fresh01313
Picked011
Done000
Total33715352
Error
3.8b
Counts
352 → 15
Alt Table
StatusErrorProgram
8.1b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (cbrt.f64 (pow.f64 (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) 3))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
8.3b
(*.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)))))
8.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 y.re)) (cbrt.f64 (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re))) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))))
19.3b
(*.f64 (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)))))
14.3b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (pow.f64 (pow.f64 (hypot.f64 x.re x.im) 1/4) 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)))))
40.4b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))
20.4b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))))) (cbrt.f64 (*.f64 (*.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (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))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))))))
38.5b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x.im x.re)) y.re) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) y.re) (/.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x.im x.re))) 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))))
38.1b
(*.f64 (+.f64 (/.f64 1 (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re)))) (/.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) 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)))))
41.0b
(*.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 (sqrt.f64 y.re) (*.f64 (sqrt.f64 y.re) (atan2.f64 x.im x.re))))))
8.1b
(*.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))))))
32.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 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (sqrt.f64 (*.f64 y.re (atan2.f64 x.im x.re)))))))
8.4b
(*.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)))))))
20.4b
(*.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)))
20.1b
(*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (-.f64 (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)))) (fma.f64 1/2 (*.f64 (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 2) (*.f64 (pow.f64 y.im 2) (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))))) (*.f64 1/6 (*.f64 (cos.f64 (*.f64 y.re (atan2.f64 x.im x.re))) (*.f64 (pow.f64 y.im 3) (pow.f64 (log.f64 (hypot.f64 x.im x.re)) 3)))))))
Compiler

Compiled 8607 to 2733 computations (68.2% saved)

regimes1.2s (5.5%)

Accuracy

Total 3.0b remaining (48.9%)

Threshold costs 0b (0%)

Compiler

Compiled 18932 to 9480 computations (49.9% saved)

bsearch12.0ms (0.1%)

Compiler

Compiled 41 to 19 computations (53.7% saved)

simplify15.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
040221
158221
267221
372221
474221
574221

end2.0ms (0%)

Compiler

Compiled 115 to 35 computations (69.6% saved)

sample6.9s (30.7%)

Algorithm
intervals
Results
2.6s2440×body1024invalid
1.6s7591×body128valid
636.0ms933×body512invalid
312.0ms181×body2048invalid
189.0ms176×body1024valid
163.0ms363×body256invalid
114.0ms494×body128invalid
88.0ms138×body512valid
35.0ms80×body256valid
28.0ms15×body2048valid
Compiler

Compiled 815 to 367 computations (55% saved)

Profiling

Loading profile data...