Time bar (total: 4.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 28.6% | 25% | 62.4% | 0.1% | 12.5% | 0% | 0% | 6 |
| 36.4% | 25% | 43.7% | 0.1% | 31.2% | 0% | 0% | 7 |
| 50% | 31.2% | 31.2% | 0.1% | 37.5% | 0% | 0% | 8 |
| 62.5% | 39% | 23.4% | 0.1% | 37.5% | 0% | 0% | 9 |
| 72.4% | 42.9% | 16.4% | 0.1% | 40.6% | 0% | 0% | 10 |
| 79.6% | 47.2% | 12.1% | 0.1% | 40.6% | 0% | 0% | 11 |
| 85.5% | 49.4% | 8.4% | 0.1% | 42.1% | 0% | 0% | 12 |
Compiled 14 to 9 computations (35.7% saved)
| 1.0s | 8256× | body | 256 | valid |
| 56.0ms | 233× | body | 256 | infinite |
| 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 | @ | inf | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 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)) |
| 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)) |
| 1.0ms | y | @ | 0 | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| 0.0ms | x | @ | 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 (7 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 204 | 7 | 211 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 204 | 9 | 213 |
| Status | Error | Program |
|---|---|---|
| ▶ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ▶ | 23.3b | (*.f64 (+.f64 2 x) x) |
| ✓ | 0.0b | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 0.0b | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| ▶ | 38.9b | (*.f64 y y) |
| 21.5b | (+.f64 (*.f64 x x) (*.f64 y y)) | |
| ▶ | 44.2b | (*.f64 x x) |
| 18.0b | (fma.f64 y y (*.f64 2 x)) | |
| ▶ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
Compiled 131 to 82 computations (37.4% 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 | |
|---|---|---|---|---|
| 16.0ms | y | @ | 0 | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 x 2) x) |
| 1.0ms | x | @ | 0 | (*.f64 (+.f64 x 2) x) |
| 1.0ms | x | @ | inf | (*.f64 (+.f64 x 2) x) |
| 1.0ms | y | @ | inf | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 972× | pow1_binary64 |
| 908× | add-log-exp_binary64 |
| 907× | log1p-expm1-u_binary64 |
| 907× | expm1-log1p-u_binary64 |
| 94× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 180 | 18 |
| 2 | 2476 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x 2) x) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 796× | sqr-pow_binary64 |
| 666× | cube-prod_binary64 |
| 662× | fabs-mul_binary64 |
| 514× | pow-sqr_binary64 |
| 505× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 346 |
| 1 | 34 | 289 |
| 2 | 59 | 289 |
| 3 | 87 | 289 |
| 4 | 191 | 289 |
| 5 | 516 | 289 |
| 6 | 1699 | 289 |
| 7 | 2368 | 289 |
| 8 | 2699 | 289 |
| 9 | 2959 | 289 |
| 10 | 3298 | 289 |
| 11 | 3802 | 289 |
| 12 | 4463 | 289 |
| 13 | 5255 | 289 |
| 14 | 6186 | 289 |
| 15 | 6711 | 289 |
| 16 | 7126 | 289 |
| 17 | 7521 | 289 |
| 18 | 7646 | 289 |
| 19 | 7690 | 289 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(*.f64 (+.f64 2 x) x) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x)) |
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x)) |
(fma.f64 x (+.f64 2 x) (*.f64 y y)) |
Compiled 6 to 3 computations (50% saved)
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 | |
|---|---|---|---|---|
| 1.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 2 x) (*.f64 y y)) |
Compiled 18 to 9 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 747× | pow1_binary64 |
| 696× | add-log-exp_binary64 |
| 695× | log1p-expm1-u_binary64 |
| 695× | expm1-log1p-u_binary64 |
| 680× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 150 | 8 |
| 2 | 1954 | 8 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 2 x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 2 x (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (*.f64 2 x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 x (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 2) (cbrt.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (sqrt.f64 (*.f64 2 x))) (hypot.f64 y (sqrt.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y))))) (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 2 x) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 2 x) 2) (*.f64 2 (*.f64 x (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4)) (-.f64 (*.f64 2 x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 2 x) 2) (-.f64 (pow.f64 y 4) (*.f64 2 (*.f64 x (*.f64 y y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 2 x) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 2 x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 2 x) 2)) (-.f64 (*.f64 y y) (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 x (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (sqrt.f64 (*.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 x (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 x)) 2) (cbrt.f64 (*.f64 2 x)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 (*.f64 2 x)) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 1366× | sqr-pow_binary64 |
| 695× | pow-sqr_binary64 |
| 617× | cube-prod_binary64 |
| 611× | fabs-mul_binary64 |
| 434× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 168 |
| 1 | 15 | 168 |
| 2 | 25 | 168 |
| 3 | 36 | 168 |
| 4 | 65 | 168 |
| 5 | 167 | 168 |
| 6 | 587 | 168 |
| 7 | 1453 | 168 |
| 8 | 1637 | 168 |
| 9 | 1821 | 168 |
| 10 | 2029 | 168 |
| 11 | 2324 | 168 |
| 12 | 2717 | 168 |
| 13 | 3202 | 168 |
| 14 | 3768 | 168 |
| 15 | 4456 | 168 |
| 16 | 5297 | 168 |
| 17 | 5691 | 168 |
| 18 | 5979 | 168 |
| 19 | 6255 | 168 |
| 20 | 6329 | 168 |
| 21 | 6363 | 168 |
| 22 | 7304 | 168 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(pow.f64 y 2) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (pow.f64 y 2)) |
(fma.f64 2 x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
Compiled 1615 to 963 computations (40.4% saved)
10 alts after pruning (4 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 126 | 2 | 128 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 5 | 6 |
| Total | 127 | 10 | 137 |
| Status | Error | Program |
|---|---|---|
| ✓ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 23.3b | (*.f64 (+.f64 2 x) x) |
| ▶ | 41.1b | (*.f64 2 x) |
| ▶ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 38.9b | (*.f64 y y) |
| ▶ | 21.5b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ✓ | 0.0b | (fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| ▶ | 23.3b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 44.2b | (*.f64 x x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
Compiled 78 to 50 computations (35.9% saved)
Compiled 7 to 5 computations (28.6% saved)
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)) |
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)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | 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 921 to 561 computations (39.1% saved)
10 alts after pruning (1 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 1 | 82 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 8 | 9 |
| Total | 82 | 10 | 92 |
| Status | Error | Program |
|---|---|---|
| ✓ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 23.3b | (*.f64 (+.f64 2 x) x) |
| ✓ | 41.1b | (*.f64 2 x) |
| ✓ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 38.9b | (*.f64 y y) |
| ✓ | 21.5b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ▶ | 21.5b | (fma.f64 x x (*.f64 y y)) |
| ✓ | 23.3b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 44.2b | (*.f64 x x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
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 |
|---|---|---|
| ✓ | 18.0b | (+.f64 (*.f64 2 x) (*.f64 y y)) |
| ✓ | 23.3b | (*.f64 (+.f64 2 x) x) |
| ✓ | 41.1b | (*.f64 2 x) |
| ✓ | 18.0b | (fma.f64 y y (*.f64 2 x)) |
| ✓ | 38.9b | (*.f64 y y) |
| ✓ | 21.5b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ✓ | 21.5b | (fma.f64 x x (*.f64 y y)) |
| ✓ | 23.3b | (+.f64 (*.f64 x x) (*.f64 2 x)) |
| ✓ | 44.2b | (*.f64 x x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
Compiled 76 to 48 computations (36.8% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 2 x)) |
(fma.f64 x (+.f64 x 2) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
5 calls:
| 16.0ms | y |
| 16.0ms | (+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
| 15.0ms | (+.f64 (*.f64 x 2) (*.f64 x x)) |
| 15.0ms | x |
| 10.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 110 to 52 computations (52.7% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
3 calls:
| 12.0ms | x |
| 12.0ms | y |
| 9.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (*.f64 y y) |
Compiled 57 to 27 computations (52.6% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
3 calls:
| 40.0ms | y |
| 40.0ms | x |
| 20.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 0.9b | 3 | x |
| 3.1b | 3 | y |
| 3.4b | 2 | (*.f64 y y) |
Compiled 48 to 23 computations (52.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 34.0ms | 0.1065613296970565 | 29426.944262127807 |
| 33.0ms | -4900794.231792714 | -1260463.869605388 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
| Outputs |
|---|
(*.f64 (+.f64 2 x) x) |
(+.f64 (*.f64 2 x) (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 2 x)) |
3 calls:
| 43.0ms | x |
| 32.0ms | y |
| 20.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 3.0b | 3 | x |
| 7.9b | 3 | y |
| 8.9b | 2 | (*.f64 y y) |
Compiled 41 to 22 computations (46.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 34.0ms | 7.43365320200972e-18 | 1.6126805955444785e-16 |
| 37.0ms | -4900794.231792714 | -1260463.869605388 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.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:
| 21.0ms | x |
| 16.0ms | y |
| 12.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 17.9b | 5 | x |
| 8.3b | 3 | y |
| 9.0b | 2 | (*.f64 y y) |
Compiled 34 to 19 computations (44.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 1.133092606351181e-7 | 1.7596658380727143e-5 |
| 18.0ms | -9.855705021144204e-15 | -6.3467712320385934e-15 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.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:
| 19.0ms | x |
| 12.0ms | y |
| 5.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 17.9b | 5 | x |
| 8.3b | 3 | y |
| 9.0b | 2 | (*.f64 y y) |
Compiled 27 to 16 computations (40.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 39.0ms | 1.133092606351181e-7 | 1.7596658380727143e-5 |
| 17.0ms | -9.855705021144204e-15 | -6.3467712320385934e-15 |
Compiled 18 to 12 computations (33.3% saved)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 2 x) |
(*.f64 x x) |
(*.f64 y y) |
3 calls:
| 48.0ms | x |
| 46.0ms | y |
| 17.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 18.6b | 6 | x |
| 18.2b | 6 | y |
| 20.9b | 2 | (*.f64 y y) |
Compiled 22 to 13 computations (40.9% saved)
| 5× | binary-search |
| Time | Left | Right |
|---|---|---|
| 31.0ms | 1.133092606351181e-7 | 1.7596658380727143e-5 |
| 32.0ms | 6.443339777756982e-106 | 2.2891563551191232e-105 |
| 33.0ms | 9.415385989711064e-166 | 4.162888984826032e-161 |
| 34.0ms | 1.1624548269854095e-176 | 5.300020646868923e-176 |
| 34.0ms | -6.083692982832367e-47 | -6.865721608107639e-50 |
Compiled 18 to 12 computations (33.3% saved)
Total -41.0b remaining (-198.8%)
Threshold costs -41.0b (-198.8%)
| Inputs |
|---|
(*.f64 2 x) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 y y) |
(*.f64 2 x) |
(*.f64 y y) |
3 calls:
| 39.0ms | x |
| 27.0ms | y |
| 14.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 32.6b | 5 | x |
| 20.6b | 3 | y |
| 20.9b | 2 | (*.f64 y y) |
Compiled 19 to 12 computations (36.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 6.443339777756982e-106 | 2.2891563551191232e-105 |
| 31.0ms | -6.083692982832367e-47 | -6.865721608107639e-50 |
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 | 52 | 249 |
| 1 | 63 | 249 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y)) |
(if (<=.f64 x -1315546934373447/268435456) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 1919638258863073/18014398509481984) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -1315546934373447/268435456) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 2412358385514527/324518553658426726783156020576256) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 2 x)))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (+.f64 (*.f64 x x) (*.f64 2 x)) (*.f64 y y))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 6629538898486517/570305077202774402330146450712536415611653563406069991322399064737409395901084673313239101414671424972330288696699300913836088090171929749781582664965276773531499334295033118760359274030825472) (*.f64 2 x) (if (<=.f64 y 7813858150266007/8299031137761985917024815727382322302024892464484873799991314659381305622825816292799414097894207588576395773222601578364790302150823550615773749668227927374122363606803019047370752) (*.f64 x x) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 2 x) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 x x) (*.f64 y y)))))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 2 x) (*.f64 y y))) |
(*.f64 2 x) |
| Outputs |
|---|
(+.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 y y) (*.f64 x (+.f64 x 2))) |
(if (<=.f64 x -1315546934373447/268435456) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 1919638258863073/18014398509481984) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -1315546934373447/268435456) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 1919638258863073/18014398509481984) (+.f64 (*.f64 y y) (*.f64 x 2)) (+.f64 (*.f64 x x) (*.f64 y y)))) |
(if (<=.f64 x -1315546934373447/268435456) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 2412358385514527/324518553658426726783156020576256) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 2 x)))) |
(if (<=.f64 x -1315546934373447/268435456) (*.f64 x (+.f64 x 2)) (if (<=.f64 x 2412358385514527/324518553658426726783156020576256) (+.f64 (*.f64 y y) (*.f64 x 2)) (+.f64 (*.f64 x x) (*.f64 x 2)))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (+.f64 (*.f64 x x) (*.f64 2 x)) (*.f64 y y))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (+.f64 (*.f64 x x) (*.f64 x 2)) (*.f64 y y))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 (+.f64 2 x) x) (*.f64 y y))) |
(if (<=.f64 y -97606174888483/9903520314283042199192993792) (*.f64 y y) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 x (+.f64 x 2)) (*.f64 y y))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 6629538898486517/570305077202774402330146450712536415611653563406069991322399064737409395901084673313239101414671424972330288696699300913836088090171929749781582664965276773531499334295033118760359274030825472) (*.f64 2 x) (if (<=.f64 y 7813858150266007/8299031137761985917024815727382322302024892464484873799991314659381305622825816292799414097894207588576395773222601578364790302150823550615773749668227927374122363606803019047370752) (*.f64 x x) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 2 x) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 x x) (*.f64 y y)))))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 6629538898486517/570305077202774402330146450712536415611653563406069991322399064737409395901084673313239101414671424972330288696699300913836088090171929749781582664965276773531499334295033118760359274030825472) (*.f64 x 2) (if (<=.f64 y 7813858150266007/8299031137761985917024815727382322302024892464484873799991314659381305622825816292799414097894207588576395773222601578364790302150823550615773749668227927374122363606803019047370752) (*.f64 x x) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 x 2) (if (<=.f64 y 4280702836976181/37778931862957161709568) (*.f64 x x) (*.f64 y y)))))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 2 x) (*.f64 y y))) |
(if (<=.f64 y -782089416296383/12855504354071922204335696738729300820177623950262342682411008) (*.f64 y y) (if (<=.f64 y 3327662671117099/5164499756173817179311838344006023748659411585658447025661318713081295244033682389259290706560275662871806343945494986752) (*.f64 x 2) (*.f64 y y))) |
(*.f64 2 x) |
(*.f64 x 2) |
Compiled 192 to 111 computations (42.2% saved)
Compiled 176 to 84 computations (52.3% saved)
Loading profile data...