Time bar (total: 2.7s)
| 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 |
| 12.5% | 12.5% | 87.4% | 0.1% | 0% | 0% | 0% | 5 |
| 26.7% | 25% | 68.7% | 0.1% | 0% | 6.2% | 0% | 6 |
| 39.3% | 34.3% | 53.1% | 0.1% | 0% | 12.5% | 0% | 7 |
| 54.5% | 46.8% | 39% | 0.1% | 0% | 14% | 0% | 8 |
| 64.8% | 53.1% | 28.9% | 0.1% | 0% | 18% | 0% | 9 |
| 74.4% | 60.1% | 20.7% | 0.1% | 0% | 19.1% | 0% | 10 |
| 80.9% | 63.6% | 15% | 0.1% | 0% | 21.3% | 0% | 11 |
| 86.4% | 67.3% | 10.6% | 0.1% | 0% | 22% | 0% | 12 |
Compiled 9 to 6 computations (33.3% saved)
| 1.0s | 8256× | body | 256 | valid |
| 41.0ms | 286× | body | 256 | invalid |
| 2× | egg-herbie |
| 4× | fma-def |
| 4× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 26 |
| 1 | 16 | 26 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 (+.f64 (*.f64 y y) x)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 (fma.f64 x x y)) |
(sqrt.f64 (+.f64 (*.f64 y y) x)) |
(sqrt.f64 (fma.f64 y y x)) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 2× | fma-def |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 11 | 13 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 (fma.f64 x x y)) |
Compiled 13 to 7 computations (46.2% saved)
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 |
|---|---|---|
| ▶ | 18.5b | (sqrt.f64 (fma.f64 x x y)) |
| ▶ | 18.5b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 15 to 9 computations (40% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) y) |
| ✓ | 17.3b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 18 to 5 computations (72.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 0.0ms | x | @ | inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 0.0ms | y | @ | -inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 0.0ms | y | @ | 0 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1× | batch-egg-rewrite |
| 1714× | add-sqr-sqrt |
| 1692× | *-un-lft-identity |
| 1580× | add-cube-cbrt |
| 1566× | add-cbrt-cube |
| 172× | pow1 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 1 | 168 | 20 |
| 2 | 2191 | 20 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(+.f64 (*.f64 x x) y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (sqrt.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 x (sqrt.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 y)) (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x y) 1/4) (*.f64 (pow.f64 (fma.f64 x x y) 1/4) (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x y)) (*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) (cbrt.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (pow.f64 (fma.f64 x x y) 1/4)) (pow.f64 (fma.f64 x x y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (cbrt.f64 (fma.f64 x x y))) (cbrt.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x x) y) (-.f64 (pow.f64 x 4) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 x 6) (pow.f64 y 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (*.f64 y y) (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x y)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) y)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 y (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) y)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 1540× | associate-+r+ |
| 1270× | associate-+l+ |
| 680× | fma-def |
| 632× | unswap-sqr |
| 588× | *-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 196 | 2195 |
| 1 | 452 | 2101 |
| 2 | 1559 | 2093 |
| 3 | 5580 | 2093 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))) |
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(*.f64 -1 x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x)) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (pow.f64 x 2)) |
(-.f64 (exp.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) 1) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(*.f64 1 (hypot.f64 x (sqrt.f64 y))) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4)) |
(*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2)) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (sqrt.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(pow.f64 (fma.f64 x x y) 1/2) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2) |
(pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3) |
(fabs.f64 (hypot.f64 x (sqrt.f64 y))) |
(log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y)))) |
(log.f64 (+.f64 1 (expm1.f64 (hypot.f64 x (sqrt.f64 y))))) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y)))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1/2)) |
(exp.f64 (*.f64 (log.f64 (hypot.f64 x (sqrt.f64 y))) 1)) |
(log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x y))) 1) |
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(*.f64 (fma.f64 x x y) 1) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) (hypot.f64 x (sqrt.f64 y))) |
(*.f64 1 (fma.f64 x x y)) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (*.f64 (pow.f64 (fma.f64 x x y) 1/4) (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (-.f64 (*.f64 x x) y))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(*.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (pow.f64 (fma.f64 x x y) 1/4)) (pow.f64 (fma.f64 x x y) 1/4)) |
(*.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (cbrt.f64 (fma.f64 x x y))) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 x 6) (pow.f64 y 3)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (*.f64 y y) (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x y))))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(pow.f64 (fma.f64 x x y) 1) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x y)) 3) |
(pow.f64 (pow.f64 (fma.f64 x x y) 2) 1/2) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 x x y) 2)) |
(log.f64 (exp.f64 (fma.f64 x x y))) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x y)))) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 x x y))) |
(exp.f64 (log.f64 (fma.f64 x x y))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1)) |
(log1p.f64 (expm1.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(fma.f64 1 (*.f64 x x) y) |
(fma.f64 1 y (*.f64 x x)) |
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x x)) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) y) |
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x x)) |
| Outputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y))) |
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y))) |
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))) |
(fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)))) |
(fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(fma.f64 1/2 (/.f64 y x) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x))) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x)) |
(fma.f64 -1/2 (/.f64 y x) (neg.f64 x)) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(-.f64 (*.f64 (/.f64 y x) -1/2) x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))) |
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8))) |
(fma.f64 (/.f64 y x) -1/2 (-.f64 (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8) x)) |
(-.f64 (fma.f64 (/.f64 y x) -1/2 (*.f64 (*.f64 (/.f64 y (pow.f64 x 3)) y) 1/8)) x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))) |
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8)))) |
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) -1/16 (-.f64 (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8) x))) |
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (*.f64 (/.f64 y (pow.f64 x 3)) y) 1/8 (-.f64 (/.f64 (pow.f64 y 3) (/.f64 (pow.f64 x 5) -1/16)) x))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(fma.f64 1/2 (/.f64 y x) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x))) |
y |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
y |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
y |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(fma.f64 x x y) |
(-.f64 (exp.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) 1) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(*.f64 1 (hypot.f64 x (sqrt.f64 y))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4)) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (cbrt.f64 (hypot.f64 (sqrt.f64 y) x)) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (cbrt.f64 (hypot.f64 (sqrt.f64 y) x)) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (sqrt.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(/.f64 (hypot.f64 (pow.f64 x 3) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4)))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (sqrt.f64 (fma.f64 x x (neg.f64 y)))) |
(pow.f64 (fma.f64 x x y) 1/2) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(fabs.f64 (hypot.f64 x (sqrt.f64 y))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(log.f64 (+.f64 1 (expm1.f64 (hypot.f64 x (sqrt.f64 y))))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(hypot.f64 (sqrt.f64 y) x) |
(hypot.f64 x (sqrt.f64 y)) |
(exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1/2)) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(exp.f64 (*.f64 (log.f64 (hypot.f64 x (sqrt.f64 y))) 1)) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) x) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x y))) 1) |
(fma.f64 x x y) |
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(*.f64 (fma.f64 x x y) 1) |
(fma.f64 x x y) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) (hypot.f64 x (sqrt.f64 y))) |
(fma.f64 x x y) |
(*.f64 1 (fma.f64 x x y)) |
(fma.f64 x x y) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (*.f64 (pow.f64 (fma.f64 x x y) 1/4) (hypot.f64 x (sqrt.f64 y)))) |
(fma.f64 x x y) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) |
(fma.f64 x x y) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (*.f64 (hypot.f64 x (sqrt.f64 y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y))))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 4)) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (hypot.f64 (sqrt.f64 y) x)) 4)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) (cbrt.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (-.f64 (*.f64 x x) y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 y 3) (pow.f64 x 6)))) |
(/.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4))) |
(*.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (pow.f64 (fma.f64 x x y) 1/4)) (pow.f64 (fma.f64 x x y) 1/4)) |
(fma.f64 x x y) |
(*.f64 (*.f64 (hypot.f64 x (sqrt.f64 y)) (cbrt.f64 (fma.f64 x x y))) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (*.f64 (hypot.f64 x (sqrt.f64 y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y))))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 4)) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (pow.f64 (cbrt.f64 (hypot.f64 (sqrt.f64 y) x)) 4)) |
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) y) (-.f64 (pow.f64 x 4) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 x 6) (pow.f64 y 3)))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 y 3) (pow.f64 x 6)))) |
(/.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x))))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 y 3) (pow.f64 x 6)))) |
(/.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (*.f64 y y) (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x y))))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 y 3) (pow.f64 x 6)))) |
(/.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (-.f64 y (*.f64 x x)))) (+.f64 (pow.f64 y 3) (pow.f64 x 6)))) |
(/.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 6)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x 4))) |
(pow.f64 (fma.f64 x x y) 1) |
(fma.f64 x x y) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 2) |
(fma.f64 x x y) |
(pow.f64 (cbrt.f64 (fma.f64 x x y)) 3) |
(fma.f64 x x y) |
(pow.f64 (pow.f64 (fma.f64 x x y) 2) 1/2) |
(fma.f64 x x y) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3) 1/3) |
(fma.f64 x x y) |
(sqrt.f64 (pow.f64 (fma.f64 x x y) 2)) |
(fma.f64 x x y) |
(log.f64 (exp.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x y)))) |
(fma.f64 x x y) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3)) |
(fma.f64 x x y) |
(expm1.f64 (log1p.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(exp.f64 (log.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) 1)) |
(fma.f64 x x y) |
(log1p.f64 (expm1.f64 (fma.f64 x x y))) |
(fma.f64 x x y) |
(fma.f64 x x y) |
(fma.f64 1 (*.f64 x x) y) |
(fma.f64 x x y) |
(fma.f64 1 y (*.f64 x x)) |
(fma.f64 x x y) |
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x x)) |
(fma.f64 x x y) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) y) |
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x x)) |
(fma.f64 x x y) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 17.3b | (sqrt.f64 (fma.f64 x x y)) |
Compiled 13 to 4 computations (69.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | (sqrt.f64 (fma.f64 x x y)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (fma.f64 x x y)) |
| 0.0ms | y | @ | -inf | (sqrt.f64 (fma.f64 x x y)) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (fma.f64 x x y)) |
| 0.0ms | x | @ | inf | (sqrt.f64 (fma.f64 x x y)) |
| 1× | batch-egg-rewrite |
| 1260× | add-sqr-sqrt |
| 1246× | *-un-lft-identity |
| 1150× | add-cube-cbrt |
| 1138× | add-cbrt-cube |
| 1126× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 136 | 11 |
| 2 | 1576 | 11 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (hypot.f64 x (sqrt.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (hypot.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))))))) |
| 1× | egg-herbie |
| 1420× | times-frac |
| 1236× | associate-/l* |
| 856× | *-commutative |
| 814× | associate-+r+ |
| 780× | associate-/r* |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 102 | 1149 |
| 1 | 244 | 1043 |
| 2 | 680 | 945 |
| 3 | 2125 | 909 |
| 4 | 6928 | 909 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))) |
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(*.f64 -1 x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x)) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(-.f64 (+.f64 1 (hypot.f64 x (sqrt.f64 y))) 1) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(*.f64 1 (hypot.f64 x (sqrt.f64 y))) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4)) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2)) |
(pow.f64 (fma.f64 x x y) 1/2) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2) |
(pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3) |
(fabs.f64 (hypot.f64 x (sqrt.f64 y))) |
(log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y)))) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) |
(hypot.f64 x (sqrt.f64 y)) |
(exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y)))) |
(log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))) |
| Outputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y))) |
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y))) |
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))) |
(fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)))) |
(fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(fma.f64 1/2 (/.f64 y x) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x))) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x)) |
(fma.f64 -1/2 (/.f64 y x) (neg.f64 x)) |
(-.f64 (*.f64 (/.f64 y x) -1/2) x) |
(-.f64 (/.f64 (*.f64 y -1/2) x) x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))) |
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8))) |
(fma.f64 (/.f64 y x) -1/2 (-.f64 (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8) x)) |
(fma.f64 (*.f64 (/.f64 y (pow.f64 x 3)) y) 1/8 (-.f64 (/.f64 (*.f64 y -1/2) x) x)) |
(-.f64 (*.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x)))) x) |
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))) |
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8)))) |
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) -1/16 (-.f64 (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8) x))) |
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (*.f64 (/.f64 y (pow.f64 x 3)) y) 1/8 (-.f64 (/.f64 (*.f64 (pow.f64 y 3) -1/16) (pow.f64 x 5)) x))) |
(fma.f64 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) -1/16 (-.f64 (*.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x)))) x)) |
x |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(fma.f64 1/2 (/.f64 y x) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x)) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x)) |
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))) |
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 (/.f64 y (pow.f64 x 3)) y) x))) |
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x))) |
(-.f64 (+.f64 1 (hypot.f64 x (sqrt.f64 y))) 1) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(*.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(*.f64 1 (hypot.f64 x (sqrt.f64 y))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(*.f64 (pow.f64 (fma.f64 x x y) 1/4) (pow.f64 (fma.f64 x x y) 1/4)) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) (cbrt.f64 (fma.f64 x x y))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (cbrt.f64 (hypot.f64 x (sqrt.f64 y)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(pow.f64 (cbrt.f64 (fma.f64 x x y)) 3/2) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x (sqrt.f64 y))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x y)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x y)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(*.f64 (cbrt.f64 (fma.f64 x x y)) (sqrt.f64 (cbrt.f64 (fma.f64 x x y)))) |
(pow.f64 (cbrt.f64 (fma.f64 x x y)) 3/2) |
(pow.f64 (fma.f64 x x y) 1/2) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(pow.f64 (hypot.f64 x (sqrt.f64 y)) 1) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(pow.f64 (pow.f64 (fma.f64 x x y) 1/4) 2) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(pow.f64 (cbrt.f64 (hypot.f64 x (sqrt.f64 y))) 3) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(pow.f64 (pow.f64 (fma.f64 x x y) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(fabs.f64 (hypot.f64 x (sqrt.f64 y))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(log.f64 (exp.f64 (hypot.f64 x (sqrt.f64 y)))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(cbrt.f64 (pow.f64 (fma.f64 x x y) 3/2)) |
(expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y)))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(hypot.f64 x (sqrt.f64 y)) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(exp.f64 (log.f64 (hypot.f64 x (sqrt.f64 y)))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
(log1p.f64 (expm1.f64 (hypot.f64 x (sqrt.f64 y)))) |
(+.f64 1 (-.f64 (hypot.f64 x (sqrt.f64 y)) 1)) |
(+.f64 (hypot.f64 x (sqrt.f64 y)) 0) |
(hypot.f64 x (sqrt.f64 y)) |
Compiled 2398 to 1226 computations (48.9% saved)
9 alts after pruning (7 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 172 | 7 | 179 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 172 | 9 | 181 |
| Status | Error | Program |
|---|---|---|
| ▶ | 20.0b | (hypot.f64 (sqrt.f64 y) x) |
| ▶ | 41.3b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ▶ | 41.3b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
| ▶ | 43.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| ✓ | 18.5b | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 18.5b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 40.9b | (sqrt.f64 y) | |
| ▶ | 41.0b | (neg.f64 x) |
| 43.7b | x |
Compiled 100 to 67 computations (33% saved)
Compiled 10 to 4 computations (60% saved)
Compiled 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (/.f64 y x)) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (*.f64 1/2 (/.f64 y x)) |
| 0.0ms | y | @ | 0 | (*.f64 1/2 (/.f64 y x)) |
| 0.0ms | x | @ | inf | (*.f64 1/2 (/.f64 y x)) |
| 0.0ms | x | @ | 0 | (*.f64 1/2 (/.f64 y x)) |
| 0.0ms | y | @ | -inf | (*.f64 1/2 (/.f64 y x)) |
| 1× | batch-egg-rewrite |
| 1518× | add-sqr-sqrt |
| 1500× | *-un-lft-identity |
| 1400× | add-cube-cbrt |
| 1384× | add-cbrt-cube |
| 1370× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 147 | 13 |
| 2 | 1848 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (/.f64 y x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/2 (/.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (*.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (neg.f64 y)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 y) 1/2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (/.f64 y x) 2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (/.f64 y x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 1696× | distribute-lft-in |
| 1686× | distribute-rgt-in |
| 1042× | associate-*r* |
| 928× | associate-*l* |
| 658× | associate-+r+ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 531 |
| 1 | 145 | 417 |
| 2 | 542 | 297 |
| 3 | 3910 | 297 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1) |
(/.f64 1/2 (/.f64 x y)) |
(/.f64 1 (/.f64 x (*.f64 1/2 y))) |
(/.f64 (*.f64 1/2 y) x) |
(/.f64 (*.f64 1/2 (neg.f64 y)) (neg.f64 x)) |
(/.f64 (*.f64 (neg.f64 y) 1/2) (neg.f64 x)) |
(/.f64 (/.f64 (*.f64 1/2 y) 1) x) |
(/.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) |
(/.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(sqrt.f64 (*.f64 (pow.f64 (/.f64 y x) 2) 1/4)) |
(log.f64 (pow.f64 (exp.f64 (/.f64 y x)) 1/2)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
| Outputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 1/2 (/.f64 x y)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 1 (/.f64 x (*.f64 1/2 y))) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 1/2 y) x) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 1/2 (neg.f64 y)) (neg.f64 x)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 (neg.f64 y) 1/2) (neg.f64 x)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) 1) x) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) |
(/.f64 (*.f64 1/2 y) (*.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x x)))) |
(*.f64 (/.f64 y (cbrt.f64 x)) (/.f64 1/2 (cbrt.f64 (*.f64 x x)))) |
(*.f64 (/.f64 1/2 (cbrt.f64 (*.f64 x x))) (/.f64 y (cbrt.f64 x))) |
(/.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(sqrt.f64 (*.f64 (pow.f64 (/.f64 y x) 2) 1/4)) |
(fabs.f64 (*.f64 1/2 (/.f64 y x))) |
(log.f64 (pow.f64 (exp.f64 (/.f64 y x)) 1/2)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
(+.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) -1) |
(+.f64 (*.f64 1/2 (/.f64 y x)) 0) |
(*.f64 1/2 (/.f64 y x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (/.f64 -1/2 (/.f64 x y)) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | y | @ | 0 | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | x | @ | -inf | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | x | @ | inf | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | y | @ | -inf | (/.f64 -1/2 (/.f64 x y)) |
| 1× | batch-egg-rewrite |
| 1612× | add-sqr-sqrt |
| 1588× | *-un-lft-identity |
| 1488× | add-cube-cbrt |
| 1472× | add-cbrt-cube |
| 152× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 154 | 13 |
| 2 | 2008 | 13 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -1/2 (/.f64 x y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 y (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/2 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) (sqrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 x) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y x) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 1 (/.f64 (neg.f64 x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -1/2 x) 1) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -1/2 x) (sqrt.f64 y)) (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (neg.f64 x)) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x y) -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/2) (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 1276× | associate-/l* |
| 1110× | distribute-lft-in |
| 1022× | distribute-rgt-in |
| 896× | associate-+r+ |
| 828× | associate-+l+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 72 | 706 |
| 1 | 163 | 706 |
| 2 | 648 | 706 |
| 3 | 2574 | 706 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 y (/.f64 -1/2 x)) |
(*.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(*.f64 1 (*.f64 -1/2 (/.f64 y x))) |
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) (sqrt.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 (/.f64 -1/2 x) y) |
(*.f64 (/.f64 y x) -1/2) |
(*.f64 1/2 (/.f64 1 (/.f64 (neg.f64 x) y))) |
(*.f64 (*.f64 (/.f64 -1/2 x) 1) y) |
(*.f64 (*.f64 (/.f64 -1/2 x) (sqrt.f64 y)) (sqrt.f64 y)) |
(*.f64 (*.f64 (/.f64 -1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y)) |
(*.f64 (/.f64 -1/2 (neg.f64 x)) (neg.f64 y)) |
(pow.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3) |
(pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3) |
(pow.f64 (*.f64 (/.f64 x y) -2) -1) |
(sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2))) |
(log.f64 (pow.f64 (exp.f64 -1/2) (/.f64 y x))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))) |
(cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) |
(exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))) |
| Outputs |
|---|
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 y (/.f64 -1/2 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 1 (*.f64 -1/2 (/.f64 y x))) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) (sqrt.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (/.f64 -1/2 x) y) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (/.f64 y x) -1/2) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 1 (/.f64 (neg.f64 x) y))) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 -1/2 x) 1) y) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 -1/2 x) (sqrt.f64 y)) (sqrt.f64 y)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 -1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y)) |
(*.f64 (/.f64 -1/2 x) (*.f64 (cbrt.f64 (*.f64 y y)) (cbrt.f64 y))) |
(*.f64 (/.f64 -1/2 (neg.f64 x)) (neg.f64 y)) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (*.f64 (/.f64 x y) -2) -1) |
(*.f64 -1/2 (/.f64 y x)) |
(sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2))) |
(log.f64 (pow.f64 (exp.f64 -1/2) (/.f64 y x))) |
(*.f64 -1/2 (/.f64 y x)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))) |
(*.f64 -1/2 (/.f64 y x)) |
(cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3)) |
(*.f64 -1/2 (/.f64 y x)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1)) |
(*.f64 -1/2 (/.f64 y x)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
Compiled 20 to 12 computations (40% saved)
Compiled 575 to 324 computations (43.7% saved)
11 alts after pruning (4 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 2 | 57 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 55 | 11 | 66 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.0b | (hypot.f64 (sqrt.f64 y) x) |
| ✓ | 41.3b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ✓ | 41.3b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
| ▶ | 41.3b | (-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
| ▶ | 43.7b | (+.f64 (/.f64 1/2 (/.f64 x y)) x) |
| ✓ | 43.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| ✓ | 18.5b | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 18.5b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ▶ | 40.9b | (sqrt.f64 y) |
| ✓ | 41.0b | (neg.f64 x) |
| 43.7b | x |
Compiled 77 to 51 computations (33.8% saved)
Compiled 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (/.f64 1/2 (/.f64 x y)) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 1/2 (/.f64 x y)) |
| 0.0ms | x | @ | inf | (/.f64 1/2 (/.f64 x y)) |
| 0.0ms | x | @ | -inf | (/.f64 1/2 (/.f64 x y)) |
| 0.0ms | y | @ | -inf | (/.f64 1/2 (/.f64 x y)) |
| 0.0ms | y | @ | inf | (/.f64 1/2 (/.f64 x y)) |
| 1× | batch-egg-rewrite |
| 1616× | add-sqr-sqrt |
| 1592× | *-un-lft-identity |
| 1492× | add-cube-cbrt |
| 1476× | add-cbrt-cube |
| 152× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 154 | 13 |
| 2 | 2008 | 13 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1/2 (/.f64 x y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 y (/.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/2 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) (sqrt.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 x) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 1 (/.f64 (neg.f64 x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/2 x) 1) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/2 x) (sqrt.f64 y)) (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (neg.f64 x)) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x y) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (/.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 1176× | associate-/l* |
| 1130× | distribute-lft-in |
| 1038× | distribute-rgt-in |
| 894× | associate-+r+ |
| 842× | associate-+l+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 71 | 706 |
| 1 | 162 | 706 |
| 2 | 647 | 706 |
| 3 | 2594 | 706 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) 1) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 y (/.f64 1/2 x)) |
(*.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(*.f64 1 (*.f64 1/2 (/.f64 y x))) |
(*.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) (sqrt.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 (/.f64 1/2 x) y) |
(*.f64 (/.f64 y x) 1/2) |
(*.f64 -1/2 (/.f64 1 (/.f64 (neg.f64 x) y))) |
(*.f64 (*.f64 (/.f64 1/2 x) 1) y) |
(*.f64 (*.f64 (/.f64 1/2 x) (sqrt.f64 y)) (sqrt.f64 y)) |
(*.f64 (*.f64 (/.f64 1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y)) |
(*.f64 (/.f64 1/2 (neg.f64 x)) (neg.f64 y)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(pow.f64 (*.f64 (/.f64 x y) 2) -1) |
(sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2))) |
(log.f64 (pow.f64 (exp.f64 1/2) (/.f64 y x))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (/.f64 y x))))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
| Outputs |
|---|
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) 1) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 y (/.f64 1/2 x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1 (*.f64 1/2 (/.f64 y x))) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) (sqrt.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (/.f64 1/2 x) y) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (/.f64 y x) 1/2) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 1 (/.f64 (neg.f64 x) y))) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 1/2 x) 1) y) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 1/2 x) (sqrt.f64 y)) (sqrt.f64 y)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 (*.f64 (/.f64 1/2 x) (cbrt.f64 (*.f64 y y))) (cbrt.f64 y)) |
(*.f64 (/.f64 1/2 x) (*.f64 (cbrt.f64 (*.f64 y y)) (cbrt.f64 y))) |
(*.f64 (/.f64 1/2 (neg.f64 x)) (neg.f64 y)) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (*.f64 (/.f64 x y) 2) -1) |
(*.f64 1/2 (/.f64 y x)) |
(sqrt.f64 (/.f64 1/4 (pow.f64 (/.f64 x y) 2))) |
(log.f64 (pow.f64 (exp.f64 1/2) (/.f64 y x))) |
(*.f64 1/2 (/.f64 y x)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (/.f64 y x))))) |
(*.f64 1/2 (/.f64 y x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(*.f64 1/2 (/.f64 y x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(*.f64 1/2 (/.f64 y x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (/.f64 -1/2 x) y) |
Compiled 20 to 12 computations (40% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 -1/2 x) y) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 -1/2 x) y) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 -1/2 x) y) |
| 0.0ms | y | @ | -inf | (*.f64 (/.f64 -1/2 x) y) |
| 0.0ms | y | @ | inf | (*.f64 (/.f64 -1/2 x) y) |
| 1× | batch-egg-rewrite |
| 1448× | add-sqr-sqrt |
| 1424× | *-un-lft-identity |
| 1330× | add-cube-cbrt |
| 1314× | add-cbrt-cube |
| 1302× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 148 | 13 |
| 2 | 1798 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 -1/2 x) y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/2 (/.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1/2 (/.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 y (*.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (*.f64 -1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/2 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 y 1/2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 y) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 -1/2 y) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 -1/2 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 -1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 -1/2 y)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 1852× | distribute-rgt-in |
| 1842× | distribute-lft-in |
| 1076× | associate-*r* |
| 966× | associate-*l* |
| 650× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 598 |
| 1 | 145 | 598 |
| 2 | 552 | 598 |
| 3 | 4252 | 598 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(-.f64 (+.f64 1 (*.f64 -1/2 (/.f64 y x))) 1) |
(/.f64 -1/2 (/.f64 x y)) |
(/.f64 y (*.f64 x -2)) |
(/.f64 1 (/.f64 x (*.f64 -1/2 y))) |
(/.f64 (*.f64 -1/2 y) x) |
(/.f64 (*.f64 y 1/2) (neg.f64 x)) |
(/.f64 (*.f64 1/2 y) (neg.f64 x)) |
(/.f64 (/.f64 (*.f64 -1/2 y) 1) x) |
(/.f64 (/.f64 (*.f64 -1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (*.f64 -1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 (neg.f64 (*.f64 -1/2 y)) (neg.f64 x)) |
(pow.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3) |
(pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3) |
(sqrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 2)) |
(log.f64 (pow.f64 (exp.f64 y) (/.f64 -1/2 x))) |
(cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) |
(exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))) |
| Outputs |
|---|
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(*.f64 -1/2 (/.f64 y x)) |
(-.f64 (+.f64 1 (*.f64 -1/2 (/.f64 y x))) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 -1/2 (/.f64 x y)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 y (*.f64 x -2)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 1 (/.f64 x (*.f64 -1/2 y))) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (*.f64 -1/2 y) x) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (*.f64 y 1/2) (neg.f64 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (*.f64 1/2 y) (neg.f64 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 -1/2 y) 1) x) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 -1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 -1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(/.f64 (neg.f64 (*.f64 -1/2 y)) (neg.f64 x)) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (*.f64 -1/2 (/.f64 y x)) 1) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3) |
(*.f64 -1/2 (/.f64 y x)) |
(pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3) |
(*.f64 -1/2 (/.f64 y x)) |
(sqrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 2)) |
(*.f64 -1/2 (/.f64 y x)) |
(log.f64 (pow.f64 (exp.f64 y) (/.f64 -1/2 x))) |
(*.f64 -1/2 (/.f64 y x)) |
(cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3)) |
(*.f64 -1/2 (/.f64 y x)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))) 1)) |
(*.f64 -1/2 (/.f64 y x)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x)))) |
(*.f64 -1/2 (/.f64 y x)) |
Compiled 513 to 299 computations (41.7% saved)
11 alts after pruning (2 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 1 | 52 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 8 | 9 |
| Total | 52 | 11 | 63 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.0b | (hypot.f64 (sqrt.f64 y) x) |
| ✓ | 41.3b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ✓ | 41.3b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
| ✓ | 41.3b | (-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
| ✓ | 43.7b | (+.f64 (/.f64 1/2 (/.f64 x y)) x) |
| ▶ | 43.7b | (+.f64 (*.f64 (/.f64 1/2 x) y) x) |
| ✓ | 18.5b | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 18.5b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ✓ | 40.9b | (sqrt.f64 y) |
| ✓ | 41.0b | (neg.f64 x) |
| 43.7b | x |
Compiled 77 to 51 computations (33.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (/.f64 1/2 x) y) |
Compiled 20 to 12 computations (40% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | y | @ | -inf | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | y | @ | inf | (*.f64 (/.f64 1/2 x) y) |
| 1× | batch-egg-rewrite |
| 1452× | add-sqr-sqrt |
| 1428× | *-un-lft-identity |
| 1334× | add-cube-cbrt |
| 1318× | add-cbrt-cube |
| 1304× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 148 | 13 |
| 2 | 1798 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1/2 x) y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/2 (/.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 y (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (*.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 y -1/2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/2 y) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) (/.f64 1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 1854× | distribute-rgt-in |
| 1842× | distribute-lft-in |
| 1122× | associate-*r* |
| 976× | associate-*l* |
| 650× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 598 |
| 1 | 144 | 598 |
| 2 | 550 | 598 |
| 3 | 4244 | 598 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1) |
(/.f64 1/2 (/.f64 x y)) |
(/.f64 y (*.f64 x 2)) |
(/.f64 1 (/.f64 x (*.f64 1/2 y))) |
(/.f64 (*.f64 1/2 y) x) |
(/.f64 (*.f64 y -1/2) (neg.f64 x)) |
(/.f64 (*.f64 -1/2 y) (neg.f64 x)) |
(/.f64 (/.f64 (*.f64 1/2 y) 1) x) |
(/.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(sqrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 2)) |
(log.f64 (pow.f64 (exp.f64 y) (/.f64 1/2 x))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
| Outputs |
|---|
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(*.f64 1/2 (/.f64 y x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (/.f64 y x))) 1) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 1/2 (/.f64 x y)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 y (*.f64 x 2)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 1 (/.f64 x (*.f64 1/2 y))) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 1/2 y) x) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 y -1/2) (neg.f64 x)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (*.f64 -1/2 y) (neg.f64 x)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) 1) x) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (/.f64 (*.f64 1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(*.f64 1/2 (/.f64 y x)) |
(/.f64 (neg.f64 (*.f64 1/2 y)) (neg.f64 x)) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (*.f64 1/2 (/.f64 y x)) 1) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3) |
(*.f64 1/2 (/.f64 y x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3) |
(*.f64 1/2 (/.f64 y x)) |
(sqrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 2)) |
(*.f64 1/2 (/.f64 y x)) |
(log.f64 (pow.f64 (exp.f64 y) (/.f64 1/2 x))) |
(*.f64 1/2 (/.f64 y x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3)) |
(*.f64 1/2 (/.f64 y x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 1/2 (/.f64 y x))) 1)) |
(*.f64 1/2 (/.f64 y x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x)))) |
(*.f64 1/2 (/.f64 y x)) |
Compiled 215 to 129 computations (40% saved)
11 alts after pruning (1 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 23 | 0 | 23 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 9 | 9 |
| Total | 23 | 11 | 34 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.0b | (hypot.f64 (sqrt.f64 y) x) |
| ✓ | 41.3b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ✓ | 41.3b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
| ✓ | 41.3b | (-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
| ✓ | 43.7b | (+.f64 (/.f64 1/2 (/.f64 x y)) x) |
| ✓ | 43.7b | (+.f64 (*.f64 (/.f64 1/2 x) y) x) |
| ✓ | 18.5b | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 18.5b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ✓ | 40.9b | (sqrt.f64 y) |
| ✓ | 41.0b | (neg.f64 x) |
| 43.7b | x |
Compiled 77 to 51 computations (33.8% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 (/.f64 1/2 x) y) x) |
(+.f64 (/.f64 1/2 (/.f64 x y)) x) |
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(-.f64 (/.f64 (*.f64 y -1/2) x) x) |
(sqrt.f64 y) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(hypot.f64 (sqrt.f64 y) x) |
(sqrt.f64 (fma.f64 x x y)) |
| Outputs |
|---|
(neg.f64 x) |
(sqrt.f64 (fma.f64 x x y)) |
x |
5 calls:
| 19.0ms | x |
| 19.0ms | y |
| 14.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 14.0ms | (+.f64 (*.f64 x x) y) |
| 10.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 3 | x |
| 7.5b | 3 | y |
| 8.2b | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 8.2b | 2 | (+.f64 (*.f64 x x) y) |
| 8.2b | 2 | (*.f64 x x) |
Compiled 90 to 49 computations (45.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 2.3181612541120347e+41 | 2.27897749273265e+46 |
| 7.0ms | -1.752951204239872e+157 | -5.6945314503501226e+153 |
| 19.0ms | 208× | body | 256 | valid |
| 0.0ms | 6× | body | 256 | invalid |
Compiled 173 to 117 computations (32.4% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 (/.f64 1/2 x) y) x) |
(+.f64 (/.f64 1/2 (/.f64 x y)) x) |
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(-.f64 (/.f64 (*.f64 y -1/2) x) x) |
(sqrt.f64 y) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(hypot.f64 (sqrt.f64 y) x) |
| Outputs |
|---|
(neg.f64 x) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
x |
5 calls:
| 18.0ms | y |
| 18.0ms | x |
| 12.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 12.0ms | (+.f64 (*.f64 x x) y) |
| 11.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 3 | x |
| 7.5b | 3 | y |
| 8.2b | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 8.2b | 2 | (+.f64 (*.f64 x x) y) |
| 8.2b | 2 | (*.f64 x x) |
Compiled 85 to 47 computations (44.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 16.0ms | 2.3181612541120347e+41 | 2.27897749273265e+46 |
| 7.0ms | -1.752951204239872e+157 | -5.6945314503501226e+153 |
| 19.0ms | 208× | body | 256 | valid |
| 1.0ms | 7× | body | 256 | invalid |
Compiled 186 to 130 computations (30.1% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 (/.f64 1/2 x) y) x) |
(+.f64 (/.f64 1/2 (/.f64 x y)) x) |
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(-.f64 (/.f64 (*.f64 y -1/2) x) x) |
(sqrt.f64 y) |
| Outputs |
|---|
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
2 calls:
| 36.0ms | y |
| 16.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 7.1b | 3 | x |
| 24.3b | 6 | y |
Compiled 55 to 31 computations (43.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 1.6736324524945e-78 | 1.5267589810625685e-63 |
| 7.0ms | -5.420867356857696e-97 | -3.926044862421154e-97 |
| 20.0ms | 208× | body | 256 | valid |
| 5.0ms | 63× | body | 256 | invalid |
Compiled 208 to 152 computations (26.9% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(+.f64 (*.f64 (/.f64 1/2 x) y) x) |
(+.f64 (/.f64 1/2 (/.f64 x y)) x) |
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| Outputs |
|---|
(neg.f64 x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
2 calls:
| 39.0ms | y |
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 21.4b | 2 | x |
| 35.6b | 7 | y |
Compiled 53 to 30 computations (43.4% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 21.0ms | 9.342147209640476e-278 | 8.999629644814454e-272 |
| 14.0ms | 144× | body | 256 | valid |
| 6.0ms | 76× | body | 256 | invalid |
Compiled 148 to 108 computations (27% saved)
Total -41.7b remaining (-193.5%)
Threshold costs -41.7b (-193.5%)
| Inputs |
|---|
x |
(neg.f64 x) |
| Outputs |
|---|
(neg.f64 x) |
x |
2 calls:
| 23.0ms | y |
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 21.5b | 2 | x |
| 35.7b | 7 | y |
Compiled 11 to 7 computations (36.4% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | -8.656080724553179e-302 | 8.704825077748017e-309 |
| 14.0ms | 144× | body | 256 | valid |
| 3.0ms | 41× | body | 256 | invalid |
Compiled 94 to 72 computations (23.4% saved)
| 1× | egg-herbie |
| 8× | +-commutative |
| 6× | *-commutative |
| 4× | sub-neg |
| 2× | neg-mul-1 |
| 2× | neg-sub0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 188 |
| 1 | 53 | 188 |
| 2 | 56 | 188 |
| 3 | 57 | 188 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -10000000000000000369475456880582265409809179829842688451922778552150543659347219597216513109705408327446511753687232667314337003349573404171046192448274432) (neg.f64 x) (if (<=.f64 x 22500000000000000479471228422922679880584790016) (sqrt.f64 (fma.f64 x x y)) x)) |
(if (<=.f64 x -10000000000000000369475456880582265409809179829842688451922778552150543659347219597216513109705408327446511753687232667314337003349573404171046192448274432) (neg.f64 x) (if (<=.f64 x 22500000000000000479471228422922679880584790016) (sqrt.f64 (+.f64 (*.f64 x x) y)) x)) |
(if (<=.f64 x -5002207817901643/9619630419041620901435312524449124464130795720328478190417063819395928166869436184427311097384012607618805661696) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 6365737426045269/254629497041810760783555711051172270131433549208242031329517556169297662470417088272924672) (sqrt.f64 y) (+.f64 (*.f64 1/2 (/.f64 y x)) x))) |
(if (<=.f64 x 6699903382837499/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992) (neg.f64 x) (+.f64 (*.f64 1/2 (/.f64 y x)) x)) |
(if (<=.f64 x -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392) (neg.f64 x) x) |
x |
| Outputs |
|---|
(if (<=.f64 x -10000000000000000369475456880582265409809179829842688451922778552150543659347219597216513109705408327446511753687232667314337003349573404171046192448274432) (neg.f64 x) (if (<=.f64 x 22500000000000000479471228422922679880584790016) (sqrt.f64 (fma.f64 x x y)) x)) |
(if (<=.f64 x -10000000000000000369475456880582265409809179829842688451922778552150543659347219597216513109705408327446511753687232667314337003349573404171046192448274432) (neg.f64 x) (if (<=.f64 x 22500000000000000479471228422922679880584790016) (sqrt.f64 (+.f64 (*.f64 x x) y)) x)) |
(if (<=.f64 x -10000000000000000369475456880582265409809179829842688451922778552150543659347219597216513109705408327446511753687232667314337003349573404171046192448274432) (neg.f64 x) (if (<=.f64 x 22500000000000000479471228422922679880584790016) (sqrt.f64 (+.f64 y (*.f64 x x))) x)) |
(if (<=.f64 x -5002207817901643/9619630419041620901435312524449124464130795720328478190417063819395928166869436184427311097384012607618805661696) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 6365737426045269/254629497041810760783555711051172270131433549208242031329517556169297662470417088272924672) (sqrt.f64 y) (+.f64 (*.f64 1/2 (/.f64 y x)) x))) |
(if (<=.f64 x -5002207817901643/9619630419041620901435312524449124464130795720328478190417063819395928166869436184427311097384012607618805661696) (-.f64 (*.f64 y (/.f64 -1/2 x)) x) (if (<=.f64 x 6365737426045269/254629497041810760783555711051172270131433549208242031329517556169297662470417088272924672) (sqrt.f64 y) (+.f64 x (*.f64 1/2 (/.f64 y x))))) |
(if (<=.f64 x 6699903382837499/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992) (neg.f64 x) (+.f64 (*.f64 1/2 (/.f64 y x)) x)) |
(if (<=.f64 x 6699903382837499/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992) (neg.f64 x) (+.f64 x (*.f64 1/2 (/.f64 y x)))) |
(if (<=.f64 x -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392) (neg.f64 x) x) |
x |
Compiled 90 to 58 computations (35.6% saved)
| 2× | egg-herbie |
| 1540× | associate-+r+ |
| 1270× | associate-+l+ |
| 680× | fma-def |
| 632× | unswap-sqr |
| 588× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 196 | 2195 |
| 1 | 452 | 2101 |
| 2 | 1559 | 2093 |
| 3 | 5580 | 2093 |
| 0 | 8 | 13 |
| 1 | 11 | 13 |
| 1× | saturated |
| 1× | node limit |
Compiled 20 to 12 computations (40% saved)
Compiled 80 to 44 computations (45% saved)
Loading profile data...