Time bar (total: 4.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 12.5% | 87.4% | 0.1% | 7 |
| 18.7% | 81.1% | 0.1% | 8 |
| 25% | 72.5% | 2.5% | 9 |
| 37.4% | 59.7% | 2.9% | 10 |
| 44.5% | 51.3% | 4.2% | 11 |
| 50.3% | 43.4% | 6.3% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.5s | 8254× | body | 256 | valid |
| 136.0ms | 609× | body | 256 | invalid |
| 0.0ms | 1× | body | 1024 | valid |
| 0.0ms | 1× | body | 512 | valid |
| 2× | egg-herbie |
| 22× | fma-def_binary64 |
| 19× | +-commutative_binary64 |
| 12× | associate-+r+_binary64 |
| 12× | associate-+l+_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 52 |
| 1 | 40 | 44 |
| 2 | 81 | 44 |
| 3 | 97 | 44 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (+.f64 (/.f64 y 2) (*.f64 x y)) z) |
(+.f64 (+.f64 (/.f64 z 2) (*.f64 y z)) x) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 z x)) y) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x y) z)) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
(+.f64 (+.f64 (/.f64 y 2) (*.f64 x y)) z) |
(+.f64 (/.f64 y 2) (+.f64 (*.f64 x y) z)) |
(+.f64 z (fma.f64 x y (/.f64 y 2))) |
(+.f64 (+.f64 (/.f64 z 2) (*.f64 y z)) x) |
(+.f64 x (+.f64 (/.f64 z 2) (*.f64 y z))) |
(+.f64 x (fma.f64 y z (/.f64 z 2))) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 z x)) y) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x z) y)) |
(+.f64 (/.f64 x 2) (fma.f64 x z y)) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 6× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 14 | 11 |
| 2 | 25 | 11 |
| 3 | 29 | 11 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x y) z)) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
Compiled 20 to 12 computations (40% 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 x 2) (fma.f64 x y z)) |
| ▶ | 0.0b | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
Compiled 23 to 15 computations (34.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| ✓ | 0.0b | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 29 to 14 computations (51.7% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 2.0ms | x | @ | inf | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | x | @ | 0 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | y | @ | 0 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1× | batch-egg-rewrite |
| 589× | fma-def_binary64 |
| 500× | log-prod_binary64 |
| 374× | pow-prod-down_binary64 |
| 281× | pow2_binary64 |
| 276× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 1 | 209 | 16 |
| 2 | 3058 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 x 2) (*.f64 y x)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 1/2 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 x (-.f64 1/2 y))) (/.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 1/2 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 y 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 1/2 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (cbrt.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) (sqrt.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (/.f64 1 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 1/2 y)) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (*.f64 x 1/2) (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (*.f64 x (-.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))) (neg.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))) (neg.f64 (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 x 1/2) 2)) (-.f64 (*.f64 x y) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 1/2 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (-.f64 1/2 y)) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (pow.f64 (exp.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 x)) (+.f64 1 (expm1.f64 (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (+.f64 1 (expm1.f64 (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x y))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 y) x) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x y))) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 1/2 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 1/2 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x y) 1 (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (*.f64 (cbrt.f64 y) x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x y)) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (*.f64 x 1/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 y 1/2) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (-.f64 (*.f64 x (+.f64 1/2 y)) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 y 1/2) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2) (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (/.f64 1 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z) (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (fma.f64 z z (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 (*.f64 x (+.f64 1/2 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z)) (-.f64 (*.f64 x (+.f64 1/2 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (fma.f64 x y z) 3)) (fma.f64 (*.f64 x x) 1/4 (-.f64 (pow.f64 (fma.f64 x y z) 2) (*.f64 (*.f64 x 1/2) (fma.f64 x y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2)) (-.f64 (*.f64 x 1/2) (fma.f64 x y z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (-.f64 z (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z) (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 y 1/2) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (exp.f64 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (pow.f64 (exp.f64 1) (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))) (exp.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (+.f64 1/2 y)) (+.f64 1 (expm1.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))) (+.f64 1 (expm1.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 z)) (pow.f64 (exp.f64 x) (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 z) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 z)) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x y z)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x y z)) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1) (fma.f64 x y z)) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (+.f64 y 1/2) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (+.f64 y 1/2) z))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 1/2 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 y 1/2) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x y) 1 (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 1/2 y)) 1 z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z 1 (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 1/2 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x y z) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 z) 2) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (*.f64 (cbrt.f64 y) x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x y)) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (cbrt.f64 (*.f64 x (+.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) (sqrt.f64 (*.f64 x (+.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (/.f64 1 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (-.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x y z)) 2) (cbrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x y z)) (sqrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 x 1/2 z)))))) |
| 1× | egg-herbie |
| 239× | fma-neg_binary64 |
| 220× | fma-def_binary64 |
| 45× | distribute-rgt-in_binary64 |
| 45× | cancel-sign-sub-inv_binary64 |
| 40× | unsub-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 439 |
| 1 | 47 | 412 |
| 2 | 88 | 412 |
| 3 | 176 | 412 |
| 4 | 311 | 412 |
| 5 | 512 | 412 |
| 6 | 811 | 412 |
| 7 | 1017 | 412 |
| 8 | 1093 | 412 |
| 9 | 1105 | 412 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
| Outputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) z) |
(fma.f64 1/2 x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
Compiled 22 to 10 computations (54.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 2.0ms | y | @ | inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1.0ms | x | @ | 0 | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1.0ms | y | @ | 0 | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1× | batch-egg-rewrite |
| 952× | pow1_binary64 |
| 889× | add-log-exp_binary64 |
| 888× | log1p-expm1-u_binary64 |
| 888× | expm1-log1p-u_binary64 |
| 93× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 178 | 9 |
| 2 | 2380 | 9 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 1/2 (fma.f64 x y z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x 1/2) 2) (-.f64 (*.f64 x 1/2) (fma.f64 x y z))) (/.f64 (pow.f64 (fma.f64 x y z) 2) (-.f64 (*.f64 x 1/2) (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/2 (fma.f64 x y z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/2 (fma.f64 x y z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) (pow.f64 (cbrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) 2) (cbrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) (sqrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/8) (pow.f64 (fma.f64 x y z) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (fma.f64 x y z) (-.f64 (fma.f64 x y z) (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2)) (/.f64 1 (-.f64 (*.f64 x 1/2) (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (fma.f64 x y z) (-.f64 (fma.f64 x y z) (*.f64 x 1/2)))) (+.f64 (*.f64 (pow.f64 x 3) 1/8) (pow.f64 (fma.f64 x y z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x 1/2) (fma.f64 x y z)) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/8) (pow.f64 (fma.f64 x y z) 3)) (+.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (fma.f64 x y z) (-.f64 (fma.f64 x y z) (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/8) (pow.f64 (fma.f64 x y z) 3)) (+.f64 (pow.f64 (fma.f64 x y z) 2) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 x (*.f64 1/2 (fma.f64 x y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2)) (-.f64 (*.f64 x 1/2) (fma.f64 x y z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 1/8) (pow.f64 (fma.f64 x y z) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (fma.f64 x y z) (-.f64 (fma.f64 x y z) (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2))) (neg.f64 (-.f64 (*.f64 x 1/2) (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x y z) 2) (pow.f64 (*.f64 x 1/2) 2)) (-.f64 (fma.f64 x y z) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/2 (fma.f64 x y z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/2 (fma.f64 x y z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/2 (fma.f64 x y z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/2 (fma.f64 x y z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 1/2 (fma.f64 x y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/2 (fma.f64 x y z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/2 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x y z) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x y z)) 2) (cbrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/2)) 2) (cbrt.f64 (*.f64 x 1/2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x y z)) (sqrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (fma.f64 x y z)))))) |
| 1× | egg-herbie |
| 239× | fma-neg_binary64 |
| 220× | fma-def_binary64 |
| 45× | distribute-rgt-in_binary64 |
| 45× | cancel-sign-sub-inv_binary64 |
| 39× | associate--r+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 280 |
| 1 | 47 | 253 |
| 2 | 88 | 253 |
| 3 | 176 | 253 |
| 4 | 313 | 253 |
| 5 | 514 | 253 |
| 6 | 813 | 253 |
| 7 | 1019 | 253 |
| 8 | 1095 | 253 |
| 9 | 1107 | 253 |
| 1× | saturated |
| Inputs |
|---|
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
| Outputs |
|---|
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) z) |
(fma.f64 1/2 x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
Compiled 3078 to 1732 computations (43.7% saved)
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 219 | 7 | 226 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 221 | 7 | 228 |
| Status | Error | Program |
|---|---|---|
| ▶ | 15.9b | (+.f64 (*.f64 1/2 x) z) |
| ▶ | 0.0b | (fma.f64 x (+.f64 y 1/2) z) |
| 31.8b | z | |
| ▶ | 31.1b | (*.f64 (+.f64 1/2 y) x) |
| 31.1b | (+.f64 (*.f64 1/2 x) (*.f64 y x)) | |
| ▶ | 47.0b | (*.f64 y x) |
| ▶ | 16.3b | (+.f64 (*.f64 y x) z) |
Compiled 102 to 71 computations (30.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (+.f64 y 1/2) z) |
Compiled 16 to 9 computations (43.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | x | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | z | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | x | @ | inf | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | y | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1× | batch-egg-rewrite |
| 773× | pow1_binary64 |
| 717× | add-log-exp_binary64 |
| 717× | log1p-expm1-u_binary64 |
| 717× | expm1-log1p-u_binary64 |
| 703× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 150 | 8 |
| 2 | 1865 | 8 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (+.f64 y 1/2) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 z (*.f64 x (+.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 y 1/2)) z)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (+.f64 y 1/2)) 1) z)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (+.f64 y 1/2) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 y 1/2) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2) (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 y 1/2)) 3) (pow.f64 z 3)) (+.f64 (*.f64 (*.f64 x (+.f64 y 1/2)) (*.f64 x (+.f64 y 1/2))) (-.f64 (*.f64 z z) (*.f64 (*.f64 x (+.f64 y 1/2)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (+.f64 y 1/2)) (*.f64 x (+.f64 y 1/2))) (*.f64 z z)) (-.f64 (*.f64 x (+.f64 y 1/2)) z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 y 1/2) z))))))) |
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
| 2× | associate-+r+_binary64 |
| 2× | associate-+l+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 307 |
| 1 | 26 | 253 |
| 2 | 36 | 253 |
| 3 | 40 | 253 |
| 1× | saturated |
| Inputs |
|---|
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
| Outputs |
|---|
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) z) |
(fma.f64 1/2 x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 (+.f64 1/2 y) x z) |
Compiled 8 to 4 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 1/2 y) x) |
Compiled 14 to 9 computations (35.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | x | @ | 0 | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | y | @ | 0 | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | y | @ | inf | (*.f64 (+.f64 1/2 y) x) |
| 1× | batch-egg-rewrite |
| 679× | pow1_binary64 |
| 633× | add-log-exp_binary64 |
| 633× | log1p-expm1-u_binary64 |
| 633× | expm1-log1p-u_binary64 |
| 622× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 130 | 7 |
| 2 | 1652 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 x) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y x) (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (+.f64 1/2 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1/8 (pow.f64 y 3)) x) (+.f64 1/4 (*.f64 y (-.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1/4 (*.f64 y y)) x) (-.f64 1/2 y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1/8 (pow.f64 y 3))) (+.f64 1/4 (*.f64 y (-.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1/4 (*.f64 y y))) (-.f64 1/2 y))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 1/2 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 1/2 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (+.f64 1/2 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 1/2 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (+.f64 1/2 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (+.f64 1/2 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (+.f64 1/2 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (+.f64 1/2 y) x))))))) |
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 3× | *-commutative_binary64 |
| 2× | +-commutative_binary64 |
| 2× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 75 |
| 1 | 13 | 75 |
| 2 | 19 | 75 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
Compiled 14 to 9 computations (35.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y x) z) |
Compiled 14 to 5 computations (64.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 y x) z) |
| 1.0ms | y | @ | inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 y x) z) |
| 1× | batch-egg-rewrite |
| 707× | pow1_binary64 |
| 655× | add-log-exp_binary64 |
| 655× | log1p-expm1-u_binary64 |
| 655× | expm1-log1p-u_binary64 |
| 640× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 5 |
| 1 | 129 | 5 |
| 2 | 1775 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 y x) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y x z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y x z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y x z)) (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2) (cbrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y x z)) (sqrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y x) z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (*.f64 z z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 y (*.f64 x z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (-.f64 (*.f64 y x) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 y x) 2)) (-.f64 z (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y x z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y x z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y x z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y x z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y x z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) z))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 24 |
| 1 | 6 | 24 |
| 1× | saturated |
| Inputs |
|---|
z |
(*.f64 y x) |
(*.f64 y x) |
z |
(*.f64 y x) |
(*.f64 y x) |
(*.f64 y x) |
z |
z |
| Outputs |
|---|
z |
(*.f64 y x) |
(*.f64 y x) |
z |
(*.f64 y x) |
(*.f64 y x) |
(*.f64 y x) |
z |
z |
Compiled 896 to 456 computations (49.1% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 87 | 4 | 91 |
| Fresh | 2 | 0 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 3 | 4 |
| Total | 90 | 8 | 98 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.0b | (*.f64 y x) |
| ▶ | 31.1b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 15.9b | (+.f64 (*.f64 1/2 x) z) |
| ▶ | 16.3b | (fma.f64 y x z) |
| 31.8b | z | |
| ▶ | 46.7b | (*.f64 1/2 x) |
| ✓ | 31.1b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.3b | (+.f64 (*.f64 y x) z) |
Compiled 57 to 40 computations (29.8% saved)
Compiled 8 to 6 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
Compiled 19 to 10 computations (47.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 1× | batch-egg-rewrite |
| 814× | pow1_binary64 |
| 758× | add-log-exp_binary64 |
| 758× | log1p-expm1-u_binary64 |
| 758× | expm1-log1p-u_binary64 |
| 743× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 7 |
| 1 | 153 | 7 |
| 2 | 2061 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 y 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 y 1/2))) (/.f64 (*.f64 (*.f64 x x) 1/4) (*.f64 x (-.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 y 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 y 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 y 1/2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 y 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 y 1/2))) 2) (cbrt.f64 (*.f64 x (+.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 y 1/2))) (sqrt.f64 (*.f64 x (+.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (*.f64 (pow.f64 x 3) 1/8)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x 1/2) (-.f64 (*.f64 x 1/2) (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x x) 1/4)) (/.f64 1 (*.f64 x (-.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 y 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x 1/2) (-.f64 (*.f64 x 1/2) (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (*.f64 (pow.f64 x 3) 1/8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 y 1/2)) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x x) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (*.f64 (pow.f64 x 3) 1/8)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x 1/2) (-.f64 (*.f64 x 1/2) (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (*.f64 (pow.f64 x 3) 1/8)) (+.f64 (*.f64 (*.f64 x x) 1/4) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 y (*.f64 x (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x x) 1/4)) (*.f64 x (-.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (*.f64 (pow.f64 x 3) 1/8))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x 1/2) (-.f64 (*.f64 x 1/2) (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 x x) 1/4))) (neg.f64 (*.f64 x (-.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 1/4) (pow.f64 (*.f64 y x) 2)) (-.f64 (*.f64 x 1/2) (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 y 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 y 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 y 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 y 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 y 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 y 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 y 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 y 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 x x) 1/4)) (cbrt.f64 (*.f64 x 1/2)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) (*.f64 x 1/2)))))) |
| 1× | egg-herbie |
| 92× | fma-neg_binary64 |
| 85× | fma-def_binary64 |
| 23× | associate-*l*_binary64 |
| 22× | cancel-sign-sub-inv_binary64 |
| 22× | unsub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 159 |
| 1 | 31 | 159 |
| 2 | 62 | 159 |
| 3 | 131 | 159 |
| 4 | 225 | 159 |
| 5 | 340 | 159 |
| 6 | 510 | 159 |
| 7 | 551 | 159 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 x (+.f64 1/2 y)) |
Compiled 10 to 4 computations (60% saved)
Compiled 571 to 344 computations (39.8% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 0 | 48 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 48 | 8 | 56 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.0b | (*.f64 y x) |
| ✓ | 31.1b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 15.9b | (+.f64 (*.f64 1/2 x) z) |
| ✓ | 16.3b | (fma.f64 y x z) |
| 31.8b | z | |
| ✓ | 46.7b | (*.f64 1/2 x) |
| ✓ | 31.1b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.3b | (+.f64 (*.f64 y x) z) |
Compiled 57 to 40 computations (29.8% saved)
Compiled 3 to 3 computations (0% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 7 | 7 |
| Total | 0 | 8 | 8 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.0b | (*.f64 y x) |
| ✓ | 31.1b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 15.9b | (+.f64 (*.f64 1/2 x) z) |
| ✓ | 16.3b | (fma.f64 y x z) |
| 31.8b | z | |
| ✓ | 46.7b | (*.f64 1/2 x) |
| ✓ | 31.1b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.3b | (+.f64 (*.f64 y x) z) |
Compiled 57 to 40 computations (29.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 y x) (*.f64 1/2 x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(fma.f64 y x z) |
(fma.f64 x (+.f64 y 1/2) z) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| Outputs |
|---|
(fma.f64 x (+.f64 y 1/2) z) |
6 calls:
| 17.0ms | x |
| 12.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 10.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 9.0ms | y |
| 9.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | z |
| 0.0b | 1 | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 0.0b | 1 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 0.0b | 1 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 111 to 62 computations (44.1% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 y x) (*.f64 1/2 x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(fma.f64 y x z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
5 calls:
| 16.0ms | y |
| 15.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 15.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 15.0ms | z |
| 15.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | z |
| 0.0b | 1 | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 0.0b | 1 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 87 to 48 computations (44.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 y x) (*.f64 1/2 x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
| Outputs |
|---|
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 y x) z) |
3 calls:
| 69.0ms | x |
| 46.0ms | z |
| 35.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 8.9b | 5 | x |
| 0.6b | 3 | y |
| 6.3b | 3 | z |
Compiled 52 to 28 computations (46.2% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 31.0ms | 0.0003449627705008839 | 53794949.68189108 |
| 0.0ms | -194433631288.52695 | -187799704160.81024 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 1/2 x) z) |
3 calls:
| 62.0ms | y |
| 43.0ms | z |
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.7b | 3 | x |
| 10.0b | 5 | y |
| 7.5b | 3 | z |
Compiled 33 to 21 computations (36.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 1.100189012993165e+81 | 1.655825356584428e+87 |
| 21.0ms | -1.1579974111594026e-88 | -2.0444861587371852e-91 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
| Outputs |
|---|
(*.f64 y x) |
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 y x) |
3 calls:
| 24.0ms | y |
| 5.0ms | z |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.9b | 1 | x |
| 10.2b | 5 | y |
| 15.9b | 1 | z |
Compiled 28 to 18 computations (35.7% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 113.0ms | 7.098154982579803e+87 | 6.638261557893796e+88 |
| 0.0ms | -194433631288.52695 | -187799704160.81024 |
| 23.0ms | -3.2097596329413378e+63 | -2.206578841060303e+59 |
| 121.0ms | -3.679387595285684e+114 | -6.092943992929774e+97 |
Compiled 234 to 175 computations (25.2% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
| Outputs |
|---|
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(*.f64 1/2 x) |
z |
(*.f64 y x) |
z |
3 calls:
| 97.0ms | y |
| 55.0ms | z |
| 48.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 24.5b | 5 | x |
| 20.7b | 11 | y |
| 19.8b | 7 | z |
Compiled 23 to 15 computations (34.8% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 1.100189012993165e+81 | 1.655825356584428e+87 |
| 19.0ms | 5.134227242420965e-119 | 1.584156751525677e-118 |
| 19.0ms | 4.664629525171111e-134 | 1.809712914304202e-131 |
| 20.0ms | 5.712248937390512e-149 | 1.1640487078015524e-141 |
| 29.0ms | 7.194918048588965e-194 | 4.157166893232752e-192 |
| 33.0ms | -1.1579974111594026e-88 | -2.0444861587371852e-91 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
| Outputs |
|---|
z |
(*.f64 1/2 x) |
z |
3 calls:
| 25.0ms | y |
| 16.0ms | z |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 25.7b | 3 | x |
| 26.5b | 7 | y |
| 22.6b | 3 | z |
Compiled 20 to 14 computations (30% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 4.664629525171111e-134 | 1.809712914304202e-131 |
| 18.0ms | -1.1579974111594026e-88 | -2.0444861587371852e-91 |
Compiled 18 to 13 computations (27.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
z |
z |
| Outputs |
|---|
z |
3 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 31.8b | 1 | x |
| 31.8b | 1 | y |
| 31.8b | 1 | z |
Compiled 17 to 12 computations (29.4% saved)
| 1× | egg-herbie |
| 5× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 205 |
| 1 | 64 | 205 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x (+.f64 y 1/2) z) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(if (<=.f64 y -796917760000000000/4194304) (+.f64 (*.f64 y x) z) (if (<=.f64 y 6363439942387608/18446744073709551616) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) (+.f64 (*.f64 1/2 x) z) (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 1/2 x) z))) |
(if (<=.f64 y -3600000000000000056013898066080634887365525028915821160131174089551001612193120531753947403694170811634342611124224) (*.f64 y x) (if (<=.f64 y -3209759632941337754623250097607472198553504927071796796525117440) z (if (<=.f64 y -796917760000000000/4194304) (*.f64 y x) (if (<=.f64 y 65000000000000001779204751608734401505223497684445633147242777826483150295827540890091520) (+.f64 (*.f64 1/2 x) z) (*.f64 y x))))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) z (if (<=.f64 z 6055399477772988416/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 1/2 x) (if (<=.f64 z 3289461189413234/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (*.f64 y x) (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 1/2 x) (if (<=.f64 z 37317551791250056/726838724295606890549323807888004534353641360687318060281490199180639288113397923326191050713763565560762521606266177933534601628614656) z (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 y x) z)))))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) z (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 1/2 x) z)) |
z |
| Outputs |
|---|
(fma.f64 x (+.f64 y 1/2) z) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 z (+.f64 (/.f64 x 2) (*.f64 x y))) |
(if (<=.f64 y -796917760000000000/4194304) (+.f64 (*.f64 y x) z) (if (<=.f64 y 6363439942387608/18446744073709551616) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 y -190000000000) (+.f64 z (*.f64 x y)) (if (<=.f64 y 795429992798451/2305843009213693952) (+.f64 z (*.f64 x 1/2)) (+.f64 z (*.f64 x y)))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) (+.f64 (*.f64 1/2 x) z) (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 1/2 x) z))) |
(if (<=.f64 z -8299579561919299/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) (+.f64 z (*.f64 x 1/2)) (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 x (+.f64 y 1/2)) (+.f64 z (*.f64 x 1/2)))) |
(if (<=.f64 y -3600000000000000056013898066080634887365525028915821160131174089551001612193120531753947403694170811634342611124224) (*.f64 y x) (if (<=.f64 y -3209759632941337754623250097607472198553504927071796796525117440) z (if (<=.f64 y -796917760000000000/4194304) (*.f64 y x) (if (<=.f64 y 65000000000000001779204751608734401505223497684445633147242777826483150295827540890091520) (+.f64 (*.f64 1/2 x) z) (*.f64 y x))))) |
(if (<=.f64 y -3600000000000000056013898066080634887365525028915821160131174089551001612193120531753947403694170811634342611124224) (*.f64 x y) (if (<=.f64 y -3209759632941337754623250097607472198553504927071796796525117440) z (if (<=.f64 y -190000000000) (*.f64 x y) (if (<=.f64 y 65000000000000001779204751608734401505223497684445633147242777826483150295827540890091520) (+.f64 z (*.f64 x 1/2)) (*.f64 x y))))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) z (if (<=.f64 z 6055399477772988416/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 1/2 x) (if (<=.f64 z 3289461189413234/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (*.f64 y x) (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 1/2 x) (if (<=.f64 z 37317551791250056/726838724295606890549323807888004534353641360687318060281490199180639288113397923326191050713763565560762521606266177933534601628614656) z (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 y x) z)))))) |
(if (<=.f64 z -8299579561919299/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) z (if (<=.f64 z 1478369013128171/20547405865423334012660116730000502599806014854778022888665159777612234977722971961381509907334329887605402222094446162941482157227280483840343026447858909570137592465345486711686186554235635614340989264592896) (*.f64 x 1/2) (if (<=.f64 z 1644730594706617/28793048285076456849987446449190283896766061557132266451844835664715760516297522370041860391064901485759493828054533728788532902755163518009654497157537048672862208) (*.f64 x y) (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 x 1/2) (if (<=.f64 z 4664693973906257/90854840536950861318665475986000566794205170085914757535186274897579911014174740415773881339220445695095315200783272241691825203576832) z (if (<=.f64 z 1100189012993165030169975428368303477917956754187187222375265074956812384695484416) (*.f64 x y) z)))))) |
(if (<=.f64 z -1062346183925670272/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) z (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 1/2 x) z)) |
(if (<=.f64 z -8299579561919299/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) z (if (<=.f64 z 4771610774065673/102293456496754433437912178025862473506770063938845774671352855253004181137646079840102190385184504910965208878986252219038039267058918532916516487168) (*.f64 x 1/2) z)) |
z |
Compiled 169 to 105 computations (37.9% saved)
Compiled 148 to 81 computations (45.3% saved)
Loading profile data...