Time bar (total: 4.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 25% | 74.9% | 0.1% | 5 |
| 25% | 62.4% | 12.6% | 6 |
| 25% | 43.7% | 31.3% | 7 |
| 31.2% | 31.2% | 37.6% | 8 |
| 39% | 23.4% | 37.6% | 9 |
| 42.9% | 16.4% | 40.7% | 10 |
| 47.2% | 12.1% | 40.7% | 11 |
| 49.4% | 8.4% | 42.2% | 12 |
Compiled 14 to 9 computations (35.7% saved)
| 1.1s | 8256× | body | 256 | valid |
| 26.0ms | 229× | body | 256 | invalid |
| 2× | egg-herbie |
| 26× | fma-def_binary64 |
| 11× | +-commutative_binary64 |
| 6× | associate-+r+_binary64 |
| 6× | associate-+l+_binary64 |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 26 |
| 1 | 28 | 22 |
| 2 | 62 | 22 |
| 3 | 76 | 22 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y)) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 y (+.f64 2 y))) |
(fma.f64 x x (*.f64 y (+.f64 2 y))) |
Compiled 15 to 10 computations (33.3% saved)
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 6× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 17 | 11 |
| 2 | 34 | 11 |
| 3 | 42 | 11 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y)) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
Compiled 21 to 11 computations (47.6% 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 |
|---|---|---|
| ▶ | 0.0b | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| ▶ | 0.0b | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
Compiled 23 to 14 computations (39.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 0.0b | (+.f64 (*.f64 x 2) (*.f64 x x)) |
Compiled 32 to 14 computations (56.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 1.0ms | y | @ | 0 | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 577× | fma-def_binary64 |
| 467× | log-prod_binary64 |
| 356× | pow-prod-down_binary64 |
| 280× | fma-neg_binary64 |
| 262× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 203 | 18 |
| 2 | 2909 | 18 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x 2) (*.f64 x x)) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 2 x))) (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) (hypot.f64 x (sqrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (/.f64 1 (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 2 x)) (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (*.f64 x (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))) (neg.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))) (neg.f64 (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (fma.f64 x x (neg.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (-.f64 2 x)) (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 x 2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 x x)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) (pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 2) (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))) (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3)) (fma.f64 (*.f64 x x) 4 (-.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2) (*.f64 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)) (-.f64 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (exp.f64 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (pow.f64 (exp.f64 1) (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))) (pow.f64 (exp.f64 y) y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)) (+.f64 1 (expm1.f64 (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))) (+.f64 1 (expm1.f64 (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y y))) (pow.f64 (exp.f64 x) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 y) y) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y y))) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1) (pow.f64 (hypot.f64 x y) 2)) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 x 2)) 1 (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y y) 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (hypot.f64 x y) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 (pow.f64 y 4)) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) (hypot.f64 x (sqrt.f64 (+.f64 x x))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (pow.f64 y 3/2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (/.f64 1 (*.f64 x (-.f64 2 x))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 y 3/2) (sqrt.f64 y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x y) (hypot.f64 x y) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 5) (cbrt.f64 y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 666× | cube-prod_binary64 |
| 661× | fabs-mul_binary64 |
| 514× | pow-sqr_binary64 |
| 511× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 346 |
| 1 | 28 | 304 |
| 2 | 55 | 289 |
| 3 | 88 | 289 |
| 4 | 190 | 289 |
| 5 | 496 | 289 |
| 6 | 1665 | 289 |
| 7 | 2348 | 289 |
| 8 | 2680 | 289 |
| 9 | 2940 | 289 |
| 10 | 3281 | 289 |
| 11 | 3787 | 289 |
| 12 | 4446 | 289 |
| 13 | 5240 | 289 |
| 14 | 6169 | 289 |
| 15 | 6690 | 289 |
| 16 | 7105 | 289 |
| 17 | 7498 | 289 |
| 18 | 7623 | 289 |
| 19 | 7669 | 289 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 x 2)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
Compiled 19 to 9 computations (52.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 0.0ms | x | @ | 0 | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 0.0ms | x | @ | -inf | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 742× | pow1_binary64 |
| 690× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 675× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 150 | 11 |
| 2 | 1860 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (+.f64 x 2)) 1) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) (sqrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 x (+.f64 x 2))) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 x (+.f64 x 2))) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))))) |
| 1× | egg-herbie |
| 796× | sqr-pow_binary64 |
| 666× | cube-prod_binary64 |
| 663× | fabs-mul_binary64 |
| 514× | pow-sqr_binary64 |
| 505× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 262 |
| 1 | 34 | 214 |
| 2 | 59 | 214 |
| 3 | 87 | 214 |
| 4 | 192 | 214 |
| 5 | 511 | 214 |
| 6 | 1715 | 214 |
| 7 | 2370 | 214 |
| 8 | 2701 | 214 |
| 9 | 2961 | 214 |
| 10 | 3300 | 214 |
| 11 | 3806 | 214 |
| 12 | 4467 | 214 |
| 13 | 5261 | 214 |
| 14 | 6190 | 214 |
| 15 | 6711 | 214 |
| 16 | 7124 | 214 |
| 17 | 7517 | 214 |
| 18 | 7644 | 214 |
| 19 | 7690 | 214 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(*.f64 (+.f64 2 x) x) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
Compiled 3036 to 1583 computations (47.9% saved)
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 203 | 8 | 211 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 204 | 9 | 213 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) | |
| ✓ | 0.0b | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 20.5b | (+.f64 (*.f64 2 x) (*.f64 y y)) | |
| ▶ | 23.1b | (*.f64 (+.f64 2 x) x) |
| ▶ | 0.0b | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| ▶ | 42.1b | (*.f64 x x) |
| 39.7b | (*.f64 y y) | |
| ▶ | 20.5b | (fma.f64 y y (*.f64 2 x)) |
| ▶ | 20.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 145 to 88 computations (39.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
Compiled 26 to 6 computations (76.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| 0.0ms | x | @ | -inf | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 824× | pow1_binary64 |
| 770× | add-log-exp_binary64 |
| 769× | log1p-expm1-u_binary64 |
| 769× | expm1-log1p-u_binary64 |
| 752× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 156 | 11 |
| 2 | 2305 | 11 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y y (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y y (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y y (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))) (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))) 2) (cbrt.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (hypot.f64 x (+.f64 x x))) (hypot.f64 y (hypot.f64 x (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (-.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y y (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y y (*.f64 x (+.f64 x 2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (hypot.f64 x (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y y (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x (+.f64 x 2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y y (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (+.f64 x x)) (hypot.f64 x (+.f64 x x)) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 796× | sqr-pow_binary64 |
| 666× | fabs-mul_binary64 |
| 666× | cube-prod_binary64 |
| 514× | pow-sqr_binary64 |
| 511× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 262 |
| 1 | 28 | 229 |
| 2 | 55 | 214 |
| 3 | 88 | 214 |
| 4 | 189 | 214 |
| 5 | 492 | 214 |
| 6 | 1678 | 214 |
| 7 | 2350 | 214 |
| 8 | 2682 | 214 |
| 9 | 2942 | 214 |
| 10 | 3281 | 214 |
| 11 | 3787 | 214 |
| 12 | 4450 | 214 |
| 13 | 5246 | 214 |
| 14 | 6179 | 214 |
| 15 | 6702 | 214 |
| 16 | 7117 | 214 |
| 17 | 7514 | 214 |
| 18 | 7637 | 214 |
| 19 | 7683 | 214 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 2 x (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x (+.f64 2 x))) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
Compiled 6 to 3 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 2 x) x) |
Compiled 12 to 8 computations (33.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (+.f64 2 x) x) |
| 0.0ms | x | @ | -inf | (*.f64 (+.f64 2 x) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 2 x) x) |
| 1× | batch-egg-rewrite |
| 583× | pow1_binary64 |
| 547× | add-log-exp_binary64 |
| 546× | log1p-expm1-u_binary64 |
| 546× | expm1-log1p-u_binary64 |
| 538× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 111 | 7 |
| 2 | 1433 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 2 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (+.f64 4 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 x x)) x) (-.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (+.f64 4 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 4 (*.f64 x x))) (-.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 2 x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 556× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 481× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 14 | 75 |
| 2 | 28 | 75 |
| 3 | 50 | 75 |
| 4 | 109 | 75 |
| 5 | 311 | 75 |
| 6 | 1042 | 75 |
| 7 | 2192 | 75 |
| 8 | 2539 | 75 |
| 9 | 2731 | 75 |
| 10 | 2941 | 75 |
| 11 | 3251 | 75 |
| 12 | 3660 | 75 |
| 13 | 4145 | 75 |
| 14 | 4717 | 75 |
| 15 | 5413 | 75 |
| 16 | 6261 | 75 |
| 17 | 6654 | 75 |
| 18 | 6942 | 75 |
| 19 | 7218 | 75 |
| 20 | 7290 | 75 |
| 21 | 7326 | 75 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 650× | pow1_binary64 |
| 606× | add-log-exp_binary64 |
| 606× | log1p-expm1-u_binary64 |
| 606× | expm1-log1p-u_binary64 |
| 589× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 129 | 7 |
| 2 | 1751 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y 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) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 754× | cube-prod_binary64 |
| 743× | fabs-mul_binary64 |
| 514× | pow-sqr_binary64 |
| 346× | unpow3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 204 |
| 1 | 16 | 168 |
| 2 | 29 | 168 |
| 3 | 47 | 168 |
| 4 | 99 | 168 |
| 5 | 295 | 168 |
| 6 | 1113 | 168 |
| 7 | 1389 | 168 |
| 8 | 1679 | 168 |
| 9 | 1930 | 168 |
| 10 | 2269 | 168 |
| 11 | 2762 | 168 |
| 12 | 3421 | 168 |
| 13 | 4211 | 168 |
| 14 | 5133 | 168 |
| 15 | 5654 | 168 |
| 16 | 6071 | 168 |
| 17 | 6462 | 168 |
| 18 | 6583 | 168 |
| 19 | 6627 | 168 |
| 20 | 7796 | 168 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
Compiled 14 to 8 computations (42.9% saved)
Compiled 1229 to 729 computations (40.7% saved)
10 alts after pruning (5 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 3 | 103 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 4 | 5 |
| Total | 102 | 10 | 112 |
| Status | Error | Program |
|---|---|---|
| ▶ | 20.5b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ▶ | 39.7b | (*.f64 y y) |
| ✓ | 23.1b | (*.f64 (+.f64 2 x) x) |
| ▶ | 23.1b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 0.0b | (+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| ✓ | 42.1b | (*.f64 x x) |
| ▶ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ▶ | 43.3b | (*.f64 2 x) |
| ✓ | 20.5b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 20.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 119 to 76 computations (36.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ✓ | 0.0b | (*.f64 (+.f64 x 2) x) |
Compiled 25 to 13 computations (48% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 0.0ms | x | @ | 0 | (*.f64 (+.f64 x 2) x) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 972× | pow1_binary64 |
| 908× | add-log-exp_binary64 |
| 907× | log1p-expm1-u_binary64 |
| 907× | expm1-log1p-u_binary64 |
| 94× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 180 | 18 |
| 2 | 2476 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x 2) x) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 796× | sqr-pow_binary64 |
| 666× | cube-prod_binary64 |
| 662× | fabs-mul_binary64 |
| 514× | pow-sqr_binary64 |
| 505× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 346 |
| 1 | 34 | 289 |
| 2 | 59 | 289 |
| 3 | 87 | 289 |
| 4 | 191 | 289 |
| 5 | 516 | 289 |
| 6 | 1699 | 289 |
| 7 | 2368 | 289 |
| 8 | 2699 | 289 |
| 9 | 2959 | 289 |
| 10 | 3298 | 289 |
| 11 | 3802 | 289 |
| 12 | 4463 | 289 |
| 13 | 5255 | 289 |
| 14 | 6186 | 289 |
| 15 | 6711 | 289 |
| 16 | 7126 | 289 |
| 17 | 7521 | 289 |
| 18 | 7646 | 289 |
| 19 | 7690 | 289 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(*.f64 (+.f64 2 x) x) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 6 to 3 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
Compiled 18 to 9 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 747× | pow1_binary64 |
| 696× | add-log-exp_binary64 |
| 695× | log1p-expm1-u_binary64 |
| 695× | expm1-log1p-u_binary64 |
| 680× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 150 | 8 |
| 2 | 1954 | 8 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 2 x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 2 x (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (*.f64 2 x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 x (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 2) (cbrt.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (sqrt.f64 (*.f64 2 x))) (hypot.f64 y (sqrt.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y))))) (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 2 x) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 2 x) 2) (*.f64 2 (*.f64 x (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4)) (-.f64 (*.f64 2 x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 2 x) 2)) (-.f64 (*.f64 y y) (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (sqrt.f64 (*.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 x)) 2) (cbrt.f64 (*.f64 2 x)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 (*.f64 2 x)) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 1366× | sqr-pow_binary64 |
| 695× | pow-sqr_binary64 |
| 617× | cube-prod_binary64 |
| 611× | fabs-mul_binary64 |
| 434× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 168 |
| 1 | 15 | 168 |
| 2 | 25 | 168 |
| 3 | 36 | 168 |
| 4 | 65 | 168 |
| 5 | 167 | 168 |
| 6 | 587 | 168 |
| 7 | 1453 | 168 |
| 8 | 1637 | 168 |
| 9 | 1821 | 168 |
| 10 | 2029 | 168 |
| 11 | 2324 | 168 |
| 12 | 2717 | 168 |
| 13 | 3202 | 168 |
| 14 | 3768 | 168 |
| 15 | 4456 | 168 |
| 16 | 5297 | 168 |
| 17 | 5691 | 168 |
| 18 | 5979 | 168 |
| 19 | 6255 | 168 |
| 20 | 6329 | 168 |
| 21 | 6363 | 168 |
| 22 | 7304 | 168 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
Compiled 17 to 9 computations (47.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| 1× | batch-egg-rewrite |
| 683× | pow1_binary64 |
| 641× | add-log-exp_binary64 |
| 640× | log1p-expm1-u_binary64 |
| 640× | expm1-log1p-u_binary64 |
| 627× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 133 | 7 |
| 2 | 1793 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x 2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (*.f64 x 2))) (hypot.f64 x (sqrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))) (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 x 2)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (*.f64 (*.f64 x x) 4) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (*.f64 x (-.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (-.f64 (*.f64 x 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (*.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 556× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 481× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 14 | 75 |
| 2 | 28 | 75 |
| 3 | 50 | 75 |
| 4 | 109 | 75 |
| 5 | 311 | 75 |
| 6 | 1042 | 75 |
| 7 | 2192 | 75 |
| 8 | 2539 | 75 |
| 9 | 2731 | 75 |
| 10 | 2941 | 75 |
| 11 | 3251 | 75 |
| 12 | 3660 | 75 |
| 13 | 4145 | 75 |
| 14 | 4717 | 75 |
| 15 | 5413 | 75 |
| 16 | 6261 | 75 |
| 17 | 6654 | 75 |
| 18 | 6942 | 75 |
| 19 | 7218 | 75 |
| 20 | 7290 | 75 |
| 21 | 7326 | 75 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
Compiled 1943 to 1178 computations (39.4% saved)
10 alts after pruning (1 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 149 | 1 | 150 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 8 | 9 |
| Total | 150 | 10 | 160 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ▶ | 23.1b | (fma.f64 x x (*.f64 x 2)) |
| ✓ | 20.5b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 39.7b | (*.f64 y y) |
| ✓ | 23.1b | (*.f64 (+.f64 2 x) x) |
| ✓ | 23.1b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 42.1b | (*.f64 x x) |
| ✓ | 43.3b | (*.f64 2 x) |
| ✓ | 20.5b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 20.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 76 to 49 computations (35.5% saved)
Compiled 13 to 8 computations (38.5% saved)
Compiled 2 to 2 computations (0% saved)
10 alts after pruning (0 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 9 | 9 |
| Total | 0 | 10 | 10 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ✓ | 23.1b | (fma.f64 x x (*.f64 x 2)) |
| ✓ | 20.5b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 39.7b | (*.f64 y y) |
| ✓ | 23.1b | (*.f64 (+.f64 2 x) x) |
| ✓ | 23.1b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 42.1b | (*.f64 x x) |
| ✓ | 43.3b | (*.f64 2 x) |
| ✓ | 20.5b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 20.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 76 to 49 computations (35.5% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(fma.f64 x x (*.f64 x 2)) |
(fma.f64 y y (*.f64 2 x)) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
6 calls:
| 10.0ms | y |
| 9.0ms | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 9.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 9.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 8.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 0.0b | 1 | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 0.0b | 1 | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 0.0b | 1 | (*.f64 y y) |
Compiled 132 to 63 computations (52.3% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(fma.f64 x x (*.f64 x 2)) |
(fma.f64 y y (*.f64 2 x)) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
6 calls:
| 41.0ms | x |
| 26.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 9.0ms | y |
| 9.0ms | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 8.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 0.0b | 1 | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 0.0b | 1 | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 0.0b | 1 | (*.f64 y y) |
Compiled 122 to 60 computations (50.8% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
3 calls:
| 19.0ms | (*.f64 y y) |
| 18.0ms | y |
| 17.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.1b | 3 | x |
| 3.8b | 3 | y |
| 4.0b | 2 | (*.f64 y y) |
Compiled 51 to 23 computations (54.9% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 3.5424123580985696e-9 | 7.965377351381002e-8 |
| 19.0ms | -4241.626480952306 | -0.1407740291980524 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
| Outputs |
|---|
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(*.f64 (+.f64 2 x) x) |
3 calls:
| 16.0ms | y |
| 16.0ms | x |
| 8.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 2.2b | 3 | x |
| 8.1b | 3 | y |
| 8.4b | 2 | (*.f64 y y) |
Compiled 44 to 22 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 193093430665761.3 | 613411796788870.6 |
| 20.0ms | -0.1407740291980524 | -7.632126129705398e-8 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(*.f64 y y) |
3 calls:
| 29.0ms | x |
| 20.0ms | y |
| 7.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 14.2b | 5 | x |
| 9.3b | 3 | y |
| 10.0b | 2 | (*.f64 y y) |
Compiled 37 to 19 computations (48.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 4.0980676314094463e-22 | 4.487878002147013e-22 |
| 19.0ms | -2.4314050255967086e-53 | -2.8730700345784164e-54 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 x x) |
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
3 calls:
| 34.0ms | y |
| 26.0ms | x |
| 20.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 15.2b | 7 | x |
| 18.6b | 9 | y |
| 19.6b | 6 | (*.f64 y y) |
Compiled 25 to 13 computations (48% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 7.965377351381002e-8 | 126.53639918345856 |
| 19.0ms | 6.067852219149317e-104 | 3.24270920636231e-97 |
| 19.0ms | -1.406110734091365e-193 | -8.857865062562158e-199 |
| 18.0ms | -6.818568398589132e-180 | -6.145492354515646e-184 |
| 19.0ms | -1.1185350391973676e-131 | -4.7312523912733636e-133 |
| 19.0ms | -4241.626480952306 | -0.1407740291980524 |
Compiled 18 to 12 computations (33.3% saved)
Total -37.8b remaining (-157.5%)
Threshold costs -37.8b (-157.5%)
| Inputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
3 calls:
| 25.0ms | x |
| 15.0ms | y |
| 7.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 32.1b | 7 | x |
| 24.0b | 3 | y |
| 24.2b | 2 | (*.f64 y y) |
Compiled 19 to 12 computations (36.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 2.50103704432836e-38 | 4.479693435256385e-38 |
| 20.0ms | -9.089748169133919e-60 | -1.2123225583954901e-63 |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 5× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 224 |
| 1 | 67 | 224 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -2596822488841388544/18446744073709551616) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 2 x) (*.f64 y y)) (*.f64 (+.f64 2 x) x))) |
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 139450015341809040/340282366920938463463374607431768211456) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 2 x) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -11834133686314444800/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 2 x) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 2 x) (*.f64 x x))))))) |
(if (<=.f64 y -1052520931145086208/115792089237316195423570985008687907853269984665640564039457584007913129639936) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 2 x) (*.f64 y y))) |
(*.f64 y y) |
| Outputs |
|---|
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) |
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 y y) (*.f64 x x)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 y y) (*.f64 x 2)) (+.f64 (*.f64 y y) (*.f64 x x)))) |
(if (<=.f64 x -2596822488841388544/18446744073709551616) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 2 x) (*.f64 y y)) (*.f64 (+.f64 2 x) x))) |
(if (<=.f64 x -5071918923518337/36028797018963968) (*.f64 x (+.f64 x 2)) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 y y) (*.f64 x 2)) (*.f64 x (+.f64 x 2)))) |
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 139450015341809040/340282366920938463463374607431768211456) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 8715625958863065/21267647932558653966460912964485513216) (*.f64 x (+.f64 x 2)) (*.f64 y y))) |
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 2 x) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -11834133686314444800/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 2 x) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 2 x) (*.f64 x x))))))) |
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 x 2) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -5778385589020725/41094811730846668025320233460001005199612029709556045777330319555224469955445943922763019814668659775210804444188892325882964314454560967680686052895717819140275184930690973423372373108471271228681978529185792) (*.f64 x 2) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 x 2) (*.f64 x x))))))) |
(if (<=.f64 y -1052520931145086208/115792089237316195423570985008687907853269984665640564039457584007913129639936) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 2 x) (*.f64 y y))) |
(if (<=.f64 y -4111409887285493/452312848583266388373324160190187140051835877600158453279131187530910662656) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 x 2) (*.f64 y y))) |
(*.f64 y y) |
Compiled 173 to 99 computations (42.8% saved)
Compiled 159 to 77 computations (51.6% saved)
Loading profile data...