
Time bar (total: 2.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 10 to 6 computations (40% saved)
ival-add, time spent: 0.0ms, 0.0% of total-timeival-mult, time spent: 0.0ms, 0.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 404.0ms | 4678× | 256 | valid |
| 395.0ms | 3578× | 256 | infinite |
ival-mult, time spent: 159.0ms, 70.0% of total-timeival-add, time spent: 58.0ms, 26.0% of total-timeconst, time spent: 10.0ms, 4.0% of total-time| 1× | egg-herbie |
| 68× | fma-neg |
| 31× | fma-define |
| 19× | distribute-lft-neg-in |
| 13× | unsub-neg |
| 13× | neg-sub0 |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | im |
| 0 | 0 | - | 0 | - | (*.f64 im im) |
| 0 | 0 | - | 0 | - | (*.f64 re re) |
| 0 | 0 | - | 0 | - | re |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 re re) (*.f64 im im)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 197 |
| 1 | 47 | 197 |
| 2 | 100 | 197 |
| 3 | 226 | 197 |
| 4 | 312 | 197 |
| 5 | 339 | 197 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))) |
(neg.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))) |
(neg.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))) |
(+.f64 (*.f64 im im) (*.f64 re re)) |
| Outputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 re re (*.f64 im im)) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 re re (*.f64 im im)) |
(+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)) |
(fma.f64 re re (*.f64 im im)) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))) |
(fma.f64 re re (*.f64 im im)) |
(neg.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))) |
(neg.f64 (fma.f64 re re (*.f64 im im))) |
(neg.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))) |
(neg.f64 (fma.f64 re re (*.f64 im im))) |
(+.f64 (*.f64 im im) (*.f64 re re)) |
(fma.f64 re re (*.f64 im im)) |
(abs re)
(abs im)
(sort re im)
| 33.0ms | 264× | 256 | valid |
| 26.0ms | 248× | 256 | infinite |
Compiled 45 to 17 computations (62.2% saved)
ival-mult, time spent: 9.0ms, 66.0% of total-timeival-add, time spent: 4.0ms, 29.0% of total-timeconst, time spent: 1.0ms, 7.0% of total-timeCompiled 8 to 4 computations (50% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 9 to 5 computations (44.4% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 14.0ms | 132× | 256 | valid |
| 13.0ms | 124× | 256 | infinite |
Compiled 18 to 6 computations (66.7% saved)
ival-mult, time spent: 5.0ms, 71.0% of total-timeival-add, time spent: 2.0ms, 28.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| Inputs |
|---|
#<alt (+.f64 (*.f64 re re) (*.f64 im im))> |
| Outputs |
|---|
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (+ (* re re) (* im im)) |
| 1.0ms | re | @ | 0 | (+ (* re re) (* im im)) |
| 0.0ms | im | @ | inf | (+ (* re re) (* im im)) |
| 0.0ms | im | @ | 0 | (+ (* re re) (* im im)) |
| 0.0ms | re | @ | -inf | (+ (* re re) (* im im)) |
| 1× | batch-egg-rewrite |
| 573× | prod-diff |
| 502× | log1p-expm1-u |
| 502× | expm1-log1p-u |
| 435× | pow1 |
| 425× | unpow-prod-down |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 24 |
| 1 | 117 | 19 |
| 2 | 1476 | 19 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
| Outputs |
|---|
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 1 binary64)) |
(-.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) (/.f64 (pow.f64 im #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(*.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) (log.f64 (exp.f64 #s(literal 1 binary64)))) |
(*.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64)))) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64))) (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(*.f64 (hypot.f64 re im) (hypot.f64 re im)) |
(*.f64 (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 (*.f64 re im) #s(literal 2 binary64))))) |
(*.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/3 binary64)) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 2 binary64)) #s(literal 3 binary64)) (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 3 binary64))) |
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) #s(literal 1/3 binary64)) (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) #s(literal 1/3 binary64))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64)) (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64)))) #s(literal 1/3 binary64)) (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))))) |
(*.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) #s(literal 5/2 binary64)) #s(literal 1/3 binary64)) (cbrt.f64 (hypot.f64 re im))) |
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 (*.f64 re im) #s(literal 2 binary64))) (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))))) |
(/.f64 (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (-.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 (*.f64 re im) #s(literal 2 binary64)))) |
(/.f64 (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (+.f64 (pow.f64 im #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64)))) (neg.f64 (-.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 (*.f64 re im) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (neg.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (-.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))) |
(pow.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 3 binary64)) |
(pow.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64)) #s(literal 1/2 binary64)) |
(pow.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64)) #s(literal 1/3 binary64)) |
(pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
(pow.f64 (/.f64 (-.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 (*.f64 re im) #s(literal 2 binary64))) (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64)))) #s(literal -1 binary64)) |
(pow.f64 (/.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) #s(literal -1 binary64)) |
(sqrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64))) |
(log.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) |
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 #s(literal 2 binary64) (log.f64 (hypot.f64 re im)))) |
(exp.f64 (*.f64 (*.f64 #s(literal 2 binary64) (log.f64 (hypot.f64 re im))) #s(literal 1 binary64))) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) #s(literal 1/3 binary64))) |
(exp.f64 (*.f64 (log.f64 (hypot.f64 re im)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) (log.f64 (hypot.f64 re im))) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(fma.f64 re re (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 im im (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 2 binary64)) (pow.f64 (cbrt.f64 im) #s(literal 4 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 4 binary64)) (pow.f64 (cbrt.f64 im) #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 re) #s(literal 2 binary64)) (pow.f64 (cbrt.f64 re) #s(literal 4 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 re) #s(literal 4 binary64)) (pow.f64 (cbrt.f64 re) #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (sqrt.f64 im) (pow.f64 im #s(literal 3/2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (sqrt.f64 re) (pow.f64 re #s(literal 3/2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 im #s(literal 3/2 binary64)) (sqrt.f64 im) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 re #s(literal 3/2 binary64)) (sqrt.f64 re) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 5 binary64)) (cbrt.f64 im) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 re) #s(literal 5 binary64)) (cbrt.f64 re) (pow.f64 im #s(literal 2 binary64))) |
Compiled 905 to 608 computations (32.8% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 1 | 82 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 81 | 2 | 83 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
| ✓ | 100.0% | (+.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 16 to 10 computations (37.5% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
| 86.0ms | 132× | 256 | valid |
| 26.0ms | 124× | 256 | infinite |
Compiled 14 to 7 computations (50% saved)
composed, time spent: 80.0ms, 46.0% of total-timeival-add, time spent: 73.0ms, 42.0% of total-timeival-pow, time spent: 16.0ms, 9.0% of total-timeival-mult, time spent: 4.0ms, 2.0% of total-timeival-sqrt, time spent: 2.0ms, 1.0% of total-timeconst, time spent: 1.0ms, 1.0% of total-time| Inputs |
|---|
#<alt (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))> |
| Outputs |
|---|
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))> |
#<alt (pow.f64 re #s(literal 2 binary64))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))> |
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (pow.f64 im #s(literal 2 binary64))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
#<alt (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | inf | (pow (sqrt (+ (* re re) (* im im))) 2) |
| 0.0ms | im | @ | inf | (pow (sqrt (+ (* re re) (* im im))) 2) |
| 0.0ms | re | @ | 0 | (pow (sqrt (+ (* re re) (* im im))) 2) |
| 0.0ms | re | @ | -inf | (pow (sqrt (+ (* re re) (* im im))) 2) |
| 0.0ms | im | @ | -inf | (pow (sqrt (+ (* re re) (* im im))) 2) |
| 1× | batch-egg-rewrite |
| 302× | log1p-expm1-u |
| 302× | expm1-log1p-u |
| 286× | add-exp-log |
| 278× | pow1 |
| 276× | unpow-prod-down |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 19 |
| 1 | 89 | 19 |
| 2 | 918 | 19 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
| Outputs |
|---|
(+.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(+.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal -1 binary64)) |
(+.f64 #s(literal 0 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 2 binary64)))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))))) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))))) |
(-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 1 binary64)) |
(-.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) (/.f64 (pow.f64 im #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(*.f64 (hypot.f64 re im) (hypot.f64 re im)) |
(*.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) (log.f64 (E.f64))) |
(*.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 2 binary64)) (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 4 binary64)) (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (hypot.f64 re im)) (pow.f64 (hypot.f64 re im) #s(literal 3/2 binary64))) |
(*.f64 (pow.f64 (hypot.f64 re im) #s(literal 3/2 binary64)) (sqrt.f64 (hypot.f64 re im))) |
(*.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64)))))) |
(*.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 5 binary64)) (cbrt.f64 (hypot.f64 re im))) |
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/3 binary64)) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 re im) #s(literal 5 binary64)) #s(literal 1/3 binary64)) (cbrt.f64 (hypot.f64 re im))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 8 binary64))) #s(literal 2 binary64)) #s(literal 1/3 binary64)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 re im))) #s(literal 2 binary64))) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 5 binary64))) (cbrt.f64 (hypot.f64 re im))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 8 binary64))) #s(literal 2 binary64))) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 re im))) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) #s(literal 2 binary64)) #s(literal 5 binary64))) (cbrt.f64 (hypot.f64 re im))) |
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64)))) (+.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))))) |
(/.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64)))) (neg.f64 (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (neg.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))) |
(/.f64 (+.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (+.f64 (pow.f64 im #s(literal 4 binary64)) (-.f64 (pow.f64 re #s(literal 4 binary64)) (*.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))) |
(/.f64 (-.f64 (pow.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (*.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) (+.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 1 binary64))))) |
(/.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (-.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))) |
(/.f64 (-.f64 (*.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) #s(literal 1 binary64)) (+.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) #s(literal 1 binary64))) |
(sqrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 4 binary64))) |
(fabs.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64))) |
(log.f64 (exp.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(cbrt.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) |
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(exp.f64 (log.f64 (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (*.f64 #s(literal 2 binary64) (log.f64 (cbrt.f64 (hypot.f64 re im)))) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 re im) #s(literal 6 binary64))) #s(literal 1/3 binary64))) |
(fma.f64 re re (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 im im (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (cbrt.f64 (pow.f64 re #s(literal 2 binary64))) (cbrt.f64 (pow.f64 re #s(literal 4 binary64))) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 2 binary64)) (pow.f64 (cbrt.f64 im) #s(literal 4 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (sqrt.f64 re) (pow.f64 re #s(literal 3/2 binary64)) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (sqrt.f64 im) (pow.f64 im #s(literal 3/2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 4 binary64)) (pow.f64 (cbrt.f64 im) #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (cbrt.f64 (pow.f64 re #s(literal 4 binary64))) (cbrt.f64 (pow.f64 re #s(literal 2 binary64))) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 re #s(literal 3/2 binary64)) (sqrt.f64 re) (pow.f64 im #s(literal 2 binary64))) |
(fma.f64 (pow.f64 im #s(literal 3/2 binary64)) (sqrt.f64 im) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 im) #s(literal 5 binary64)) (cbrt.f64 im) (pow.f64 re #s(literal 2 binary64))) |
(fma.f64 (pow.f64 (cbrt.f64 re) #s(literal 5 binary64)) (cbrt.f64 re) (pow.f64 im #s(literal 2 binary64))) |
Compiled 940 to 615 computations (34.6% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 82 | 0 | 82 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 82 | 2 | 84 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
| ✓ | 100.0% | (+.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 30 to 18 computations (40% saved)
Total -0.0b remaining (-100%)
Threshold costs -0b (-100%)
| 1× | done |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(pow.f64 (hypot.f64 re im) #s(literal 2 binary64)) |
| Outputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
5 calls:
| 8.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 3.0ms | (*.f64 im im) |
| 2.0ms | (*.f64 re re) |
| 1.0ms | im |
| 1.0ms | re |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | re |
| 100.0% | 1 | im |
| 100.0% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 100.0% | 1 | (*.f64 re re) |
| 100.0% | 1 | (*.f64 im im) |
Compiled 34 to 20 computations (41.2% saved)
(sort re im)
(abs im)
(abs re)
Compiled 144 to 80 computations (44.4% saved)
Loading profile data...