Time bar (total: 6.9s)
| 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)
| 1.8s | 8256× | body | 256 | valid |
| 416.0ms | 2078× | body | 256 | invalid |
| 2× | egg-herbie |
| 801× | cube-prod_binary64 |
| 752× | fma-neg_binary64 |
| 678× | unswap-sqr_binary64 |
| 403× | fma-def_binary64 |
| 349× | 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 | 2449 | 36 |
| 7 | 3517 | 36 |
| 8 | 4122 | 36 |
| 9 | 4229 | 36 |
| 10 | 4431 | 36 |
| 11 | 4946 | 36 |
| 12 | 6827 | 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) (log.f64 base)) 1) |
(/.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 (/.f64 (atan2.f64 im base) (log.f64 re)) (/.f64 (log.f64 re) (log.f64 re))) |
(*.f64 (/.f64 (atan2.f64 im base) (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 |
| 645× | cube-prod_binary64 |
| 522× | pow-sqr_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 | 1005 | 9 |
| 7 | 2320 | 9 |
| 8 | 3369 | 9 |
| 9 | 5131 | 9 |
| 10 | 5732 | 9 |
| 11 | 6821 | 9 |
| 12 | 7879 | 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.0b | (/.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.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 40 to 26 computations (35% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 17 to 6 computations (64.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 71.0ms | base | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 55.0ms | im | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 13.0ms | base | @ | -inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 7.0ms | base | @ | inf | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 6.0ms | re | @ | 0 | (/.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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 762× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 576× | associate--r-_binary64 |
| 493× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 104 |
| 1 | 31 | 104 |
| 2 | 44 | 96 |
| 3 | 90 | 72 |
| 4 | 188 | 72 |
| 5 | 585 | 72 |
| 6 | 2333 | 72 |
| 7 | 4831 | 72 |
| 8 | 6115 | 72 |
| 9 | 6376 | 72 |
| 10 | 6516 | 72 |
| 11 | 6624 | 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 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 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 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 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 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 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 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 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 27.7b | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) | |
| 0.5b | (*.f64 (log.f64 base) (log.f64 base)) | |
| 0.4b | (*.f64 (atan2.f64 im re) (log.f64 base)) | |
| 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 (-.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.4b | (*.f64 (atan2.f64 im re) (log.f64 base)) |
| ✓ | 0.5b | (*.f64 (log.f64 base) (log.f64 base)) |
| ✓ | 27.7b | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
Compiled 122 to 33 computations (73% saved)
27 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | base | @ | 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 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) |
| 1.0ms | re | @ | 0 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 1.0ms | re | @ | inf | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 1.0ms | im | @ | inf | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 1.0ms | base | @ | -inf | (*.f64 (log.f64 base) (log.f64 base)) |
| 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 | 4993 | 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)) (hypot.f64 (*.f64 re re) (sqrt.f64 (-.f64 (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 (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 (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 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 log1p.f64 (expm1.f64 (hypot.f64 re im)))))) (#(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 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 expm1.f64 (log1p.f64 (hypot.f64 re im))))))) |
((#(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 (-.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) 6)) (neg.f64 (pow.f64 (log.f64 base) 4)))))) (#(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 (cbrt.f64 (log.f64 base)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 base) 6) 1/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 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 expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 2)))))) (#(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 (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 (pow.f64 (log.f64 base) 6) (/.f64 1 (pow.f64 (log.f64 base) 4)) 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 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)) 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 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 expm1.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(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 (cbrt.f64 (pow.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 (cbrt.f64 (pow.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 (cbrt.f64 (pow.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) (cbrt.f64 (pow.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) (cbrt.f64 (pow.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) (cbrt.f64 (pow.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 (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 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 (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 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) (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 (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 (*.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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(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 (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 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 (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 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) (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 (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 (*.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 |
| 754× | associate-*l/_binary64 |
| 617× | associate-*r/_binary64 |
| 439× | cancel-sign-sub-inv_binary64 |
| 374× | *-commutative_binary64 |
| 334× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 86 | 1185 |
| 1 | 242 | 1174 |
| 2 | 657 | 1174 |
| 3 | 2595 | 1174 |
| 4 | 6974 | 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 (/.f64 re 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/2 (*.f64 (/.f64 re im) re) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 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 (/.f64 re 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) |
(fma.f64 1/2 (*.f64 im (/.f64 im 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 (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/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (/.f64 im re) im) re)) |
(fma.f64 1/2 (*.f64 im (/.f64 im re)) (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))) |
(fma.f64 1/2 (*.f64 im (/.f64 im 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)) re))) |
(fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 1/2 (*.f64 im (/.f64 im re)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 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) |
(fma.f64 (*.f64 (/.f64 im re) im) -1/2 (neg.f64 re)) |
(fma.f64 (*.f64 im (/.f64 im re)) -1/2 (neg.f64 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 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (fma.f64 (*.f64 (/.f64 im re) im) -1/2 (neg.f64 re))) |
(-.f64 (*.f64 (*.f64 im (/.f64 im re)) -1/2) (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 im (/.f64 im re)) -1/2 (fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (/.f64 (*.f64 (pow.f64 im 6) -1/16) (pow.f64 re 5)))) re) |
(-.f64 (/.f64 (*.f64 (pow.f64 im 6) -1/16) (pow.f64 re 5)) (fma.f64 1/2 (*.f64 im (/.f64 im re)) (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) |
(fma.f64 1/2 (*.f64 im (/.f64 im 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 (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/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (/.f64 im re) im) re)) |
(fma.f64 1/2 (*.f64 im (/.f64 im re)) (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))) |
(fma.f64 1/2 (*.f64 im (/.f64 im 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)) re))) |
(fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 1/2 (*.f64 im (/.f64 im re)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 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 (/.f64 re 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/2 (*.f64 (/.f64 re im) re) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 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 (/.f64 re 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 -1/2 (/.f64 im re)) re) 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))) |
(-.f64 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (*.f64 (/.f64 re (/.f64 im re)) -1/2)) im) |
(-.f64 (fma.f64 (*.f64 (/.f64 re im) re) -1/2 (*.f64 (/.f64 1/8 (pow.f64 im 3)) (pow.f64 re 4))) im) |
(-.f64 (*.f64 (/.f64 -1/2 (/.f64 im re)) re) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 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 (-.f64 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (*.f64 (/.f64 re (/.f64 im re)) -1/2)) im)) |
(-.f64 (fma.f64 (/.f64 (pow.f64 re 6) (pow.f64 im 5)) -1/16 (fma.f64 (*.f64 (/.f64 re im) re) -1/2 (*.f64 (/.f64 1/8 (pow.f64 im 3)) (pow.f64 re 4)))) im) |
(-.f64 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (/.f64 (pow.f64 re 6) (/.f64 (pow.f64 im 5) -1/16))) (fma.f64 1/2 (*.f64 re (/.f64 re im)) im)) |
(-.f64 (/.f64 (pow.f64 re 6) (/.f64 (pow.f64 im 5) -1/16)) (fma.f64 1/2 (*.f64 re (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 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)) |
Compiled 7965 to 3056 computations (61.6% saved)
22 alts after pruning (21 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 267 | 21 | 288 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 268 | 22 | 290 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ▶ | 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
| 1.7b | (*.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base)))) | |
| 29.8b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| ▶ | 0.5b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| ▶ | 0.6b | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) (pow.f64 (log.f64 base) 2)) |
| 30.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))) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.4b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 0.5b | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) | |
| 1.1b | (*.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))) | |
| 6.6b | (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)))) | |
| 0.5b | (*.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) 2))) | |
| ▶ | 0.4b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
| 0.4b | (*.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base))) | |
| 26.1b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 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.2b | (*.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))) | |
| 33.0b | (*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base)))) | |
| 6.6b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| 26.8b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
Compiled 681 to 460 computations (32.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 1 (log.f64 base)) | |
| 0.3b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) | |
| ✓ | 0.3b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
| ✓ | 0.3b | (/.f64 1 (log.f64 base)) |
Compiled 24 to 11 computations (54.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | base | @ | -inf | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | 0 | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | inf | (/.f64 1 (log.f64 base)) |
| 0.0ms | base | @ | 0 | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
| 0.0ms | base | @ | -inf | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
| 1× | batch-egg-rewrite |
| 776× | pow1_binary64 |
| 709× | add-log-exp_binary64 |
| 709× | log1p-expm1-u_binary64 |
| 709× | expm1-log1p-u_binary64 |
| 693× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 15 |
| 1 | 173 | 15 |
| 2 | 1993 | 15 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (log.f64 base)) |
(*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
| Outputs |
|---|
((#(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 (cbrt.f64 (pow.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 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 expm1.f64 (log1p.f64 (/.f64 1 (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 1 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.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 (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) (cbrt.f64 (pow.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 (/.f64 1 (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 (/.f64 1 (log.f64 base)) 3)))))) (#(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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 817× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 576× | associate--r-_binary64 |
| 494× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 388 |
| 1 | 34 | 388 |
| 2 | 47 | 372 |
| 3 | 92 | 372 |
| 4 | 189 | 372 |
| 5 | 582 | 372 |
| 6 | 2314 | 372 |
| 7 | 4881 | 372 |
| 8 | 6162 | 372 |
| 9 | 6422 | 372 |
| 10 | 6560 | 372 |
| 11 | 6668 | 372 |
| 1× | node limit |
| Inputs |
|---|
(/.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 -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 (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)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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.3b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) | |
| ✓ | 0.3b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| ✓ | 0.3b | (/.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 | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 1.0ms | base | @ | 0 | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 1.0ms | im | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 1.0ms | re | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 1.0ms | base | @ | inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 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: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 181 | 18 |
| 2 | 2188 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| Outputs |
|---|
((#(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 (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 1 (/.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 (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 (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 (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 (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 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 expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) |
((#(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))) (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 (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 (log.f64 base) -1) (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 (log.f64 base)) (atan2.f64 im re))))) (#(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 (atan2.f64 im re) (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 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 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(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 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (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 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (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 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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 826× | div-sub_binary64 |
| 695× | fma-def_binary64 |
| 613× | fma-neg_binary64 |
| 609× | associate--r-_binary64 |
| 430× | 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 | 871 | 396 |
| 6 | 2762 | 396 |
| 7 | 5700 | 396 |
| 8 | 7024 | 396 |
| 9 | 7306 | 396 |
| 10 | 7490 | 396 |
| 11 | 7596 | 396 |
| 1× | node limit |
| Inputs |
|---|
(*.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 -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 (/.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)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 4.7b | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) | |
| 0.7b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) | |
| 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| ✓ | 0.7b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ✓ | 4.7b | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 34 to 10 computations (70.6% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | -inf | (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 2.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))) |
| 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 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 expm1.f64 (log1p.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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 755× | div-sub_binary64 |
| 656× | fma-neg_binary64 |
| 520× | fma-def_binary64 |
| 418× | unswap-sqr_binary64 |
| 330× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 748 |
| 1 | 72 | 748 |
| 2 | 124 | 748 |
| 3 | 241 | 748 |
| 4 | 547 | 748 |
| 5 | 1394 | 748 |
| 6 | 3227 | 748 |
| 7 | 6474 | 748 |
| 8 | 7900 | 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 (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 (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 (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)) |
(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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (pow.f64 (log.f64 base) 2) | |
| 0.4b | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) | |
| 0.4b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) | |
| ✓ | 0.4b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| ✓ | 0.5b | (pow.f64 (log.f64 base) 2) |
Compiled 42 to 20 computations (52.4% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| 1.0ms | base | @ | -inf | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| 1.0ms | im | @ | -inf | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| 1.0ms | im | @ | inf | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| 1.0ms | re | @ | inf | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
| 1× | batch-egg-rewrite |
| 508× | log-prod_binary64 |
| 385× | exp-prod_binary64 |
| 346× | prod-exp_binary64 |
| 309× | pow-prod-down_binary64 |
| 269× | pow2_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 35 |
| 1 | 250 | 35 |
| 2 | 2719 | 27 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) 2) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (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 (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 (cbrt.f64 (pow.f64 (log.f64 base) 4)) (cbrt.f64 (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 (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 /.f64 (log.f64 base) (/.f64 1 (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 (neg.f64 (pow.f64 (log.f64 base) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (log.f64 base)) (*.f64 -1 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (log.f64 base)) (*.f64 (/.f64 1 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (neg.f64 (log.f64 base)) 2) 1)))) (#(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 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 (log.f64 (cbrt.f64 (pow.f64 (log.f64 base) 2))) 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 exp.f64 (-.f64 (*.f64 (log.f64 (log.f64 base)) 1) (neg.f64 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (log.f64 base)) 1) (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (log.f64 base)) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (log.f64 base)) 1) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (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 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) 2)) (*.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 4)) (cbrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (atan2.f64 im re)) (/.f64 1 (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) 2)) (log.f64 base)) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) 2)) 1) (/.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (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 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) 2)) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (cbrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (pow.f64 (log.f64 base) 2) (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) (pow.f64 (log.f64 base) -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))) (sqrt.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base)) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (atan2.f64 im re)) 1) (*.f64 2 (log.f64 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.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) (*.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) (*.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 (atan2.f64 im re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))))) |
((#(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 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (log.f64 base) (*.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)) 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 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)) (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (log.f64 base) 2) (*.f64 (log.f64 base) (atan2.f64 im re))))))) (#(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 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 2)) (/.f64 1 (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))) (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) (*.f64 (/.f64 1 (log.f64 base)) (neg.f64 (pow.f64 (log.f64 base) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.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 (neg.f64 (log.f64 base)) (*.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)) -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 (neg.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.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 (*.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) (neg.f64 (pow.f64 (log.f64 base) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (atan2.f64 im re)) (log.f64 base)) (*.f64 (neg.f64 (pow.f64 (log.f64 base) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (atan2.f64 im re)) 1) (*.f64 (neg.f64 (pow.f64 (log.f64 base) 2)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) (*.f64 (pow.f64 (log.f64 base) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) (*.f64 (neg.f64 (pow.f64 (log.f64 base) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (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 (neg.f64 (log.f64 base)) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)) (neg.f64 (log.f64 base))) -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 (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 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re)) (/.f64 1 (log.f64 base))) -1)))) (#(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 pow.f64 (/.f64 (pow.f64 (log.f64 base) 2) (*.f64 (log.f64 base) (atan2.f64 im re))) -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 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 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 (log.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) 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 (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 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1) (neg.f64 (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 (log.f64 base)) 1) (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (log.f64 base)) (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (log.f64 base)) 1) (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1) (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) -2))) 1) (*.f64 (log.f64 (log.f64 base)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 852× | fma-neg_binary64 |
| 435× | div-sub_binary64 |
| 320× | fma-def_binary64 |
| 292× | associate-*l*_binary64 |
| 286× | distribute-rgt-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 500 |
| 1 | 44 | 500 |
| 2 | 79 | 500 |
| 3 | 219 | 468 |
| 4 | 788 | 468 |
| 5 | 4041 | 468 |
| 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 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (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)) 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 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (neg.f64 (log.f64 base)) 2)) |
(/.f64 (atan2.f64 im re) (*.f64 (log.f64 base) (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (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 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (pow.f64 (log.f64 base) 2) | |
| 0.4b | (*.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.3b | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) 4)) | |
| ✓ | 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.4b | (*.f64 (log.f64 base) (atan2.f64 im re)) |
| 0.5b | (pow.f64 (log.f64 base) 2) | |
| ✓ | 0.9b | (pow.f64 (log.f64 base) 4) |
Compiled 54 to 21 computations (61.1% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | 0 | (pow.f64 (log.f64 base) 4) |
| 1.0ms | base | @ | -inf | (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)) |
| 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 | 40 |
| 1 | 269 | 35 |
| 2 | 3224 | 32 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) 4) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.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) (pow.f64 (cbrt.f64 (log.f64 base)) 8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 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 expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) 4))))))) |
((#(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 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 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 (log.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 3)) 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 expm1.f64 (log1p.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))))))) |
((#(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)) (pow.f64 (cbrt.f64 (log.f64 base)) 8)) (pow.f64 (cbrt.f64 (log.f64 base)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (log.f64 base) (neg.f64 (atan2.f64 im re))) (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 (log.f64 base) (neg.f64 (atan2.f64 im re)))) (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 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))))) (#(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)))))))) |
| 1× | egg-herbie |
| 616× | times-frac_binary64 |
| 403× | unswap-sqr_binary64 |
| 384× | associate-*l*_binary64 |
| 355× | distribute-rgt-neg-out_binary64 |
| 348× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 492 |
| 1 | 50 | 492 |
| 2 | 91 | 460 |
| 3 | 213 | 444 |
| 4 | 738 | 444 |
| 5 | 3703 | 444 |
| 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 -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 -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 -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 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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 7898 to 3318 computations (58% saved)
23 alts after pruning (19 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 510 | 14 | 524 |
| Fresh | 11 | 5 | 16 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 523 | 23 | 546 |
| Status | Error | Program |
|---|---|---|
| 26.1b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 0.6b | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) | |
| 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) | |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ✓ | 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
| ▶ | 0.4b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 33.0b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) | |
| 1.7b | (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re)))) | |
| 0.6b | (/.f64 (log.f64 base) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) | |
| ▶ | 13.0b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) |
| 6.6b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| 6.6b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| 0.5b | (/.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (pow.f64 (log.f64 base) 4)) | |
| 26.8b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| ▶ | 0.5b | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ▶ | 0.5b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 29.8b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| 0.7b | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) | |
| 5.2b | (*.f64 (-.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1) (atan2.f64 im re)) | |
| 1.3b | (*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) (atan2.f64 im re)) | |
| ▶ | 28.3b | (sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
Compiled 558 to 406 computations (27.2% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| 0.2b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 0.2b | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) | |
| ✓ | 0.2b | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| ✓ | 0.2b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 32 to 8 computations (75% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 0.0ms | im | @ | 0 | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.0ms | base | @ | -inf | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.0ms | base | @ | inf | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 0.0ms | im | @ | inf | (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 783× | pow1_binary64 |
| 718× | expm1-log1p-u_binary64 |
| 717× | add-log-exp_binary64 |
| 717× | log1p-expm1-u_binary64 |
| 700× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 161 | 20 |
| 2 | 1942 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(expm1.f64 (/.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 /.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 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 exp.f64 (log.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 +.f64 (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 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(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 (cbrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (pow.f64 (cbrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2) (cbrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (sqrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) 1) (+.f64 (*.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (+.f64 1 (*.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1) (+.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))))) |
| 1× | egg-herbie |
| 833× | fma-neg_binary64 |
| 741× | div-sub_binary64 |
| 288× | exp-prod_binary64 |
| 264× | distribute-rgt-in_binary64 |
| 239× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 720 |
| 1 | 47 | 720 |
| 2 | 70 | 720 |
| 3 | 130 | 720 |
| 4 | 291 | 720 |
| 5 | 939 | 720 |
| 6 | 4558 | 720 |
| 7 | 7831 | 720 |
| 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 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
| 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 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(-.f64 (exp.f64 (/.f64 (atan2.f64 im re) (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) 1) |
(expm1.f64 (/.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.3b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) | |
| ✓ | 0.3b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) |
Compiled 26 to 9 computations (65.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | base | @ | 0 | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.0ms | base | @ | -inf | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.0ms | base | @ | inf | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.0ms | re | @ | -inf | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| 0.0ms | im | @ | -inf | (/.f64 1 (/.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 | 12 |
| 1 | 180 | 9 |
| 2 | 2216 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (/.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 (cbrt.f64 (pow.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 (cbrt.f64 (pow.f64 (atan2.f64 im re) 2)) (cbrt.f64 (pow.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)) (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 (cbrt.f64 (pow.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)) (cbrt.f64 (pow.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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 803× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 582× | associate--r-_binary64 |
| 489× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 324 |
| 1 | 32 | 324 |
| 2 | 45 | 324 |
| 3 | 90 | 324 |
| 4 | 188 | 324 |
| 5 | 586 | 324 |
| 6 | 2309 | 324 |
| 7 | 4816 | 324 |
| 8 | 6136 | 324 |
| 9 | 6396 | 324 |
| 10 | 6539 | 324 |
| 11 | 6647 | 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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 5.3b | (sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) | |
| 0.4b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) | |
| 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) | |
| 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.4b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| ✓ | 5.3b | (sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) |
Compiled 35 to 12 computations (65.7% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | im | @ | 0 | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 1.0ms | im | @ | inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 1.0ms | base | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 1.0ms | re | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 1.0ms | base | @ | inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 1× | batch-egg-rewrite |
| 946× | pow1_binary64 |
| 875× | add-log-exp_binary64 |
| 874× | log1p-expm1-u_binary64 |
| 874× | expm1-log1p-u_binary64 |
| 853× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 24 |
| 1 | 205 | 21 |
| 2 | 2437 | 21 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) |
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) |
| 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 (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 (/.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 (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 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -4))) (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1) (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 (pow.f64 1 1/2) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -4)) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) 1/2))))) (#(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 (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 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 (/.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 (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 fabs.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(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 (log.f64 base) (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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -4)))))) (#(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))) (/.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)) -4)) (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))) (*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (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 (log.f64 base) -2) (pow.f64 (/.f64 1 (atan2.f64 im re)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) -2) (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -2) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (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 sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2))))))) |
| 1× | egg-herbie |
| 711× | associate-/l/_binary64 |
| 543× | associate-/r/_binary64 |
| 508× | associate-*l/_binary64 |
| 442× | fma-def_binary64 |
| 419× | associate-*r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 864 |
| 1 | 53 | 864 |
| 2 | 102 | 864 |
| 3 | 353 | 864 |
| 4 | 2141 | 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)) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 4.1b | (pow.f64 base (/.f64 1 (atan2.f64 im re))) | |
| 0.2b | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) | |
| 0.2b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| 0.1b | (/.f64 1 (atan2.f64 im re)) | |
| ✓ | 0.1b | (/.f64 1 (atan2.f64 im re)) |
| ✓ | 0.2b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) |
| ✓ | 0.2b | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
| ✓ | 4.1b | (pow.f64 base (/.f64 1 (atan2.f64 im re))) |
Compiled 41 to 21 computations (48.8% saved)
33 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 81.0ms | re | @ | inf | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
| 27.0ms | re | @ | inf | (pow.f64 base (/.f64 1 (atan2.f64 im re))) |
| 20.0ms | base | @ | inf | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
| 19.0ms | im | @ | -inf | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
| 17.0ms | im | @ | inf | (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
| 1× | batch-egg-rewrite |
| 939× | pow1_binary64 |
| 863× | add-log-exp_binary64 |
| 861× | log1p-expm1-u_binary64 |
| 861× | expm1-log1p-u_binary64 |
| 841× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 44 |
| 1 | 218 | 35 |
| 2 | 2442 | 35 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) |
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) |
(/.f64 1 (atan2.f64 im re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) (pow.f64 (cbrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) 2) (cbrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) (sqrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 (/.f64 1 (atan2.f64 im re))) (pow.f64 base (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 base) 2) (/.f64 1 (atan2.f64 im re))) (pow.f64 (cbrt.f64 base) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 base) (/.f64 1 (atan2.f64 im re))) (pow.f64 (sqrt.f64 base) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 base base) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))))) |
((#(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 (/.f64 1 (atan2.f64 im re)))) 2)) (log.f64 (cbrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) (log.f64 (sqrt.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))))))) (#(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 (/.f64 1 (atan2.f64 im re)) (log.f64 base))))) (#(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 (log.f64 base) (/.f64 1 (atan2.f64 im re)))))) (#(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 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)) (*.f64 (cbrt.f64 (/.f64 1 (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))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) -1/2) (*.f64 (pow.f64 (atan2.f64 im re) -1/2) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (cbrt.f64 (pow.f64 (atan2.f64 im re) -2))) (cbrt.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (log.f64 base) (pow.f64 (atan2.f64 im re) -1/2)) (pow.f64 (atan2.f64 im re) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (log.f64 base) (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 cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3))))) (#(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 expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) |
((#(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 (/.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 (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) (pow.f64 (log.f64 base) -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 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 (atan2.f64 im re) (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 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (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 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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(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 -1 (/.f64 1 (neg.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (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)) (cbrt.f64 (/.f64 1 (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 (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 (cbrt.f64 (/.f64 1 (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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 684× | div-sub_binary64 |
| 339× | sub-neg_binary64 |
| 315× | associate-/l/_binary64 |
| 309× | exp-prod_binary64 |
| 302× | associate-/r*_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 1044 |
| 1 | 45 | 1044 |
| 2 | 72 | 1044 |
| 3 | 155 | 1044 |
| 4 | 394 | 1044 |
| 5 | 1511 | 1008 |
| 6 | 6620 | 1008 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(exp.f64 (/.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 (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 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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 |
|---|
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re)))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (atan2.f64 im re))) |
(exp.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(pow.f64 base (/.f64 1 (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 (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 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.6b | (pow.f64 (log.f64 base) -2) | |
| 0.4b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| 0.3b | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) | |
| ✓ | 0.3b | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) |
| 0.4b | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.6b | (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 (*.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)) |
| 1× | batch-egg-rewrite |
| 914× | pow1_binary64 |
| 839× | add-log-exp_binary64 |
| 838× | log1p-expm1-u_binary64 |
| 838× | expm1-log1p-u_binary64 |
| 819× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 202 | 23 |
| 2 | 2329 | 23 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) -2) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) |
| 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 (pow.f64 (cbrt.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 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 expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) -2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (log.f64 base) (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) -4) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 base (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) 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 log1p.f64 (-.f64 (pow.f64 base (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (log.f64 base) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))))))) |
| 1× | egg-herbie |
| 524× | unswap-sqr_binary64 |
| 477× | associate-*l*_binary64 |
| 452× | associate-*r*_binary64 |
| 421× | distribute-rgt-neg-in_binary64 |
| 419× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 432 |
| 1 | 49 | 432 |
| 2 | 89 | 432 |
| 3 | 262 | 432 |
| 4 | 1089 | 432 |
| 5 | 5177 | 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)) |
Compiled 5566 to 2187 computations (60.7% saved)
23 alts after pruning (16 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 413 | 5 | 418 |
| Fresh | 3 | 11 | 14 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 6 | 8 |
| Total | 418 | 23 | 441 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ✓ | 0.4b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 26.1b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| ✓ | 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
| ▶ | 0.7b | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
| 1.3b | (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 3)) | |
| ▶ | 33.0b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
| 1.7b | (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re)))) | |
| 0.6b | (/.f64 (log.f64 base) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) | |
| 6.6b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| 26.8b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 13.0b | (/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) | |
| ✓ | 0.5b | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ✓ | 0.5b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| ▶ | 0.6b | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 29.8b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| 5.2b | (*.f64 (-.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1) (atan2.f64 im re)) | |
| 1.3b | (*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) (atan2.f64 im re)) | |
| 0.5b | (/.f64 (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (pow.f64 (log.f64 base) 4)) | |
| ▶ | 6.6b | (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
Compiled 522 to 381 computations (27% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.6b | (pow.f64 (log.f64 base) -2) | |
| 0.4b | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) | |
| 0.3b | (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) | |
| ✓ | 0.3b | (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) |
| ✓ | 0.4b | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 0.6b | (pow.f64 (log.f64 base) -2) |
Compiled 42 to 20 computations (52.4% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | base | @ | 0 | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 0.0ms | base | @ | -inf | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 0.0ms | re | @ | inf | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 0.0ms | base | @ | inf | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 0.0ms | im | @ | inf | (*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
| 1× | batch-egg-rewrite |
| 963× | pow1_binary64 |
| 886× | add-log-exp_binary64 |
| 884× | log1p-expm1-u_binary64 |
| 884× | expm1-log1p-u_binary64 |
| 108× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 29 |
| 1 | 246 | 24 |
| 2 | 2554 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) |
| 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 (log.f64 base) (/.f64 1 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (log.f64 base) -2) (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 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (pow.f64 (atan2.f64 im re) 2))) (/.f64 1 (cbrt.f64 (*.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) (/.f64 1 (log.f64 base)))) (/.f64 1 (sqrt.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (log.f64 base)) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) (neg.f64 (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 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 cbrt.f64 (*.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) 3) (pow.f64 (log.f64 base) 3)))))) (#(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 expm1.f64 (log1p.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) (atan2.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (log.f64 base) -2) 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 (pow.f64 (log.f64 base) -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 594× | div-sub_binary64 |
| 524× | unswap-sqr_binary64 |
| 479× | associate-*l*_binary64 |
| 457× | associate-*r*_binary64 |
| 419× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 756 |
| 1 | 49 | 756 |
| 2 | 86 | 756 |
| 3 | 251 | 756 |
| 4 | 1062 | 756 |
| 5 | 5600 | 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 -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 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (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 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 (/.f64 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2)) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) | |
| 0.3b | (/.f64 1 (log.f64 base)) | |
| 0.1b | (/.f64 1 (atan2.f64 im re)) | |
| 0.1b | (/.f64 1 (atan2.f64 im re)) | |
| 0.3b | (/.f64 1 (log.f64 base)) | |
| ✓ | 0.5b | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
Compiled 31 to 15 computations (51.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | base | @ | 0 | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 0.0ms | base | @ | -inf | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 0.0ms | re | @ | -inf | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 0.0ms | base | @ | inf | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 0.0ms | im | @ | -inf | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 1× | batch-egg-rewrite |
| 965× | pow1_binary64 |
| 885× | add-log-exp_binary64 |
| 885× | log1p-expm1-u_binary64 |
| 885× | expm1-log1p-u_binary64 |
| 103× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 15 |
| 1 | 206 | 9 |
| 2 | 2594 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| Outputs |
|---|
((#(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 1 (/.f64 (atan2.f64 im re) (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 (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 (pow.f64 (log.f64 base) -2)) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (atan2.f64 im re)))))) (#(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 (log.f64 base) -1/2) (*.f64 (pow.f64 (log.f64 base) -1/2) (atan2.f64 im re)))))) (#(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 (/.f64 -1 (log.f64 base)) (/.f64 1 (/.f64 -1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (log.f64 base) -1/2) 1) (/.f64 (pow.f64 (log.f64 base) -1/2) (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2))) (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (cbrt.f64 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (cbrt.f64 (pow.f64 (atan2.f64 im re) -2))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (log.f64 base) -1/2) (cbrt.f64 (pow.f64 (atan2.f64 im re) -2))) (/.f64 (pow.f64 (log.f64 base) -1/2) (/.f64 1 (cbrt.f64 (atan2.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (atan2.f64 im re) -1/2)) (/.f64 (/.f64 1 (log.f64 base)) (pow.f64 (atan2.f64 im re) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (pow.f64 (atan2.f64 im re) -1/2)) (/.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (pow.f64 (atan2.f64 im re) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (log.f64 base)) -1) (neg.f64 (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 (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 (/.f64 1 (log.f64 base)) (/.f64 -1 (atan2.f64 im re))))))) (#(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 1 (log.f64 base)) 3) (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)))))) (#(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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 803× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 582× | associate--r-_binary64 |
| 489× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 324 |
| 1 | 32 | 324 |
| 2 | 45 | 324 |
| 3 | 90 | 324 |
| 4 | 188 | 324 |
| 5 | 586 | 324 |
| 6 | 2309 | 324 |
| 7 | 4816 | 324 |
| 8 | 6136 | 324 |
| 9 | 6396 | 324 |
| 10 | 6539 | 324 |
| 11 | 6647 | 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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 6.5b | (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) | |
| 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) | |
| 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) | |
| 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) | |
| ✓ | 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| ✓ | 6.5b | (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) |
Compiled 35 to 12 computations (65.7% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| 1.0ms | re | @ | inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| 1.0ms | base | @ | 0 | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| 1.0ms | re | @ | 0 | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| 1.0ms | re | @ | -inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| 1× | batch-egg-rewrite |
| 959× | pow1_binary64 |
| 891× | add-log-exp_binary64 |
| 891× | log1p-expm1-u_binary64 |
| 891× | expm1-log1p-u_binary64 |
| 102× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 26 |
| 1 | 204 | 24 |
| 2 | 2430 | 24 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) |
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)) (cbrt.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6))) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2)) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)) 1/3) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2) 1/3) (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2) 1/3))))) (#(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 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)))))) (#(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 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)) (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2) (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -3) (pow.f64 (/.f64 1 (atan2.f64 im re)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 2) -3) (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -3) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)) 1) (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)) (cbrt.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)))) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6)) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2))) (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3))))))) |
| 1× | egg-herbie |
| 798× | div-sub_binary64 |
| 681× | fma-def_binary64 |
| 631× | associate-/l*_binary64 |
| 485× | distribute-neg-frac_binary64 |
| 387× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 864 |
| 1 | 68 | 864 |
| 2 | 221 | 864 |
| 3 | 1018 | 756 |
| 4 | 4989 | 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 -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) 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)) |
(/.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)) |
| 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) 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) |
(/.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) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) | |
| 0.1b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) | |
| 0.1b | (pow.f64 (log.f64 base) -1/2) | |
| ✓ | 0.1b | (pow.f64 (log.f64 base) -1/2) |
| ✓ | 0.1b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
| ✓ | 0.2b | (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) |
Compiled 33 to 18 computations (45.5% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 50.0ms | base | @ | inf | (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) |
| 19.0ms | base | @ | -inf | (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) |
| 14.0ms | base | @ | 0 | (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) |
| 1.0ms | base | @ | -inf | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
| 1.0ms | base | @ | 0 | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
| 1× | batch-egg-rewrite |
| 930× | pow1_binary64 |
| 855× | add-log-exp_binary64 |
| 855× | log1p-expm1-u_binary64 |
| 855× | expm1-log1p-u_binary64 |
| 834× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 24 |
| 1 | 226 | 24 |
| 2 | 2430 | 24 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (log.f64 base) -1/2) 2) |
(*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) -1/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1)))) (#(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 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 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (*.f64 (cbrt.f64 (pow.f64 (log.f64 base) -1/2)) (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2)) (cbrt.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/4) (*.f64 (pow.f64 (log.f64 base) -1/4) (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (log.f64 base) -1/2) (pow.f64 (log.f64 base) -1/4)) (pow.f64 (log.f64 base) -1/4))))) (#(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 (*.f64 (pow.f64 (log.f64 base) -1/2) (cbrt.f64 (/.f64 1 (log.f64 base)))) (cbrt.f64 (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (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 cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))))) (#(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 (*.f64 (log.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (log.f64 base) -1/2) (sqrt.f64 (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 2) (pow.f64 (log.f64 base) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) 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 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 log1p.f64 (expm1.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (log.f64 base) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 base) -1/2)) (cbrt.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log.f64 base) -1/4) (pow.f64 (log.f64 base) -1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (log.f64 base) -2))) (sqrt.f64 (cbrt.f64 (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 -1/2) (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1/2) (pow.f64 (cbrt.f64 (log.f64 base)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (log.f64 base)) -1/2) (pow.f64 (sqrt.f64 (log.f64 base)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (log.f64 base) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 base) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (log.f64 base) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -1/2 (log.f64 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (log.f64 base) -1/2))))))) |
| 1× | egg-herbie |
| 790× | div-sub_binary64 |
| 618× | fma-neg_binary64 |
| 585× | associate--r-_binary64 |
| 492× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 520 |
| 1 | 42 | 520 |
| 2 | 55 | 512 |
| 3 | 102 | 512 |
| 4 | 202 | 512 |
| 5 | 595 | 512 |
| 6 | 2353 | 512 |
| 7 | 4882 | 512 |
| 8 | 6180 | 512 |
| 9 | 6438 | 512 |
| 10 | 6579 | 512 |
| 11 | 6687 | 512 |
| 1× | node limit |
| Inputs |
|---|
(/.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 -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)) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
| Outputs |
|---|
(/.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 -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)) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 -1 (log.f64 base)))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (log.f64 (/.f64 1 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 1 (neg.f64 (log.f64 base))))) |
(*.f64 (sqrt.f64 -1) (sqrt.f64 (/.f64 -1 (log.f64 base)))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
(sqrt.f64 (/.f64 1 (+.f64 (log.f64 -1) (*.f64 -1 (log.f64 (/.f64 -1 base)))))) |
(sqrt.f64 (/.f64 1 (log.f64 base))) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.7b | (pow.f64 (/.f64 1 (log.f64 base)) 3) | |
| 0.6b | (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) | |
| 0.3b | (/.f64 1 (log.f64 base)) | |
| 0.3b | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) | |
| ✓ | 0.3b | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
| 0.3b | (/.f64 1 (log.f64 base)) | |
| ✓ | 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 | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
| 0.0ms | base | @ | inf | (*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
| 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 | 2516 | 21 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 1 (log.f64 base)) 3) |
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) |
(*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
| 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 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 expm1.f64 (log1p.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 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 expm1.f64 (log1p.f64 (/.f64 1 (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 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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 758× | unsub-neg_binary64 |
| 673× | fma-neg_binary64 |
| 563× | fma-def_binary64 |
| 504× | distribute-rgt-in_binary64 |
| 403× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 504 |
| 1 | 60 | 504 |
| 2 | 120 | 504 |
| 3 | 362 | 504 |
| 4 | 1241 | 504 |
| 5 | 4947 | 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 -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) 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 -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 5081 to 2584 computations (49.1% saved)
22 alts after pruning (13 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 374 | 5 | 379 |
| Fresh | 3 | 8 | 11 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 9 | 11 |
| Total | 380 | 22 | 402 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.4b | (log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
| 26.1b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| ✓ | 1.4b | (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 3) |
| ✓ | 0.5b | (*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
| 29.8b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| 5.2b | (*.f64 (-.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1) (atan2.f64 im re)) | |
| ✓ | 33.0b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
| 0.6b | (/.f64 (log.f64 base) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) | |
| 6.6b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| 26.8b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 27.4b | (/.f64 (/.f64 1 (log.f64 base)) (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2)) | |
| 33.4b | (*.f64 (pow.f64 (pow.f64 (log.f64 base) -3) 1/3) (atan2.f64 im re)) | |
| 13.0b | (/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re))))) | |
| ✓ | 6.6b | (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) |
| 0.9b | (/.f64 (/.f64 1 (log.f64 base)) (-.f64 (+.f64 1 (/.f64 1 (atan2.f64 im re))) 1)) | |
| ✓ | 0.5b | (/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
| ✓ | 0.6b | (/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
| 0.7b | (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (log.f64 base) 3))) (atan2.f64 im re)) | |
| 1.3b | (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 3)) | |
| 1.3b | (*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) (atan2.f64 im re)) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
Compiled 285 to 215 computations (24.6% saved)
Total -55.0b remaining (-14362.3%)
Threshold costs -55.0b (-14362.3%)
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (/.f64 1 (log.f64 base)) (atan2.f64 im re)) |
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re))) |
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1) (atan2.f64 im re)) |
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (log.f64 base))) 1) (atan2.f64 im re)) |
(/.f64 (/.f64 1 (log.f64 base)) (-.f64 (+.f64 1 (/.f64 1 (atan2.f64 im re))) 1)) |
(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)))) |
(log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
(cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -3)) |
(sqrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -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) |
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) |
(*.f64 (pow.f64 (pow.f64 (log.f64 base) -3) 1/3) (atan2.f64 im re)) |
(*.f64 (pow.f64 (pow.f64 (log.f64 base) -1/2) 2) (atan2.f64 im re)) |
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) |
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) |
(*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (log.f64 base) 3))) (atan2.f64 im re)) |
(/.f64 1 (pow.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 3)) |
(/.f64 (log.f64 base) (/.f64 (pow.f64 (log.f64 base) 2) (atan2.f64 im re))) |
(*.f64 (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)) (atan2.f64 im re)) |
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3) (atan2.f64 im re)) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) -2)) |
(/.f64 (/.f64 1 (log.f64 base)) (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2)) |
(*.f64 (/.f64 (log.f64 base) 1) (*.f64 (pow.f64 (log.f64 base) -2) (atan2.f64 im re))) |
(*.f64 (/.f64 (log.f64 base) 1) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) 2))) |
(neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) 2)))) |
(*.f64 (/.f64 (atan2.f64 im re) 1) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) 2))) |
(*.f64 (/.f64 1 (log.f64 base)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base))) |
(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 (atan2.f64 im re) (pow.f64 (log.f64 base) 3)) (pow.f64 (log.f64 base) 4)) |
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base)))) |
(/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re)))) |
(*.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 (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 (-.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 (log.f64 base) (cbrt.f64 (pow.f64 (log.f64 base) 4))) (/.f64 (atan2.f64 im re) (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:
| 30.0ms | base |
| 29.0ms | re |
| 28.0ms | im |
| 24.0ms | (log.f64 base) |
| 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.4b | 1 | re |
| 0.4b | 1 | im |
| 0.4b | 1 | base |
| 0.4b | 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.4b | 1 | (log.f64 base) |
Compiled 615 to 274 computations (55.4% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| 1× | fuel |
Compiled 18 to 12 computations (33.3% saved)
Loading profile data...