Time bar (total: 3.9s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 37.4% | 62.4% | 0.1% | 8 |
| 37.4% | 62.4% | 0.1% | 9 |
| 56.2% | 43.7% | 0.1% | 10 |
| 65.5% | 34.3% | 0.1% | 11 |
| 65.5% | 34.3% | 0.1% | 12 |
| 76.5% | 23.4% | 0.1% | 13 |
| 81.9% | 17.9% | 0.1% | 14 |
Compiled 13 to 9 computations (30.8% saved)
| 940.0ms | 1336× | body | 1024 | valid |
| 929.0ms | 5887× | body | 128 | valid |
| 272.0ms | 688× | body | 512 | valid |
| 98.0ms | 340× | body | 256 | valid |
| 6.0ms | 5× | body | 2048 | valid |
Compiled 26 to 18 computations (30.8% saved)
| 2× | egg-herbie |
| 24× | fma-def_binary64 |
| 18× | +-commutative_binary64 |
| 12× | associate-+r+_binary64 |
| 12× | associate-+l+_binary64 |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 56 |
| 1 | 42 | 48 |
| 2 | 78 | 48 |
| 3 | 102 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 x (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(fma.f64 z (cos.f64 x) (+.f64 y (sin.f64 x))) |
(+.f64 (sin.f64 x) (fma.f64 z (cos.f64 x) y)) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (+.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y))) |
(fma.f64 x (cos.f64 y) (+.f64 (sin.f64 y) z)) |
(+.f64 (sin.f64 y) (fma.f64 x (cos.f64 y) z)) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
(fma.f64 y (cos.f64 z) (+.f64 x (sin.f64 z))) |
(+.f64 (sin.f64 z) (fma.f64 y (cos.f64 z) x)) |
Compiled 12 to 8 computations (33.3% 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 | 14 |
| 1 | 14 | 12 |
| 2 | 23 | 12 |
| 3 | 29 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 x (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
Compiled 42 to 24 computations (42.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cos.f64 y) |
| ✓ | 0.0b | (+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
| ✓ | 0.1b | (fma.f64 z (cos.f64 y) x) |
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | z | @ | 0 | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | y | @ | -inf | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | z | @ | 0 | (+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
| 1.0ms | z | @ | inf | (fma.f64 z (cos.f64 y) x) |
| 1× | batch-egg-rewrite |
| 843× | log1p-expm1-u_binary64 |
| 843× | expm1-log1p-u_binary64 |
| 90× | add-sqr-sqrt_binary64 |
| 89× | *-un-lft-identity_binary64 |
| 89× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 1 | 167 | 22 |
| 2 | 2226 | 22 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) x) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(cos.f64 y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sqrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 z (cos.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (*.f64 x x)) (-.f64 (*.f64 z (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (cos.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))) (/.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2) (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) (pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2) (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 (fma.f64 z (cos.f64 y) x) 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (fma.f64 z (cos.f64 y) x) (-.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (/.f64 1 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (fma.f64 z (cos.f64 y) x) (-.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 (fma.f64 z (cos.f64 y) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 (fma.f64 z (cos.f64 y) x) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (fma.f64 z (cos.f64 y) x) (-.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 (fma.f64 z (cos.f64 y) x) 3)) (+.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 (fma.f64 z (cos.f64 y) x) 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (fma.f64 z (cos.f64 y) x) (-.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2))) (neg.f64 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2) (pow.f64 (sin.f64 y) 2)) (-.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) x)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y))))))) |
| 1× | egg-herbie |
| 456× | sub-neg_binary64 |
| 445× | fma-neg_binary64 |
| 235× | associate-+l+_binary64 |
| 206× | *-commutative_binary64 |
| 199× | distribute-rgt-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 740 |
| 1 | 139 | 731 |
| 2 | 430 | 715 |
| 3 | 1727 | 713 |
| 4 | 4450 | 713 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 z x) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(-.f64 (+.f64 y (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 y (+.f64 z x)) (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 z x) |
(+.f64 x z) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 z (-.f64 x (*.f64 1/2 (*.f64 z (*.f64 y y))))) |
(+.f64 x (-.f64 z (*.f64 z (*.f64 1/2 (*.f64 y y))))) |
(+.f64 x (*.f64 (fma.f64 (*.f64 y y) -1/2 1) z)) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (+.f64 x z)) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) (+.f64 x z)) (*.f64 -1/2 (*.f64 z (*.f64 y y)))) |
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) (+.f64 x z)) (*.f64 (*.f64 z (*.f64 y y)) -1/2)) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (fma.f64 (fma.f64 1/24 (pow.f64 y 4) 1) z x)) |
(+.f64 x (*.f64 z (fma.f64 (*.f64 y y) -1/2 (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(-.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) (+.f64 x z)) (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 1/720 (*.f64 z (pow.f64 y 6))))) |
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 y 4) 1) z) (-.f64 x (*.f64 z (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6)))))) |
(+.f64 (+.f64 x z) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720))))) |
(+.f64 x (*.f64 z (+.f64 (fma.f64 (*.f64 y y) -1/2 (fma.f64 1/24 (pow.f64 y 4) 1)) (*.f64 (pow.f64 y 6) -1/720)))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 z x) |
(+.f64 x z) |
(+.f64 y (+.f64 z x)) |
(+.f64 y (+.f64 x z)) |
(+.f64 x (+.f64 y z)) |
(+.f64 z (+.f64 x y)) |
(-.f64 (+.f64 y (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 y (+.f64 z (-.f64 x (*.f64 1/2 (*.f64 z (*.f64 y y)))))) |
(+.f64 (+.f64 x z) (-.f64 y (*.f64 z (*.f64 1/2 (*.f64 y y))))) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (+.f64 x (+.f64 y z))) |
(+.f64 y (fma.f64 (*.f64 y (*.f64 y z)) -1/2 (+.f64 x z))) |
(-.f64 (+.f64 y (+.f64 z x)) (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))) |
(-.f64 (+.f64 y (+.f64 x z)) (fma.f64 1/6 (pow.f64 y 3) (*.f64 1/2 (*.f64 z (*.f64 y y))))) |
(+.f64 y (-.f64 (+.f64 x z) (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 1/6 (pow.f64 y 3))))) |
(+.f64 x (-.f64 (+.f64 y z) (*.f64 (*.f64 y y) (+.f64 (*.f64 z 1/2) (*.f64 y 1/6))))) |
(+.f64 x (+.f64 y (fma.f64 (fma.f64 (*.f64 y y) -1/2 1) z (*.f64 (pow.f64 y 3) -1/6)))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 1 (*.f64 1/2 (*.f64 y y))) |
(fma.f64 (*.f64 y y) -1/2 1) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(+.f64 1 (-.f64 (*.f64 1/24 (pow.f64 y 4)) (*.f64 1/2 (*.f64 y y)))) |
(+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (*.f64 y y) -1/2 (fma.f64 1/24 (pow.f64 y 4) 1)) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6)))) |
(-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6)))) |
(+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720))) |
(+.f64 (fma.f64 (*.f64 y y) -1/2 (fma.f64 1/24 (pow.f64 y 4) 1)) (*.f64 (pow.f64 y 6) -1/720)) |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 99 | 8 | 107 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 100 | 8 | 108 |
| Status | Error | Program |
|---|---|---|
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) x)) | |
| ▶ | 0.1b | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x)) | |
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)) x)) | |
| 0.2b | (+.f64 (sin.f64 y) (fma.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1) x)) | |
| 31.1b | (*.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (/.f64 1 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)))) | |
| 31.5b | (+.f64 (sin.f64 y) (pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)) | |
| 1.2b | (+.f64 (sin.f64 y) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)) |
Compiled 1742 to 688 computations (60.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.0ms | y | @ | 0 | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.0ms | z | @ | -inf | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.0ms | z | @ | 0 | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 838× | log1p-expm1-u_binary64 |
| 838× | expm1-log1p-u_binary64 |
| 90× | add-sqr-sqrt_binary64 |
| 89× | *-un-lft-identity_binary64 |
| 89× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 167 | 12 |
| 2 | 2218 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (cos.f64 y) z) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 359× | fma-def_binary64 |
| 335× | distribute-rgt-neg-in_binary64 |
| 305× | cancel-sign-sub-inv_binary64 |
| 294× | distribute-lft-neg-in_binary64 |
| 193× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 399 |
| 1 | 69 | 397 |
| 2 | 197 | 394 |
| 3 | 686 | 392 |
| 4 | 2559 | 392 |
| 5 | 4929 | 392 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(-.f64 (+.f64 y (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 y (+.f64 z x)) (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 (+.f64 z x) y) |
(+.f64 x (+.f64 z y)) |
(+.f64 z (+.f64 x y)) |
(-.f64 (+.f64 y (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 y (-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 z (*.f64 y y))))) |
(-.f64 (+.f64 (+.f64 z x) y) (*.f64 z (*.f64 1/2 (*.f64 y y)))) |
(fma.f64 (*.f64 z (*.f64 y y)) -1/2 (+.f64 (+.f64 z x) y)) |
(+.f64 z (+.f64 x (fma.f64 y (*.f64 y (*.f64 z -1/2)) y))) |
(+.f64 z (fma.f64 y (*.f64 -1/2 (*.f64 z y)) (+.f64 x y))) |
(-.f64 (+.f64 y (+.f64 z x)) (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))) |
(-.f64 (+.f64 (+.f64 z x) y) (fma.f64 1/6 (pow.f64 y 3) (*.f64 1/2 (*.f64 z (*.f64 y y))))) |
(+.f64 (+.f64 z x) (-.f64 y (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 1/6 (pow.f64 y 3))))) |
(+.f64 z (-.f64 (+.f64 x y) (*.f64 (*.f64 y y) (+.f64 (*.f64 z 1/2) (*.f64 y 1/6))))) |
(+.f64 z (-.f64 x (fma.f64 (*.f64 y y) (fma.f64 z 1/2 (*.f64 y 1/6)) (neg.f64 y)))) |
(-.f64 x (-.f64 (*.f64 (*.f64 y y) (fma.f64 z 1/2 (*.f64 y 1/6))) (+.f64 z y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (cos.f64 y) z) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 66 | 0 | 66 |
| Fresh | 0 | 7 | 7 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 66 | 8 | 74 |
| Status | Error | Program |
|---|---|---|
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) x)) | |
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| ▶ | 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x)) |
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)) x)) | |
| 0.2b | (+.f64 (sin.f64 y) (fma.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1) x)) | |
| 31.1b | (*.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (/.f64 1 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)))) | |
| 31.5b | (+.f64 (sin.f64 y) (pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)) | |
| 1.2b | (+.f64 (sin.f64 y) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)) |
Compiled 1009 to 404 computations (60% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x) |
| ✓ | 0.1b | (log1p.f64 (expm1.f64 (cos.f64 y))) |
| ✓ | 0.6b | (expm1.f64 (cos.f64 y)) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | inf | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | -inf | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | 0 | (log1p.f64 (expm1.f64 (cos.f64 y))) |
| 0.0ms | y | @ | 0 | (fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x) |
| 1× | batch-egg-rewrite |
| 647× | pow1_binary64 |
| 592× | expm1-log1p-u_binary64 |
| 591× | add-log-exp_binary64 |
| 591× | log1p-expm1-u_binary64 |
| 69× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 139 | 15 |
| 2 | 1587 | 15 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (cos.f64 y)) |
(log1p.f64 (expm1.f64 (cos.f64 y))) |
(fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2) (cbrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) (sqrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1) (+.f64 (*.f64 (exp.f64 (cos.f64 y)) (exp.f64 (cos.f64 y))) (+.f64 1 (*.f64 (exp.f64 (cos.f64 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (cos.f64 y)) (exp.f64 (cos.f64 y))) 1) (+.f64 (exp.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sqrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (cos.f64 y) z) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (*.f64 x x)) (-.f64 (*.f64 (cos.f64 y) z) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))))))) |
| 1× | egg-herbie |
| 578× | fma-neg_binary64 |
| 551× | sub-neg_binary64 |
| 234× | *-commutative_binary64 |
| 222× | associate-+l-_binary64 |
| 219× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 493 |
| 1 | 160 | 482 |
| 2 | 477 | 462 |
| 3 | 1844 | 455 |
| 4 | 4595 | 455 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (E.f64) 1) |
(-.f64 (E.f64) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) 1)) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64))) (E.f64)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) 1)) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64))) (E.f64)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) (+.f64 1 (*.f64 31/720 (*.f64 (pow.f64 y 6) (E.f64)))))) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 z x) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
| Outputs |
|---|
(-.f64 (E.f64) 1) |
(+.f64 (E.f64) -1) |
(expm1.f64 1) |
(-.f64 (E.f64) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) 1)) |
(-.f64 (E.f64) (fma.f64 1/2 (*.f64 (E.f64) (*.f64 y y)) 1)) |
(+.f64 -1 (*.f64 (fma.f64 (*.f64 y y) -1/2 1) (E.f64))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/2 1) (E.f64) -1) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64))) (E.f64)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) 1)) |
(-.f64 (fma.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)) (E.f64)) (fma.f64 1/2 (*.f64 (E.f64) (*.f64 y y)) 1)) |
(+.f64 -1 (*.f64 (E.f64) (-.f64 (fma.f64 1/6 (pow.f64 y 4) 1) (*.f64 1/2 (*.f64 y y))))) |
(fma.f64 (E.f64) (+.f64 (*.f64 1/6 (pow.f64 y 4)) (fma.f64 (*.f64 y y) -1/2 1)) -1) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64))) (E.f64)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) (E.f64))) (+.f64 1 (*.f64 31/720 (*.f64 (pow.f64 y 6) (E.f64)))))) |
(-.f64 (fma.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)) (E.f64)) (+.f64 (fma.f64 1/2 (*.f64 (E.f64) (*.f64 y y)) 1) (*.f64 31/720 (*.f64 (E.f64) (pow.f64 y 6))))) |
(-.f64 (fma.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)) (E.f64)) (fma.f64 1/2 (*.f64 (E.f64) (*.f64 y y)) (fma.f64 31/720 (*.f64 (E.f64) (pow.f64 y 6)) 1))) |
(-.f64 (*.f64 (E.f64) (-.f64 (fma.f64 1/6 (pow.f64 y 4) 1) (*.f64 1/2 (*.f64 y y)))) (fma.f64 (E.f64) (*.f64 31/720 (pow.f64 y 6)) 1)) |
(+.f64 -1 (*.f64 (E.f64) (-.f64 (+.f64 (*.f64 1/6 (pow.f64 y 4)) (fma.f64 (*.f64 y y) -1/2 1)) (*.f64 31/720 (pow.f64 y 6))))) |
(+.f64 -1 (*.f64 (E.f64) (+.f64 (+.f64 (*.f64 1/6 (pow.f64 y 4)) (fma.f64 (*.f64 y y) -1/2 1)) (*.f64 (pow.f64 y 6) -31/720)))) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (*.f64 y y) -1/2 1) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(+.f64 1 (-.f64 (*.f64 (pow.f64 y 4) 1/24) (*.f64 1/2 (*.f64 y y)))) |
(+.f64 1 (fma.f64 (pow.f64 y 4) 1/24 (*.f64 (*.f64 y y) -1/2))) |
(fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 1)) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
(-.f64 (+.f64 1 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 1/2 (*.f64 y y) (*.f64 (pow.f64 y 6) 1/720))) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 1/2 (*.f64 y y) (*.f64 (pow.f64 y 6) 1/720))) |
(+.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720))) |
(+.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 z x) |
(+.f64 x z) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 z (-.f64 x (*.f64 1/2 (*.f64 (*.f64 y y) z)))) |
(+.f64 x (+.f64 z (*.f64 (*.f64 (*.f64 y y) z) -1/2))) |
(+.f64 x (*.f64 (fma.f64 (*.f64 y y) -1/2 1) z)) |
(+.f64 x (*.f64 z (fma.f64 (*.f64 y y) -1/2 1))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) (+.f64 x z)) (*.f64 -1/2 (*.f64 (*.f64 y y) z))) |
(+.f64 (+.f64 x (fma.f64 (*.f64 (pow.f64 y 4) 1/24) z z)) (*.f64 (*.f64 (*.f64 y y) z) -1/2)) |
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (fma.f64 (fma.f64 (pow.f64 y 4) 1/24 1) z x)) |
(+.f64 x (*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 1)))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) (+.f64 x z)) (fma.f64 1/2 (*.f64 (*.f64 y y) z) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(-.f64 (+.f64 x (fma.f64 (*.f64 (pow.f64 y 4) 1/24) z z)) (*.f64 z (fma.f64 1/2 (*.f64 y y) (*.f64 (pow.f64 y 6) 1/720)))) |
(+.f64 x (+.f64 z (*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)))))) |
(+.f64 x (*.f64 z (+.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720))))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
8 alts after pruning (6 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 0 | 109 |
| Fresh | 0 | 6 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 109 | 8 | 117 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) x)) |
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| ✓ | 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (log1p.f64 (expm1.f64 (cos.f64 y))) x)) |
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)) x)) | |
| 0.2b | (+.f64 (sin.f64 y) (fma.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1) x)) | |
| 31.1b | (*.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (/.f64 1 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)))) | |
| 31.5b | (+.f64 (sin.f64 y) (pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)) | |
| 1.2b | (+.f64 (sin.f64 y) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)) |
Compiled 1779 to 868 computations (51.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) x) |
| ✓ | 0.2b | (expm1.f64 (log1p.f64 (cos.f64 y))) |
| ✓ | 0.3b | (log1p.f64 (cos.f64 y)) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 27.0ms | y | @ | inf | (log1p.f64 (cos.f64 y)) |
| 19.0ms | y | @ | -inf | (log1p.f64 (cos.f64 y)) |
| 4.0ms | y | @ | 0 | (expm1.f64 (log1p.f64 (cos.f64 y))) |
| 1.0ms | y | @ | 0 | (log1p.f64 (cos.f64 y)) |
| 0.0ms | y | @ | -inf | (expm1.f64 (log1p.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 647× | pow1_binary64 |
| 592× | expm1-log1p-u_binary64 |
| 591× | add-log-exp_binary64 |
| 591× | log1p-expm1-u_binary64 |
| 69× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 138 | 15 |
| 2 | 1586 | 15 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (cos.f64 y)) |
(expm1.f64 (log1p.f64 (cos.f64 y))) |
(fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) 2) (cbrt.f64 (log1p.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (cos.f64 y))) (sqrt.f64 (log1p.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (cos.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (cos.f64 y) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (cos.f64 y) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (cos.f64 y) 1) 3) 1) (+.f64 (*.f64 (+.f64 (cos.f64 y) 1) (+.f64 (cos.f64 y) 1)) (+.f64 1 (*.f64 (+.f64 (cos.f64 y) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (cos.f64 y) 1) (+.f64 (cos.f64 y) 1)) 1) (+.f64 (+.f64 (cos.f64 y) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sqrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (cos.f64 y) z) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (*.f64 x x)) (-.f64 (*.f64 (cos.f64 y) z) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x))))))) |
| 1× | egg-herbie |
| 419× | fma-neg_binary64 |
| 411× | sub-neg_binary64 |
| 397× | distribute-rgt-neg-in_binary64 |
| 349× | distribute-lft-neg-in_binary64 |
| 193× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 465 |
| 1 | 142 | 458 |
| 2 | 412 | 443 |
| 3 | 1556 | 442 |
| 4 | 3759 | 442 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 2) |
(-.f64 (log.f64 2) (*.f64 1/4 (pow.f64 y 2))) |
(-.f64 (log.f64 2) (+.f64 (*.f64 1/4 (pow.f64 y 2)) (*.f64 1/96 (pow.f64 y 4)))) |
(-.f64 (log.f64 2) (+.f64 (*.f64 1/4 (pow.f64 y 2)) (+.f64 (*.f64 1/96 (pow.f64 y 4)) (*.f64 1/1440 (pow.f64 y 6))))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 z x) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
| Outputs |
|---|
(log.f64 2) |
(-.f64 (log.f64 2) (*.f64 1/4 (pow.f64 y 2))) |
(+.f64 (log.f64 2) (*.f64 -1/4 (*.f64 y y))) |
(+.f64 (log.f64 2) (*.f64 (*.f64 y y) -1/4)) |
(fma.f64 (*.f64 y y) -1/4 (log.f64 2)) |
(-.f64 (log.f64 2) (+.f64 (*.f64 1/4 (pow.f64 y 2)) (*.f64 1/96 (pow.f64 y 4)))) |
(-.f64 (log.f64 2) (fma.f64 1/4 (*.f64 y y) (*.f64 1/96 (pow.f64 y 4)))) |
(+.f64 (log.f64 2) (fma.f64 (*.f64 y y) -1/4 (*.f64 (pow.f64 y 4) -1/96))) |
(+.f64 (log.f64 2) (fma.f64 y (*.f64 y -1/4) (*.f64 (pow.f64 y 4) -1/96))) |
(-.f64 (log.f64 2) (+.f64 (*.f64 1/4 (pow.f64 y 2)) (+.f64 (*.f64 1/96 (pow.f64 y 4)) (*.f64 1/1440 (pow.f64 y 6))))) |
(-.f64 (log.f64 2) (fma.f64 1/4 (*.f64 y y) (fma.f64 1/96 (pow.f64 y 4) (*.f64 1/1440 (pow.f64 y 6))))) |
(-.f64 (log.f64 2) (fma.f64 1/4 (*.f64 y y) (fma.f64 1/1440 (pow.f64 y 6) (*.f64 1/96 (pow.f64 y 4))))) |
(+.f64 (log.f64 2) (fma.f64 y (*.f64 y -1/4) (fma.f64 (pow.f64 y 4) -1/96 (*.f64 (pow.f64 y 6) -1/1440)))) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
(log.f64 (+.f64 1 (cos.f64 y))) |
(log1p.f64 (cos.f64 y)) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(-.f64 1 (*.f64 y (*.f64 y 1/2))) |
(fma.f64 (*.f64 y y) -1/2 1) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (*.f64 1/2 (pow.f64 y 2))) |
(+.f64 1 (-.f64 (*.f64 (pow.f64 y 4) 1/24) (*.f64 (*.f64 y y) 1/2))) |
(+.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 1)) |
(-.f64 (+.f64 1 (*.f64 1/24 (pow.f64 y 4))) (+.f64 (*.f64 1/2 (pow.f64 y 2)) (*.f64 1/720 (pow.f64 y 6)))) |
(-.f64 (+.f64 1 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 1/2 (*.f64 y y) (*.f64 (pow.f64 y 6) 1/720))) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 (pow.f64 y 6) 1/720 (*.f64 y (*.f64 y 1/2)))) |
(fma.f64 (pow.f64 y 4) 1/24 (-.f64 1 (fma.f64 (pow.f64 y 6) 1/720 (*.f64 (*.f64 y y) 1/2)))) |
(+.f64 1 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720)))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 z x) |
(+.f64 x z) |
(-.f64 (+.f64 z x) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 z (-.f64 x (*.f64 1/2 (*.f64 (*.f64 y y) z)))) |
(+.f64 (+.f64 x z) (*.f64 (*.f64 y (*.f64 y z)) -1/2)) |
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (+.f64 x z)) |
(+.f64 x (*.f64 z (fma.f64 (*.f64 y y) -1/2 1))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) (+.f64 x z)) (*.f64 -1/2 (*.f64 (*.f64 y y) z))) |
(+.f64 (+.f64 x (*.f64 (fma.f64 (pow.f64 y 4) 1/24 1) z)) (*.f64 (*.f64 y (*.f64 y z)) -1/2)) |
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (fma.f64 (fma.f64 (pow.f64 y 4) 1/24 1) z x)) |
(+.f64 x (*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 1)))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) (+.f64 z x)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) (+.f64 x z)) (fma.f64 1/2 (*.f64 (*.f64 y y) z) (*.f64 1/720 (*.f64 (pow.f64 y 6) z)))) |
(-.f64 (+.f64 x (*.f64 (fma.f64 (pow.f64 y 4) 1/24 1) z)) (*.f64 z (fma.f64 (pow.f64 y 6) 1/720 (*.f64 y (*.f64 y 1/2))))) |
(+.f64 x (+.f64 z (*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)))))) |
(+.f64 (+.f64 x z) (*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720))))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 107 | 2 | 109 |
| Fresh | 1 | 4 | 5 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 1 | 2 |
| Total | 110 | 7 | 117 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 0.1b | (+.f64 (sin.f64 y) (fma.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)) x)) | |
| 0.8b | (+.f64 (sin.f64 y) (fma.f64 z (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (log1p.f64 (cos.f64 y))) 2))) x)) | |
| 31.1b | (*.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (fma.f64 z (cos.f64 y) x) 2)) (/.f64 1 (-.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)))) | |
| 31.5b | (+.f64 (sin.f64 y) (pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)) | |
| 1.2b | (+.f64 (sin.f64 y) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)) | |
| 0.2b | (+.f64 (sin.f64 y) (fma.f64 z (/.f64 (-.f64 (pow.f64 (+.f64 (cos.f64 y) 1) 3) 1) (+.f64 (*.f64 (+.f64 (cos.f64 y) 1) (+.f64 (cos.f64 y) 1)) (+.f64 1 (*.f64 (+.f64 (cos.f64 y) 1) 1)))) x)) |
Compiled 1683 to 819 computations (51.3% saved)
Total 0.0b remaining (59%)
Threshold costs 0.0b (59%)
Compiled 698 to 290 computations (58.5% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 9 | 12 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
| 1× | fuel |
Compiled 158 to 105 computations (33.5% saved)
Loading profile data...