Time bar (total: 9.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 49.9% | 25.1% | 7 |
| 25% | 49.9% | 25.1% | 8 |
| 25% | 49.9% | 25.1% | 9 |
| 37.4% | 25% | 37.6% | 10 |
| 37.4% | 25% | 37.6% | 11 |
| 37.4% | 25% | 37.6% | 12 |
Compiled 32 to 21 computations (34.4% saved)
| 2.5s | 8256× | body | 256 | valid |
| 666.0ms | 2179× | body | 256 | invalid |
| 2× | egg-herbie |
| 801× | cube-prod_binary64 |
| 752× | fma-neg_binary64 |
| 678× | unswap-sqr_binary64 |
| 403× | fma-def_binary64 |
| 341× | associate-/l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 80 |
| 1 | 137 | 76 |
| 2 | 227 | 48 |
| 3 | 329 | 36 |
| 4 | 407 | 36 |
| 5 | 993 | 36 |
| 6 | 2435 | 36 |
| 7 | 3501 | 36 |
| 8 | 4106 | 36 |
| 9 | 4213 | 36 |
| 10 | 4415 | 36 |
| 11 | 4930 | 36 |
| 12 | 6811 | 36 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 re im) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im base) (log.f64 re)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 base base) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 re) (log.f64 re)) (*.f64 0 0))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 base re) (log.f64 im)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 base base)))) 0)) (+.f64 (*.f64 (log.f64 im) (log.f64 im)) (*.f64 0 0))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (fma.f64 (atan2.f64 im re) (log.f64 base) 0) (*.f64 (log.f64 base) (log.f64 base))) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (-.f64 (*.f64 (atan2.f64 re im) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (fma.f64 (atan2.f64 re im) (log.f64 base) 0) (*.f64 (log.f64 base) (log.f64 base))) |
(*.f64 (/.f64 (log.f64 base) (log.f64 base)) (/.f64 (atan2.f64 re im) (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 re im) (log.f64 base))) |
(/.f64 (atan2.f64 re im) (log.f64 base)) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im base) (log.f64 re)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 base base) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 re) (log.f64 re)) (*.f64 0 0))) |
(/.f64 (fma.f64 (atan2.f64 im base) (log.f64 re) 0) (*.f64 (log.f64 re) (log.f64 re))) |
(/.f64 (atan2.f64 im base) (/.f64 (*.f64 (log.f64 re) (log.f64 re)) (log.f64 re))) |
(/.f64 (atan2.f64 im base) (/.f64 (log.f64 re) 1)) |
(/.f64 (atan2.f64 im base) (log.f64 re)) |
(/.f64 (-.f64 (*.f64 (atan2.f64 base re) (log.f64 im)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 base base)))) 0)) (+.f64 (*.f64 (log.f64 im) (log.f64 im)) (*.f64 0 0))) |
(/.f64 (fma.f64 (atan2.f64 base re) (log.f64 im) 0) (*.f64 (log.f64 im) (log.f64 im))) |
(/.f64 (atan2.f64 base re) (/.f64 (*.f64 (log.f64 im) (log.f64 im)) (log.f64 im))) |
(/.f64 (atan2.f64 base re) (/.f64 (log.f64 im) 1)) |
(/.f64 (atan2.f64 base re) (log.f64 im)) |
Compiled 34 to 23 computations (32.4% saved)
| 1× | egg-herbie |
| 877× | fma-def_binary64 |
| 692× | fma-neg_binary64 |
| 640× | cube-prod_binary64 |
| 454× | associate-/l*_binary64 |
| 447× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 20 |
| 1 | 41 | 19 |
| 2 | 68 | 12 |
| 3 | 94 | 9 |
| 4 | 115 | 9 |
| 5 | 273 | 9 |
| 6 | 1067 | 9 |
| 7 | 2495 | 9 |
| 8 | 3545 | 9 |
| 9 | 5304 | 9 |
| 10 | 5909 | 9 |
| 11 | 6994 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (fma.f64 (atan2.f64 im re) (log.f64 base) 0) (*.f64 (log.f64 base) (log.f64 base))) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base))) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 37 to 21 computations (43.2% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 30.9b | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| ▶ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 40 to 26 computations (35% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| ✓ | 0.3b | (*.f64 (atan2.f64 im re) (log.f64 base)) |
| ✓ | 0.5b | (*.f64 (log.f64 base) (log.f64 base)) |
| ✓ | 28.7b | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
Compiled 122 to 33 computations (73% saved)
27 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 23.0ms | base | @ | 0 | (*.f64 (log.f64 base) (log.f64 base)) |
| 22.0ms | base | @ | -inf | (*.f64 (log.f64 base) (log.f64 base)) |
| 12.0ms | im | @ | 0 | (*.f64 (atan2.f64 im re) (log.f64 base)) |
| 6.0ms | base | @ | inf | (*.f64 (log.f64 base) (log.f64 base)) |
| 6.0ms | base | @ | -inf | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| 1× | batch-egg-rewrite |
| 598× | prod-diff_binary64 |
| 354× | fma-def_binary64 |
| 299× | fma-neg_binary64 |
| 251× | expm1-udef_binary64 |
| 251× | log1p-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 37 |
| 1 | 414 | 28 |
| 2 | 5058 | 28 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (hypot.f64 re im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 re im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2) (cbrt.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 re im)) (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2) 2)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (hypot.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2) 2) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 (pow.f64 re 3) (pow.f64 im 3)) (sqrt.f64 (-.f64 (+.f64 (pow.f64 re 4) (pow.f64 im 4)) (pow.f64 (*.f64 re im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 re 4) (pow.f64 im 4))) (sqrt.f64 (-.f64 (*.f64 re re) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 re im) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 re im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 re im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 re im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 re im)))) (sqrt.f64 (log.f64 (hypot.f64 re im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2)) (cbrt.f64 (log.f64 (hypot.f64 re im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (hypot.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (hypot.f64 re im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 re im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 re im)))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 im re)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 re im))) 1/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (log.f64 base) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (log.f64 base) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (log.f64 base) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 4) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 2) (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) 4) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) 6) (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (log.f64 base) 6)) (neg.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (log.f64 base) 4)) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (log.f64 base) 4)) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 base) (log.f64 base) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (log.f64 base) 2) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (log.f64 base) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (log.f64 base) 4) (pow.f64 (log.f64 base) -2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (log.f64 base) 6) (/.f64 1 (pow.f64 (log.f64 base) 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (cbrt.f64 (pow.f64 (log.f64 base) 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (log.f64 base) 4)) (pow.f64 (cbrt.f64 (log.f64 base)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 base)) (*.f64 (sqrt.f64 (log.f64 base)) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)) 0))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)) (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) 1) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2)) (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (pow.f64 base (atan2.f64 im re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (pow.f64 base (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 base) (atan2.f64 im re) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 base) (atan2.f64 im re) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 base) (atan2.f64 im re) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan2.f64 im re) (log.f64 base) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan2.f64 im re) (log.f64 base) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (atan2.f64 im re) (log.f64 base) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 1 (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 1 (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (/.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (/.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (/.f64 1 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 base)) (*.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 base)) (*.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 base)) (*.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (/.f64 1 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (/.f64 1 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (/.f64 1 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (*.f64 (log.f64 base) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)) (neg.f64 (/.f64 0 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)) (neg.f64 (/.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (log.f64 base)) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 6)) (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (log.f64 base)) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (log.f64 base) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (log.f64 base) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 6)) (pow.f64 (log.f64 base) 4) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2) 0))))) |
| 1× | egg-herbie |
| 760× | associate-*l/_binary64 |
| 610× | associate-*r/_binary64 |
| 439× | cancel-sign-sub-inv_binary64 |
| 373× | *-commutative_binary64 |
| 334× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 86 | 1185 |
| 1 | 242 | 1174 |
| 2 | 657 | 1174 |
| 3 | 2597 | 1174 |
| 4 | 7115 | 1174 |
| 1× | node limit |
| Inputs |
|---|
im |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) im))) |
re |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) re) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(*.f64 -1 re) |
(+.f64 (*.f64 -1 re) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))))) |
re |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) re) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
im |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) im))) |
(*.f64 -1 im) |
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im))) |
(+.f64 (*.f64 -1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)))) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
| Outputs |
|---|
im |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im) |
(fma.f64 1/2 (/.f64 (*.f64 re re) im) im) |
(fma.f64 1/2 (/.f64 re (/.f64 im re)) im) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) im) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 re (/.f64 re im)) im)) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) im)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) im))) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 1/2 (/.f64 re (/.f64 im re)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
re |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) re) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) re) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) re) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (fma.f64 1/2 (/.f64 (*.f64 im im) re) re) (/.f64 (*.f64 -1/8 (pow.f64 im 4)) (pow.f64 re 3))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re)) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (+.f64 re (/.f64 (*.f64 -1/8 (pow.f64 im 4)) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) re))) |
(*.f64 -1 re) |
(neg.f64 re) |
(+.f64 (*.f64 -1 re) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))) |
(fma.f64 -1 re (*.f64 (/.f64 (*.f64 im im) re) -1/2)) |
(-.f64 (*.f64 (/.f64 (*.f64 im im) re) -1/2) re) |
(-.f64 (*.f64 (/.f64 -1/2 re) (*.f64 im im)) re) |
(-.f64 (*.f64 (*.f64 im im) (/.f64 -1/2 re)) re) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))) |
(fma.f64 -1 re (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2))) |
(-.f64 (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8)) re) |
(fma.f64 (*.f64 (/.f64 im re) im) -1/2 (-.f64 (*.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8) re)) |
(-.f64 (*.f64 (*.f64 im im) (/.f64 -1/2 re)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))))) |
(fma.f64 -1 re (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))) |
(-.f64 (fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))) re) |
(-.f64 (fma.f64 (*.f64 (/.f64 im re) im) -1/2 (fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))) re) |
(-.f64 (fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (*.f64 (*.f64 im im) (/.f64 -1/2 re))) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) re)) |
(fma.f64 (*.f64 im im) (/.f64 -1/2 re) (-.f64 (*.f64 (pow.f64 im 6) (/.f64 -1/16 (pow.f64 re 5))) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re))) |
re |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) re) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) re) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) re) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (fma.f64 1/2 (/.f64 (*.f64 im im) re) re) (/.f64 (*.f64 -1/8 (pow.f64 im 4)) (pow.f64 re 3))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re)) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 re (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (+.f64 re (/.f64 (*.f64 -1/8 (pow.f64 im 4)) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) re))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) re))) |
im |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im) |
(fma.f64 1/2 (/.f64 (*.f64 re re) im) im) |
(fma.f64 1/2 (/.f64 re (/.f64 im re)) im) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) im) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) im)) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 re (/.f64 re im)) im)) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) im)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) im))) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 1/2 (/.f64 re (/.f64 im re)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(fma.f64 1/2 (*.f64 re (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) im))) |
(*.f64 -1 im) |
(neg.f64 im) |
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)) |
(fma.f64 -1/2 (/.f64 (*.f64 re re) im) (neg.f64 im)) |
(-.f64 (*.f64 (/.f64 re (/.f64 im re)) -1/2) im) |
(-.f64 (*.f64 (/.f64 -1/2 im) (*.f64 re re)) im) |
(-.f64 (/.f64 (*.f64 re re) (/.f64 im -1/2)) im) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im))) |
(fma.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 -1/2 (/.f64 (*.f64 re re) im) (neg.f64 im))) |
(fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (-.f64 (*.f64 (/.f64 re (/.f64 im re)) -1/2) im)) |
(fma.f64 (/.f64 re (/.f64 im re)) -1/2 (-.f64 (/.f64 (pow.f64 re 4) (/.f64 (pow.f64 im 3) 1/8)) im)) |
(-.f64 (/.f64 (*.f64 (pow.f64 re 4) 1/8) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 re (/.f64 re im)) im)) |
(+.f64 (*.f64 -1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5))) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)))) |
(fma.f64 -1/16 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) (fma.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 -1/2 (/.f64 (*.f64 re re) im) (neg.f64 im)))) |
(fma.f64 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) -1/16 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (-.f64 (*.f64 (/.f64 re (/.f64 im re)) -1/2) im))) |
(fma.f64 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) -1/16 (fma.f64 (/.f64 re (/.f64 im re)) -1/2 (-.f64 (/.f64 (pow.f64 re 4) (/.f64 (pow.f64 im 3) 1/8)) im))) |
(-.f64 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (*.f64 (pow.f64 re 6) (/.f64 -1/16 (pow.f64 im 5)))) (fma.f64 1/2 (*.f64 re (/.f64 re im)) im)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 17 to 6 computations (64.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.0ms | base | @ | -inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.0ms | im | @ | -inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.0ms | im | @ | inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.0ms | re | @ | -inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 1× | batch-egg-rewrite |
| 702× | pow1_binary64 |
| 643× | add-log-exp_binary64 |
| 643× | log1p-expm1-u_binary64 |
| 643× | expm1-log1p-u_binary64 |
| 628× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 139 | 9 |
| 2 | 1734 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 749× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 606× | associate--r-_binary64 |
| 497× | fma-def_binary64 |
| 424× | associate--l-_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 104 |
| 1 | 31 | 104 |
| 2 | 44 | 96 |
| 3 | 90 | 72 |
| 4 | 195 | 72 |
| 5 | 597 | 72 |
| 6 | 2428 | 72 |
| 7 | 4923 | 72 |
| 8 | 6199 | 72 |
| 9 | 6457 | 72 |
| 10 | 6593 | 72 |
| 11 | 6701 | 72 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
| Outputs |
|---|
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 7965 to 3055 computations (61.6% saved)
20 alts after pruning (19 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 269 | 19 | 288 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 0 | 1 |
| Total | 270 | 20 | 290 |
| Status | Error | Program |
|---|---|---|
| 29.8b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 0.5b | (*.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2)))) | |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) | |
| ▶ | 0.6b | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| 31.1b | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (cbrt.f64 (pow.f64 (log.f64 base) 6)) (*.f64 0 0))) | |
| 33.6b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| 0.7b | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 6)) (pow.f64 (log.f64 base) 4)) | |
| 1.0b | (*.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 2))) | |
| 1.3b | (*.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2))) | |
| 30.5b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ▶ | 6.4b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
| 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) | |
| 1.7b | (*.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))) | |
| ▶ | 0.4b | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| ▶ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 1.1b | (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) | |
| 6.3b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| ▶ | 0.4b | (neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2)))) |
| 14.5b | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
Compiled 623 to 426 computations (31.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| ✓ | 0.3b | (*.f64 (log.f64 base) (atan2.f64 im re)) |
| ✓ | 0.5b | (pow.f64 (log.f64 base) 2) |
Compiled 52 to 21 computations (59.6% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| 1.0ms | base | @ | inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| 1.0ms | base | @ | 0 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| 1.0ms | re | @ | -inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| 1.0ms | re | @ | inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| 1× | batch-egg-rewrite |
| 524× | log-prod_binary64 |
| 412× | exp-prod_binary64 |
| 285× | pow-prod-down_binary64 |
| 257× | pow2_binary64 |
| 196× | pow-unpow_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 34 |
| 1 | 228 | 32 |
| 2 | 2993 | 24 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) 2) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 base (log.f64 base))) 2)) (log.f64 (cbrt.f64 (pow.f64 base (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 base (log.f64 base)))) (log.f64 (sqrt.f64 (pow.f64 base (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (log.f64 base) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4) (neg.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 base)) (pow.f64 (log.f64 base) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (log.f64 base)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 3/2) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 5) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (log.f64 base)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (log.f64 base) 6)) (+.f64 0 (+.f64 (pow.f64 (log.f64 base) 4) (*.f64 0 (pow.f64 (log.f64 base) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 base (atan2.f64 im re))) 2)) (log.f64 (cbrt.f64 (pow.f64 base (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 base (atan2.f64 im re)))) (log.f64 (sqrt.f64 (pow.f64 base (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 2)) (cbrt.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))) (sqrt.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (pow.f64 base (atan2.f64 im re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (pow.f64 base (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (/.f64 1 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (log.f64 base)) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) -1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) -1) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) -1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) -1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (log.f64 base)) 1) (log.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (*.f64 2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re)))) (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (atan2.f64 im re)) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 (log.f64 (log.f64 base)) 1))))))) |
| 1× | egg-herbie |
| 788× | fma-neg_binary64 |
| 485× | associate-*l*_binary64 |
| 472× | fma-def_binary64 |
| 302× | unsub-neg_binary64 |
| 292× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 564 |
| 1 | 55 | 564 |
| 2 | 112 | 532 |
| 3 | 302 | 516 |
| 4 | 1115 | 516 |
| 5 | 4384 | 516 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| Outputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (neg.f64 (log.f64 base)) 2) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) 2) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 1 (log.f64 base)) |
| ✓ | 0.3b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
Compiled 24 to 11 computations (54.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | inf | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | -inf | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | 0 | (/.f64 1 (log.f64 base)) |
| 0.0ms | im | @ | 0 | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 0.0ms | base | @ | -inf | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 779× | pow1_binary64 |
| 712× | add-log-exp_binary64 |
| 712× | log1p-expm1-u_binary64 |
| 712× | expm1-log1p-u_binary64 |
| 696× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 15 |
| 1 | 175 | 15 |
| 2 | 2031 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (atan2.f64 im re) -1) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (/.f64 1 (log.f64 base)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/2) (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (log.f64 base)) -1) (pow.f64 (sqrt.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (log.f64 base)))))))) |
| 1× | egg-herbie |
| 748× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 596× | associate--r-_binary64 |
| 494× | fma-def_binary64 |
| 413× | associate--l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 388 |
| 1 | 34 | 388 |
| 2 | 47 | 372 |
| 3 | 92 | 372 |
| 4 | 196 | 372 |
| 5 | 598 | 372 |
| 6 | 2425 | 372 |
| 7 | 4939 | 372 |
| 8 | 6202 | 372 |
| 9 | 6464 | 372 |
| 10 | 6600 | 372 |
| 11 | 6708 | 372 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 0.6b | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| ✓ | 6.2b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
Compiled 35 to 12 computations (65.7% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| 1.0ms | im | @ | 0 | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| 1.0ms | im | @ | inf | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| 1.0ms | re | @ | inf | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| 1.0ms | im | @ | -inf | (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| 1× | batch-egg-rewrite |
| 895× | pow1_binary64 |
| 834× | add-log-exp_binary64 |
| 834× | log1p-expm1-u_binary64 |
| 834× | expm1-log1p-u_binary64 |
| 812× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 210 | 21 |
| 2 | 2331 | 21 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1/3) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2) 1/3) (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (log.f64 base) 2))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (atan2.f64 im re))) (neg.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (log.f64 base)) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (/.f64 1 (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) 3) (/.f64 1 (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 3) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (atan2.f64 im re)) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (neg.f64 (atan2.f64 im re)) 3) (pow.f64 (neg.f64 (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (atan2.f64 im re) 3)) (neg.f64 (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (atan2.f64 im re)) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (atan2.f64 im re)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1) (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) (neg.f64 (atan2.f64 im re))) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) |
| 1× | egg-herbie |
| 798× | div-sub_binary64 |
| 681× | fma-def_binary64 |
| 630× | associate-/l*_binary64 |
| 482× | distribute-neg-frac_binary64 |
| 393× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 864 |
| 1 | 68 | 864 |
| 2 | 225 | 864 |
| 3 | 1019 | 756 |
| 4 | 5023 | 756 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(*.f64 -1 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 (/.f64 1 base)) 3))) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.3b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.5b | (pow.f64 (log.f64 base) -2) |
Compiled 33 to 12 computations (63.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | 0 | (pow.f64 (log.f64 base) -2) |
| 1.0ms | base | @ | -inf | (pow.f64 (log.f64 base) -2) |
| 1.0ms | base | @ | inf | (pow.f64 (log.f64 base) -2) |
| 0.0ms | base | @ | inf | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.0ms | base | @ | -inf | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| 1× | batch-egg-rewrite |
| 906× | pow1_binary64 |
| 832× | add-log-exp_binary64 |
| 831× | log1p-expm1-u_binary64 |
| 831× | expm1-log1p-u_binary64 |
| 812× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 202 | 18 |
| 2 | 2340 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) -2) |
(*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (log.f64 base) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (cbrt.f64 (pow.f64 (log.f64 base) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -4)) (cbrt.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (log.f64 base) 2)) -2) (pow.f64 (cbrt.f64 (log.f64 base)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (log.f64 base)) -2) (pow.f64 (sqrt.f64 (log.f64 base)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (log.f64 base) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (/.f64 1 (log.f64 base))) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (log.f64 base) -2) 3) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (pow.f64 (log.f64 base) -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))))) |
| 1× | egg-herbie |
| 524× | unswap-sqr_binary64 |
| 482× | associate-*l*_binary64 |
| 449× | associate-*r*_binary64 |
| 419× | fma-def_binary64 |
| 321× | div-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 432 |
| 1 | 49 | 432 |
| 2 | 89 | 432 |
| 3 | 264 | 432 |
| 4 | 1117 | 432 |
| 5 | 5317 | 432 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 1 (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.4b | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| 0.5b | (pow.f64 (log.f64 base) 2) | |
| ✓ | 0.9b | (pow.f64 (log.f64 base) 4) |
Compiled 54 to 21 computations (61.1% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | base | @ | -inf | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| 1.0ms | base | @ | -inf | (pow.f64 (log.f64 base) 4) |
| 1.0ms | base | @ | 0 | (pow.f64 (log.f64 base) 4) |
| 1.0ms | base | @ | inf | (pow.f64 (log.f64 base) 4) |
| 0.0ms | base | @ | inf | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| 1× | batch-egg-rewrite |
| 639× | log-prod_binary64 |
| 406× | pow-prod-down_binary64 |
| 322× | pow2_binary64 |
| 251× | pow-unpow_binary64 |
| 226× | pow1/3_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 31 |
| 1 | 269 | 26 |
| 2 | 3225 | 23 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) 4) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (log.f64 base) 4))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (log.f64 base) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (log.f64 base) 4)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (log.f64 base) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (log.f64 base) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (pow.f64 (log.f64 base) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 2) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 3) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4) (cbrt.f64 (pow.f64 (log.f64 base) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) 8)) (pow.f64 (cbrt.f64 (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 base) 4) 5/6) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) 8))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) 12))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 4 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 4 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) 12)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4)) 3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) 2) (/.f64 (pow.f64 (log.f64 base) 3) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 4) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) 3) (/.f64 (pow.f64 (log.f64 base) 4) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3))) (neg.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (pow.f64 (log.f64 base) 2)) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) 1) (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (cbrt.f64 (pow.f64 (log.f64 base) 8))) (pow.f64 (cbrt.f64 (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) (pow.f64 (log.f64 base) 2)) (neg.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (log.f64 base) 2) (*.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) (neg.f64 (pow.f64 (log.f64 base) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (log.f64 base) (sqrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (log.f64 base) 4) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (pow.f64 (pow.f64 base (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (sqrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -3))))) 2)))))) |
| 1× | egg-herbie |
| 453× | times-frac_binary64 |
| 403× | unswap-sqr_binary64 |
| 347× | associate-*l*_binary64 |
| 336× | distribute-rgt-neg-out_binary64 |
| 295× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 388 |
| 1 | 41 | 388 |
| 2 | 62 | 388 |
| 3 | 143 | 372 |
| 4 | 619 | 372 |
| 5 | 3286 | 372 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (log.f64 (/.f64 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 4) |
(pow.f64 (neg.f64 (log.f64 base)) 4) |
(pow.f64 (log.f64 base) 4) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 7593 to 3146 computations (58.6% saved)
20 alts after pruning (16 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 478 | 15 | 493 |
| Fresh | 13 | 1 | 14 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 493 | 20 | 513 |
| Status | Error | Program |
|---|---|---|
| 34.7b | (*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base))))) | |
| ▶ | 32.4b | (sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) |
| 14.5b | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 29.8b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 34.5b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| 33.6b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 1.2b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) | |
| 30.5b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| ✓ | 6.4b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
| 6.3b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| 1.0b | (/.f64 (pow.f64 (log.f64 base) 3) (/.f64 (pow.f64 (log.f64 base) 4) (atan2.f64 im re))) | |
| 0.5b | (*.f64 (/.f64 1 (pow.f64 (log.f64 base) 2)) (*.f64 (log.f64 base) (atan2.f64 im re))) | |
| ▶ | 0.6b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| ▶ | 0.7b | (*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
| ▶ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| 0.7b | (/.f64 (pow.f64 (log.f64 base) 2) (/.f64 (pow.f64 (log.f64 base) 3) (atan2.f64 im re))) | |
| ▶ | 0.4b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| ✓ | 0.4b | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
Compiled 472 to 346 computations (26.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 0.3b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| 0.5b | (pow.f64 (log.f64 base) 2) |
Compiled 33 to 12 computations (63.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | base | @ | 0 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 0.0ms | base | @ | -inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 0.0ms | base | @ | inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 0.0ms | re | @ | -inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 0.0ms | im | @ | 0 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| 1× | batch-egg-rewrite |
| 505× | log-prod_binary64 |
| 392× | exp-prod_binary64 |
| 318× | prod-exp_binary64 |
| 289× | pow-prod-down_binary64 |
| 257× | pow2_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 17 |
| 1 | 205 | 17 |
| 2 | 2520 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (/.f64 1 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (log.f64 base)) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) 1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (atan2.f64 im re)) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (log.f64 base)) 1) (log.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (*.f64 2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (*.f64 -2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 -2 (log.f64 (log.f64 base))) (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1))))))) |
| 1× | egg-herbie |
| 802× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 599× | associate--r-_binary64 |
| 494× | fma-def_binary64 |
| 413× | associate--l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 324 |
| 1 | 32 | 324 |
| 2 | 45 | 324 |
| 3 | 90 | 324 |
| 4 | 195 | 324 |
| 5 | 595 | 324 |
| 6 | 2423 | 324 |
| 7 | 4970 | 324 |
| 8 | 6290 | 324 |
| 9 | 6550 | 324 |
| 10 | 6688 | 324 |
| 11 | 6796 | 324 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| ✓ | 0.5b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
Compiled 26 to 9 computations (65.4% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| 1.0ms | im | @ | inf | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| 1.0ms | re | @ | -inf | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| 1.0ms | im | @ | -inf | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| 1.0ms | re | @ | inf | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| 1× | batch-egg-rewrite |
| 859× | pow1_binary64 |
| 788× | add-log-exp_binary64 |
| 788× | log1p-expm1-u_binary64 |
| 788× | expm1-log1p-u_binary64 |
| 769× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 180 | 18 |
| 2 | 2218 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) -1) (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 (log.f64 base))) (neg.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (log.f64 base)) 1) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (log.f64 base)) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (log.f64 base)) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 base)) (*.f64 (sqrt.f64 (log.f64 base)) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (log.f64 base)) (/.f64 1 (neg.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 1) (/.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (log.f64 base)) 1) (/.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (log.f64 base)) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (/.f64 (sqrt.f64 (log.f64 base)) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (atan2.f64 im re))) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (sqrt.f64 (atan2.f64 im re))) (/.f64 (cbrt.f64 (log.f64 base)) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 747× | div-sub_binary64 |
| 686× | fma-def_binary64 |
| 635× | associate--r-_binary64 |
| 613× | fma-neg_binary64 |
| 419× | distribute-rgt-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 428 |
| 1 | 39 | 428 |
| 2 | 60 | 396 |
| 3 | 123 | 396 |
| 4 | 281 | 396 |
| 5 | 894 | 396 |
| 6 | 2865 | 396 |
| 7 | 5740 | 396 |
| 8 | 6980 | 396 |
| 9 | 7260 | 396 |
| 10 | 7443 | 396 |
| 11 | 7549 | 396 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ✓ | 5.0b | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 34 to 10 computations (70.6% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | im | @ | 0 | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 2.0ms | base | @ | inf | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 2.0ms | base | @ | -inf | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 2.0ms | im | @ | inf | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 2.0ms | im | @ | -inf | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 877× | pow1_binary64 |
| 816× | add-log-exp_binary64 |
| 816× | log1p-expm1-u_binary64 |
| 816× | expm1-log1p-u_binary64 |
| 796× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 208 | 20 |
| 2 | 2257 | 20 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2) (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (/.f64 1 (log.f64 base)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1/3) (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (neg.f64 (atan2.f64 im re))) (cbrt.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cbrt.f64 (atan2.f64 im re))) (neg.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2) 3) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) 3) (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 1) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (cbrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6)) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (atan2.f64 im re))) (neg.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (atan2.f64 im re))) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 828× | div-sub_binary64 |
| 656× | fma-neg_binary64 |
| 524× | fma-def_binary64 |
| 418× | unswap-sqr_binary64 |
| 326× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 748 |
| 1 | 76 | 748 |
| 2 | 128 | 748 |
| 3 | 244 | 748 |
| 4 | 550 | 748 |
| 5 | 1506 | 748 |
| 6 | 3431 | 748 |
| 7 | 6745 | 748 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
| Outputs |
|---|
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 (*.f64 1 (atan2.f64 im re)) (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)))) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 1 (log.f64 base)) | |
| ✓ | 0.3b | (*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) |
| ✓ | 0.7b | (pow.f64 (/.f64 1 (log.f64 base)) 3) |
Compiled 41 to 24 computations (41.5% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | 0 | (pow.f64 (/.f64 1 (log.f64 base)) 3) |
| 1.0ms | base | @ | -inf | (pow.f64 (/.f64 1 (log.f64 base)) 3) |
| 1.0ms | base | @ | inf | (pow.f64 (/.f64 1 (log.f64 base)) 3) |
| 0.0ms | base | @ | -inf | (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) |
| 0.0ms | base | @ | inf | (*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
| 1× | batch-egg-rewrite |
| 935× | pow1_binary64 |
| 869× | add-log-exp_binary64 |
| 868× | log1p-expm1-u_binary64 |
| 868× | expm1-log1p-u_binary64 |
| 847× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 27 |
| 1 | 244 | 21 |
| 2 | 2517 | 21 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 1 (log.f64 base)) 3) |
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) |
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (log.f64 base) -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/2) (*.f64 (pow.f64 (log.f64 base) -1/2) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -3/2) (pow.f64 (log.f64 base) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) 3) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 3) (pow.f64 (pow.f64 (log.f64 base) -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (log.f64 base) -2) 1) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (log.f64 base) -2) (cbrt.f64 (pow.f64 (log.f64 base) -2))) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (log.f64 base) -1/2)) (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (log.f64 base) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) -2) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (pow.f64 (neg.f64 (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (pow.f64 (log.f64 base) -2)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (log.f64 base) -2) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (log.f64 base) -2) -1) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (log.f64 base) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (log.f64 base) -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (log.f64 base) -3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (pow.f64 (pow.f64 (log.f64 base) -2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/2) (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (log.f64 base)) -1) (pow.f64 (sqrt.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 base) -2) 1/3) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 base) -3/2) 1/3) (pow.f64 (pow.f64 (log.f64 base) -3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (neg.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) -1/2) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (atan2.f64 im re) -1) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 760× | unsub-neg_binary64 |
| 673× | fma-neg_binary64 |
| 563× | fma-def_binary64 |
| 487× | distribute-rgt-in_binary64 |
| 397× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 504 |
| 1 | 60 | 504 |
| 2 | 124 | 504 |
| 3 | 361 | 504 |
| 4 | 1267 | 504 |
| 5 | 5090 | 504 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
| Outputs |
|---|
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 -1 (pow.f64 (log.f64 (/.f64 1 base)) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 3)) |
(/.f64 1 (pow.f64 (log.f64 base) 3)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 1 (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (pow.f64 (atan2.f64 im re) 2) |
| ✓ | 0.4b | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 0.5b | (pow.f64 (log.f64 base) -2) | |
| ✓ | 5.0b | (sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) |
Compiled 43 to 22 computations (48.8% saved)
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 28.0ms | im | @ | -inf | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 1.0ms | re | @ | 0 | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 1.0ms | re | @ | inf | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 1.0ms | re | @ | -inf | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 1.0ms | im | @ | inf | (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
| 1× | batch-egg-rewrite |
| 981× | pow1_binary64 |
| 901× | add-log-exp_binary64 |
| 900× | log1p-expm1-u_binary64 |
| 900× | expm1-log1p-u_binary64 |
| 116× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 39 |
| 1 | 243 | 34 |
| 2 | 2611 | 34 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) |
(*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) |
(pow.f64 (atan2.f64 im re) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) (cbrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) (sqrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -4) (pow.f64 (atan2.f64 im re) 4)))) (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -4) (pow.f64 (atan2.f64 im re) 4))) 1/2) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (/.f64 1 (log.f64 base))) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (log.f64 base) -4) (pow.f64 (atan2.f64 im re) 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -4) (pow.f64 (atan2.f64 im re) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (log.f64 base) -2)) (pow.f64 (atan2.f64 im re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (log.f64 base) -2) 3) (pow.f64 (pow.f64 (atan2.f64 im re) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (atan2.f64 im re) 2) 3) (pow.f64 (pow.f64 (log.f64 base) -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (atan2.f64 im re) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (atan2.f64 im re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (cbrt.f64 (pow.f64 (atan2.f64 im re) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) 4)) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 im re) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (atan2.f64 im re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (atan2.f64 im re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (atan2.f64 im re) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (atan2.f64 im re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (atan2.f64 im re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 707× | associate-/l/_binary64 |
| 541× | associate-/r/_binary64 |
| 524× | associate-*l/_binary64 |
| 442× | fma-def_binary64 |
| 429× | associate-*r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 864 |
| 1 | 53 | 864 |
| 2 | 102 | 864 |
| 3 | 353 | 864 |
| 4 | 2212 | 864 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
(/.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) 2)) |
Compiled 6785 to 2878 computations (57.6% saved)
22 alts after pruning (15 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 487 | 11 | 498 |
| Fresh | 7 | 4 | 11 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 7 | 8 |
| Total | 496 | 22 | 518 |
| Status | Error | Program |
|---|---|---|
| 1.5b | (pow.f64 (/.f64 1 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) 3) | |
| ✓ | 0.6b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ▶ | 1.2b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
| ✓ | 6.4b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
| ✓ | 0.4b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
| ▶ | 0.6b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 6))) |
| ▶ | 0.7b | (/.f64 1 (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))) |
| ▶ | 14.5b | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 11.8b | (/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) | |
| 32.4b | (sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) | |
| 34.5b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| ✓ | 0.4b | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| ▶ | 29.8b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 34.7b | (*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base))))) | |
| 32.0b | (/.f64 1 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2)) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| 30.5b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) 3) | |
| 1.0b | (/.f64 (pow.f64 (log.f64 base) 3) (/.f64 (pow.f64 (log.f64 base) 4) (atan2.f64 im re))) | |
| 30.5b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 0.7b | (/.f64 (pow.f64 (log.f64 base) 2) (/.f64 (pow.f64 (log.f64 base) 3) (atan2.f64 im re))) |
Compiled 481 to 354 computations (26.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 6))) |
| 0.3b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.5b | (cbrt.f64 (pow.f64 (log.f64 base) 6)) |
| ✓ | 1.2b | (pow.f64 (log.f64 base) 6) |
Compiled 39 to 16 computations (59% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 6))) |
| 1.0ms | base | @ | 0 | (pow.f64 (log.f64 base) 6) |
| 1.0ms | base | @ | -inf | (pow.f64 (log.f64 base) 6) |
| 1.0ms | base | @ | inf | (pow.f64 (log.f64 base) 6) |
| 0.0ms | base | @ | -inf | (cbrt.f64 (pow.f64 (log.f64 base) 6)) |
| 1× | batch-egg-rewrite |
| 538× | log-prod_binary64 |
| 417× | exp-prod_binary64 |
| 313× | pow-prod-down_binary64 |
| 279× | pow2_binary64 |
| 193× | pow1/3_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 33 |
| 1 | 226 | 29 |
| 2 | 2863 | 21 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) 6) |
(cbrt.f64 (pow.f64 (log.f64 base) 6)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 6))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (log.f64 base) 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (log.f64 base) 6))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (log.f64 base) 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (log.f64 base) 6)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (log.f64 base) 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (log.f64 base) 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 2) (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 4) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (log.f64 base) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (log.f64 base) 4) 1) (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 4) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 base) 6) 5/6) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) 12))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) 18))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 6 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) 18)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) 6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 3) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 base (log.f64 base))) 2)) (log.f64 (cbrt.f64 (pow.f64 base (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 base (log.f64 base)))) (log.f64 (sqrt.f64 (pow.f64 base (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (log.f64 base) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 4) (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 base)) (pow.f64 (log.f64 base) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 3/2) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 5) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 12) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 18) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 3) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 base)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 base)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 2 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (*.f64 6 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2 (log.f64 (log.f64 base)))) 2)) (cbrt.f64 (*.f64 2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2 (log.f64 (log.f64 base))))) (sqrt.f64 (*.f64 2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 6 (log.f64 (log.f64 base))) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (log.f64 base))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (/.f64 1 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) 1) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 1) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 4)) (/.f64 (sqrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)) (log.f64 base)) (/.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) 1)))))) |
| 1× | egg-herbie |
| 812× | fma-def_binary64 |
| 483× | fma-neg_binary64 |
| 322× | div-sub_binary64 |
| 279× | distribute-rgt-neg-out_binary64 |
| 259× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 460 |
| 1 | 55 | 460 |
| 2 | 102 | 460 |
| 3 | 375 | 444 |
| 4 | 2518 | 444 |
| 5 | 6835 | 444 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (log.f64 (/.f64 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 6) |
(pow.f64 (neg.f64 (log.f64 base)) 6) |
(pow.f64 (log.f64 base) 6) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (log.f64 (/.f64 1 base)) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2) |
(pow.f64 (log.f64 base) 2) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 1 (atan2.f64 im re)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base)) |
| ✓ | 0.5b | (/.f64 1 (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))) |
Compiled 35 to 16 computations (54.3% saved)
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | -inf | (/.f64 1 (atan2.f64 im re)) |
| 1.0ms | im | @ | -inf | (/.f64 1 (atan2.f64 im re)) |
| 1.0ms | im | @ | inf | (/.f64 1 (atan2.f64 im re)) |
| 1.0ms | re | @ | inf | (/.f64 1 (atan2.f64 im re)) |
| 1.0ms | im | @ | 0 | (/.f64 1 (atan2.f64 im re)) |
| 1× | batch-egg-rewrite |
| 904× | pow1_binary64 |
| 827× | add-log-exp_binary64 |
| 827× | log1p-expm1-u_binary64 |
| 827× | expm1-log1p-u_binary64 |
| 807× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 1 | 199 | 25 |
| 2 | 2400 | 25 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))) |
(*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base)) |
(/.f64 1 (atan2.f64 im re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) -1) (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (log.f64 base) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (log.f64 base)) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (log.f64 base)) (neg.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (log.f64 base) 1) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2)) (cbrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (log.f64 base)) (neg.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (log.f64 base) -1) (neg.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (atan2.f64 im re))) (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)) (/.f64 1 (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) -1/2) (pow.f64 (atan2.f64 im re) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) -1) (pow.f64 (cbrt.f64 (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (atan2.f64 im re)) -1) (pow.f64 (sqrt.f64 (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 im re) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 im re) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 762× | div-sub_binary64 |
| 682× | fma-def_binary64 |
| 645× | associate--r-_binary64 |
| 613× | fma-neg_binary64 |
| 420× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 648 |
| 1 | 40 | 648 |
| 2 | 60 | 648 |
| 3 | 123 | 648 |
| 4 | 281 | 648 |
| 5 | 890 | 648 |
| 6 | 2845 | 648 |
| 7 | 5702 | 648 |
| 8 | 6989 | 648 |
| 9 | 7268 | 648 |
| 10 | 7450 | 648 |
| 11 | 7556 | 648 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 4.7b | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
Compiled 32 to 8 computations (75% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | 0 | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 0.0ms | im | @ | 0 | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 0.0ms | base | @ | -inf | (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.0ms | base | @ | inf | (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.0ms | re | @ | -inf | (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 771× | pow1_binary64 |
| 705× | add-log-exp_binary64 |
| 705× | log1p-expm1-u_binary64 |
| 705× | expm1-log1p-u_binary64 |
| 688× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 162 | 20 |
| 2 | 1919 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (atan2.f64 im re))) (neg.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2) (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) |
| 1× | egg-herbie |
| 764× | fma-neg_binary64 |
| 759× | div-sub_binary64 |
| 289× | exp-prod_binary64 |
| 231× | distribute-rgt-in_binary64 |
| 213× | distribute-lft-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 444 |
| 1 | 36 | 444 |
| 2 | 56 | 436 |
| 3 | 112 | 412 |
| 4 | 268 | 412 |
| 5 | 879 | 412 |
| 6 | 4395 | 412 |
| 7 | 7535 | 412 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(exp.f64 (neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(exp.f64 (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))) |
(exp.f64 (*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 4.4b | (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 34 to 10 computations (70.6% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 1.0ms | base | @ | inf | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 1.0ms | base | @ | -inf | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 1.0ms | re | @ | -inf | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 1.0ms | im | @ | 0 | (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 858× | pow1_binary64 |
| 791× | add-log-exp_binary64 |
| 791× | log1p-expm1-u_binary64 |
| 791× | expm1-log1p-u_binary64 |
| 772× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 205 | 20 |
| 2 | 2192 | 20 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (/.f64 1 (log.f64 base)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) (sqrt.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 1/2) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (sqrt.f64 (log.f64 base)) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (neg.f64 (atan2.f64 im re))) (sqrt.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 (atan2.f64 im re))) (neg.f64 (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4) (*.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4)) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (log.f64 base) 2))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (atan2.f64 im re))) (neg.f64 (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) 1) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (atan2.f64 im re))) (sqrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 751× | fma-neg_binary64 |
| 427× | times-frac_binary64 |
| 366× | neg-mul-1_binary64 |
| 360× | neg-sub0_binary64 |
| 344× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 480 |
| 1 | 43 | 472 |
| 2 | 74 | 472 |
| 3 | 164 | 440 |
| 4 | 458 | 440 |
| 5 | 2863 | 440 |
| 6 | 6549 | 440 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (neg.f64 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (neg.f64 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (neg.f64 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (neg.f64 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))))) |
(sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (atan2.f64 im re)) (log.f64 (/.f64 1 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1 (cbrt.f64 (log.f64 base))) |
| ✓ | 0.3b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
| ✓ | 0.5b | (cbrt.f64 (log.f64 base)) |
| ✓ | 0.7b | (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) |
Compiled 39 to 19 computations (51.3% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | -inf | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
| 3.0ms | base | @ | -inf | (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) |
| 3.0ms | base | @ | inf | (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) |
| 3.0ms | base | @ | 0 | (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) |
| 2.0ms | base | @ | inf | (cbrt.f64 (log.f64 base)) |
| 1× | batch-egg-rewrite |
| 488× | log-prod_binary64 |
| 374× | exp-prod_binary64 |
| 359× | prod-exp_binary64 |
| 291× | pow-prod-down_binary64 |
| 273× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 41 |
| 1 | 242 | 28 |
| 2 | 2655 | 28 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) |
(cbrt.f64 (log.f64 base)) |
(*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
(/.f64 1 (cbrt.f64 (log.f64 base))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (pow.f64 (cbrt.f64 (log.f64 base)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2)) (*.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))) (pow.f64 (cbrt.f64 (log.f64 base)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/6) (pow.f64 (cbrt.f64 (log.f64 base)) -5/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/2) (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) 1) (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -5/2) (pow.f64 (log.f64 base) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2))) (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (pow.f64 (neg.f64 (cbrt.f64 (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (log.f64 base)) -2)) (neg.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) 1) (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) -1) (neg.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base)))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) -1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1/3) -3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 3/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base)))) (*.f64 (log.f64 (log.f64 base)) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base)))) (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1) (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1) (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base)))) (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (*.f64 2/3 (log.f64 (log.f64 base)))) (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 3/2) (log.f64 (pow.f64 (log.f64 base) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (pow.f64 (log.f64 base) -1/2)) (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 3/2) (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 3/2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) 1/6) (pow.f64 (log.f64 base) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) 1/6) (pow.f64 (log.f64 base) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cbrt.f64 (log.f64 base))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (log.f64 base)) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -1/6) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 base)) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (log.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (cbrt.f64 (log.f64 base)))) 2)) (cbrt.f64 (log.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (cbrt.f64 (log.f64 base))))) (sqrt.f64 (log.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 base)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cbrt.f64 (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/6 (log.f64 (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)) (cbrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))) (sqrt.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (atan2.f64 im re)) (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (atan2.f64 im re)) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1) (log.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (log.f64 (log.f64 base))) (*.f64 (log.f64 (atan2.f64 im re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1) (*.f64 (log.f64 (atan2.f64 im re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (neg.f64 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (atan2.f64 im re)) (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cbrt.f64 (log.f64 base))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (cbrt.f64 (log.f64 base))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))) (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2)) (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/6) (pow.f64 (log.f64 base) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log.f64 base))) -2) (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 base) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 base)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (log.f64 base)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (*.f64 -1/3 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 3) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (log.f64 base))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 1/6) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 base)) -2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) -1/2) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (log.f64 (cbrt.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (neg.f64 (cbrt.f64 (log.f64 base)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 -1/3 (log.f64 (log.f64 base)))) 2)) (cbrt.f64 (*.f64 -1/3 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 -1/3 (log.f64 (log.f64 base))))) (sqrt.f64 (*.f64 -1/3 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (cbrt.f64 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cbrt.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -1/3 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log.f64 base)) -2))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 base)) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (*.f64 -1/3 (log.f64 (log.f64 base)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (log.f64 base) -1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 3) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 base)) 1/3) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 -1/3 (log.f64 (log.f64 base))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (log.f64 (log.f64 base)) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 base))) 1))))))) |
| 1× | egg-herbie |
| 836× | unswap-sqr_binary64 |
| 623× | fma-def_binary64 |
| 580× | fma-neg_binary64 |
| 552× | div-sub_binary64 |
| 388× | distribute-rgt-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 608 |
| 1 | 93 | 608 |
| 2 | 151 | 600 |
| 3 | 293 | 600 |
| 4 | 670 | 600 |
| 5 | 1841 | 600 |
| 6 | 4311 | 600 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(pow.f64 (log.f64 base) 1/3) |
(pow.f64 (log.f64 base) 1/3) |
(pow.f64 (log.f64 base) 1/3) |
(pow.f64 (log.f64 base) 1/3) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
| Outputs |
|---|
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 1 (log.f64 base)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 1 (log.f64 base)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 1 (log.f64 base)) |
(*.f64 (/.f64 1 (log.f64 base)) (pow.f64 1 1/3)) |
(/.f64 1 (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 -1 (*.f64 (pow.f64 1 1/3) (/.f64 1 (log.f64 (/.f64 1 base))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 1 (log.f64 base)) |
(*.f64 (pow.f64 1 1/3) (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(/.f64 1 (log.f64 base)) |
(pow.f64 (log.f64 base) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (log.f64 base) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (log.f64 base) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (log.f64 base) 1/3) |
(cbrt.f64 (log.f64 base)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (neg.f64 (log.f64 base))) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (neg.f64 (log.f64 base))) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (neg.f64 (log.f64 base))) (cbrt.f64 -1)) |
(*.f64 (pow.f64 (*.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 (neg.f64 (log.f64 base))) (cbrt.f64 -1)) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(cbrt.f64 (log.f64 base)) |
(pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 1/3) |
(cbrt.f64 (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (log.f64 base)) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (pow.f64 (/.f64 1 (log.f64 (/.f64 1 base))) 1/3) (cbrt.f64 -1)) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (log.f64 base)))) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
(pow.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base))))) 1/3) |
(cbrt.f64 (/.f64 1 (log.f64 base))) |
Compiled 8871 to 3633 computations (59% saved)
24 alts after pruning (14 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 646 | 7 | 653 |
| Fresh | 3 | 7 | 10 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 10 | 11 |
| Total | 651 | 24 | 675 |
| Status | Error | Program |
|---|---|---|
| 1.5b | (pow.f64 (/.f64 1 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) 3) | |
| ✓ | 0.6b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 32.0b | (pow.f64 (/.f64 1 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) 2) | |
| 30.5b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ✓ | 6.4b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
| 0.7b | (/.f64 1 (/.f64 (/.f64 1 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))) | |
| 30.5b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) 3) | |
| 32.0b | (/.f64 1 (*.f64 (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2) (log.f64 base))) | |
| 1.4b | (*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) 3)) | |
| ✓ | 0.7b | (/.f64 1 (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))) |
| ✓ | 14.5b | (log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 0.7b | (*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) -3))) | |
| 11.8b | (/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) | |
| 32.4b | (sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) | |
| 34.5b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| ✓ | 0.4b | (*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
| ✓ | 29.8b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
| 34.7b | (*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base))))) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| 7.5b | (/.f64 1 (*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (atan2.f64 im re)))) (log.f64 base))) | |
| 0.7b | (/.f64 (pow.f64 (log.f64 base) 2) (/.f64 (pow.f64 (log.f64 base) 3) (atan2.f64 im re))) | |
| ✓ | 0.4b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
Compiled 308 to 230 computations (25.3% saved)
Total -59.0b remaining (-20419.3%)
Threshold costs -59.0b (-20419.3%)
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
(/.f64 1 (*.f64 (/.f64 1 (atan2.f64 im re)) (log.f64 base))) |
(/.f64 1 (/.f64 (/.f64 1 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))) |
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
(/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) |
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) -3))) |
(sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base))))) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
(pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
(pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
(*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) |
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1/3) 3) |
(*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) |
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) |
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) |
(pow.f64 (/.f64 1 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) 2) |
(*.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) 3)) |
(pow.f64 (/.f64 1 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) 3) |
(/.f64 1 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2)) |
(*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)) |
(*.f64 (pow.f64 (log.f64 base) -2) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(/.f64 1 (*.f64 (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2) (log.f64 base))) |
(/.f64 1 (*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (atan2.f64 im re)))) (log.f64 base))) |
(*.f64 (/.f64 1 (pow.f64 (log.f64 base) 2)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2)))) |
(*.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2)))) |
(sqrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) |
(cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) |
(cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 6))) |
(/.f64 (pow.f64 (log.f64 base) 3) (/.f64 (pow.f64 (log.f64 base) 4) (atan2.f64 im re))) |
(/.f64 (pow.f64 (log.f64 base) 2) (/.f64 (pow.f64 (log.f64 base) 3) (atan2.f64 im re))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 6)) (pow.f64 (log.f64 base) 4)) |
(*.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (cbrt.f64 (pow.f64 (log.f64 base) 6)) (*.f64 0 0))) |
(*.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (log.f64 base) (pow.f64 (cbrt.f64 (log.f64 base)) 2))) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) 2) (*.f64 (cbrt.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) -2))) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
5 calls:
| 27.0ms | re |
| 27.0ms | (log.f64 base) |
| 25.0ms | base |
| 25.0ms | im |
| 21.0ms | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | re |
| 0.3b | 1 | im |
| 0.3b | 1 | base |
| 0.3b | 1 | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| 0.3b | 1 | (log.f64 base) |
Compiled 675 to 287 computations (57.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 877× | fma-def_binary64 |
| 692× | fma-neg_binary64 |
| 640× | cube-prod_binary64 |
| 454× | associate-/l*_binary64 |
| 447× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 20 |
| 1 | 41 | 19 |
| 2 | 68 | 12 |
| 3 | 94 | 9 |
| 4 | 115 | 9 |
| 5 | 273 | 9 |
| 6 | 1067 | 9 |
| 7 | 2495 | 9 |
| 8 | 3545 | 9 |
| 9 | 5304 | 9 |
| 10 | 5909 | 9 |
| 11 | 6994 | 9 |
| 1× | node limit |
Compiled 138 to 86 computations (37.7% saved)
Compiled 9 to 6 computations (33.3% saved)
Loading profile data...