Time bar (total: 4.7s)
| 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 | 8235× | body | 64 | valid |
| 1.1s | 1993× | body | 64 | invalid |
| 7.0ms | 21× | body | 128 | valid |
| 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 31 to 20 computations (35.5% 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)) |
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 |
|---|---|---|
| 33.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 117 to 73 computations (37.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 31.0ms | base | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 25.0ms | im | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 16.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 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 log1p.f64 (expm1.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)) |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 9 | 34 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 11 | 36 |
| Status | Error | Program |
|---|---|---|
| 33.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))) | |
| 34.2b | (pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 0.5b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) | |
| 1.7b | (*.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)))) | |
| 1.2b | (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) | |
| 32.2b | (exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 6.0b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| ▶ | 0.4b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 31.5b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 1.4b | (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) |
Compiled 729 to 362 computations (50.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| ✓ | 0.4b | (/.f64 (log.f64 base) (atan2.f64 im re)) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.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 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 log1p.f64 (expm1.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 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 log1p.f64 (expm1.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)) |
14 alts after pruning (13 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 65 | 11 | 76 |
| Fresh | 7 | 2 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 73 | 14 | 87 |
| Status | Error | Program |
|---|---|---|
| 33.0b | (/.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) | |
| 1.2b | (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) | |
| 6.0b | (pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3))) -1) | |
| 1.2b | (pow.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 1) (/.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re))) -1) | |
| 33.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.5b | (*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 4.0b | (*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) | |
| 34.2b | (pow.f64 (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3) -1) | |
| 1.7b | (*.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)))) | |
| 30.6b | (/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base))) | |
| 1.2b | (/.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base))) | |
| 12.0b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| 1.2b | (*.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)) |
Compiled 1467 to 688 computations (53.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 1 (atan2.f64 im re)) |
| ✓ | 0.1b | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| ✓ | 0.3b | (*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
| ✓ | 0.3b | (pow.f64 (log.f64 base) -1) |
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| 1.0ms | im | @ | -inf | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| 1.0ms | im | @ | inf | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| 1.0ms | re | @ | -inf | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| 1.0ms | im | @ | 0 | (pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
| 1× | batch-egg-rewrite |
| 949× | pow1_binary64 |
| 872× | add-log-exp_binary64 |
| 870× | log1p-expm1-u_binary64 |
| 870× | expm1-log1p-u_binary64 |
| 115× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 38 |
| 1 | 239 | 26 |
| 2 | 2684 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 base) -1) |
(*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
(pow.f64 (/.f64 1 (atan2.f64 im re)) -1) |
(/.f64 1 (atan2.f64 im re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (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 (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 -1 (neg.f64 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 base) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 base) -1/2) (sqrt.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 sqrt.f64 (pow.f64 (log.f64 base) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (log.f64 base)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))))) (#(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 log1p.f64 (expm1.f64 (/.f64 1 (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 (/.f64 1 (log.f64 base)) (/.f64 1 (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 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 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 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 (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 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 log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (atan2.f64 im re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (cbrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)) -1) (pow.f64 (/.f64 1 (cbrt.f64 (atan2.f64 im re))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) -1) (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 1 (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (/.f64 1 (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (atan2.f64 im re) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2))) (/.f64 1 (cbrt.f64 (atan2.f64 im re))))))) (#(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 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 im re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 im re))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.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 1 (/.f64 1 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (atan2.f64 im re))) (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (atan2.f64 im re) -2)) (/.f64 1 (cbrt.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (atan2.f64 im re) -1/2) (pow.f64 (atan2.f64 im re) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) -1) (pow.f64 (cbrt.f64 (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (atan2.f64 im re)) -1) (pow.f64 (sqrt.f64 (atan2.f64 im re)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 im re) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (atan2.f64 im re) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 756× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 587× | associate--r-_binary64 |
| 502× | fma-def_binary64 |
| 419× | associate--l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 492 |
| 1 | 35 | 492 |
| 2 | 48 | 492 |
| 3 | 92 | 492 |
| 4 | 189 | 492 |
| 5 | 581 | 492 |
| 6 | 2295 | 492 |
| 7 | 4802 | 492 |
| 8 | 6070 | 492 |
| 9 | 6331 | 492 |
| 10 | 6468 | 492 |
| 11 | 6576 | 492 |
| 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)) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
| 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)) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 7 | 88 |
| Fresh | 10 | 2 | 12 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 92 | 10 | 102 |
| Status | Error | Program |
|---|---|---|
| 30.6b | (/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base))) | |
| 30.7b | (*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2) -1)) | |
| 6.0b | (*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (cbrt.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)) -1)) | |
| 6.1b | (cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3) (pow.f64 (atan2.f64 im re) 3))) | |
| 1.2b | (*.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1)) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) | |
| 12.0b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| 30.8b | (*.f64 (exp.f64 (neg.f64 (log.f64 (log.f64 base)))) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) | |
| ▶ | 0.5b | (*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
| 0.9b | (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 1505 to 902 computations (40.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (log1p.f64 (expm1.f64 (atan2.f64 im re))) |
| ✓ | 0.3b | (*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
| 0.3b | (pow.f64 (log.f64 base) -1) | |
| ✓ | 0.4b | (expm1.f64 (atan2.f64 im re)) |
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (expm1.f64 (atan2.f64 im re)) |
| 0.0ms | re | @ | -inf | (expm1.f64 (atan2.f64 im re)) |
| 0.0ms | im | @ | inf | (expm1.f64 (atan2.f64 im re)) |
| 0.0ms | im | @ | -inf | (expm1.f64 (atan2.f64 im re)) |
| 0.0ms | base | @ | 0 | (*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
| 1× | batch-egg-rewrite |
| 850× | pow1_binary64 |
| 780× | expm1-log1p-u_binary64 |
| 779× | add-log-exp_binary64 |
| 779× | log1p-expm1-u_binary64 |
| 760× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 22 |
| 1 | 197 | 19 |
| 2 | 2173 | 19 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (atan2.f64 im re)) |
(*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
(log1p.f64 (expm1.f64 (atan2.f64 im re))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (atan2.f64 im re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (atan2.f64 im re))) (pow.f64 (cbrt.f64 (expm1.f64 (atan2.f64 im re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (atan2.f64 im re))) 2) (cbrt.f64 (expm1.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (atan2.f64 im re))) (sqrt.f64 (expm1.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (atan2.f64 im re)) 3) 1) (+.f64 (*.f64 (exp.f64 (atan2.f64 im re)) (exp.f64 (atan2.f64 im re))) (+.f64 1 (*.f64 (exp.f64 (atan2.f64 im re)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (atan2.f64 im re)) (exp.f64 (atan2.f64 im re))) 1) (+.f64 (exp.f64 (atan2.f64 im re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (atan2.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (atan2.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (atan2.f64 im re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (atan2.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (atan2.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (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) (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 (/.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 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 log1p.f64 (expm1.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (atan2.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (cbrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (atan2.f64 im re)) (sqrt.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (atan2.f64 im re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (atan2.f64 im re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (atan2.f64 im re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (atan2.f64 im re)) 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 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (atan2.f64 im re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (atan2.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x atan2.f64 im re))))) |
| 1× | egg-herbie |
| 759× | div-sub_binary64 |
| 629× | fma-neg_binary64 |
| 579× | associate--r-_binary64 |
| 494× | fma-def_binary64 |
| 304× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 564 |
| 1 | 37 | 564 |
| 2 | 51 | 564 |
| 3 | 96 | 564 |
| 4 | 194 | 564 |
| 5 | 586 | 564 |
| 6 | 2324 | 564 |
| 7 | 4839 | 564 |
| 8 | 6176 | 564 |
| 9 | 6504 | 564 |
| 10 | 6768 | 564 |
| 11 | 7133 | 564 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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)) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
| Outputs |
|---|
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.f64 (atan2.f64 im re)) |
(-.f64 (exp.f64 (atan2.f64 im re)) 1) |
(expm1.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 -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)) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
(atan2.f64 im re) |
9 alts after pruning (7 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 70 | 3 | 73 |
| Fresh | 4 | 4 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 74 | 9 | 83 |
| Status | Error | Program |
|---|---|---|
| 1.2b | (*.f64 (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base))) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) | |
| 6.0b | (*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (cbrt.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)) -1)) | |
| 0.9b | (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) | |
| ✓ | 0.4b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 6.1b | (cbrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (/.f64 1 (log.f64 base)) 3))) | |
| 30.6b | (/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base))) | |
| 12.0b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| ✓ | 0.5b | (*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
| 30.8b | (*.f64 (exp.f64 (neg.f64 (log.f64 (log.f64 base)))) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
Compiled 1060 to 518 computations (51.1% saved)
Total -57.1b remaining (-15215.4%)
Threshold costs -57.1b (-15215.4%)
| Inputs |
|---|
(*.f64 (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base))) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
(cbrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (/.f64 1 (log.f64 base)) 3))) |
(*.f64 (exp.f64 (neg.f64 (log.f64 (log.f64 base)))) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
(*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (pow.f64 (pow.f64 (atan2.f64 im re) -1/2) 2) -1)) |
(*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (cbrt.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)) -1)) |
(cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3) (pow.f64 (atan2.f64 im re) 3))) |
(*.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1)) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
(*.f64 (exp.f64 (neg.f64 (log.f64 (log.f64 base)))) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
(*.f64 (pow.f64 (log.f64 base) -1) (log1p.f64 (expm1.f64 (atan2.f64 im re)))) |
(*.f64 (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
(/.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) |
(pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3))) -1) |
(pow.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) 1) (/.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re))) -1) |
(*.f64 (pow.f64 (log.f64 base) -1) (pow.f64 (/.f64 1 (atan2.f64 im re)) -1)) |
(*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -2)) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(pow.f64 (pow.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3) 1/3) -1) |
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base))) |
(/.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base))) |
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) |
(*.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)) |
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3) |
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
(*.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)))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base)))) |
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) |
(cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) |
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)) |
(/.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 |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
| 19.0ms | 0.4b | re |
| 20.0ms | 0.4b | im |
| 22.0ms | 0.4b | base |
| 15.0ms | 0.4b | (/.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))) |
| 17.0ms | 0.4b | (log.f64 base) |
Compiled 493 to 232 computations (52.9% 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...