Time bar (total: 4.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 5 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 6 |
| 12.5% | 12.5% | 87.4% | 0.1% | 0% | 0% | 0% | 7 |
| 18.8% | 18.7% | 81.1% | 0.1% | 0% | 0% | 0% | 8 |
| 25.6% | 25% | 72.5% | 0.1% | 2.3% | 0% | 0% | 9 |
| 38.6% | 37.4% | 59.7% | 0.1% | 2.7% | 0% | 0% | 10 |
| 46.4% | 44.5% | 51.3% | 0.1% | 4.1% | 0% | 0% | 11 |
| 53.7% | 50.3% | 43.4% | 0.1% | 6.1% | 0% | 0% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.0s | 8256× | body | 256 | valid |
| 76.0ms | 599× | body | 256 | infinite |
| 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 | z | @ | -inf | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 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)) |
| 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 | @ | 0 | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 0.0ms | x | @ | -inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 0.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)
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 218 | 8 | 226 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 220 | 8 | 228 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (fma.f64 x (+.f64 y 1/2) z) |
| ▶ | 47.6b | (*.f64 y x) |
| 30.0b | (+.f64 (*.f64 1/2 x) (*.f64 y x)) | |
| ▶ | 18.4b | (+.f64 (*.f64 y x) z) |
| ▶ | 30.0b | (*.f64 (+.f64 1/2 y) x) |
| 0.0b | (+.f64 (*.f64 (+.f64 1/2 y) x) z) | |
| 33.6b | z | |
| ▶ | 16.1b | (+.f64 (*.f64 1/2 x) z) |
Compiled 122 to 85 computations (30.3% 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 | |
|---|---|---|---|---|
| 2.0ms | y | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | x | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | y | @ | inf | (fma.f64 x (+.f64 y 1/2) z) |
| 1.0ms | z | @ | 0 | (fma.f64 x (+.f64 y 1/2) z) |
| 1.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 | @ | inf | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | x | @ | 0 | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 1/2 y) x) |
| 1.0ms | y | @ | 0 | (*.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) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 y x) z) |
| 0.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) |
| 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)
9 alts after pruning (5 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 88 | 3 | 91 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 3 | 4 |
| Total | 90 | 9 | 99 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.6b | (*.f64 y x) |
| ▶ | 30.0b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 18.4b | (+.f64 (*.f64 y x) z) |
| ✓ | 30.0b | (*.f64 (+.f64 1/2 y) x) |
| ▶ | 0.0b | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| ▶ | 45.3b | (*.f64 1/2 x) |
| 33.6b | z | |
| ▶ | 18.4b | (fma.f64 y x z) |
| ✓ | 16.1b | (+.f64 (*.f64 1/2 x) z) |
Compiled 67 to 47 computations (29.9% 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 | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| 1.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)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 0.0b | (*.f64 (+.f64 1/2 y) x) |
Compiled 22 to 13 computations (40.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 1.0ms | y | @ | -inf | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 1.0ms | y | @ | inf | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| 1× | batch-egg-rewrite |
| 863× | prod-diff_binary64 |
| 579× | unpow-prod-down_binary64 |
| 417× | log-prod_binary64 |
| 298× | fma-def_binary64 |
| 243× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 8 |
| 1 | 180 | 8 |
| 2 | 2480 | 8 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (+.f64 1/2 y) x z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (-.f64 (*.f64 (+.f64 1/2 y) x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 (+.f64 1/2 y) x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (+.f64 1/2 y) x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (+.f64 1/2 y) x z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)) (pow.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)) 2) (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (+.f64 1/2 y) x z)) (sqrt.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3)) (/.f64 1 (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3)) (pow.f64 (/.f64 1 (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 (+.f64 1/2 y) x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z)) (pow.f64 (/.f64 1 (-.f64 (*.f64 (+.f64 1/2 y) x) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 (+.f64 1/2 y) x z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 2) (pow.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)) 2)) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 2) (sqrt.f64 (fma.f64 (+.f64 1/2 y) x z))) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 (+.f64 1/2 y) x z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z))) 2) 3) (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2)) (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 (+.f64 1/2 y) x) z) (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3)) (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3)) (fma.f64 z z (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 (+.f64 1/2 y) (*.f64 x z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z)) (-.f64 (*.f64 (+.f64 1/2 y) x) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 (+.f64 1/2 y) x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2)) (-.f64 z (*.f64 (+.f64 1/2 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (+.f64 1/2 y) x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (+.f64 1/2 y) x z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (+.f64 1/2 y) x z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 z (-.f64 z (*.f64 (+.f64 1/2 y) x)) (pow.f64 (*.f64 (+.f64 1/2 y) x) 2)) (+.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 3) (pow.f64 z 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 (+.f64 1/2 y) x) z) (-.f64 (pow.f64 (*.f64 (+.f64 1/2 y) x) 2) (*.f64 z z))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (+.f64 1/2 y) x z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (+.f64 1/2 y) x))) (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 (+.f64 1/2 y) x))) (+.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 (+.f64 1/2 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 z)) (+.f64 1 (expm1.f64 (*.f64 (+.f64 1/2 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (+.f64 1/2 y) x z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (+.f64 1/2 y) x z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (+.f64 1/2 y) x z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1/2 y) x z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 1/2 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1/2 y) x) 1 z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z 1 (*.f64 (+.f64 1/2 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (+.f64 1/2 y) x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 (+.f64 1/2 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 1/2 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (+.f64 1/2 y) x)) (pow.f64 (cbrt.f64 (*.f64 (+.f64 1/2 y) x)) 2) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (+.f64 1/2 y) x)) 2) (cbrt.f64 (*.f64 (+.f64 1/2 y) x)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 z) 2) (*.f64 (+.f64 1/2 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 (+.f64 1/2 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1/2 y)) 2) (*.f64 (cbrt.f64 (+.f64 1/2 y)) x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 1/2 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (+.f64 1/2 y) x)) (sqrt.f64 (*.f64 (+.f64 1/2 y) x)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 (+.f64 1/2 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1/2 y)) (*.f64 (sqrt.f64 (+.f64 1/2 y)) x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1/2 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1/2 y) (sqrt.f64 x)) (sqrt.f64 x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 (+.f64 1/2 y)) 2)) (cbrt.f64 (+.f64 1/2 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (+.f64 1/2 y))) (sqrt.f64 (+.f64 1/2 y)) 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 | 280 |
| 1 | 26 | 253 |
| 2 | 36 | 253 |
| 3 | 40 | 253 |
| 1× | saturated |
| Inputs |
|---|
(+.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)) |
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 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 |
|---|
(+.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 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 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 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 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 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 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(*.f64 x y) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 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 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 x (+.f64 1/2 y) z) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 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 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 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 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 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 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 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 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 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 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 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 x (+.f64 1/2 y) z) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 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 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 x (+.f64 1/2 y) z) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 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 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 x (+.f64 1/2 y) z) |
Compiled 10 to 4 computations (60% saved)
Compiled 1861 to 1168 computations (37.2% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 148 | 0 | 148 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 148 | 9 | 157 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.6b | (*.f64 y x) |
| ✓ | 30.0b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 18.4b | (+.f64 (*.f64 y x) z) |
| ✓ | 30.0b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| ✓ | 45.3b | (*.f64 1/2 x) |
| 33.6b | z | |
| ✓ | 18.4b | (fma.f64 y x z) |
| ✓ | 16.1b | (+.f64 (*.f64 1/2 x) z) |
Compiled 67 to 47 computations (29.9% saved)
Compiled 3 to 3 computations (0% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 8 | 8 |
| Total | 0 | 9 | 9 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.6b | (*.f64 y x) |
| ✓ | 30.0b | (+.f64 (*.f64 y x) (*.f64 1/2 x)) |
| ✓ | 18.4b | (+.f64 (*.f64 y x) z) |
| ✓ | 30.0b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 0.0b | (+.f64 (*.f64 (+.f64 1/2 y) x) z) |
| ✓ | 45.3b | (*.f64 1/2 x) |
| 33.6b | z | |
| ✓ | 18.4b | (fma.f64 y x z) |
| ✓ | 16.1b | (+.f64 (*.f64 1/2 x) z) |
Compiled 67 to 47 computations (29.9% saved)
| Inputs |
|---|
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 1/2 y) x) z) |
(+.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:
| 47.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 33.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 33.0ms | y |
| 15.0ms | z |
| 15.0ms | (+.f64 (/.f64 x 2) (*.f64 y 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)) |
| 0.0b | 1 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 117 to 66 computations (43.6% saved)
| Inputs |
|---|
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 1/2 y) x) z) |
(+.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:
| 42.0ms | y |
| 12.0ms | x |
| 9.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 7.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 7.0ms | 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)) |
Compiled 93 to 52 computations (44.1% saved)
| Inputs |
|---|
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 1/2 y) x) z) |
| Outputs |
|---|
(+.f64 (*.f64 (+.f64 1/2 y) x) z) |
3 calls:
| 9.0ms | y |
| 7.0ms | x |
| 6.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | z |
Compiled 58 to 32 computations (44.8% saved)
| Inputs |
|---|
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:
| 54.0ms | z |
| 33.0ms | x |
| 17.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 7.4b | 5 | x |
| 1.1b | 3 | y |
| 8.1b | 3 | z |
Compiled 51 to 28 computations (45.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 0.01492553826258822 | 1789.348063051798 |
| 19.0ms | -1091240029.3184428 | -0.000795426462177779 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
(*.f64 1/2 x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
| Outputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(*.f64 (+.f64 1/2 y) x) |
3 calls:
| 88.0ms | x |
| 42.0ms | z |
| 38.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 8.7b | 3 | x |
| 12.2b | 7 | y |
| 11.0b | 3 | z |
Compiled 32 to 19 computations (40.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 21.0ms | 2.3151347911029887e+38 | 5.187890825356853e+47 |
| 19.0ms | -3.6715641379790693e+21 | -489465429253791.5 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
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:
| 27.0ms | y |
| 16.0ms | z |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 12.5b | 3 | x |
| 12.5b | 7 | y |
| 16.5b | 3 | z |
Compiled 27 to 16 computations (40.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 65.0ms | 6.405959583103524e+149 | 2.6854270153547314e+153 |
| 39.0ms | -6.005397485049496e+245 | -5.507556003455105e+238 |
Compiled 290 to 217 computations (25.2% saved)
| Inputs |
|---|
z |
(*.f64 1/2 x) |
(*.f64 y x) |
| Outputs |
|---|
z |
(*.f64 y x) |
(*.f64 1/2 x) |
z |
(*.f64 1/2 x) |
z |
(*.f64 1/2 x) |
z |
(*.f64 y x) |
z |
(*.f64 y x) |
3 calls:
| 35.0ms | y |
| 22.0ms | z |
| 13.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 24.4b | 3 | x |
| 22.4b | 11 | y |
| 22.6b | 6 | z |
Compiled 22 to 15 computations (31.8% saved)
| 10× | binary-search |
| Time | Left | Right |
|---|---|---|
| 28.0ms | 1.5035715217427406e+223 | 3.1315340400951984e+224 |
| 115.0ms | 3.76548310074975e+175 | 4.765845591707705e+182 |
| 18.0ms | 3.54451591727026e+19 | 9.625439150341186e+20 |
| 17.0ms | 2.8545573739559197e-71 | 1.5045712821867946e-64 |
| 34.0ms | 2.127821614455566e-126 | 4.5633514247825906e-125 |
| 18.0ms | -1.6634726031464027e-276 | -9.09779603878969e-279 |
| 17.0ms | -2.7017302611477015e-170 | -4.536773476859588e-172 |
| 54.0ms | -1.0012360023512695e-90 | -3.74967799774778e-93 |
| 19.0ms | -1091240029.3184428 | -0.000795426462177779 |
| 77.0ms | -3.030499055113103e+134 | -5.845566303228598e+120 |
Compiled 330 to 247 computations (25.2% saved)
Total -37.8b remaining (-155.1%)
Threshold costs -37.8b (-155.1%)
| Inputs |
|---|
z |
(*.f64 1/2 x) |
| Outputs |
|---|
(*.f64 1/2 x) |
z |
(*.f64 1/2 x) |
3 calls:
| 55.0ms | y |
| 13.0ms | x |
| 12.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 24.4b | 3 | x |
| 27.8b | 7 | y |
| 26.2b | 3 | z |
Compiled 19 to 14 computations (26.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 2.3151347911029887e+38 | 5.187890825356853e+47 |
| 143.0ms | -2.1838621885677725e+85 | -3.2238180351453924e+76 |
Compiled 126 to 103 computations (18.3% saved)
| 1× | egg-herbie |
| 6× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 235 |
| 1 | 78 | 235 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x (+.f64 y 1/2) z) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (*.f64 (+.f64 1/2 y) x) z) |
(if (<=.f64 y -2288496209965231/2097152) (+.f64 (*.f64 y x) z) (if (<=.f64 y 4301993507692569/288230376151711744) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 x -3671564137979069333504) (*.f64 (+.f64 1/2 y) x) (if (<=.f64 x 231513479110298867469394906284982009856) (+.f64 (*.f64 y x) z) (*.f64 (+.f64 1/2 y) x))) |
(if (<=.f64 x -55999999999999998097400980461140511265729730291775617579659489047919829871917590798997085167405099653193905938392632960481010911738354374692690627092654704210831617319628779762902957746938409745410375920371533269730209631767942701686718464) (*.f64 1/2 x) (if (<=.f64 x 650000000000000014799589673169551879472170804919877253770808152374592333488273548208567178852965873507920740939148112064963131250267135073899253858304) (+.f64 (*.f64 y x) z) (*.f64 1/2 x))) |
(if (<=.f64 y -6000000000000000453395464081883084992718054982903786308273137163054915422161782199519455631701156656033294728617883860992) z (if (<=.f64 y -2288496209965231/2097152) (*.f64 y x) (if (<=.f64 y -4592666771344137/4586997231980143023221641790604173881593129978336562247475177678773845752176969616140037106220251373109248) (*.f64 1/2 x) (if (<=.f64 y -1836789232689037/67985663080546188632267290438715984298187919069060086169528849689651655662189087070612800289949348565617834174239552129964362155219546526644418557282123181048810402666930332036061200384) z (if (<=.f64 y -4150032093957803/2494800386918399764570465891296048207584314075544321926878184053046514864836205082231197456865794626361678058555240619054965547485491992075923964747856039275400007091188857095646922151805453733978316695930679904991663513068901087986111069085560055196883901133594695052052948119037930012409856) (*.f64 1/2 x) (if (<=.f64 y 3243419941532079/1524291284333980581729295522359944485228807686848130444755447734192076044345588681699368214386470689042884243711624327585667956874652483059712) z (if (<=.f64 y 3549094279332949/124330809102446660538845562036705210025114037699336929360115994223289874253133343883264) (*.f64 1/2 x) (if (<=.f64 y 35445159172702601216) z (if (<=.f64 y 37999999999999996908875913171426868766891926901673452997393577843442839568210334631143169798592565480241178320987673696340883510506100038551242089541692309053282092450823798784) (*.f64 y x) (if (<=.f64 y 309999999999999992614941492182123857754202575458772814746613158784142343003424489154558326955742961851666256202029996277508490141113090282997000796237205386217637738633776610517649039397887492714629304213820835025848943771648) z (*.f64 y x))))))))))) |
(if (<=.f64 x -21000000000000000997419234523228712393846488972860301489961723747604379165526534914048) (*.f64 1/2 x) (if (<=.f64 x 231513479110298867469394906284982009856) z (*.f64 1/2 x))) |
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))) |
(+.f64 (*.f64 (+.f64 1/2 y) x) z) |
(+.f64 z (*.f64 x (+.f64 y 1/2))) |
(if (<=.f64 y -2288496209965231/2097152) (+.f64 (*.f64 y x) z) (if (<=.f64 y 4301993507692569/288230376151711744) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 y -2288496209965231/2097152) (+.f64 z (*.f64 x y)) (if (<=.f64 y 4301993507692569/288230376151711744) (+.f64 z (*.f64 x 1/2)) (+.f64 z (*.f64 x y)))) |
(if (<=.f64 x -3671564137979069333504) (*.f64 (+.f64 1/2 y) x) (if (<=.f64 x 231513479110298867469394906284982009856) (+.f64 (*.f64 y x) z) (*.f64 (+.f64 1/2 y) x))) |
(if (<=.f64 x -3671564137979069333504) (*.f64 x (+.f64 y 1/2)) (if (<=.f64 x 231513479110298867469394906284982009856) (+.f64 z (*.f64 x y)) (*.f64 x (+.f64 y 1/2)))) |
(if (<=.f64 x -55999999999999998097400980461140511265729730291775617579659489047919829871917590798997085167405099653193905938392632960481010911738354374692690627092654704210831617319628779762902957746938409745410375920371533269730209631767942701686718464) (*.f64 1/2 x) (if (<=.f64 x 650000000000000014799589673169551879472170804919877253770808152374592333488273548208567178852965873507920740939148112064963131250267135073899253858304) (+.f64 (*.f64 y x) z) (*.f64 1/2 x))) |
(if (<=.f64 x -55999999999999998097400980461140511265729730291775617579659489047919829871917590798997085167405099653193905938392632960481010911738354374692690627092654704210831617319628779762902957746938409745410375920371533269730209631767942701686718464) (*.f64 x 1/2) (if (<=.f64 x 650000000000000014799589673169551879472170804919877253770808152374592333488273548208567178852965873507920740939148112064963131250267135073899253858304) (+.f64 z (*.f64 x y)) (*.f64 x 1/2))) |
(if (<=.f64 y -6000000000000000453395464081883084992718054982903786308273137163054915422161782199519455631701156656033294728617883860992) z (if (<=.f64 y -2288496209965231/2097152) (*.f64 y x) (if (<=.f64 y -4592666771344137/4586997231980143023221641790604173881593129978336562247475177678773845752176969616140037106220251373109248) (*.f64 1/2 x) (if (<=.f64 y -1836789232689037/67985663080546188632267290438715984298187919069060086169528849689651655662189087070612800289949348565617834174239552129964362155219546526644418557282123181048810402666930332036061200384) z (if (<=.f64 y -4150032093957803/2494800386918399764570465891296048207584314075544321926878184053046514864836205082231197456865794626361678058555240619054965547485491992075923964747856039275400007091188857095646922151805453733978316695930679904991663513068901087986111069085560055196883901133594695052052948119037930012409856) (*.f64 1/2 x) (if (<=.f64 y 3243419941532079/1524291284333980581729295522359944485228807686848130444755447734192076044345588681699368214386470689042884243711624327585667956874652483059712) z (if (<=.f64 y 3549094279332949/124330809102446660538845562036705210025114037699336929360115994223289874253133343883264) (*.f64 1/2 x) (if (<=.f64 y 35445159172702601216) z (if (<=.f64 y 37999999999999996908875913171426868766891926901673452997393577843442839568210334631143169798592565480241178320987673696340883510506100038551242089541692309053282092450823798784) (*.f64 y x) (if (<=.f64 y 309999999999999992614941492182123857754202575458772814746613158784142343003424489154558326955742961851666256202029996277508490141113090282997000796237205386217637738633776610517649039397887492714629304213820835025848943771648) z (*.f64 y x))))))))))) |
(if (<=.f64 y -6000000000000000453395464081883084992718054982903786308273137163054915422161782199519455631701156656033294728617883860992) z (if (<=.f64 y -2288496209965231/2097152) (*.f64 x y) (if (<=.f64 y -4592666771344137/4586997231980143023221641790604173881593129978336562247475177678773845752176969616140037106220251373109248) (*.f64 x 1/2) (if (<=.f64 y -1836789232689037/67985663080546188632267290438715984298187919069060086169528849689651655662189087070612800289949348565617834174239552129964362155219546526644418557282123181048810402666930332036061200384) z (if (<=.f64 y -4150032093957803/2494800386918399764570465891296048207584314075544321926878184053046514864836205082231197456865794626361678058555240619054965547485491992075923964747856039275400007091188857095646922151805453733978316695930679904991663513068901087986111069085560055196883901133594695052052948119037930012409856) (*.f64 x 1/2) (if (<=.f64 y 3243419941532079/1524291284333980581729295522359944485228807686848130444755447734192076044345588681699368214386470689042884243711624327585667956874652483059712) z (if (<=.f64 y 3549094279332949/124330809102446660538845562036705210025114037699336929360115994223289874253133343883264) (*.f64 x 1/2) (if (<=.f64 y 35445159172702601216) z (if (<=.f64 y 37999999999999996908875913171426868766891926901673452997393577843442839568210334631143169798592565480241178320987673696340883510506100038551242089541692309053282092450823798784) (*.f64 x y) (if (<=.f64 y 309999999999999992614941492182123857754202575458772814746613158784142343003424489154558326955742961851666256202029996277508490141113090282997000796237205386217637738633776610517649039397887492714629304213820835025848943771648) z (*.f64 x y))))))))))) |
(if (<=.f64 x -21000000000000000997419234523228712393846488972860301489961723747604379165526534914048) (*.f64 1/2 x) (if (<=.f64 x 231513479110298867469394906284982009856) z (*.f64 1/2 x))) |
(if (<=.f64 x -21000000000000000997419234523228712393846488972860301489961723747604379165526534914048) (*.f64 x 1/2) (if (<=.f64 x 231513479110298867469394906284982009856) z (*.f64 x 1/2))) |
z |
Compiled 193 to 123 computations (36.3% saved)
Compiled 169 to 93 computations (45% saved)
Loading profile data...