Time bar (total: 2.9s)
| 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 |
| 33.0ms | 347× | body | 256 | invalid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 13 | 14 |
| 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 |
| 1× | +-commutative_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 8 | 7 |
| 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)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 20.8b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 8 to 5 computations (37.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) y) |
| ✓ | 19.2b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 18 to 5 computations (72.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | y | @ | inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | x | @ | inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | y | @ | -inf | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | y | @ | 0 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1× | batch-egg-rewrite |
| 662× | pow1_binary64 |
| 619× | add-log-exp_binary64 |
| 619× | log1p-expm1-u_binary64 |
| 619× | expm1-log1p-u_binary64 |
| 602× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 1 | 130 | 11 |
| 2 | 1751 | 11 |
| 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 (+.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 (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 (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 (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 4) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y)))))) (#(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 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) 3/2) 1/3)))) (#(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) 1/4) 2)))) (#(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 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 expm1.f64 (log1p.f64 (hypot.f64 x (sqrt.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (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 -.f64 (+.f64 1 (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 (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 (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 (+.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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (-.f64 (*.f64 x x) y)))))) (#(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 (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 1 (/.f64 (-.f64 (*.f64 x x) y) (-.f64 (pow.f64 x 4) (*.f64 y 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 (*.f64 x x) y))))))) (#(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 (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 /.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 (-.f64 (*.f64 y y) (pow.f64 x 4)) (-.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 (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 pow.f64 (cbrt.f64 (fma.f64 x x y)) 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 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 log1p.f64 (expm1.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 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 (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))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 759× | times-frac_binary64 |
| 599× | associate-/l*_binary64 |
| 502× | unswap-sqr_binary64 |
| 498× | fma-neg_binary64 |
| 427× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 454 |
| 1 | 161 | 416 |
| 2 | 444 | 416 |
| 3 | 1586 | 414 |
| 4 | 5763 | 414 |
| 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)) |
| 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 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (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)))) |
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (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 y (/.f64 (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)) |
(fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) 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/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (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 (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))) |
(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))) (fma.f64 1/2 (/.f64 y x) 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 -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 y (/.f64 (pow.f64 x 3) y)) 1/8) x)) |
(-.f64 (fma.f64 (/.f64 y x) -1/2 (*.f64 (/.f64 y (/.f64 (pow.f64 x 3) y)) 1/8)) x) |
(-.f64 (*.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x)))) x) |
(fma.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x))) (neg.f64 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 y (/.f64 (pow.f64 x 3) y)) 1/8) x))) |
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (/.f64 y (/.f64 (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)) |
(fma.f64 (pow.f64 y 3) (/.f64 -1/16 (pow.f64 x 5)) (fma.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x))) (neg.f64 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 y (/.f64 (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)) |
(fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) 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/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (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 (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))) |
(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))) (fma.f64 1/2 (/.f64 y x) x))) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
y |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
(+.f64 y (pow.f64 x 2)) |
(+.f64 y (*.f64 x x)) |
(fma.f64 x x y) |
Compiled 1056 to 523 computations (50.5% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 83 | 5 | 88 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 83 | 6 | 89 |
| Status | Error | Program |
|---|---|---|
| ▶ | 43.4b | (neg.f64 x) |
| ✓ | 20.8b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ▶ | 42.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| 42.5b | x | |
| ▶ | 39.3b | (sqrt.f64 y) |
| ▶ | 43.6b | (-.f64 (*.f64 (/.f64 y x) -1/2) x) |
Compiled 37 to 25 computations (32.4% saved)
Compiled 5 to 3 computations (40% 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)) |
| 1.0ms | y | @ | 0 | (*.f64 1/2 (/.f64 y x)) |
| 1.0ms | x | @ | 0 | (*.f64 1/2 (/.f64 y x)) |
| 1.0ms | x | @ | inf | (*.f64 1/2 (/.f64 y x)) |
| 1.0ms | y | @ | -inf | (*.f64 1/2 (/.f64 y x)) |
| 1× | batch-egg-rewrite |
| 653× | pow1_binary64 |
| 606× | add-log-exp_binary64 |
| 606× | log1p-expm1-u_binary64 |
| 606× | expm1-log1p-u_binary64 |
| 594× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 127 | 7 |
| 2 | 1609 | 7 |
| 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 (neg.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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 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 (neg.f64 y) 1/2) (neg.f64 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 pow.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(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 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3)))) (#(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 sqrt.f64 (*.f64 (pow.f64 (/.f64 y x) 2) 1/4))))) (#(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 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 log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (/.f64 y x) -1/2) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (*.f64 (/.f64 y x) -1/2) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 y x) -1/2) |
| 0.0ms | y | @ | inf | (*.f64 (/.f64 y x) -1/2) |
| 0.0ms | y | @ | -inf | (*.f64 (/.f64 y x) -1/2) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 y x) -1/2) |
| 1× | batch-egg-rewrite |
| 655× | pow1_binary64 |
| 608× | add-log-exp_binary64 |
| 608× | log1p-expm1-u_binary64 |
| 608× | expm1-log1p-u_binary64 |
| 596× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 127 | 7 |
| 2 | 1614 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 y x) -1/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (/.f64 y x) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 y (/.f64 x -1/2))))) (#(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 y -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 y -1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 y -1/2)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 y -1/2) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 y -1/2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 y -1/2) (sqrt.f64 x)) (sqrt.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 -1/2 (neg.f64 y)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 y x) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 y x) -1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 y x) -1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 y x) -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 (/.f64 y x) 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 cbrt.f64 (pow.f64 (*.f64 (/.f64 y x) -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 y x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 y x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 y x) -1/2))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
Compiled 396 to 229 computations (42.2% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 3 | 42 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 4 | 4 |
| Total | 40 | 8 | 48 |
| Status | Error | Program |
|---|---|---|
| ✓ | 43.4b | (neg.f64 x) |
| ▶ | 42.7b | (+.f64 (/.f64 1/2 (/.f64 x y)) x) |
| ✓ | 20.8b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ✓ | 42.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| 42.5b | x | |
| ✓ | 39.3b | (sqrt.f64 y) |
| ▶ | 43.6b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ▶ | 43.6b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
Compiled 55 to 37 computations (32.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.6b | (/.f64 1/2 (/.f64 x y)) |
Compiled 20 to 9 computations (55% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | (/.f64 1/2 (/.f64 x y)) |
| 0.0ms | x | @ | 0 | (/.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 | x | @ | -inf | (/.f64 1/2 (/.f64 x y)) |
| 1× | batch-egg-rewrite |
| 699× | pow1_binary64 |
| 652× | add-log-exp_binary64 |
| 652× | log1p-expm1-u_binary64 |
| 652× | expm1-log1p-u_binary64 |
| 639× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 134 | 7 |
| 2 | 1770 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1/2 (/.f64 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 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 (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 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) (sqrt.f64 (*.f64 1/2 (/.f64 y x))))))) (#(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 y x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 x) 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 *.f64 (*.f64 (/.f64 1/2 x) 1) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/2 x) (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 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 pow.f64 (*.f64 1/2 (/.f64 y x)) 1)))) (#(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 (cbrt.f64 (*.f64 1/2 (/.f64 y x))) 3)))) (#(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 (*.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 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 log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.6b | (/.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 | y | @ | -inf | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | y | @ | inf | (/.f64 -1/2 (/.f64 x y)) |
| 0.0ms | x | @ | -inf | (/.f64 -1/2 (/.f64 x y)) |
| 1× | batch-egg-rewrite |
| 697× | pow1_binary64 |
| 651× | add-log-exp_binary64 |
| 650× | log1p-expm1-u_binary64 |
| 650× | expm1-log1p-u_binary64 |
| 638× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 134 | 7 |
| 2 | 1769 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -1/2 (/.f64 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 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 (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 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) (sqrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(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 y x) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 x) 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 *.f64 (*.f64 (/.f64 -1/2 x) 1) y)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -1/2 x) (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 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 pow.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(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 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3)))) (#(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 (*.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 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 log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (*.f64 y -1/2) x) |
Compiled 20 to 12 computations (40% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (/.f64 (*.f64 y -1/2) x) |
| 0.0ms | y | @ | inf | (/.f64 (*.f64 y -1/2) x) |
| 0.0ms | y | @ | -inf | (/.f64 (*.f64 y -1/2) x) |
| 0.0ms | x | @ | inf | (/.f64 (*.f64 y -1/2) x) |
| 0.0ms | x | @ | -inf | (/.f64 (*.f64 y -1/2) x) |
| 1× | batch-egg-rewrite |
| 673× | pow1_binary64 |
| 627× | add-log-exp_binary64 |
| 627× | log1p-expm1-u_binary64 |
| 627× | expm1-log1p-u_binary64 |
| 615× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 127 | 7 |
| 2 | 1656 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 y -1/2) 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 y (/.f64 1 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 y (*.f64 -1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (*.f64 y (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 y -1/2) (/.f64 1 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 (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 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (*.f64 (cbrt.f64 (*.f64 y -1/2)) (/.f64 1 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 (sqrt.f64 (*.f64 y -1/2)) (*.f64 (sqrt.f64 (*.f64 y -1/2)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 y 1/2) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 y -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y 1) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y x) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) 1) (/.f64 (cbrt.f64 (*.f64 y -1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 y -1/2)) 1) (/.f64 (sqrt.f64 (*.f64 y -1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y (pow.f64 (cbrt.f64 x) 2)) (/.f64 -1/2 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 y (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (*.f64 y -1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 y -1/2)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (*.f64 y -1/2)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y (sqrt.f64 x)) (/.f64 -1/2 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (sqrt.f64 x)) (/.f64 y (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (*.f64 y -1/2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (*.f64 y -1/2)) (sqrt.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 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3)))) (#(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 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (*.f64 y -1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 y -1/2) (neg.f64 x)))))) (#(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 (exp.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 cbrt.f64 (/.f64 (pow.f64 (*.f64 y -1/2) 3) (pow.f64 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 log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
Compiled 1008 to 598 computations (40.7% saved)
9 alts after pruning (3 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 2 | 93 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 5 | 6 |
| Total | 92 | 9 | 101 |
| Status | Error | Program |
|---|---|---|
| ▶ | 43.6b | (-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
| 42.5b | x | |
| ✓ | 43.4b | (neg.f64 x) |
| ▶ | 42.7b | (+.f64 (*.f64 (/.f64 1/2 x) y) x) |
| ✓ | 20.8b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ✓ | 42.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| ✓ | 39.3b | (sqrt.f64 y) |
| ✓ | 43.6b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ✓ | 43.6b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
Compiled 64 to 43 computations (32.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 | @ | 0 | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | y | @ | 0 | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | y | @ | inf | (*.f64 (/.f64 1/2 x) y) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 1/2 x) y) |
| 1× | batch-egg-rewrite |
| 617× | pow1_binary64 |
| 573× | add-log-exp_binary64 |
| 573× | log1p-expm1-u_binary64 |
| 573× | expm1-log1p-u_binary64 |
| 562× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 128 | 7 |
| 2 | 1560 | 7 |
| 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 (neg.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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 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 -1/2 y) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 y -1/2) (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 (pow.f64 (*.f64 1/2 (/.f64 y x)) 3) 1/3)))) (#(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 (sqrt.f64 (*.f64 1/2 (/.f64 y x))) 2)))) (#(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 log1p.f64 (expm1.f64 (*.f64 1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
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 |
| 615× | pow1_binary64 |
| 572× | add-log-exp_binary64 |
| 571× | log1p-expm1-u_binary64 |
| 571× | expm1-log1p-u_binary64 |
| 561× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 128 | 7 |
| 2 | 1559 | 7 |
| 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 (neg.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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 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 1/2 y) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 y 1/2) (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 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3)))) (#(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 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)))) (#(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 log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x)))))))) |
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | associate-/l*_binary64 |
| 1× | associate-*r/_binary64 |
| 1× | associate-*l/_binary64 |
| 1× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 168 |
| 1 | 9 | 168 |
| 2 | 13 | 168 |
| 3 | 17 | 168 |
| 4 | 18 | 168 |
| 1× | saturated |
| 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)) |
| 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)) |
Compiled 406 to 236 computations (41.9% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 0 | 44 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 44 | 9 | 53 |
| Status | Error | Program |
|---|---|---|
| ✓ | 43.6b | (-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
| 42.5b | x | |
| ✓ | 43.4b | (neg.f64 x) |
| ✓ | 42.7b | (+.f64 (*.f64 (/.f64 1/2 x) y) x) |
| ✓ | 20.8b | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| ✓ | 42.7b | (+.f64 (*.f64 1/2 (/.f64 y x)) x) |
| ✓ | 39.3b | (sqrt.f64 y) |
| ✓ | 43.6b | (-.f64 (/.f64 (*.f64 y -1/2) x) x) |
| ✓ | 43.6b | (-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
Compiled 64 to 43 computations (32.8% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(-.f64 (*.f64 (/.f64 -1/2 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) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(-.f64 (*.f64 (/.f64 y x) -1/2) x) |
(sqrt.f64 y) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
| Outputs |
|---|
(neg.f64 x) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
x |
6 calls:
| 49.0ms | y |
| 21.0ms | x |
| 17.0ms | (*.f64 x x) |
| 14.0ms | (+.f64 (*.f64 x x) y) |
| 11.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 3 | x |
| 13.0b | 7 | y |
| 9.5b | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 9.5b | 2 | (+.f64 (*.f64 x x) y) |
| 9.5b | 2 | (*.f64 x x) |
| 9.5b | 2 | (*.f64 x x) |
Compiled 93 to 52 computations (44.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 5.171418177625172e+141 | 2.9376518277432765e+144 |
| 19.0ms | -7.899036816626704e+155 | -8.51693700430968e+152 |
Compiled 13 to 9 computations (30.8% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(-.f64 (*.f64 (/.f64 -1/2 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) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(-.f64 (*.f64 (/.f64 y x) -1/2) x) |
(sqrt.f64 y) |
| Outputs |
|---|
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
(sqrt.f64 y) |
(+.f64 (*.f64 (/.f64 1/2 x) y) x) |
2 calls:
| 47.0ms | y |
| 25.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 5.9b | 3 | x |
| 23.0b | 7 | y |
Compiled 62 to 34 computations (45.2% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 61.0ms | 2.929148978625365e-53 | 2.4474571258671627e-49 |
| 64.0ms | -2.600254508645673e-37 | -9.019422927276407e-41 |
Compiled 253 to 185 computations (26.9% saved)
| Inputs |
|---|
x |
(neg.f64 x) |
(-.f64 (*.f64 (/.f64 -1/2 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) |
(-.f64 (/.f64 -1/2 (/.f64 x y)) x) |
(+.f64 (*.f64 1/2 (/.f64 y x)) x) |
(-.f64 (*.f64 (/.f64 y x) -1/2) x) |
| Outputs |
|---|
(-.f64 (*.f64 (/.f64 -1/2 x) y) x) |
x |
2 calls:
| 49.0ms | y |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 22.7b | 2 | x |
| 34.3b | 9 | y |
Compiled 60 to 33 computations (45% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 34.0ms | -8.460396099054195e-171 | -4.550503120581928e-194 |
Compiled 167 to 119 computations (28.7% saved)
Total -40.5b remaining (-178.2%)
Threshold costs -40.5b (-178.2%)
| Inputs |
|---|
x |
(neg.f64 x) |
| Outputs |
|---|
(neg.f64 x) |
x |
2 calls:
| 29.0ms | y |
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 22.7b | 2 | x |
| 34.3b | 9 | y |
Compiled 11 to 7 computations (36.4% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 31.0ms | -2.1416743694971464e-302 | 7.074395051301774e-302 |
Compiled 103 to 79 computations (23.3% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 88 |
| 1 | 43 | 88 |
| 2 | 46 | 88 |
| 3 | 47 | 88 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -789903681662670416843819891423776443832388474878442016213178624802792148358913520322358476391278046851920539470177872819538308415346582124391281219134816256) (neg.f64 x) (if (<=.f64 x 5171418177625171814103938018063750790695010403888883751423724952401816543398371790504201281028513256113073717140249593300052799829582523924480) (sqrt.f64 (+.f64 (*.f64 x x) y)) x)) |
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 (*.f64 (/.f64 1/2 x) y) x))) |
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) x) |
(if (<=.f64 x 0) (neg.f64 x) x) |
x |
| Outputs |
|---|
(if (<=.f64 x -789903681662670416843819891423776443832388474878442016213178624802792148358913520322358476391278046851920539470177872819538308415346582124391281219134816256) (neg.f64 x) (if (<=.f64 x 5171418177625171814103938018063750790695010403888883751423724952401816543398371790504201281028513256113073717140249593300052799829582523924480) (sqrt.f64 (+.f64 (*.f64 x x) y)) x)) |
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 (*.f64 (/.f64 1/2 x) y) x))) |
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 y (/.f64 -1/2 x)) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 x (*.f64 y (/.f64 1/2 x))))) |
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) x) |
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 y (/.f64 -1/2 x)) x) x) |
(if (<=.f64 x 0) (neg.f64 x) x) |
x |
Compiled 71 to 46 computations (35.2% saved)
| 1× | egg-herbie |
| 759× | times-frac_binary64 |
| 599× | associate-/l*_binary64 |
| 502× | unswap-sqr_binary64 |
| 498× | fma-neg_binary64 |
| 427× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 454 |
| 1 | 161 | 416 |
| 2 | 444 | 416 |
| 3 | 1586 | 414 |
| 4 | 5763 | 414 |
| 1× | node limit |
Compiled 9 to 7 computations (22.2% saved)
Compiled 63 to 37 computations (41.3% saved)
Loading profile data...