Time bar (total: 1.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 |
| 25% | 74.9% | 0.1% | 5 |
| 25% | 62.4% | 12.6% | 6 |
| 37.5% | 50% | 12.6% | 7 |
| 46.8% | 37.5% | 15.7% | 8 |
| 53.1% | 30.4% | 16.5% | 9 |
| 58.5% | 20.7% | 20.8% | 10 |
| 62% | 16.2% | 21.8% | 11 |
| 65% | 10.8% | 24.2% | 12 |
| 66.8% | 8.3% | 24.8% | 13 |
| 68.3% | 5.5% | 26.1% | 14 |
Compiled 12 to 8 computations (33.3% saved)
| 856.0ms | 8256× | body | 128 | valid |
| 20.0ms | 241× | body | 128 | invalid |
Compiled 24 to 16 computations (33.3% saved)
| 2× | egg-herbie |
| 513× | fma-def_binary64 |
| 355× | fma-neg_binary64 |
| 110× | distribute-rgt-in_binary64 |
| 92× | cancel-sign-sub-inv_binary64 |
| 84× | unsub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 33 | 20 |
| 2 | 71 | 20 |
| 3 | 161 | 20 |
| 4 | 307 | 20 |
| 5 | 519 | 20 |
| 6 | 999 | 20 |
| 7 | 1438 | 20 |
| 8 | 1892 | 20 |
| 9 | 2042 | 20 |
| 10 | 2044 | 20 |
| 11 | 2044 | 20 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x))) |
| Outputs |
|---|
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 2 (*.f64 x (-.f64 x y))) |
(*.f64 (*.f64 2 x) (-.f64 x y)) |
(*.f64 x (*.f64 2 (-.f64 x y))) |
(*.f64 (*.f64 x -2) (-.f64 y x)) |
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x))) |
(*.f64 2 (*.f64 y (-.f64 y x))) |
(*.f64 (*.f64 2 y) (-.f64 y x)) |
(*.f64 y (*.f64 2 (-.f64 y x))) |
Compiled 11 to 7 computations (36.4% saved)
| 1× | egg-herbie |
| 382× | fma-def_binary64 |
| 286× | fma-neg_binary64 |
| 71× | associate-*l*_binary64 |
| 71× | distribute-rgt-in_binary64 |
| 66× | cancel-sign-sub-inv_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 10 |
| 1 | 18 | 10 |
| 2 | 43 | 10 |
| 3 | 102 | 10 |
| 4 | 207 | 10 |
| 5 | 294 | 10 |
| 6 | 502 | 10 |
| 7 | 871 | 10 |
| 8 | 1251 | 10 |
| 9 | 1448 | 10 |
| 10 | 1498 | 10 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y))) |
| Outputs |
|---|
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 2 (*.f64 x (-.f64 x y))) |
(*.f64 x (*.f64 (-.f64 x y) 2)) |
(*.f64 (-.f64 x y) (*.f64 2 x)) |
(*.f64 (*.f64 x -2) (-.f64 y x)) |
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 |
|---|---|---|
| 0.0b | (*.f64 (*.f64 x -2) (-.f64 y x)) | |
| ▶ | 0.0b | (*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y))) |
Compiled 58 to 37 computations (36.2% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 x x) (*.f64 x y)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (*.f64 x x) (*.f64 x y)) |
| 1.0ms | x | @ | inf | (-.f64 (*.f64 x x) (*.f64 x y)) |
| 1.0ms | y | @ | inf | (-.f64 (*.f64 x x) (*.f64 x y)) |
| 0.0ms | y | @ | 0 | (-.f64 (*.f64 x x) (*.f64 x y)) |
| 0.0ms | x | @ | -inf | (-.f64 (*.f64 x x) (*.f64 x y)) |
| 1× | batch-egg-rewrite |
| 781× | pow1_binary64 |
| 729× | log1p-expm1-u_binary64 |
| 729× | expm1-log1p-u_binary64 |
| 75× | add-sqr-sqrt_binary64 |
| 73× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 143 | 7 |
| 2 | 2049 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) (*.f64 x y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (*.f64 y (neg.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (+.f64 (*.f64 y (neg.f64 x)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 x) y (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y (neg.f64 x)) 1 (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x y))) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 x y))) (sqrt.f64 (*.f64 x y)) (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (+.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (*.f64 x (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y (neg.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2) (cbrt.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) (sqrt.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 (*.f64 x y))) (-.f64 x (sqrt.f64 (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))) (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (+.f64 x y)) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))) (neg.f64 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 y (neg.f64 x)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x))) (*.f64 (*.f64 x x) (*.f64 y (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3) (pow.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) 3)) (+.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2) (-.f64 (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x)))) (-.f64 (*.f64 x x) (*.f64 y (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))) (-.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (-.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (-.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2) (cbrt.f64 (*.f64 x (-.f64 x y))) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) (sqrt.f64 (*.f64 x (-.f64 x y))) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) |
| 1× | egg-herbie |
| 554× | associate-*r*_binary64 |
| 553× | fma-neg_binary64 |
| 459× | cancel-sign-sub-inv_binary64 |
| 416× | unswap-sqr_binary64 |
| 329× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 246 |
| 1 | 20 | 192 |
| 2 | 49 | 156 |
| 3 | 98 | 156 |
| 4 | 241 | 156 |
| 5 | 762 | 156 |
| 6 | 2485 | 156 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 2 | 58 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 58 | 2 | 60 |
| Status | Error | Program |
|---|---|---|
| 0.3b | (*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))) | |
| ▶ | 0.0b | (*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x)))) |
Compiled 970 to 379 computations (60.9% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x x (*.f64 y (neg.f64 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x x (*.f64 y (neg.f64 x))) |
| 1.0ms | x | @ | -inf | (fma.f64 x x (*.f64 y (neg.f64 x))) |
| 0.0ms | x | @ | inf | (fma.f64 x x (*.f64 y (neg.f64 x))) |
| 0.0ms | y | @ | 0 | (fma.f64 x x (*.f64 y (neg.f64 x))) |
| 0.0ms | y | @ | inf | (fma.f64 x x (*.f64 y (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 501× | pow1_binary64 |
| 460× | add-log-exp_binary64 |
| 459× | log1p-expm1-u_binary64 |
| 459× | expm1-log1p-u_binary64 |
| 450× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 123 | 8 |
| 2 | 1562 | 8 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 y (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x x) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x (*.f64 x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 x y))) (cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 x y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 x y)) 2)) (cbrt.f64 (fma.f64 x x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (*.f64 x y))) (hypot.f64 x (sqrt.f64 (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 x x) (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 (*.f64 x y) 2)) (fma.f64 x x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (*.f64 x y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 x y)))))))) |
| 1× | egg-herbie |
| 554× | associate-*r*_binary64 |
| 553× | fma-neg_binary64 |
| 459× | cancel-sign-sub-inv_binary64 |
| 416× | unswap-sqr_binary64 |
| 329× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 246 |
| 1 | 20 | 192 |
| 2 | 49 | 156 |
| 3 | 98 | 156 |
| 4 | 241 | 156 |
| 5 | 762 | 156 |
| 6 | 2485 | 156 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(*.f64 -1 (*.f64 y x)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 -1 (*.f64 y x)) |
(neg.f64 (*.f64 y x)) |
(*.f64 y (neg.f64 x)) |
(*.f64 x (neg.f64 y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x))) |
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 28 | 0 | 28 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 28 | 2 | 30 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.3b | (*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))) |
| ✓ | 0.0b | (*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x)))) |
Compiled 371 to 166 computations (55.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))) |
| ✓ | 49.7b | (fma.f64 (neg.f64 y) x (*.f64 x y)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))) |
| 1.0ms | y | @ | inf | (fma.f64 (neg.f64 y) x (*.f64 x y)) |
| 1.0ms | y | @ | 0 | (fma.f64 (neg.f64 y) x (*.f64 x y)) |
| 1.0ms | x | @ | -inf | (fma.f64 (neg.f64 y) x (*.f64 x y)) |
| 1.0ms | x | @ | inf | (fma.f64 (neg.f64 y) x (*.f64 x y)) |
| 1× | batch-egg-rewrite |
| 744× | log1p-expm1-u_binary64 |
| 744× | expm1-log1p-u_binary64 |
| 92× | add-sqr-sqrt_binary64 |
| 89× | *-un-lft-identity_binary64 |
| 89× | pow1_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 173 | 21 |
| 2 | 2423 | 21 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (neg.f64 y) x (*.f64 x y)) |
(fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y x) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 y y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 y y))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 y y))) 2) (cbrt.f64 (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 y y))) (sqrt.f64 (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 y x) 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 y x) 2)) (-.f64 (*.f64 y x) (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 y y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 y y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 y y)) (*.f64 x (+.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (+.f64 y x)) 1) (*.f64 x (+.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 x (+.f64 y x)) (*.f64 y x)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) 2) (cbrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) (sqrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 y x)) 3) (pow.f64 (*.f64 x (+.f64 y y)) 3)) (+.f64 (*.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y x))) (-.f64 (pow.f64 (*.f64 x (+.f64 y y)) 2) (*.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y x))) (pow.f64 (*.f64 x (+.f64 y y)) 2)) (-.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 y x) (*.f64 x (+.f64 y y))))))))) |
| 1× | egg-herbie |
| 390× | sub-neg_binary64 |
| 282× | associate-*l*_binary64 |
| 257× | associate--r+_binary64 |
| 234× | distribute-neg-in_binary64 |
| 218× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 378 |
| 1 | 103 | 216 |
| 2 | 286 | 180 |
| 3 | 1186 | 180 |
| 4 | 3988 | 180 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 (+.f64 (*.f64 -2 y) y) x) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(pow.f64 x 2) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(*.f64 (+.f64 (*.f64 -2 x) x) y) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 y (+.f64 (*.f64 -1 x) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 y (+.f64 (*.f64 -1 x) x))) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 y (*.f64 -1 y)) x) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 -1 (*.f64 (+.f64 y (*.f64 -1 y)) x)) |
(*.f64 y (*.f64 0 x)) |
0 |
(*.f64 (+.f64 (*.f64 -2 y) y) x) |
(*.f64 x (neg.f64 y)) |
(*.f64 y (neg.f64 x)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 y) y) x) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 (+.f64 (*.f64 2 y) (*.f64 -1 y)) x))) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 (+.f64 (*.f64 -2 x) x) y) |
(*.f64 x (neg.f64 y)) |
(*.f64 y (neg.f64 x)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 (+.f64 (*.f64 -2 x) x) y) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) |
(*.f64 x (neg.f64 y)) |
(*.f64 y (neg.f64 x)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 2 x) (*.f64 -1 x)) y)) (pow.f64 x 2)) |
(fma.f64 (neg.f64 y) x (*.f64 x x)) |
(*.f64 x (+.f64 (neg.f64 y) x)) |
(*.f64 x (-.f64 x y)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 0 | 62 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 62 | 2 | 64 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))) |
| ✓ | 0.0b | (*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x)))) |
Compiled 1024 to 393 computations (61.6% saved)
Total 0.0b remaining (35.4%)
Threshold costs 0.0b (35.4%)
Compiled 159 to 73 computations (54.1% saved)
| 1× | egg-herbie |
| 6× | *-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 | 8 | 13 |
| 1 | 16 | 13 |
| 2 | 24 | 13 |
| 3 | 30 | 13 |
| 4 | 33 | 13 |
| 5 | 34 | 13 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x)))) |
| Outputs |
|---|
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x)))) |
| 1× | done |
Compiled 49 to 30 computations (38.8% saved)
Loading profile data...