Time bar (total: 3.1s)
| 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 | 8254× | body | 256 | valid |
| 74.0ms | 670× | body | 256 | infinite |
| 1.0ms | 2× | body | 1024 | valid |
| 2× | egg-herbie |
| 22× | fma-def_binary64 |
| 19× | +-commutative_binary64 |
| 12× | associate-+r+_binary64 |
| 12× | associate-+l+_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 52 |
| 1 | 40 | 44 |
| 2 | 81 | 44 |
| 3 | 97 | 44 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (+.f64 (/.f64 y 2) (*.f64 x y)) z) |
(+.f64 (+.f64 (/.f64 z 2) (*.f64 y z)) x) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 z x)) y) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x y) z)) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
(+.f64 (+.f64 (/.f64 y 2) (*.f64 x y)) z) |
(+.f64 (/.f64 y 2) (+.f64 (*.f64 x y) z)) |
(+.f64 z (fma.f64 x y (/.f64 y 2))) |
(+.f64 (+.f64 (/.f64 z 2) (*.f64 y z)) x) |
(+.f64 x (+.f64 (/.f64 z 2) (*.f64 y z))) |
(+.f64 x (fma.f64 y z (/.f64 z 2))) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 z x)) y) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x z) y)) |
(+.f64 (/.f64 x 2) (fma.f64 x z y)) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 6× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 14 | 11 |
| 2 | 25 | 11 |
| 3 | 29 | 11 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (/.f64 x 2) (+.f64 (*.f64 x y) z)) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
Compiled 20 to 12 computations (40% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| ▶ | 0.0b | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
Compiled 23 to 15 computations (34.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| ✓ | 0.0b | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 29 to 14 computations (51.7% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | y | @ | 0 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | x | @ | 0 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 1.0ms | z | @ | 0 | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 1× | batch-egg-rewrite |
| 589× | fma-def_binary64 |
| 500× | log-prod_binary64 |
| 374× | pow-prod-down_binary64 |
| 281× | pow2_binary64 |
| 276× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 1 | 209 | 16 |
| 2 | 3058 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 x 2) (*.f64 y x)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 1/2 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 x (-.f64 1/2 y))) (/.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 1/2 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 y 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 1/2 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (cbrt.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) (sqrt.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (/.f64 1 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 1/2 y)) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (*.f64 (*.f64 x 1/2) (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (*.f64 x (-.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))) (neg.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))) (neg.f64 (*.f64 x (-.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 x 1/2) 2)) (-.f64 (*.f64 x y) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 1/2 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (-.f64 1/2 y)) (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (pow.f64 (exp.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 x)) (+.f64 1 (expm1.f64 (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (+.f64 1 (expm1.f64 (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x y))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 y) x) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x y))) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 1/2 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 1/2 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x y) 1 (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (*.f64 (cbrt.f64 y) x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x y)) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (*.f64 x 1/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 y 1/2) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (-.f64 (*.f64 x (+.f64 1/2 y)) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 y 1/2) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2) (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (/.f64 1 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z) (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3)) (fma.f64 z z (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 (*.f64 x (+.f64 1/2 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z)) (-.f64 (*.f64 x (+.f64 1/2 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))) (neg.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (fma.f64 x y z) 3)) (fma.f64 (*.f64 x x) 1/4 (-.f64 (pow.f64 (fma.f64 x y z) 2) (*.f64 (*.f64 x 1/2) (fma.f64 x y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (fma.f64 x y z) 2)) (-.f64 (*.f64 x 1/2) (fma.f64 x y z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (-.f64 z (*.f64 x (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 y 1/2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 z (-.f64 z (*.f64 x (+.f64 1/2 y))) (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 3) (pow.f64 z 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (+.f64 1/2 y)) z) (-.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2) (*.f64 z z))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 y 1/2) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (exp.f64 (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/2))) (pow.f64 (exp.f64 1) (fma.f64 x y z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))) (exp.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (+.f64 1/2 y)) (+.f64 1 (expm1.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y)))) (+.f64 1 (expm1.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 z)) (pow.f64 (exp.f64 x) (+.f64 1/2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 z) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 z)) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 1/2 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x y z)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x y z)) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1) (fma.f64 x y z)) (+.f64 1 (expm1.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 y 1/2) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 y 1/2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (+.f64 y 1/2) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (+.f64 y 1/2) z))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (+.f64 y 1/2) z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (+.f64 y 1/2) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/2 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 1/2 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 y 1/2) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/2) 1 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x y) 1 (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 1/2 y)) 1 z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z 1 (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 1/2 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x y z) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 z) 2) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (*.f64 (cbrt.f64 y) x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x y)) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (+.f64 1/2 y))) (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 1/2 y)) 2)) (cbrt.f64 (*.f64 x (+.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x 1/2) 2)) (cbrt.f64 (*.f64 x 1/2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 x (+.f64 1/2 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/2) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 1/2 y))) (sqrt.f64 (*.f64 x (+.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)) (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) -1/2 (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 3) 1/8 (pow.f64 (*.f64 x y) 3)) (/.f64 1 (fma.f64 (*.f64 x y) (-.f64 (*.f64 x y) (*.f64 x 1/2)) (pow.f64 (*.f64 x 1/2) 2))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (fma.f64 x y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 x (*.f64 (fma.f64 x y z) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x 1/2) 2) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (-.f64 1/2 y))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x y z)) 2) (cbrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x y z)) (sqrt.f64 (fma.f64 x y z)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 y) 2)) (cbrt.f64 y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (fma.f64 x 1/2 z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 x 1/2 z)))))) |
| 1× | egg-herbie |
| 239× | fma-neg_binary64 |
| 220× | fma-def_binary64 |
| 45× | distribute-rgt-in_binary64 |
| 45× | cancel-sign-sub-inv_binary64 |
| 40× | unsub-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 439 |
| 1 | 47 | 412 |
| 2 | 88 | 412 |
| 3 | 176 | 412 |
| 4 | 311 | 412 |
| 5 | 512 | 412 |
| 6 | 811 | 412 |
| 7 | 1017 | 412 |
| 8 | 1093 | 412 |
| 9 | 1105 | 412 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
| Outputs |
|---|
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
z |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 z (*.f64 (+.f64 1/2 y) x)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 -1 (*.f64 x (-.f64 (*.f64 -1 y) 1/2))) z) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) z) |
(fma.f64 1/2 x z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (*.f64 y x)) |
(*.f64 (+.f64 1/2 y) x) |
(*.f64 x (+.f64 1/2 y)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
z |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 y x) z)) |
(fma.f64 1/2 x (fma.f64 y x z)) |
(fma.f64 (+.f64 1/2 y) x z) |
(fma.f64 x (+.f64 1/2 y) z) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
Compiled 22 to 10 computations (54.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 1.0ms | x | @ | 0 | (+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| 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)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 221 | 5 | 226 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 223 | 5 | 228 |
| Status | Error | Program |
|---|---|---|
| ▶ | 46.8b | (*.f64 y x) |
| ▶ | 16.5b | (+.f64 (*.f64 1/2 x) z) |
| ▶ | 28.2b | (*.f64 (+.f64 1/2 y) x) |
| ▶ | 19.2b | (+.f64 (*.f64 y x) z) |
| 35.2b | z |
Compiled 34 to 24 computations (29.4% saved)
Compiled 8 to 4 computations (50% saved)
Compiled 14 to 9 computations (35.7% saved)
Compiled 14 to 9 computations (35.7% saved)
Compiled 14 to 5 computations (64.3% saved)
Compiled 3 to 3 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 46.8b | (*.f64 y x) |
| ✓ | 16.5b | (+.f64 (*.f64 1/2 x) z) |
| ✓ | 28.2b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 19.2b | (+.f64 (*.f64 y x) z) |
| 35.2b | z |
Compiled 34 to 24 computations (29.4% saved)
Compiled 3 to 3 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 46.8b | (*.f64 y x) |
| ✓ | 16.5b | (+.f64 (*.f64 1/2 x) z) |
| ✓ | 28.2b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 19.2b | (+.f64 (*.f64 y x) z) |
| 35.2b | z |
Compiled 34 to 24 computations (29.4% saved)
Compiled 3 to 3 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 46.8b | (*.f64 y x) |
| ✓ | 16.5b | (+.f64 (*.f64 1/2 x) z) |
| ✓ | 28.2b | (*.f64 (+.f64 1/2 y) x) |
| ✓ | 19.2b | (+.f64 (*.f64 y x) z) |
| 35.2b | z |
Compiled 34 to 24 computations (29.4% saved)
| Inputs |
|---|
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
| Outputs |
|---|
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
6 calls:
| 6.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 6.0ms | x |
| 5.0ms | (+.f64 (/.f64 x 2) (*.f64 y x)) |
| 5.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 5.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)) |
| 0.0b | 1 | (+.f64 (/.f64 x 2) (*.f64 y x)) |
Compiled 83 to 50 computations (39.8% saved)
| Inputs |
|---|
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
5 calls:
| 6.0ms | z |
| 6.0ms | x |
| 5.0ms | y |
| 5.0ms | (+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
| 5.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)) |
Compiled 65 to 39 computations (40% saved)
| Inputs |
|---|
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 y x) z) |
| Outputs |
|---|
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 1/2 x) z) |
(+.f64 (*.f64 y x) z) |
3 calls:
| 21.0ms | z |
| 17.0ms | x |
| 13.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 10.7b | 3 | x |
| 0.8b | 3 | y |
| 6.3b | 5 | z |
Compiled 34 to 20 computations (41.2% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 6.315144559657042e-8 | 5510997.65611891 |
| 18.0ms | -505.1889016832789 | -6.425585403757122e-10 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 x) z) |
(*.f64 (+.f64 1/2 y) x) |
(+.f64 (*.f64 1/2 x) z) |
3 calls:
| 23.0ms | y |
| 15.0ms | x |
| 11.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 13.2b | 3 | x |
| 10.0b | 5 | y |
| 7.3b | 3 | z |
Compiled 29 to 19 computations (34.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 69.0ms | 3.6864189875195604e-116 | 8.361152784738213e-113 |
| 27.0ms | -1.2426832532138908e+25 | -3501177887211045000.0 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
| Outputs |
|---|
(*.f64 y x) |
(+.f64 (*.f64 1/2 x) z) |
(*.f64 y x) |
3 calls:
| 49.0ms | x |
| 39.0ms | y |
| 35.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 13.8b | 5 | x |
| 11.4b | 3 | y |
| 13.3b | 5 | z |
Compiled 24 to 16 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 34.0ms | 5510997.65611891 | 5340908429.1012 |
| 331.0ms | -8.541355362761719e+77 | -2.2486752970026594e+75 |
Compiled 146 to 109 computations (25.3% saved)
Total -36.1b remaining (-138.5%)
Threshold costs -36.1b (-138.5%)
| Inputs |
|---|
z |
(*.f64 y x) |
| Outputs |
|---|
z |
(*.f64 y x) |
z |
3 calls:
| 26.0ms | x |
| 20.0ms | y |
| 20.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 31.8b | 3 | x |
| 30.0b | 3 | y |
| 26.1b | 3 | z |
Compiled 19 to 13 computations (31.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 35.0ms | 3.6864189875195604e-116 | 8.361152784738213e-113 |
| 33.0ms | -1.2426832532138908e+25 | -3501177887211045000.0 |
Compiled 18 to 13 computations (27.8% saved)
| 1× | egg-herbie |
| 6× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 136 |
| 1 | 47 | 136 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(if (<=.f64 y -4443688572993213/8796093022208) (+.f64 (*.f64 y x) z) (if (<=.f64 y 149112135015005/2361183241434822606848) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 z -12426832532138908037677056) (+.f64 (*.f64 1/2 x) z) (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 1/2 x) z))) |
(if (<=.f64 y -850000000000000017503981701893785293195096826892387179652848397507251515949056) (*.f64 y x) (if (<=.f64 y 5917388675340843/1073741824) (+.f64 (*.f64 1/2 x) z) (*.f64 y x))) |
(if (<=.f64 z -12426832532138908037677056) z (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 y x) z)) |
z |
| Outputs |
|---|
(+.f64 (/.f64 x 2) (fma.f64 x y z)) |
(+.f64 (+.f64 (/.f64 x 2) (*.f64 y x)) z) |
(+.f64 z (+.f64 (/.f64 x 2) (*.f64 x y))) |
(if (<=.f64 y -4443688572993213/8796093022208) (+.f64 (*.f64 y x) z) (if (<=.f64 y 149112135015005/2361183241434822606848) (+.f64 (*.f64 1/2 x) z) (+.f64 (*.f64 y x) z))) |
(if (<=.f64 y -4443688572993213/8796093022208) (+.f64 z (*.f64 x y)) (if (<=.f64 y 149112135015005/2361183241434822606848) (+.f64 z (*.f64 x 1/2)) (+.f64 z (*.f64 x y)))) |
(if (<=.f64 z -12426832532138908037677056) (+.f64 (*.f64 1/2 x) z) (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 (+.f64 1/2 y) x) (+.f64 (*.f64 1/2 x) z))) |
(if (<=.f64 z -12426832532138908037677056) (+.f64 z (*.f64 x 1/2)) (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 x (+.f64 y 1/2)) (+.f64 z (*.f64 x 1/2)))) |
(if (<=.f64 y -850000000000000017503981701893785293195096826892387179652848397507251515949056) (*.f64 y x) (if (<=.f64 y 5917388675340843/1073741824) (+.f64 (*.f64 1/2 x) z) (*.f64 y x))) |
(if (<=.f64 y -850000000000000017503981701893785293195096826892387179652848397507251515949056) (*.f64 x y) (if (<=.f64 y 5917388675340843/1073741824) (+.f64 z (*.f64 x 1/2)) (*.f64 x y))) |
(if (<=.f64 z -12426832532138908037677056) z (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 y x) z)) |
(if (<=.f64 z -12426832532138908037677056) z (if (<=.f64 z 6541582212177295/177450860423732151013018507785157357019931972824052260810910693159335763699560039874558361990664932998233037501529828597054346100736) (*.f64 x y) z)) |
z |
Compiled 117 to 73 computations (37.6% 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 |
Compiled 47 to 31 computations (34% saved)
Compiled 99 to 52 computations (47.5% saved)
Loading profile data...