
Time bar (total: 1.6s)
| 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 7 computations (30% saved)
| 516.0ms | 6238× | body | 256 | valid |
| 154.0ms | 2018× | body | 256 | infinite |
| 2× | egg-herbie |
| 1012× | fma-def |
| 96× | distribute-lft-neg-in |
| 92× | distribute-lft-in |
| 86× | associate-*r* |
| 84× | distribute-rgt-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 38 |
| 1 | 21 | 38 |
| 2 | 41 | 38 |
| 3 | 83 | 38 |
| 4 | 147 | 38 |
| 5 | 206 | 38 |
| 6 | 387 | 38 |
| 7 | 667 | 38 |
| 8 | 1060 | 38 |
| 9 | 1162 | 38 |
| 10 | 1180 | 38 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
(*.f64 1/2 (-.f64 (*.f64 y y) x)) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
(*.f64 1/2 (-.f64 (*.f64 y y) x)) |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 630× | fma-def |
| 76× | distribute-lft-in |
| 74× | unsub-neg |
| 68× | distribute-rgt-in |
| 56× | distribute-lft-neg-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 14 | 19 |
| 2 | 25 | 19 |
| 3 | 49 | 19 |
| 4 | 84 | 19 |
| 5 | 116 | 19 |
| 6 | 207 | 19 |
| 7 | 345 | 19 |
| 8 | 558 | 19 |
| 9 | 725 | 19 |
| 10 | 824 | 19 |
| 11 | 840 | 19 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
Compiled 9 to 6 computations (33.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ▶ | 100.0% | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
Compiled 18 to 12 computations (33.3% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (*.f64 x x) y) |
Compiled 21 to 8 computations (61.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 (*.f64 x x) y) |
| 0.0ms | x | @ | 0 | (-.f64 (*.f64 x x) y) |
| 0.0ms | y | @ | inf | (-.f64 (*.f64 x x) y) |
| 0.0ms | y | @ | 0 | (-.f64 (*.f64 x x) y) |
| 0.0ms | y | @ | -inf | (-.f64 (*.f64 x x) y) |
| 1× | batch-egg-rewrite |
| 1408× | pow1 |
| 1308× | add-exp-log |
| 1308× | log1p-expm1-u |
| 1308× | expm1-log1p-u |
| 1280× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 132 | 13 |
| 2 | 1799 | 13 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) y) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (neg.f64 y)) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y)) |
(+.f64 (neg.f64 y) (*.f64 x x)) |
(*.f64 (-.f64 (*.f64 x x) y) 1) |
(*.f64 1 (-.f64 (*.f64 x x) y)) |
(*.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y))) |
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3)))) |
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y))))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y))) |
(pow.f64 (-.f64 (*.f64 x x) y) 1) |
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3) |
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3) |
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2) |
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2)) |
(log.f64 (exp.f64 (-.f64 (*.f64 x x) y))) |
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3)) |
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y))) |
(exp.f64 (log.f64 (-.f64 (*.f64 x x) y))) |
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y))) |
(fma.f64 x x (neg.f64 y)) |
(fma.f64 1 (*.f64 x x) (neg.f64 y)) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y)) |
| 1× | egg-herbie |
| 1348× | div-sub |
| 1026× | fma-neg |
| 790× | fma-def |
| 750× | associate-*r* |
| 680× | associate-*l* |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 101 | 965 |
| 1 | 249 | 915 |
| 2 | 892 | 915 |
| 3 | 4610 | 915 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(*.f64 -1 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(*.f64 -1 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(+.f64 (*.f64 x x) (neg.f64 y)) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y)) |
(+.f64 (neg.f64 y) (*.f64 x x)) |
(*.f64 (-.f64 (*.f64 x x) y) 1) |
(*.f64 1 (-.f64 (*.f64 x x) y)) |
(*.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y))) |
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3)))) |
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y))))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y))) |
(pow.f64 (-.f64 (*.f64 x x) y) 1) |
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3) |
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3) |
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2) |
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2)) |
(log.f64 (exp.f64 (-.f64 (*.f64 x x) y))) |
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3)) |
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y))) |
(exp.f64 (log.f64 (-.f64 (*.f64 x x) y))) |
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y))) |
(fma.f64 x x (neg.f64 y)) |
(fma.f64 1 (*.f64 x x) (neg.f64 y)) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y)) |
| Outputs |
|---|
(*.f64 -1 y) |
(neg.f64 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(*.f64 -1 y) |
(neg.f64 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(*.f64 -1 y) |
(neg.f64 y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (pow.f64 x 2) (*.f64 -1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (*.f64 x x) (neg.f64 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y)) |
(-.f64 (*.f64 x x) y) |
(+.f64 (neg.f64 y) (*.f64 x x)) |
(-.f64 (*.f64 x x) y) |
(*.f64 (-.f64 (*.f64 x x) y) 1) |
(-.f64 (*.f64 x x) y) |
(*.f64 1 (-.f64 (*.f64 x x) y)) |
(-.f64 (*.f64 x x) y) |
(*.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2)) |
(-.f64 (*.f64 x x) y) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4))) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(-.f64 (*.f64 x x) y) |
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y))) |
(-.f64 (*.f64 x x) y) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3)))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4))) |
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(-.f64 (*.f64 x x) y) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y)) |
(-.f64 (*.f64 x x) y) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y))) |
(-.f64 (*.f64 x x) y) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y))))) |
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))) |
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y))) |
(-.f64 (*.f64 x x) y) |
(pow.f64 (-.f64 (*.f64 x x) y) 1) |
(-.f64 (*.f64 x x) y) |
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3) |
(-.f64 (*.f64 x x) y) |
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3) |
(-.f64 (*.f64 x x) y) |
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2) |
(-.f64 (*.f64 x x) y) |
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2)) |
(-.f64 (*.f64 x x) y) |
(log.f64 (exp.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3)) |
(-.f64 (*.f64 x x) y) |
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(exp.f64 (log.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y))) |
(-.f64 (*.f64 x x) y) |
(fma.f64 x x (neg.f64 y)) |
(-.f64 (*.f64 x x) y) |
(fma.f64 1 (*.f64 x x) (neg.f64 y)) |
(-.f64 (*.f64 x x) y) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y)) |
(-.f64 (*.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x))) y) |
Compiled 536 to 264 computations (50.7% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 3 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 4 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| ✓ | 100.0% | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ▶ | 53.9% | (*.f64 1/2 (*.f64 x x)) |
| ▶ | 48.3% | (*.f64 1/2 (neg.f64 y)) |
| ▶ | 100.0% | (*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| ✓ | 100.0% | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ▶ | 53.9% | (*.f64 1/2 (*.f64 x x)) |
| ▶ | 48.3% | (*.f64 1/2 (neg.f64 y)) |
Compiled 62 to 44 computations (29% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 1/2 (*.f64 x x)) |
Compiled 38 to 15 computations (60.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1058× | pow1 |
| 1024× | add-sqr-sqrt |
| 976× | add-exp-log |
| 976× | log1p-expm1-u |
| 976× | expm1-log1p-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 122 | 13 |
| 2 | 1383 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
| 1× | egg-herbie |
| 2120× | log-prod |
| 1106× | distribute-rgt-in |
| 1092× | distribute-lft-in |
| 768× | associate-*r* |
| 688× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 299 |
| 1 | 90 | 299 |
| 2 | 319 | 299 |
| 3 | 2131 | 299 |
| 4 | 7005 | 299 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(*.f64 1/2 (*.f64 x x)) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(*.f64 1/2 (*.f64 x x)) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(*.f64 1/2 (*.f64 x x)) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(*.f64 1/2 (*.f64 x x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(*.f64 1/2 (*.f64 x x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
Compiled 93 to 61 computations (34.4% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 0 | 13 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 13 | 4 | 17 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| ✓ | 100.0% | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ✓ | 53.9% | (*.f64 1/2 (*.f64 x x)) |
| ✓ | 48.3% | (*.f64 1/2 (neg.f64 y)) |
Compiled 56 to 36 computations (35.7% saved)
| Inputs |
|---|
(*.f64 1/2 (neg.f64 y)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
(*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| Outputs |
|---|
(*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
5 calls:
| 6.0ms | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 4.0ms | (-.f64 (*.f64 x x) y) |
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 100.0% | 1 | (-.f64 (*.f64 x x) y) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 52 to 31 computations (40.4% saved)
| Inputs |
|---|
(*.f64 1/2 (neg.f64 y)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
5 calls:
| 11.0ms | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 3.0ms | y |
| 3.0ms | (-.f64 (*.f64 x x) y) |
| 3.0ms | x |
| 3.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 100.0% | 1 | (-.f64 (*.f64 x x) y) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 45 to 28 computations (37.8% saved)
| Inputs |
|---|
(*.f64 1/2 (neg.f64 y)) |
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (neg.f64 y)) |
(*.f64 1/2 (*.f64 x x)) |
3 calls:
| 17.0ms | y |
| 9.0ms | (*.f64 x x) |
| 9.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.0% | 3 | x |
| 70.3% | 5 | y |
| 89.8% | 4 | (*.f64 x x) |
Compiled 22 to 15 computations (31.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(*.f64 1/2 (neg.f64 y)) |
| Outputs |
|---|
(*.f64 1/2 (neg.f64 y)) |
2 calls:
| 4.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 48.3% | 1 | y |
| 48.3% | 1 | x |
Compiled 12 to 9 computations (25% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 7.906367983726275e-53 | 3.96131433791297e-47 |
| 11.0ms | -2.025621106053142e-38 | -6.0100160489122625e-40 |
| 22.0ms | 256× | body | 256 | valid |
Compiled 254 to 202 computations (20.5% saved)
| 1× | egg-herbie |
| 16× | *-commutative |
| 8× | sub-neg |
| 8× | +-commutative |
| 6× | neg-mul-1 |
| 6× | neg-sub0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 98 |
| 1 | 40 | 98 |
| 2 | 49 | 98 |
| 3 | 55 | 98 |
| 4 | 58 | 98 |
| 5 | 59 | 98 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
(if (<=.f64 x -1724057483474125/95780971304118053647396689196894323976171195136475136) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1799770609570069/102844034832575377634685573909834406561420991602098741459288064) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (neg.f64 y)) |
| Outputs |
|---|
(*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
(*.f64 1/2 (-.f64 (*.f64 x x) y)) |
(if (<=.f64 x -1724057483474125/95780971304118053647396689196894323976171195136475136) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1799770609570069/102844034832575377634685573909834406561420991602098741459288064) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x)))) |
(if (or (<=.f64 x -1724057483474125/95780971304118053647396689196894323976171195136475136) (not (<=.f64 x 1799770609570069/102844034832575377634685573909834406561420991602098741459288064))) (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (neg.f64 y))) |
(*.f64 1/2 (neg.f64 y)) |
Compiled 44 to 32 computations (27.3% saved)
| 1408× | pow1 |
| 1348× | div-sub |
| 1348× | div-sub |
| 1308× | add-exp-log |
| 1308× | log1p-expm1-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 132 | 13 |
| 2 | 1799 | 13 |
| 0 | 101 | 965 |
| 1 | 249 | 915 |
| 2 | 892 | 915 |
| 3 | 4610 | 915 |
| 0 | 101 | 965 |
| 1 | 249 | 915 |
| 2 | 892 | 915 |
| 3 | 4610 | 915 |
| 1× | node limit |
| 1× | node limit |
| 1× | node limit |
Compiled 39 to 28 computations (28.2% saved)
Compiled 94 to 58 computations (38.3% saved)
Loading profile data...