Time bar (total: 2.0s)
| 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 |
| 65.6% | 65.6% | 34.3% | 0.1% | 0% | 0% | 0% | 8 |
| 76.6% | 76.5% | 23.4% | 0.1% | 0% | 0% | 0% | 9 |
| 82% | 82% | 18% | 0.1% | 0% | 0% | 0% | 10 |
| 87.9% | 87.8% | 12.1% | 0.1% | 0% | 0% | 0% | 11 |
| 90.8% | 90.7% | 9.2% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 11 to 8 computations (27.3% saved)
| 764.0ms | 7987× | body | 256 | valid |
| 27.0ms | 94× | body | 2048 | valid |
| 24.0ms | 110× | body | 1024 | valid |
| 10.0ms | 65× | body | 512 | valid |
| 2× | egg-herbie |
| 128× | fma-neg_binary64 |
| 44× | fma-def_binary64 |
| 40× | cancel-sign-sub-inv_binary64 |
| 34× | sub-neg_binary64 |
| 21× | associate--r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 24 |
| 1 | 20 | 24 |
| 2 | 28 | 24 |
| 3 | 40 | 24 |
| 4 | 70 | 24 |
| 5 | 141 | 24 |
| 6 | 188 | 24 |
| 7 | 292 | 24 |
| 8 | 355 | 20 |
| 9 | 418 | 20 |
| 10 | 490 | 20 |
| 11 | 535 | 20 |
| 12 | 548 | 20 |
| 13 | 553 | 20 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(+.f64 y (/.f64 (fabs.f64 (-.f64 x y)) 2)) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(+.f64 x (*.f64 1/2 (fabs.f64 (-.f64 y x)))) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x) |
(+.f64 y (/.f64 (fabs.f64 (-.f64 x y)) 2)) |
(+.f64 y (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(+.f64 y (*.f64 1/2 (fabs.f64 (-.f64 y x)))) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) y) |
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 y) |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
| 97× | fma-neg_binary64 |
| 34× | fma-def_binary64 |
| 32× | cancel-sign-sub-inv_binary64 |
| 28× | sub-neg_binary64 |
| 17× | distribute-rgt-neg-in_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 12 |
| 2 | 20 | 12 |
| 3 | 29 | 12 |
| 4 | 50 | 12 |
| 5 | 106 | 12 |
| 6 | 163 | 12 |
| 7 | 211 | 12 |
| 8 | 275 | 10 |
| 9 | 320 | 10 |
| 10 | 379 | 10 |
| 11 | 424 | 10 |
| 12 | 447 | 10 |
| 13 | 455 | 10 |
| 14 | 460 | 10 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(+.f64 x (*.f64 1/2 (fabs.f64 (-.f64 y x)))) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x) |
Compiled 17 to 9 computations (47.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
Compiled 10 to 7 computations (30% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
Compiled 26 to 10 computations (61.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 1.0ms | x | @ | -inf | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 1.0ms | x | @ | inf | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 1.0ms | y | @ | inf | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 1.0ms | x | @ | 0 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 1× | batch-egg-rewrite |
| 548× | unpow-prod-down_binary64 |
| 395× | log-prod_binary64 |
| 381× | fma-def_binary64 |
| 266× | pow-prod-down_binary64 |
| 234× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 191 | 8 |
| 2 | 2869 | 8 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 (-.f64 y x) 1/2))) (/.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4) (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (/.f64 1 (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (pow.f64 (/.f64 1 (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (pow.f64 (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 (-.f64 y x) 1/2 x) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 2) 3) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x)) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 (pow.f64 (-.f64 y x) 2) 1/4 (-.f64 (*.f64 x x) (*.f64 x (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (-.f64 x (*.f64 (-.f64 y x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) (neg.f64 (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) (neg.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4) (*.f64 x x)) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (-.f64 y x) 1/2) (fma.f64 (-.f64 y x) 1/2 (neg.f64 x)) (*.f64 x x)) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (sqrt.f64 (exp.f64 (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 (-.f64 y x))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (-.f64 y x) 1/2 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 y x) 1/2 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (-.f64 y x) 1/2) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) (*.f64 (cbrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) (cbrt.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (-.f64 y x)) -1/2 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (-.f64 y x) x))))) |
| 1× | egg-herbie |
| 84× | fma-neg_binary64 |
| 62× | fma-def_binary64 |
| 29× | cancel-sign-sub-inv_binary64 |
| 23× | sub-neg_binary64 |
| 21× | distribute-rgt-neg-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 221 |
| 1 | 45 | 221 |
| 2 | 68 | 221 |
| 3 | 115 | 221 |
| 4 | 181 | 221 |
| 5 | 214 | 221 |
| 6 | 286 | 221 |
| 7 | 338 | 221 |
| 8 | 387 | 221 |
| 9 | 415 | 221 |
| 10 | 422 | 221 |
| 11 | 427 | 221 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
x |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
x |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
| Outputs |
|---|
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
(*.f64 1/2 (fabs.f64 (-.f64 x y))) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
x |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
x |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (+.f64 y (*.f64 -1 x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (-.f64 y x))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
(+.f64 (*.f64 1/2 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 y x)) x) |
(fma.f64 1/2 (fabs.f64 (-.f64 x y)) x) |
Compiled 1014 to 540 computations (46.7% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 68 | 4 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 68 | 5 | 73 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| ▶ | 32.1b | (*.f64 1/2 (fabs.f64 (-.f64 y x))) |
| ▶ | 26.6b | (fma.f64 (-.f64 y x) 1/2 x) |
| 56.3b | x | |
| ▶ | 30.0b | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
Compiled 43 to 27 computations (37.2% saved)
Compiled 18 to 7 computations (61.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
Compiled 30 to 10 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | y | @ | -inf | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| 6.0ms | y | @ | 0 | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| 5.0ms | y | @ | inf | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| 4.0ms | x | @ | inf | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| 3.0ms | x | @ | 0 | (fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| 1× | batch-egg-rewrite |
| 881× | pow1_binary64 |
| 817× | add-log-exp_binary64 |
| 817× | log1p-expm1-u_binary64 |
| 817× | expm1-log1p-u_binary64 |
| 798× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 171 | 10 |
| 2 | 2194 | 10 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) (pow.f64 (cbrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 2) (cbrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) (sqrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y x) 1/2) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) 1/2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (*.f64 (-.f64 y x) 1/2)))))))) |
| 1× | egg-herbie |
| 587× | associate-/l*_binary64 |
| 382× | fma-def_binary64 |
| 365× | +-commutative_binary64 |
| 337× | distribute-rgt-in_binary64 |
| 327× | distribute-lft-in_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 559 |
| 1 | 288 | 419 |
| 2 | 1029 | 337 |
| 3 | 4344 | 248 |
| 4 | 7828 | 246 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) x) |
(+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) x)) |
(+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) (*.f64 5/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) x))) |
(+.f64 (*.f64 (pow.f64 y 5) (-.f64 (+.f64 (*.f64 -1/4 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3))))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x))) (*.f64 1/2 (-.f64 (*.f64 1/64 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4)))) (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3))))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)))))) (*.f64 1/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4)))))) (+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) (*.f64 5/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) x)))) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/2 y) (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3))))) (*.f64 5/128 (/.f64 1 (pow.f64 y 3)))) (pow.f64 x 4)))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3)))) y)) (*.f64 1/64 (/.f64 1 (pow.f64 y 4))))) (+.f64 (*.f64 1/128 (/.f64 1 (pow.f64 y 4))) (*.f64 1/4 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3)))) y)))) (pow.f64 x 5)) (+.f64 (*.f64 1/2 y) (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3))))) (*.f64 5/128 (/.f64 1 (pow.f64 y 3)))) (pow.f64 x 4))))) |
x |
x |
| Outputs |
|---|
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) x) |
(fma.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) x) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) x)) |
(fma.f64 1/2 y (fma.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) (*.f64 5/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) x))) |
(fma.f64 1/2 y (fma.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (fma.f64 (pow.f64 y 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 (*.f64 -1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) 2) (/.f64 1/16 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) (/.f64 5/128 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) x))) |
(+.f64 (*.f64 1/2 (+.f64 x y)) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 -1 (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (/.f64 -1/16 (pow.f64 x 3))) (/.f64 -5/128 (pow.f64 x 3))))) |
(fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (*.f64 (/.f64 -1 (pow.f64 x 3)) 1/128)))) |
(+.f64 (*.f64 (pow.f64 y 5) (-.f64 (+.f64 (*.f64 -1/4 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3))))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x))) (*.f64 1/2 (-.f64 (*.f64 1/64 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4)))) (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3))))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)))))) (*.f64 1/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4)))))) (+.f64 (*.f64 1/2 y) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) (*.f64 5/128 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 6) (pow.f64 x 3)))))) x)))) |
(fma.f64 (pow.f64 y 5) (-.f64 (fma.f64 -1/4 (/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 -1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) 2) (/.f64 1/16 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (-.f64 (/.f64 1/64 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4))) (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 -1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) 2) (/.f64 1/16 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)))))) (/.f64 1/128 (*.f64 (pow.f64 (sqrt.f64 -1) 8) (pow.f64 x 4)))) (fma.f64 1/2 y (fma.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) (fma.f64 (pow.f64 y 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 (*.f64 -1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) 2) (/.f64 1/16 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) (/.f64 5/128 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 6)))) x)))) |
(fma.f64 (pow.f64 y 5) (+.f64 (*.f64 1/4 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 -1 (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (/.f64 -1/16 (pow.f64 x 3))) x)) (fma.f64 1/2 (-.f64 (/.f64 1/64 (pow.f64 x 4)) (*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 -1 (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (/.f64 -1/16 (pow.f64 x 3))) x))) (/.f64 -1/128 (pow.f64 x 4)))) (+.f64 (*.f64 1/2 (+.f64 x y)) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (*.f64 (/.f64 -1 (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) 2) (/.f64 -1/16 (pow.f64 x 3))) (/.f64 -5/128 (pow.f64 x 3)))))) |
(fma.f64 (pow.f64 y 5) (fma.f64 1/2 (+.f64 (/.f64 1/64 (pow.f64 x 4)) (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (/.f64 -1/16 (pow.f64 x 3))) x))) (fma.f64 1/4 (/.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (/.f64 -1/16 (pow.f64 x 3))) x) (/.f64 -1/128 (pow.f64 x 4)))) (fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (*.f64 (/.f64 -1 (pow.f64 x 3)) 1/128))))) |
(fma.f64 (pow.f64 y 5) (+.f64 (/.f64 1/128 (pow.f64 x 4)) (-.f64 (*.f64 (/.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (/.f64 -1/16 (pow.f64 x 3))) (neg.f64 x)) 0) (/.f64 1/128 (pow.f64 x 4)))) (fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (*.f64 (/.f64 -1 (pow.f64 x 3)) 1/128))))) |
(fma.f64 (pow.f64 y 5) (+.f64 (/.f64 1/128 (pow.f64 x 4)) (fma.f64 (/.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (/.f64 -1/16 (pow.f64 x 3))) (neg.f64 x)) 0 (/.f64 -1/128 (pow.f64 x 4)))) (fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 y 4) (fma.f64 -1/2 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (/.f64 1/8 (sqrt.f64 -1))) 2) (*.f64 (/.f64 -1 (pow.f64 x 3)) 1/128))))) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 1/2 y (fma.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x) x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/2 y) (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3))))) (*.f64 5/128 (/.f64 1 (pow.f64 y 3)))) (pow.f64 x 4)))) |
(fma.f64 1/2 x (fma.f64 1/2 y (*.f64 (pow.f64 x 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) (/.f64 5/128 (pow.f64 y 3)))))) |
(fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 -1/2 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 -1/32 (pow.f64 y 3))) (/.f64 5/128 (pow.f64 y 3))))) |
(fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 x 4) (fma.f64 -1/2 (/.f64 1/64 (pow.f64 y 3)) (*.f64 1/2 (/.f64 1/64 (pow.f64 y 3)))))) |
(fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 x 4) (*.f64 (/.f64 1 (pow.f64 y 3)) 0))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3)))) y)) (*.f64 1/64 (/.f64 1 (pow.f64 y 4))))) (+.f64 (*.f64 1/128 (/.f64 1 (pow.f64 y 4))) (*.f64 1/4 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3)))) y)))) (pow.f64 x 5)) (+.f64 (*.f64 1/2 y) (*.f64 (+.f64 (*.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (*.f64 1/16 (/.f64 1 (pow.f64 y 3))))) (*.f64 5/128 (/.f64 1 (pow.f64 y 3)))) (pow.f64 x 4))))) |
(fma.f64 1/2 x (fma.f64 (fma.f64 -1/2 (fma.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) y) (/.f64 1/64 (pow.f64 y 4))) (+.f64 (/.f64 1/128 (pow.f64 y 4)) (*.f64 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) y) 1/4))) (pow.f64 x 5) (fma.f64 1/2 y (*.f64 (pow.f64 x 4) (fma.f64 -1/2 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) (/.f64 5/128 (pow.f64 y 3))))))) |
(fma.f64 1/2 x (fma.f64 (fma.f64 -1/2 (fma.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) y) (/.f64 1/64 (pow.f64 y 4))) (fma.f64 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 1/16 (pow.f64 y 3))) y) 1/4 (/.f64 1/128 (pow.f64 y 4)))) (pow.f64 x 5) (fma.f64 1/2 y (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 -1/2 (pow.f64 (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) 2) (/.f64 -1/32 (pow.f64 y 3))) (/.f64 5/128 (pow.f64 y 3))))))) |
(fma.f64 (+.f64 (/.f64 (fma.f64 (/.f64 1/64 (pow.f64 y 3)) 1/4 (/.f64 1/64 (pow.f64 y 3))) y) (fma.f64 -1/4 (/.f64 (+.f64 (/.f64 1/64 (pow.f64 y 3)) (/.f64 1/16 (pow.f64 y 3))) y) (*.f64 (/.f64 1 (pow.f64 y 4)) 0))) (pow.f64 x 5) (fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 x 4) (fma.f64 -1/2 (/.f64 1/64 (pow.f64 y 3)) (*.f64 1/2 (/.f64 1/64 (pow.f64 y 3))))))) |
(fma.f64 (+.f64 0 (*.f64 (/.f64 (*.f64 (/.f64 1 (pow.f64 y 3)) 5/64) y) 0)) (pow.f64 x 5) (fma.f64 1/2 (+.f64 x y) (*.f64 (pow.f64 x 4) (*.f64 (/.f64 1 (pow.f64 y 3)) 0)))) |
x |
x |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (-.f64 y x) 1/2 x) |
Compiled 14 to 6 computations (57.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (fma.f64 (-.f64 y x) 1/2 x) |
| 0.0ms | y | @ | inf | (fma.f64 (-.f64 y x) 1/2 x) |
| 0.0ms | x | @ | -inf | (fma.f64 (-.f64 y x) 1/2 x) |
| 0.0ms | y | @ | -inf | (fma.f64 (-.f64 y x) 1/2 x) |
| 0.0ms | x | @ | inf | (fma.f64 (-.f64 y x) 1/2 x) |
| 1× | batch-egg-rewrite |
| 715× | pow1_binary64 |
| 666× | add-log-exp_binary64 |
| 666× | log1p-expm1-u_binary64 |
| 666× | expm1-log1p-u_binary64 |
| 653× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 132 | 8 |
| 2 | 1742 | 8 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (-.f64 y x) 1/2 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (-.f64 y x) 1/2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y x) 1/2) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) 1/2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (-.f64 y x) 1/2) (*.f64 (-.f64 y x) 1/2)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) |
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 3× | associate-+l+_binary64 |
| 2× | associate-+r+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 186 |
| 1 | 29 | 150 |
| 2 | 46 | 150 |
| 3 | 48 | 150 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 -1/2 x) x) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
| Outputs |
|---|
(+.f64 (*.f64 -1/2 x) x) |
(*.f64 x 1/2) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 x) |
(*.f64 x 1/2) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 x) |
(*.f64 x 1/2) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(fma.f64 -1/2 x (fma.f64 1/2 y x)) |
(*.f64 1/2 (+.f64 x y)) |
Compiled 1121 to 787 computations (29.8% saved)
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 5 | 64 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 2 | 3 |
| Total | 62 | 7 | 69 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| ✓ | 32.1b | (*.f64 1/2 (fabs.f64 (-.f64 y x))) |
| ▶ | 26.6b | (*.f64 1/2 (+.f64 x y)) |
| ▶ | 42.1b | (*.f64 x 1/2) |
| ▶ | 33.7b | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 56.3b | x | |
| ▶ | 46.7b | (*.f64 1/2 y) |
Compiled 51 to 38 computations (25.5% saved)
Compiled 7 to 5 computations (28.6% saved)
Compiled 13 to 6 computations (53.8% saved)
Compiled 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 (-.f64 y x) 1/2)) |
| ✓ | 2.8b | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
Compiled 41 to 22 computations (46.3% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 0.0ms | y | @ | inf | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 0.0ms | y | @ | -inf | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 1× | batch-egg-rewrite |
| 674× | fma-def_binary64 |
| 483× | log-prod_binary64 |
| 349× | fma-neg_binary64 |
| 291× | pow2_binary64 |
| 197× | pow1/3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 32 |
| 1 | 237 | 16 |
| 2 | 3593 | 16 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
(+.f64 x (*.f64 (-.f64 y x) 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (-.f64 y x) 1/2 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 x) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (-.f64 1 (*.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 (pow.f64 (-.f64 y x) 2) 1/4 (-.f64 (*.f64 x x) (*.f64 (*.f64 x (-.f64 y x)) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (-.f64 x (*.f64 (-.f64 y x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) (neg.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) (neg.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) (neg.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 3)) (+.f64 1 (-.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 2) (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4) (*.f64 x x)) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 2)) (-.f64 1 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (sqrt.f64 (exp.f64 (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 (-.f64 y x))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (-.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (-.f64 y x) 1/2 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 x) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 y x) 1/2 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (-.f64 y x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (-.f64 y x) 1/2) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (-.f64 y x) 1/2 x) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (-.f64 y x) 2)) (*.f64 (cbrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) (*.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) (pow.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) 2) (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (*.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3)) (/.f64 1 (fma.f64 (fma.f64 (-.f64 y x) 1/2 x) (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (/.f64 1 (-.f64 1 (fma.f64 (-.f64 y x) 1/2 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (cbrt.f64 (+.f64 1 x)) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 2) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 x)) (hypot.f64 1 (sqrt.f64 x)) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1) (-.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (-.f64 y x) 2))) (cbrt.f64 (-.f64 y x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (sqrt.f64 (-.f64 y x))) (sqrt.f64 (-.f64 y x)) x))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 (-.f64 y x) 1/2))) (/.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4) (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 3) (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (/.f64 1 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (-.f64 y x) 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (-.f64 1 (*.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (fma.f64 (pow.f64 (-.f64 y x) 2) 1/4 (-.f64 (*.f64 x x) (*.f64 (*.f64 x (-.f64 y x)) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (-.f64 x (*.f64 (-.f64 y x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) (neg.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) (neg.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) (neg.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 3)) (+.f64 1 (-.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 2) (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (-.f64 y x) 2) 1/4) (*.f64 x x)) (-.f64 (*.f64 (-.f64 y x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 2)) (-.f64 1 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x))) (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (*.f64 (-.f64 y x) 1/2)) (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (sqrt.f64 (exp.f64 (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 (-.f64 y x))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 y x) 1/2))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (-.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2) (fma.f64 (-.f64 y x) 1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (-.f64 y x) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (-.f64 y x) 1/2 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 x) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 y x) 1/2 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (-.f64 y x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (-.f64 y x) 1/2) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (-.f64 y x) 1/2 x) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (-.f64 y x) 2)) (*.f64 (cbrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 2) (*.f64 (cbrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) (pow.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) 2) (cbrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) (*.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (-.f64 y x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) (sqrt.f64 (*.f64 (-.f64 y x) 1/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1)) 2) (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 3)) (/.f64 1 (fma.f64 (fma.f64 (-.f64 y x) 1/2 x) (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 (-.f64 y x) 3) 1/8 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 (-.f64 y x) 1/2) (-.f64 (*.f64 (-.f64 y x) 1/2) x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) (/.f64 1 (+.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 (-.f64 y x) 1/2 x) 2)) (/.f64 1 (-.f64 1 (fma.f64 (-.f64 y x) 1/2 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 (-.f64 y x) 2) 1/4)) (/.f64 1 (-.f64 x (*.f64 (-.f64 y x) 1/2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (cbrt.f64 (+.f64 1 x)) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 2) (cbrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 x)) (hypot.f64 1 (sqrt.f64 x)) (fma.f64 (-.f64 y x) 1/2 -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 (-.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 x (fma.f64 (-.f64 y x) 1/2 1))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 (-.f64 y x) 1/2 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1) (-.f64 (sqrt.f64 (fma.f64 (-.f64 y x) 1/2 x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (-.f64 y x) 2))) (cbrt.f64 (-.f64 y x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (sqrt.f64 (-.f64 y x))) (sqrt.f64 (-.f64 y x)) x))))) |
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 3× | associate-+l+_binary64 |
| 2× | associate-+r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 300 |
| 1 | 29 | 300 |
| 2 | 46 | 300 |
| 3 | 48 | 300 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 -1/2 x) x) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(+.f64 (*.f64 -1/2 x) x) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
| Outputs |
|---|
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) x) |
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/2 y)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) x) |
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(*.f64 1/2 y) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 1/2 y) x)) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (+.f64 y x)) |
Compiled 1934 to 1119 computations (42.1% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 0 | 116 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 116 | 7 | 123 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| ✓ | 32.1b | (*.f64 1/2 (fabs.f64 (-.f64 y x))) |
| ✓ | 26.6b | (*.f64 1/2 (+.f64 x y)) |
| ✓ | 42.1b | (*.f64 x 1/2) |
| ✓ | 33.7b | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 56.3b | x | |
| ✓ | 46.7b | (*.f64 1/2 y) |
Compiled 51 to 38 computations (25.5% saved)
Compiled 2 to 2 computations (0% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 6 | 6 |
| Total | 0 | 7 | 7 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| ✓ | 32.1b | (*.f64 1/2 (fabs.f64 (-.f64 y x))) |
| ✓ | 26.6b | (*.f64 1/2 (+.f64 x y)) |
| ✓ | 42.1b | (*.f64 x 1/2) |
| ✓ | 33.7b | (-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| 56.3b | x | |
| ✓ | 46.7b | (*.f64 1/2 y) |
Compiled 51 to 38 computations (25.5% saved)
| Inputs |
|---|
x |
x |
(*.f64 x 1/2) |
(*.f64 1/2 y) |
(*.f64 1/2 (+.f64 x y)) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
(fma.f64 (-.f64 y x) 1/2 x) |
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(fma.f64 (sqrt.f64 (-.f64 y x)) (*.f64 (sqrt.f64 (-.f64 y x)) 1/2) x) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
3 calls:
| 7.0ms | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
| 7.0ms | x |
| 6.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
Compiled 74 to 40 computations (45.9% saved)
| Inputs |
|---|
x |
x |
(*.f64 x 1/2) |
(*.f64 1/2 y) |
(*.f64 1/2 (+.f64 x y)) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
(fma.f64 (-.f64 y x) 1/2 x) |
| Outputs |
|---|
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
(*.f64 1/2 (+.f64 x y)) |
(*.f64 1/2 (fabs.f64 (-.f64 y x))) |
2 calls:
| 25.0ms | x |
| 15.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 17.2b | 4 | x |
| 19.2b | 2 | y |
Compiled 44 to 26 computations (40.9% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 17.0ms | -1.3947860810472575e-53 | -7.316468694850264e-54 |
| 16.0ms | -108031933248673090.0 | -58242120392965520.0 |
| 17.0ms | -6.278094753413382e+67 | -3.269042766469027e+60 |
Compiled 15 to 11 computations (26.7% saved)
| Inputs |
|---|
x |
x |
(*.f64 x 1/2) |
(*.f64 1/2 y) |
(*.f64 1/2 (+.f64 x y)) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 (-.f64 y x) 1/2))) 1) |
| Outputs |
|---|
(*.f64 1/2 (+.f64 x y)) |
2 calls:
| 5.0ms | y |
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 26.6b | 1 | x |
| 26.6b | 1 | y |
Compiled 32 to 21 computations (34.4% saved)
| Inputs |
|---|
x |
x |
(*.f64 x 1/2) |
(*.f64 1/2 y) |
| Outputs |
|---|
(*.f64 x 1/2) |
(*.f64 1/2 y) |
x |
2 calls:
| 16.0ms | y |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 31.6b | 3 | x |
| 31.9b | 4 | y |
Compiled 16 to 10 computations (37.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 13268111000.88214 | 4419295797513501.0 |
| 17.0ms | -7.316468694850264e-54 | -3.509918603396043e-56 |
Compiled 15 to 11 computations (26.7% saved)
| Inputs |
|---|
x |
x |
(*.f64 x 1/2) |
| Outputs |
|---|
(*.f64 x 1/2) |
2 calls:
| 5.0ms | x |
| 4.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 42.1b | 1 | x |
| 42.1b | 1 | y |
Compiled 13 to 8 computations (38.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
x |
x |
| Outputs |
|---|
x |
2 calls:
| 3.0ms | x |
| 3.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 56.3b | 1 | x |
| 56.3b | 1 | y |
Compiled 10 to 6 computations (40% saved)
| 1× | egg-herbie |
| 6× | +-commutative_binary64 |
| 6× | *-commutative_binary64 |
| 4× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 95 |
| 1 | 40 | 95 |
| 2 | 47 | 95 |
| 3 | 52 | 95 |
| 4 | 55 | 95 |
| 5 | 56 | 95 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(if (<=.f64 x -62780947534133821295768086044625454219105829799398414782453637971968) (*.f64 1/2 (+.f64 x y)) (if (<=.f64 x -108031933248673088) (*.f64 1/2 (fabs.f64 (-.f64 y x))) (if (<=.f64 x -3008268668569449/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 1/2 (+.f64 x y)) (*.f64 1/2 (fabs.f64 (-.f64 y x)))))) |
(*.f64 1/2 (+.f64 x y)) |
(if (<=.f64 x -1578012846440323/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 x 1/2) (if (<=.f64 x 6956311380430495/524288) (*.f64 1/2 y) x)) |
(*.f64 x 1/2) |
x |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) 2)) |
(if (<=.f64 x -62780947534133821295768086044625454219105829799398414782453637971968) (*.f64 1/2 (+.f64 x y)) (if (<=.f64 x -108031933248673088) (*.f64 1/2 (fabs.f64 (-.f64 y x))) (if (<=.f64 x -3008268668569449/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 1/2 (+.f64 x y)) (*.f64 1/2 (fabs.f64 (-.f64 y x)))))) |
(if (<=.f64 x -62780947534133821295768086044625454219105829799398414782453637971968) (*.f64 1/2 (+.f64 x y)) (if (<=.f64 x -108031933248673088) (*.f64 (fabs.f64 (-.f64 y x)) 1/2) (if (<=.f64 x -3008268668569449/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 1/2 (+.f64 x y)) (*.f64 (fabs.f64 (-.f64 y x)) 1/2)))) |
(*.f64 1/2 (+.f64 x y)) |
(if (<=.f64 x -1578012846440323/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 x 1/2) (if (<=.f64 x 6956311380430495/524288) (*.f64 1/2 y) x)) |
(if (<=.f64 x -1578012846440323/215679573337205118357336120696157045389097155380324579848828881993728) (*.f64 x 1/2) (if (<=.f64 x 6956311380430495/524288) (*.f64 y 1/2) x)) |
(*.f64 x 1/2) |
x |
Compiled 78 to 52 computations (33.3% saved)
Compiled 68 to 39 computations (42.6% saved)
Loading profile data...