Time bar (total: 4.1s)
| 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.4s | 8252× | body | 256 | valid |
| 80.0ms | 588× | body | 256 | invalid |
| 1.0ms | 3× | 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 (/.f64 x 2) (*.f64 y x)) z) |
| ▶ | 0.0b | (+.f64 (/.f64 x 2) (fma.f64 x y 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 | |
|---|---|---|---|---|
| 1.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)) |
| 0.0ms | z | @ | 0 | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 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 | |
|---|---|---|---|---|
| 1.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 | @ | inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 0.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 |
|---|---|---|
| ▶ | 16.8b | (+.f64 (*.f64 y x) z) |
| ▶ | 29.3b | (*.f64 (+.f64 1/2 y) x) |
| 34.3b | z | |
| ▶ | 0.0b | (fma.f64 x (+.f64 y 1/2) z) |
| 29.3b | (+.f64 (*.f64 1/2 x) (*.f64 y x)) | |
| ▶ | 45.1b | (*.f64 y x) |
| ▶ | 18.2b | (+.f64 (*.f64 1/2 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 | x | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 0.0ms | x | @ | -inf | (fma.f64 x (+.f64 y 1/2) z) |
| 0.0ms | y | @ | inf | (fma.f64 x (+.f64 y 1/2) z) |
| 0.0ms | y | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 0.0ms | y | @ | -inf | (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 | @ | 0 | (*.f64 (+.f64 1/2 y) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 1/2 y) x) |
| 0.0ms | y | @ | 0 | (*.f64 (+.f64 1/2 y) x) |
| 0.0ms | x | @ | -inf | (*.f64 (+.f64 1/2 y) x) |
| 0.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 | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 y x) z) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.0ms | z | @ | 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 |
|---|---|---|
| ▶ | 16.8b | (fma.f64 y x z) |
| ✓ | 29.3b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.8b | (+.f64 (*.f64 y x) z) |
| ▶ | 29.3b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 34.3b | z | |
| ▶ | 46.9b | (*.f64 1/2 x) |
| ✓ | 45.1b | (*.f64 y x) |
| ✓ | 18.2b | (+.f64 (*.f64 1/2 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 | x | @ | 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 | y | @ | -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 |
|---|---|---|
| ✓ | 16.8b | (fma.f64 y x z) |
| ✓ | 29.3b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.8b | (+.f64 (*.f64 y x) z) |
| ✓ | 29.3b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 34.3b | z | |
| ✓ | 46.9b | (*.f64 1/2 x) |
| ✓ | 45.1b | (*.f64 y x) |
| ✓ | 18.2b | (+.f64 (*.f64 1/2 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 |
|---|---|---|
| ✓ | 16.8b | (fma.f64 y x z) |
| ✓ | 29.3b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 16.8b | (+.f64 (*.f64 y x) z) |
| ✓ | 29.3b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 34.3b | z | |
| ✓ | 46.9b | (*.f64 1/2 x) |
| ✓ | 45.1b | (*.f64 y x) |
| ✓ | 18.2b | (+.f64 (*.f64 1/2 x) z) |
Compiled 57 to 40 computations (29.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 1/2 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:
| 22.0ms | x |
| 19.0ms | z |
| 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 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 1/2 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:
| 12.0ms | z |
| 10.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 9.0ms | x |
| 8.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 8.0ms | y |
| 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 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 1/2 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:
| 60.0ms | z |
| 36.0ms | y |
| 32.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 7.5b | 5 | x |
| 0.8b | 3 | y |
| 6.7b | 4 | z |
Compiled 52 to 28 computations (46.2% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 31.0ms | 1.0241694495757966e-5 | 0.0017513739099745702 |
| 19.0ms | -1.4393553516169048e+32 | -1.0042675996521178e+21 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
| Outputs |
|---|
(+.f64 (*.f64 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
3 calls:
| 55.0ms | y |
| 19.0ms | z |
| 16.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 8.6b | 3 | x |
| 13.4b | 5 | y |
| 8.0b | 3 | z |
Compiled 33 to 19 computations (42.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 2.4908293007251165e-18 | 61501.94132655628 |
| 19.0ms | -5.0484148568097176e+63 | -2.888833988225747e+61 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 y x) z) |
(*.f64 1/2 x) |
3 calls:
| 58.0ms | z |
| 31.0ms | y |
| 14.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 11.2b | 3 | x |
| 13.4b | 5 | y |
| 14.2b | 5 | z |
Compiled 28 to 16 computations (42.9% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 53.0ms | 1.6856097153206752e+155 | 1.5389427213407862e+156 |
| 54.0ms | -9.371598719648268e+134 | -3.525357926319291e+132 |
Compiled 242 to 181 computations (25.2% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
(*.f64 y x) |
| Outputs |
|---|
(*.f64 y x) |
z |
(*.f64 1/2 x) |
z |
(*.f64 1/2 x) |
z |
(*.f64 y x) |
3 calls:
| 76.0ms | y |
| 29.0ms | x |
| 18.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 23.1b | 6 | x |
| 23.0b | 7 | y |
| 25.4b | 3 | z |
Compiled 23 to 15 computations (34.8% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 1.3359313812916617e+21 | 5.160967168734997e+22 |
| 0.0ms | 5.665885321174172e-51 | 5.767845791194453e-51 |
| 20.0ms | 2.738548022968859e-238 | 1.0408055139336827e-235 |
| 21.0ms | -2.5096327862574454e-157 | -6.813678435148429e-158 |
| 20.0ms | -6.2228111057112274e-145 | -2.052417421872913e-146 |
| 21.0ms | -4.827528565300812e+47 | -1.9010033753884138e+46 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
(*.f64 1/2 x) |
| Outputs |
|---|
z |
(*.f64 1/2 x) |
z |
3 calls:
| 20.0ms | y |
| 12.0ms | z |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 26.5b | 3 | x |
| 30.9b | 5 | y |
| 25.9b | 3 | z |
Compiled 20 to 14 computations (30% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 41.0ms | 61501.94132655628 | 14940255.820149638 |
| 20.0ms | -6.745237407405351e+36 | -3.9705027802599655e+33 |
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:
| 5.0ms | x |
| 4.0ms | z |
| 4.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 34.3b | 1 | x |
| 34.3b | 1 | y |
| 34.3b | 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 | 60 | 188 |
| 1 | 68 | 188 |
| 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 -143935535161690484626711889575936) (+.f64 (*.f64 y x) z) (if (<=.f64 y 188925917244367/18446744073709551616) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 z -5048414856809717580196553927085160420343115326114981275966111744) (+.f64 (*.f64 y x) z) (if (<=.f64 z 3233281288325381/1298074214633706907132624082305024) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 x -3600000000000000156116072391194095848211184340626291947525480513697752952147967030703219065538160588119046134880583013681776417570816) (*.f64 1/2 x) (if (<=.f64 x 170000000000000004792517059612495600121740898552692417326429728698931854752410805230731460808752994594551427950895173075902084807309615463028921136217849856) (+.f64 (*.f64 y x) z) (*.f64 1/2 x))) |
(if (<=.f64 y -482752856530081231000562221212682231653460869120) (*.f64 y x) (if (<=.f64 y -8748715851350263/14059105607947488696282932836518693308967803494693489478439861164411992439598399594747002144074658928593502845729752797260025831423419686528151609940203637047296) z (if (<=.f64 y -62070848457511992/247330401473104534060502521019647190035131349101211839914063056092897225106531867170316401061243044989597671426016139339351365034306751209967546155101893167916606772148699136) (*.f64 1/2 x) (if (<=.f64 y 8031131003487715/29326237612518360273324834748083034614499060912302748190148044495166529541481373859169571088204419456439664137440255713356182385415243137741255706666562129531405183291370713192721204491754474266874920968429307133415352886893299285622127397997029678383104) z (if (<=.f64 y 153671696002758656/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 1/2 x) (if (<=.f64 y 1335931381291661656064) z (*.f64 y x))))))) |
(if (<=.f64 z -6745237407405350715596764992493322240) z (if (<=.f64 z 8452762452418243/137438953472) (*.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 -143935535161690484626711889575936) (+.f64 (*.f64 y x) z) (if (<=.f64 y 188925917244367/18446744073709551616) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 y -143935535161690484626711889575936) (+.f64 z (*.f64 x y)) (if (<=.f64 y 188925917244367/18446744073709551616) (+.f64 z (*.f64 x 1/2)) (+.f64 z (*.f64 x y)))) |
(if (<=.f64 z -5048414856809717580196553927085160420343115326114981275966111744) (+.f64 (*.f64 y x) z) (if (<=.f64 z 3233281288325381/1298074214633706907132624082305024) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 z -5048414856809717580196553927085160420343115326114981275966111744) (+.f64 z (*.f64 x y)) (if (<=.f64 z 3233281288325381/1298074214633706907132624082305024) (*.f64 x (+.f64 y 1/2)) (+.f64 z (*.f64 x y)))) |
(if (<=.f64 x -3600000000000000156116072391194095848211184340626291947525480513697752952147967030703219065538160588119046134880583013681776417570816) (*.f64 1/2 x) (if (<=.f64 x 170000000000000004792517059612495600121740898552692417326429728698931854752410805230731460808752994594551427950895173075902084807309615463028921136217849856) (+.f64 (*.f64 y x) z) (*.f64 1/2 x))) |
(if (<=.f64 x -3600000000000000156116072391194095848211184340626291947525480513697752952147967030703219065538160588119046134880583013681776417570816) (*.f64 x 1/2) (if (<=.f64 x 170000000000000004792517059612495600121740898552692417326429728698931854752410805230731460808752994594551427950895173075902084807309615463028921136217849856) (+.f64 z (*.f64 x y)) (*.f64 x 1/2))) |
(if (<=.f64 y -482752856530081231000562221212682231653460869120) (*.f64 y x) (if (<=.f64 y -8748715851350263/14059105607947488696282932836518693308967803494693489478439861164411992439598399594747002144074658928593502845729752797260025831423419686528151609940203637047296) z (if (<=.f64 y -62070848457511992/247330401473104534060502521019647190035131349101211839914063056092897225106531867170316401061243044989597671426016139339351365034306751209967546155101893167916606772148699136) (*.f64 1/2 x) (if (<=.f64 y 8031131003487715/29326237612518360273324834748083034614499060912302748190148044495166529541481373859169571088204419456439664137440255713356182385415243137741255706666562129531405183291370713192721204491754474266874920968429307133415352886893299285622127397997029678383104) z (if (<=.f64 y 153671696002758656/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 1/2 x) (if (<=.f64 y 1335931381291661656064) z (*.f64 y x))))))) |
(if (<=.f64 y -482752856530081231000562221212682231653460869120) (*.f64 x y) (if (<=.f64 y -8748715851350263/14059105607947488696282932836518693308967803494693489478439861164411992439598399594747002144074658928593502845729752797260025831423419686528151609940203637047296) z (if (<=.f64 y -7758856057188999/30916300184138066757562815127455898754391418637651479989257882011612153138316483396289550132655380623699708928252017417418920629288343901245943269387736645989575846518587392) (*.f64 x 1/2) (if (<=.f64 y 8031131003487715/29326237612518360273324834748083034614499060912302748190148044495166529541481373859169571088204419456439664137440255713356182385415243137741255706666562129531405183291370713192721204491754474266874920968429307133415352886893299285622127397997029678383104) z (if (<=.f64 y 75035007813847/13164036458569648337239753460458804039861886925068638906788872192) (*.f64 x 1/2) (if (<=.f64 y 1335931381291661656064) z (*.f64 x y))))))) |
(if (<=.f64 z -6745237407405350715596764992493322240) z (if (<=.f64 z 8452762452418243/137438953472) (*.f64 1/2 x) z)) |
(if (<=.f64 z -6745237407405350715596764992493322240) z (if (<=.f64 z 8452762452418243/137438953472) (*.f64 x 1/2) z)) |
z |
Compiled 157 to 97 computations (38.2% saved)
Compiled 136 to 70 computations (48.5% saved)
Loading profile data...