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 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 6 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 7 |
| 63.2% | 56.2% | 32.8% | 0.1% | 10.9% | 0% | 0% | 8 |
| 74.3% | 65.6% | 22.6% | 0.1% | 11.7% | 0% | 0% | 9 |
| 79.6% | 65.6% | 16.8% | 0.1% | 17.6% | 0% | 0% | 10 |
| 85.9% | 70.2% | 11.5% | 0.1% | 18.1% | 0% | 0% | 11 |
| 89.2% | 70.2% | 8.5% | 0.1% | 21.2% | 0% | 0% | 12 |
Compiled 10 to 7 computations (30% saved)
| 637.0ms | 8255× | body | 256 | valid |
| 31.0ms | 418× | body | 256 | infinite |
| 0.0ms | 1× | body | 512 | valid |
| 2× | egg-herbie |
| 572× | fma-def |
| 214× | associate-*r* |
| 168× | associate--r+ |
| 142× | *-commutative |
| 136× | distribute-lft-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 38 |
| 1 | 21 | 38 |
| 2 | 41 | 38 |
| 3 | 85 | 38 |
| 4 | 137 | 38 |
| 5 | 204 | 38 |
| 6 | 411 | 38 |
| 7 | 838 | 38 |
| 8 | 1244 | 38 |
| 9 | 1338 | 38 |
| 10 | 1356 | 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)) |
(*.f64 1/2 (fma.f64 y y (neg.f64 x))) |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 350× | fma-def |
| 124× | associate--r+ |
| 120× | associate-*r* |
| 116× | distribute-lft-in |
| 90× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 14 | 19 |
| 2 | 25 | 19 |
| 3 | 50 | 19 |
| 4 | 80 | 19 |
| 5 | 116 | 19 |
| 6 | 219 | 19 |
| 7 | 400 | 19 |
| 8 | 627 | 19 |
| 9 | 827 | 19 |
| 10 | 899 | 19 |
| 11 | 915 | 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 | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
Compiled 9 to 6 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 x x) y) |
Compiled 20 to 7 computations (65% 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 |
| 1428× | add-sqr-sqrt |
| 1408× | *-un-lft-identity |
| 1318× | add-cube-cbrt |
| 1306× | add-cbrt-cube |
| 1296× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 132 | 13 |
| 2 | 1790 | 13 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 x x) y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x x) y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (*.f64 x x) y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y)))))) |
| 1× | egg-herbie |
| 1244× | associate-+r+ |
| 1142× | associate-*r* |
| 896× | associate-*l* |
| 772× | associate-+l+ |
| 570× | fma-def |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 103 | 1122 |
| 1 | 257 | 1042 |
| 2 | 1058 | 1042 |
| 3 | 4731 | 1042 |
| 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 (sqrt.f64 y)) (sqrt.f64 y) y)) |
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y)) |
(+.f64 (neg.f64 y) (*.f64 x x)) |
(*.f64 (-.f64 (*.f64 x x) y) 1) |
(*.f64 1 (-.f64 (*.f64 x x) y)) |
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.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 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (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 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y))) |
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y 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 4) (*.f64 y y)) (fma.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 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 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 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (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))))) |
(pow.f64 (-.f64 (*.f64 x x) y) 1) |
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2) |
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3) |
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3) |
(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))) |
(exp.f64 (*.f64 (log.f64 (-.f64 (*.f64 x x) y)) 1)) |
(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 (sqrt.f64 y)) (sqrt.f64 y) 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 (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 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.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 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y 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 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 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 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y))) |
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.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 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.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 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (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 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (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 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 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))) |
(pow.f64 (-.f64 (*.f64 x x) y) 1) |
(-.f64 (*.f64 x x) y) |
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2) |
(-.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) |
(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) |
(exp.f64 (*.f64 (log.f64 (-.f64 (*.f64 x x) y)) 1)) |
(-.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 569 to 282 computations (50.4% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 3 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 42 | 4 | 46 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ▶ | 41.9b | (*.f64 1/2 (*.f64 x x)) |
| ▶ | 20.4b | (*.f64 1/2 (neg.f64 y)) |
Compiled 31 to 22 computations (29% saved)
Compiled 10 to 6 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (*.f64 x x)) |
Compiled 12 to 6 computations (50% 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 |
| 1076× | add-sqr-sqrt |
| 1058× | *-un-lft-identity |
| 1006× | pow1 |
| 986× | add-cube-cbrt |
| 978× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 122 | 13 |
| 2 | 1408 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1470× | distribute-rgt-in |
| 1446× | distribute-lft-in |
| 1164× | log-prod |
| 746× | associate-*r* |
| 698× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 299 |
| 1 | 92 | 299 |
| 2 | 346 | 299 |
| 3 | 1898 | 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 (*.f64 x (sqrt.f64 1/2)) 2) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(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 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
Compiled 19 to 7 computations (63.2% saved)
Compiled 98 to 64 computations (34.7% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 14 | 4 | 18 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (*.f64 1/2 (fma.f64 x x (neg.f64 y))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| ✓ | 41.9b | (*.f64 1/2 (*.f64 x x)) |
| ✓ | 20.4b | (*.f64 1/2 (neg.f64 y)) |
Compiled 31 to 22 computations (29% 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:
| 27.0ms | (*.f64 x x) |
| 4.0ms | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 4.0ms | y |
| 4.0ms | x |
| 4.0ms | (-.f64 (*.f64 x x) y) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | y |
| 0b | 1 | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 0b | 1 | (-.f64 (*.f64 x x) y) |
| 0b | 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:
| 42.0ms | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 3.0ms | y |
| 3.0ms | (-.f64 (*.f64 x x) y) |
| 3.0ms | x |
| 2.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (*.f64 1/2 (-.f64 (*.f64 x x) y)) |
| 0.0b | 1 | (-.f64 (*.f64 x x) y) |
| 0.0b | 1 | (*.f64 x x) |
Compiled 45 to 28 computations (37.8% saved)
Total -52.3b remaining (-554.3%)
Threshold costs -52.3b (-554.3%)
| 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:
| 11.0ms | y |
| 8.0ms | x |
| 4.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 9.4b | 3 | x |
| 14.1b | 3 | y |
| 9.9b | 2 | (*.f64 x x) |
Compiled 22 to 15 computations (31.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 5.342154192878514e+30 | 3.40388236523697e+33 |
| 27.0ms | -8.131663519031103e-5 | -1.1432291970386273e-5 |
| 36.0ms | 224× | body | 256 | valid |
Compiled 224 to 178 computations (20.5% saved)
| 1× | egg-herbie |
| 16× | *-commutative |
| 6× | +-commutative |
| 4× | sub-neg |
| 4× | neg-mul-1 |
| 4× | neg-sub0 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 98 |
| 1 | 40 | 90 |
| 2 | 49 | 90 |
| 3 | 53 | 90 |
| 4 | 54 | 90 |
| 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 -4574792530279969/295147905179352825856) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 6899999999999999883876432347136) (*.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 -4574792530279969/295147905179352825856) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 6899999999999999883876432347136) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x)))) |
(if (or (<=.f64 x -4574792530279969/295147905179352825856) (not (<=.f64 x 6899999999999999883876432347136))) (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (neg.f64 y))) |
(if (or (<=.f64 x -4574792530279969/295147905179352825856) (not (<=.f64 x 6899999999999999883876432347136))) (*.f64 1/2 (*.f64 x x)) (*.f64 -1/2 y)) |
(if (or (<=.f64 x -4574792530279969/295147905179352825856) (not (<=.f64 x 6899999999999999883876432347136))) (*.f64 1/2 (*.f64 x x)) (*.f64 y -1/2)) |
(*.f64 1/2 (neg.f64 y)) |
(*.f64 -1/2 y) |
(*.f64 y -1/2) |
Compiled 42 to 30 computations (28.6% saved)
| 2× | egg-herbie |
| 1244× | associate-+r+ |
| 1244× | associate-+r+ |
| 1142× | associate-*r* |
| 1142× | associate-*r* |
| 896× | associate-*l* |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 103 | 1122 |
| 1 | 257 | 1042 |
| 2 | 1058 | 1042 |
| 3 | 4731 | 1042 |
| 0 | 103 | 1122 |
| 1 | 257 | 1042 |
| 2 | 1058 | 1042 |
| 3 | 4731 | 1042 |
| 1× | node limit |
| 1× | node limit |
Compiled 23 to 18 computations (21.7% saved)
Compiled 36 to 23 computations (36.1% saved)
Loading profile data...