Time bar (total: 5.2s)
| 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 |
| 27.0ms | 240× | 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 | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| ▶ | 0.0b | (fma.f64 x (+.f64 x 2) (*.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 | 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 | x | @ | -inf | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 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 |
|---|---|---|
| ▶ | 18.6b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 35.3b | (*.f64 y y) | |
| ▶ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ▶ | 0.0b | (fma.f64 y y (*.f64 x (+.f64 x 2))) |
| 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) | |
| ✓ | 0.0b | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) | |
| ▶ | 26.6b | (*.f64 (+.f64 2 x) x) |
| ▶ | 44.8b | (*.f64 x x) |
Compiled 141 to 88 computations (37.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (+.f64 x 2)) |
Compiled 21 to 12 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x (+.f64 x 2)) |
| 0.0ms | x | @ | 0 | (*.f64 x (+.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 x (+.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 593× | pow1_binary64 |
| 557× | add-log-exp_binary64 |
| 556× | log1p-expm1-u_binary64 |
| 556× | expm1-log1p-u_binary64 |
| 548× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 114 | 7 |
| 2 | 1488 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (+.f64 x 2)) |
| 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 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x 2) 1))))) (#(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 (*.f64 x x) 3) (pow.f64 (*.f64 x 2) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x 2))) (-.f64 (*.f64 x x) (*.f64 x 2)))))) (#(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 (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 (sqrt.f64 (*.f64 x (+.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)))))) |
| 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 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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.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)) |
| 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 918 to 525 computations (42.8% saved)
10 alts after pruning (6 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 82 | 4 | 86 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 3 | 5 |
| Total | 85 | 10 | 95 |
| Status | Error | Program |
|---|---|---|
| ▶ | 26.6b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 26.6b | (*.f64 (+.f64 2 x) x) |
| ✓ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ▶ | 44.4b | (*.f64 2 x) |
| ▶ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ✓ | 18.6b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 18.6b | (fma.f64 y y (*.f64 x x)) | |
| ▶ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ▶ | 35.3b | (*.f64 y y) |
| ✓ | 44.8b | (*.f64 x x) |
Compiled 123 to 78 computations (36.6% 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 | x | @ | -inf | (*.f64 (+.f64 x 2) x) |
| 0.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 | x | @ | inf | (*.f64 (+.f64 x 2) x) |
| 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 | x | @ | -inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | y | @ | 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 | |
|---|---|---|---|---|
| 1.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 | 150 | 0 | 150 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 150 | 10 | 160 |
| Status | Error | Program |
|---|---|---|
| ✓ | 26.6b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 26.6b | (*.f64 (+.f64 2 x) x) |
| ✓ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 44.4b | (*.f64 2 x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ✓ | 18.6b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ▶ | 18.6b | (fma.f64 y y (*.f64 x x)) |
| ✓ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 35.3b | (*.f64 y y) |
| ✓ | 44.8b | (*.f64 x x) |
Compiled 76 to 48 computations (36.8% saved)
Compiled 13 to 4 computations (69.2% 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 |
|---|---|---|
| ✓ | 26.6b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 26.6b | (*.f64 (+.f64 2 x) x) |
| ✓ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 44.4b | (*.f64 2 x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| ✓ | 18.6b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ✓ | 18.6b | (fma.f64 y y (*.f64 x x)) |
| ✓ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 35.3b | (*.f64 y y) |
| ✓ | 44.8b | (*.f64 x x) |
Compiled 76 to 48 computations (36.8% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 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 y y (*.f64 x x)) |
(fma.f64 y y (*.f64 2 x)) |
(fma.f64 y y (*.f64 x (+.f64 x 2))) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| Outputs |
|---|
(fma.f64 y y (*.f64 x (+.f64 x 2))) |
7 calls:
| 9.0ms | y |
| 9.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 9.0ms | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 8.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) |
| 0.0b | 1 | (*.f64 y y) |
Compiled 135 to 65 computations (51.9% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 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 y y (*.f64 x x)) |
(fma.f64 y y (*.f64 2 x)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
5 calls:
| 8.0ms | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 8.0ms | x |
| 7.0ms | y |
| 7.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 5.0ms | (*.f64 y y) |
| 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 y y) |
Compiled 105 to 49 computations (53.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
3 calls:
| 7.0ms | y |
| 6.0ms | x |
| 4.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (*.f64 y y) |
Compiled 60 to 27 computations (55% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 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 | y |
| 16.0ms | x |
| 6.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 1.5b | 3 | x |
| 1.6b | 3 | y |
| 1.9b | 2 | (*.f64 y y) |
Compiled 51 to 23 computations (54.9% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 0.34999229671614995 | 37.237378102290165 |
| 18.0ms | -111.87953993195254 | -0.00023250334593859714 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
3 calls:
| 37.0ms | x |
| 18.0ms | y |
| 6.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 12.2b | 7 | x |
| 1.6b | 3 | y |
| 1.9b | 2 | (*.f64 y y) |
Compiled 44 to 20 computations (54.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 4.6171712579822924e-85 | 3.096883784698098e-82 |
| 19.0ms | -3.0383785291965773e-87 | -4.475646371920198e-103 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
| Outputs |
|---|
(*.f64 y y) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(*.f64 y y) |
3 calls:
| 33.0ms | x |
| 19.0ms | y |
| 9.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 14.8b | 7 | x |
| 8.6b | 3 | y |
| 8.7b | 2 | (*.f64 y y) |
Compiled 37 to 19 computations (48.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 164.0ms | 3.4981477904657354e-69 | 2.7511669006205588e-61 |
| 177.0ms | -1.9500649546564696e-42 | -1.6138156780399964e-46 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 (+.f64 2 x) x) |
(*.f64 y y) |
3 calls:
| 431.0ms | x |
| 18.0ms | y |
| 9.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 14.8b | 7 | x |
| 8.6b | 3 | y |
| 8.7b | 2 | (*.f64 y y) |
Compiled 30 to 16 computations (46.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 3.4981477904657354e-69 | 2.7511669006205588e-61 |
| 20.0ms | -1.9500649546564696e-42 | -1.6138156780399964e-46 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 x x) |
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
3 calls:
| 26.0ms | x |
| 22.0ms | y |
| 6.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 16.5b | 7 | x |
| 18.1b | 5 | y |
| 19.3b | 2 | (*.f64 y y) |
Compiled 25 to 13 computations (48% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 27.0ms | 768591552366115.8 | 1067781490558761.3 |
| 20.0ms | 4.4091860649209813e-20 | 1.275597887251024e-19 |
| 20.0ms | 4.8519513807725224e-244 | 2.2536996283583874e-237 |
| 20.0ms | -3.618042442110372e-210 | -9.883214729361242e-229 |
| 20.0ms | -1.0328821791116344e-188 | -3.496209050604088e-192 |
| 20.0ms | -206656834.59811637 | -176.88620986321476 |
Compiled 18 to 12 computations (33.3% saved)
Total -42.8b remaining (-224.3%)
Threshold costs -42.8b (-224.3%)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
3 calls:
| 50.0ms | x |
| 32.0ms | y |
| 13.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 29.9b | 5 | x |
| 19.1b | 3 | y |
| 19.3b | 2 | (*.f64 y y) |
Compiled 22 to 12 computations (45.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 31.0ms | 4.6171712579822924e-85 | 3.096883784698098e-82 |
| 32.0ms | -3.0383785291965773e-87 | -4.475646371920198e-103 |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 6× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 273 |
| 1 | 71 | 273 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 y y (*.f64 x (+.f64 x 2))) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(if (<=.f64 x -984102840523289/8796093022208) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 6456218325292634112/18446744073709551616) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (+.f64 (*.f64 x x) (*.f64 2 x)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 y -12240756110990874/6277101735386680763835789423207666416102355444464034512896) (*.f64 y y) (if (<=.f64 y 1739710180594163712/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (+.f64 (*.f64 x x) (*.f64 2 x)) (*.f64 y y))) |
(if (<=.f64 y -12240756110990874/6277101735386680763835789423207666416102355444464034512896) (*.f64 y y) (if (<=.f64 y 1739710180594163712/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 x -887584346093791104/4294967296) (*.f64 x x) (if (<=.f64 x -3238380332240239/313528531882069915964662425689704934689422834087799421518938595239444503444259215719322355763768461419760165742407930953086580768238532773442734168210737755891992072530296122920016274326105279759841755136) (*.f64 y y) (if (<=.f64 x -5356861448372071/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656) (*.f64 2 x) (if (<=.f64 x 59680533125024832/123003155723136208567847447683223664415731869180715065944930703618254955521953492303010368693540149343822709050322214299552689203876695953600699775494388206142090885899729347827083318884583758435450548517566916626912548274908112766882031433928533568160966639616) (*.f64 y y) (if (<=.f64 x 15003682703661301760/340282366920938463463374607431768211456) (*.f64 2 x) (if (<=.f64 x 3074366209464463/4) (*.f64 y y) (*.f64 x x))))))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (*.f64 y y) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (*.f64 2 x) (*.f64 y y))) |
(*.f64 2 x) |
| Outputs |
|---|
(fma.f64 y y (*.f64 x (+.f64 x 2))) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 y y) (+.f64 (*.f64 x x) (*.f64 x 2))) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) |
(if (<=.f64 x -984102840523289/8796093022208) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 6456218325292634112/18446744073709551616) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -984102840523289/8796093022208) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 1576225177073397/4503599627370496) (+.f64 (*.f64 y y) (*.f64 x 2)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (+.f64 (*.f64 x x) (*.f64 2 x)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 y -12240756110990874/6277101735386680763835789423207666416102355444464034512896) (*.f64 y y) (if (<=.f64 y 1739710180594163712/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (+.f64 (*.f64 x x) (*.f64 2 x)) (*.f64 y y))) |
(if (<=.f64 y -6120378055495437/3138550867693340381917894711603833208051177722232017256448) (*.f64 y y) (if (<=.f64 y 212366965404561/60708402882054033466233184588234965832575213720379360039119137804340758912662765568) (+.f64 (*.f64 x x) (*.f64 x 2)) (*.f64 y y))) |
(if (<=.f64 y -12240756110990874/6277101735386680763835789423207666416102355444464034512896) (*.f64 y y) (if (<=.f64 y 1739710180594163712/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 y -6120378055495437/3138550867693340381917894711603833208051177722232017256448) (*.f64 y y) (if (<=.f64 y 212366965404561/60708402882054033466233184588234965832575213720379360039119137804340758912662765568) (*.f64 x (+.f64 x 2)) (*.f64 y y))) |
(if (<=.f64 x -887584346093791104/4294967296) (*.f64 x x) (if (<=.f64 x -3238380332240239/313528531882069915964662425689704934689422834087799421518938595239444503444259215719322355763768461419760165742407930953086580768238532773442734168210737755891992072530296122920016274326105279759841755136) (*.f64 y y) (if (<=.f64 x -5356861448372071/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656) (*.f64 2 x) (if (<=.f64 x 59680533125024832/123003155723136208567847447683223664415731869180715065944930703618254955521953492303010368693540149343822709050322214299552689203876695953600699775494388206142090885899729347827083318884583758435450548517566916626912548274908112766882031433928533568160966639616) (*.f64 y y) (if (<=.f64 x 15003682703661301760/340282366920938463463374607431768211456) (*.f64 2 x) (if (<=.f64 x 3074366209464463/4) (*.f64 y y) (*.f64 x x))))))) |
(if (<=.f64 x -6934252703857743/33554432) (*.f64 x x) (if (<=.f64 x -3238380332240239/313528531882069915964662425689704934689422834087799421518938595239444503444259215719322355763768461419760165742407930953086580768238532773442734168210737755891992072530296122920016274326105279759841755136) (*.f64 y y) (if (<=.f64 x -5356861448372071/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656) (*.f64 x 2) (if (<=.f64 x 932508330078513/1921924308174003258872616370050369756495810455948672905389542244035233680030523317234537010836564833497229828911284598430510768810573374275010933992099815720970170092183271059798176857571621225553914820586983072295508566795439261982531741155133337002515103744) (*.f64 y y) (if (<=.f64 x 457876059071695/10384593717069655257060992658440192) (*.f64 x 2) (if (<=.f64 x 3074366209464463/4) (*.f64 y y) (*.f64 x x))))))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (*.f64 y y) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (*.f64 2 x) (*.f64 y y))) |
(if (<=.f64 y -1701298083878491/559936185544451052639360570142111069530411374308662383724997275240947967795040236345219373317901778944) (*.f64 y y) (if (<=.f64 y 504945559023453/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912) (*.f64 x 2) (*.f64 y y))) |
(*.f64 2 x) |
(*.f64 x 2) |
Compiled 211 to 115 computations (45.5% saved)
Compiled 193 to 85 computations (56% saved)
Loading profile data...