Time bar (total: 3.6s)
| 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 |
| 23.4% | 51.5% | 25.1% | 7 |
| 24.2% | 50.7% | 25.1% | 8 |
| 24.6% | 50.3% | 25.1% | 9 |
| 36.9% | 25.5% | 37.6% | 10 |
| 37.2% | 25.3% | 37.6% | 11 |
| 37.3% | 25.1% | 37.6% | 12 |
| 43.5% | 12.7% | 43.8% | 13 |
| 43.6% | 12.6% | 43.8% | 14 |
Compiled 32 to 21 computations (34.4% saved)
| 1.7s | 8256× | body | 128 | valid |
| 204.0ms | 1057× | body | 128 | invalid |
Compiled 64 to 42 computations (34.4% saved)
| 2× | egg-herbie |
| 752× | fma-neg_binary64 |
| 403× | fma-def_binary64 |
| 349× | associate-/l*_binary64 |
| 278× | distribute-rgt-in_binary64 |
| 264× | div-sub_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 |
| 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 |
| 407× | associate-/l*_binary64 |
| 380× | div-sub_binary64 |
| 313× | distribute-rgt-in_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 |
| 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 |
|---|---|---|
| 31.7b | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0))) | |
| ▶ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 117 to 73 computations (37.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 30.0ms | im | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 19.0ms | base | @ | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 12.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 |
| 72× | *-un-lft-identity_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 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (atan2.f64 im re) (/.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 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 (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 log1p.f64 (expm1.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 |
| 494× | fma-def_binary64 |
| 292× | distribute-rgt-in_binary64 |
| 231× | distribute-lft-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 104 |
| 1 | 29 | 104 |
| 2 | 43 | 96 |
| 3 | 92 | 72 |
| 4 | 189 | 72 |
| 5 | 583 | 72 |
| 6 | 2308 | 72 |
| 7 | 4815 | 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) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
| Outputs |
|---|
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(neg.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(*.f64 1 (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 9 | 35 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 10 | 37 |
| Status | Error | Program |
|---|---|---|
| 5.7b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| ▶ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| ✓ | 0.3b | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 33.8b | (*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base)))) | |
| 32.4b | (*.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)))) | |
| 1.6b | (*.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)))) | |
| 5.7b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) | |
| 31.3b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) |
Compiled 687 to 328 computations (52.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 1 (log.f64 base)) |
| ✓ | 0.3b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | base | @ | -inf | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | inf | (/.f64 1 (log.f64 base)) |
| 1.0ms | base | @ | 0 | (/.f64 1 (log.f64 base)) |
| 0.0ms | im | @ | 0 | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 0.0ms | base | @ | -inf | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 779× | pow1_binary64 |
| 712× | log1p-expm1-u_binary64 |
| 712× | expm1-log1p-u_binary64 |
| 86× | add-sqr-sqrt_binary64 |
| 84× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 15 |
| 1 | 175 | 15 |
| 2 | 2031 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (atan2.f64 im re) (log.f64 base))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.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 (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 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 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (/.f64 1 (log.f64 base)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3) (pow.f64 (atan2.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x 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 log1p.f64 (expm1.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 (log1p.f64 (/.f64 1 (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (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 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 exp.f64 (*.f64 (log.f64 (log.f64 base)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (log.f64 base))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (log.f64 base))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (log.f64 base)))))))) |
| 1× | egg-herbie |
| 767× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 493× | fma-def_binary64 |
| 292× | distribute-rgt-in_binary64 |
| 231× | distribute-lft-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 388 |
| 1 | 32 | 388 |
| 2 | 46 | 372 |
| 3 | 94 | 372 |
| 4 | 190 | 372 |
| 5 | 581 | 372 |
| 6 | 2294 | 372 |
| 7 | 4778 | 372 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 -1 (log.f64 (/.f64 1 base))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (-.f64 (log.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) (log.f64 (/.f64 -1 base)))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
(/.f64 1 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 -1 (neg.f64 (log.f64 base))) |
(/.f64 1 (log.f64 base)) |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 50 | 4 | 54 |
| Fresh | 2 | 6 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 0 | 1 |
| Total | 53 | 11 | 64 |
| Status | Error | Program |
|---|---|---|
| 5.7b | (cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3)) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| 1.6b | (*.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)))) | |
| 0.8b | (*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))) | |
| 0.7b | (/.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (log.f64 base))) | |
| 5.7b | (cbrt.f64 (/.f64 (pow.f64 (atan2.f64 im re) 3) (pow.f64 (log.f64 base) 3))) | |
| ▶ | 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 31.3b | (pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2) | |
| 33.8b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| 1.2b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
Compiled 880 to 479 computations (45.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (log.f64 base) (atan2.f64 im re)) |
| ✓ | 0.4b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | im | @ | -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 | 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.0ms | im | @ | inf | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| 1× | batch-egg-rewrite |
| 791× | log1p-expm1-u_binary64 |
| 791× | expm1-log1p-u_binary64 |
| 91× | add-sqr-sqrt_binary64 |
| 89× | pow1_binary64 |
| 88× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 181 | 18 |
| 2 | 2188 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
(/.f64 (log.f64 base) (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 (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 (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 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 (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 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 (atan2.f64 im re)) (log.f64 (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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
((#(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 (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 log.f64 (+.f64 1 (expm1.f64 (/.f64 (log.f64 base) (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 exp.f64 (*.f64 (log.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) 1))))) (#(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 expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))))) |
| 1× | egg-herbie |
| 493× | distribute-rgt-in_binary64 |
| 360× | fma-def_binary64 |
| 350× | distribute-lft-in_binary64 |
| 289× | div-sub_binary64 |
| 215× | sub-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 428 |
| 1 | 40 | 428 |
| 2 | 65 | 396 |
| 3 | 133 | 396 |
| 4 | 381 | 396 |
| 5 | 1215 | 396 |
| 6 | 3534 | 396 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(/.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))) (atan2.f64 im re)) |
(/.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))) (atan2.f64 im re)) |
(/.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))) (atan2.f64 im re)) |
(/.f64 (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base))) (atan2.f64 im re)) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 -1 (/.f64 (log.f64 (/.f64 1 base)) (atan2.f64 im re))) |
(neg.f64 (/.f64 (neg.f64 (log.f64 base)) (atan2.f64 im re))) |
(/.f64 (neg.f64 (neg.f64 (log.f64 base))) (atan2.f64 im re)) |
(/.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (-.f64 (log.f64 -1) (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) (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) (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) (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)) |
14 alts after pruning (12 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 75 | 6 | 81 |
| Fresh | 3 | 6 | 9 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 78 | 14 | 92 |
| Status | Error | Program |
|---|---|---|
| 5.9b | (pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3))) -1) | |
| 33.1b | (*.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)) | |
| 33.8b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| 9.5b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| 1.6b | (*.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)))) | |
| 0.8b | (*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))) | |
| 1.4b | (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))) -1) | |
| 0.7b | (/.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (log.f64 base))) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| ✓ | 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| ▶ | 0.3b | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 1.4b | (*.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)) | |
| 1.2b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
Compiled 1459 to 672 computations (53.9% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 0.0ms | base | @ | -inf | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 0.0ms | im | @ | -inf | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 0.0ms | re | @ | -inf | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 0.0ms | base | @ | inf | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 1× | batch-egg-rewrite |
| 730× | pow1_binary64 |
| 669× | log1p-expm1-u_binary64 |
| 669× | expm1-log1p-u_binary64 |
| 95× | add-sqr-sqrt_binary64 |
| 93× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 187 | 9 |
| 2 | 2576 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 0 (log.f64 base)) (/.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 1 (/.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 (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 (atan2.f64 im re)) (*.f64 (sqrt.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 (/.f64 1 (log.f64 base)) (atan2.f64 im re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 base)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (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 (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 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 -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) -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 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) (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 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 exp.f64 (*.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 1))))) (#(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 expm1.f64 (log1p.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))))))) |
| 1× | egg-herbie |
| 750× | div-sub_binary64 |
| 628× | fma-neg_binary64 |
| 493× | fma-def_binary64 |
| 292× | distribute-rgt-in_binary64 |
| 231× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 324 |
| 1 | 30 | 324 |
| 2 | 44 | 324 |
| 3 | 92 | 324 |
| 4 | 189 | 324 |
| 5 | 580 | 324 |
| 6 | 2307 | 324 |
| 7 | 4818 | 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 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (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) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
| Outputs |
|---|
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 -1 (/.f64 (atan2.f64 im re) (log.f64 (/.f64 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
14 alts after pruning (11 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 0 | 42 |
| Fresh | 0 | 11 | 11 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 42 | 14 | 56 |
| Status | Error | Program |
|---|---|---|
| 5.9b | (pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (atan2.f64 im re) 3))) -1) | |
| 33.1b | (*.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)) | |
| 33.8b | (*.f64 (atan2.f64 im re) (pow.f64 (pow.f64 (log.f64 base) -1/2) 2)) | |
| 9.5b | (pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1) | |
| 1.6b | (*.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)))) | |
| 0.8b | (*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2)))) | |
| 1.4b | (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) (*.f64 (cbrt.f64 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))) -1) | |
| 0.7b | (/.f64 (/.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (log.f64 base) 2))) (cbrt.f64 (log.f64 base))) | |
| ✓ | 0.4b | (*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base))) |
| ✓ | 0.6b | (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1) |
| ✓ | 0.3b | (/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 1.4b | (*.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)) | |
| 1.2b | (*.f64 (atan2.f64 im re) (pow.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) 3)) |
Compiled 714 to 313 computations (56.2% saved)
Total 0.3b remaining (86.9%)
Threshold costs 0.3b (86.9%)
Compiled 864 to 341 computations (60.5% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 17 | 13 |
| 2 | 23 | 13 |
| 3 | 27 | 13 |
| 4 | 28 | 13 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| Outputs |
|---|
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
| 1× | fuel |
Compiled 252 to 175 computations (30.6% saved)
Loading profile data...