Time bar (total: 1.3s)
| 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% | 87.4% | 0.1% | 0% | 12.5% | 0% | 4 |
| 7.7% | 6.2% | 74.9% | 0.1% | 0% | 18.7% | 0% | 5 |
| 17.4% | 12.5% | 59.3% | 0.1% | 0% | 28.1% | 0% | 6 |
| 34.9% | 23.4% | 43.7% | 0.1% | 0% | 32.8% | 0% | 7 |
| 45.6% | 28.1% | 33.6% | 0.1% | 0% | 38.2% | 0% | 8 |
| 60.3% | 35.5% | 23.4% | 0.1% | 0% | 41% | 0% | 9 |
| 68.3% | 38.2% | 17.8% | 0.1% | 0% | 43.9% | 0% | 10 |
| 77.8% | 42.4% | 12.1% | 0.1% | 0% | 45.4% | 0% | 11 |
| 82.8% | 43.9% | 9.1% | 0.1% | 0% | 46.9% | 0% | 12 |
Compiled 7 to 5 computations (28.6% saved)
| 645.0ms | 8256× | body | 256 | valid |
| 41.0ms | 526× | body | 256 | invalid |
| 2× | egg-herbie |
| 2× | swap-x-y |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 1 | 9 | 22 |
| 0 | 2 | 2 |
| 1 | 2 | 2 |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
0 |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 (+.f64 y x)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 (+.f64 y x)) |
(sqrt.f64 (+.f64 x y)) |
(sort x y)
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 8 | 11 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
Compiled 6 to 4 computations (33.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.01% | (sqrt.f64 (+.f64 x y)) |
Compiled 6 to 4 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.01% | (sqrt.f64 (+.f64 x y)) |
Compiled 11 to 4 computations (63.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (sqrt.f64 (+.f64 x y)) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (+.f64 x y)) |
| 0.0ms | y | @ | inf | (sqrt.f64 (+.f64 x y)) |
| 0.0ms | y | @ | 0 | (sqrt.f64 (+.f64 x y)) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (+.f64 x y)) |
| 1× | batch-egg-rewrite |
| 1552× | add-sqr-sqrt |
| 1534× | *-un-lft-identity |
| 1432× | add-cube-cbrt |
| 1418× | add-cbrt-cube |
| 1406× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 146 | 11 |
| 2 | 1914 | 11 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (+.f64 x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) (cbrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 y) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 x) (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))))))) |
| 1× | egg-herbie |
| 1712× | fma-def |
| 1462× | unswap-sqr |
| 948× | *-commutative |
| 730× | distribute-lft-in |
| 634× | associate-+r+ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 115 | 1096 |
| 1 | 257 | 960 |
| 2 | 688 | 844 |
| 3 | 1874 | 804 |
| 4 | 4371 | 804 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y)))) |
(sqrt.f64 x) |
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))) |
(-.f64 (+.f64 1 (sqrt.f64 (+.f64 x y))) 1) |
(*.f64 (sqrt.f64 (+.f64 x y)) 1) |
(*.f64 1 (sqrt.f64 (+.f64 x y))) |
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
(*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (sqrt.f64 (+.f64 x y)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) (cbrt.f64 (+.f64 x y))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x y)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x y))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x y)) 1/2)) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y))) |
(pow.f64 (+.f64 x y) 1/2) |
(pow.f64 (sqrt.f64 (+.f64 x y)) 1) |
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2) |
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3) |
(pow.f64 (pow.f64 (+.f64 x y) 3/2) 1/3) |
(fabs.f64 (sqrt.f64 (+.f64 x y))) |
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y)))) |
(cbrt.f64 (pow.f64 (+.f64 x y) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) |
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x)) |
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y)) |
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y)))) |
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))) |
| Outputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)) |
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (sqrt.f64 y))) |
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 -1/8 (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3)))))) (sqrt.f64 y)) |
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x -1/8))) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y)))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 -1/8 (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3)))))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 3)) (sqrt.f64 y))) |
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x -1/8))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))) |
(sqrt.f64 x) |
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))) |
(+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))) |
(fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))) |
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y (*.f64 y -1/8)) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))) |
(fma.f64 (pow.f64 y 3) (*.f64 1/16 (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x)))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x)))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (sqrt.f64 x)))) |
(-.f64 (+.f64 1 (sqrt.f64 (+.f64 x y))) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(*.f64 (sqrt.f64 (+.f64 x y)) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(*.f64 1 (sqrt.f64 (+.f64 x y))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (sqrt.f64 (+.f64 x y)))) |
(*.f64 (cbrt.f64 (+.f64 y x)) (cbrt.f64 (sqrt.f64 (+.f64 y x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) (cbrt.f64 (+.f64 x y))) |
(*.f64 (cbrt.f64 (+.f64 y x)) (cbrt.f64 (sqrt.f64 (+.f64 y x)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x y)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 y x))) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(*.f64 (cbrt.f64 (+.f64 y x)) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(pow.f64 (cbrt.f64 (+.f64 y x)) 3/2) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x y))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x y)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 y x))) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(*.f64 (cbrt.f64 (+.f64 y x)) (sqrt.f64 (cbrt.f64 (+.f64 y x)))) |
(pow.f64 (cbrt.f64 (+.f64 y x)) 3/2) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y y (*.f64 x (-.f64 x y))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y))) |
(/.f64 (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (sqrt.f64 (-.f64 x y))) |
(pow.f64 (+.f64 x y) 1/2) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (sqrt.f64 (+.f64 x y)) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (pow.f64 (+.f64 x y) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (+.f64 y x) 3/2)) |
(fabs.f64 (sqrt.f64 (+.f64 x y))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y)))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(cbrt.f64 (pow.f64 (+.f64 x y) 3/2)) |
(cbrt.f64 (pow.f64 (+.f64 y x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x)) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y)) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y)))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2)) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1)) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))) |
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1)) |
(+.f64 (sqrt.f64 (+.f64 y x)) 0) |
(sqrt.f64 (+.f64 y x)) |
Compiled 1099 to 663 computations (39.7% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 70 | 2 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 70 | 3 | 73 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.82% | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| ✓ | 0.01% | (sqrt.f64 (+.f64 x y)) |
| ▶ | 1.68% | (sqrt.f64 y) |
Compiled 23 to 15 computations (34.8% saved)
Compiled 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.82% | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
Compiled 24 to 11 computations (54.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| 0.0ms | x | @ | 0 | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| 0.0ms | x | @ | -inf | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| 0.0ms | y | @ | inf | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| 0.0ms | y | @ | -inf | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| 1× | batch-egg-rewrite |
| 1702× | add-sqr-sqrt |
| 1676× | *-un-lft-identity |
| 1580× | add-cube-cbrt |
| 1568× | add-cbrt-cube |
| 172× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 180 | 11 |
| 2 | 2277 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x y) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 x) (sqrt.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 y) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (+.f64 x y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x y) 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))))))) |
| 1× | egg-herbie |
| 1660× | distribute-rgt-in |
| 1648× | distribute-lft-in |
| 1180× | associate-*r* |
| 1038× | associate-*l* |
| 940× | unswap-sqr |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 109 | 735 |
| 1 | 254 | 719 |
| 2 | 824 | 719 |
| 3 | 4798 | 719 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y)))) |
(sqrt.f64 x) |
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))) |
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) 1) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y))) |
(pow.f64 (+.f64 x y) 1/2) |
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2) |
(pow.f64 (sqrt.f64 (+.f64 x y)) 1) |
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3) |
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3) 1/3) |
(pow.f64 (pow.f64 (+.f64 x y) 2) 1/4) |
(sqrt.f64 (+.f64 x y)) |
(fabs.f64 (sqrt.f64 (+.f64 x y))) |
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y)))) |
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x y))))) |
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) |
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y)) |
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x)) |
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y)))) |
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2)) |
(exp.f64 (*.f64 (*.f64 1/4 (log.f64 (+.f64 x y))) 2)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1)) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x y) 2)) 1/4)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))) |
| Outputs |
|---|
(sqrt.f64 y) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)) |
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y)) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))) |
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))) |
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (sqrt.f64 y))) |
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y)))) |
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 3)) (sqrt.f64 y)))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))) |
(sqrt.f64 x) |
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))) |
(+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))) |
(fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))) |
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x))) |
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y (*.f64 y -1/8)) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))) |
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x)))) |
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (sqrt.f64 x)))) |
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) 1) |
(sqrt.f64 (+.f64 y x)) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x))))) |
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y))) |
(pow.f64 (+.f64 x y) 1/2) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (sqrt.f64 (+.f64 x y)) 1) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3) 1/3) |
(sqrt.f64 (+.f64 y x)) |
(pow.f64 (pow.f64 (+.f64 x y) 2) 1/4) |
(sqrt.f64 (+.f64 y x)) |
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 (+.f64 y x)) |
(fabs.f64 (sqrt.f64 (+.f64 x y))) |
(sqrt.f64 (+.f64 y x)) |
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y)))) |
(sqrt.f64 (+.f64 y x)) |
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x y))))) |
(sqrt.f64 (+.f64 y x)) |
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3)) |
(sqrt.f64 (+.f64 y x)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) |
(sqrt.f64 (+.f64 y x)) |
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y)) |
(sqrt.f64 (+.f64 y x)) |
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x)) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y)))) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2)) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (*.f64 1/4 (log.f64 (+.f64 x y))) 2)) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1)) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x y) 2)) 1/4)) |
(sqrt.f64 (+.f64 y x)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y)))) |
(sqrt.f64 (+.f64 y x)) |
Compiled 877 to 558 computations (36.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 0 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 56 | 3 | 59 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.82% | (*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| ✓ | 0.01% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 1.68% | (sqrt.f64 y) |
Compiled 23 to 15 computations (34.8% saved)
Total -1.6b remaining (-40791.4%)
Threshold costs -1.6b (-40791.4%)
| Inputs |
|---|
(sqrt.f64 y) |
(sqrt.f64 (+.f64 x y)) |
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
4 calls:
| 50.0ms | (sqrt.f64 (+.f64 x y)) |
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (+.f64 x y) |
| Error | Segments | Branch |
|---|---|---|
| 0.01% | 1 | x |
| 0.01% | 1 | y |
| 0.01% | 1 | (sqrt.f64 (+.f64 x y)) |
| 0.01% | 1 | (+.f64 x y) |
Compiled 36 to 21 computations (41.7% saved)
| 1× | egg-herbie |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 9 | 16 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 y) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 y) |
Compiled 10 to 7 computations (30% saved)
(sort x y)
Compiled 20 to 13 computations (35% saved)
Loading profile data...