Time bar (total: 4.7s)
| 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 |
| 25% | 74.9% | 0.1% | 6 |
| 37.4% | 62.4% | 0.1% | 7 |
| 56.2% | 43.7% | 0.1% | 8 |
| 56.2% | 43.7% | 0.1% | 9 |
| 65.5% | 34.3% | 0.1% | 10 |
| 76.5% | 23.4% | 0.1% | 11 |
| 76.5% | 23.4% | 0.1% | 12 |
| 81.9% | 17.9% | 0.1% | 13 |
| 87.8% | 12.1% | 0.1% | 14 |
Compiled 13 to 9 computations (30.8% saved)
| 1.4s | 2018× | body | 1024 | valid |
| 757.0ms | 4632× | body | 128 | valid |
| 430.0ms | 1057× | body | 512 | valid |
| 152.0ms | 545× | body | 256 | valid |
| 6.0ms | 4× | body | 2048 | valid |
Compiled 26 to 18 computations (30.8% saved)
| 2× | egg-herbie |
| 16× | fma-def_binary64 |
| 8× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 48 |
| 1 | 38 | 48 |
| 2 | 50 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x))) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z))) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x))) |
(fma.f64 y (cos.f64 x) (*.f64 z (sin.f64 x))) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z))) |
(fma.f64 x (cos.f64 z) (*.f64 y (sin.f64 z))) |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 16 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 44 to 25 computations (43.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 0.1b | (*.f64 x (cos.f64 y)) |
| ✓ | 0.2b | (*.f64 z (sin.f64 y)) |
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 2.0ms | x | @ | -inf | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 2.0ms | z | @ | -inf | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 2.0ms | x | @ | 0 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 2.0ms | z | @ | 0 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 484× | log-prod_binary64 |
| 325× | fma-def_binary64 |
| 176× | pow1/3_binary64 |
| 176× | expm1-udef_binary64 |
| 176× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 1 | 187 | 24 |
| 2 | 2496 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))) (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))) (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (exp.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (exp.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sin.f64 y)) 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1)))))) |
| 1× | egg-herbie |
| 655× | fma-neg_binary64 |
| 402× | sub-neg_binary64 |
| 335× | *-commutative_binary64 |
| 251× | distribute-lft-neg-in_binary64 |
| 243× | distribute-rgt-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 790 |
| 1 | 158 | 781 |
| 2 | 492 | 760 |
| 3 | 1885 | 758 |
| 4 | 4749 | 758 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 y z) |
(-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
x |
(+.f64 (*.f64 y z) x) |
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
| Outputs |
|---|
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 y z) |
(-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(+.f64 (*.f64 y z) (*.f64 -1/6 (*.f64 z (pow.f64 y 3)))) |
(*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3)))) |
(*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(+.f64 (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 y z)) (*.f64 -1/6 (*.f64 z (pow.f64 y 3)))) |
(fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3))))) |
(*.f64 z (-.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 1/6 (pow.f64 y 3)))) |
(*.f64 z (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 (pow.f64 y 3) -1/6))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(-.f64 (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 y z)) (fma.f64 1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/6 (*.f64 z (pow.f64 y 3))))) |
(-.f64 (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5)))) (*.f64 z (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/5040 (pow.f64 y 7))))) |
(*.f64 z (-.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 1/5040 (pow.f64 y 7) (*.f64 1/6 (pow.f64 y 3))))) |
(*.f64 z (-.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 1/6 (pow.f64 y 3) (*.f64 1/5040 (pow.f64 y 7))))) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 x (*.f64 (*.f64 -1/2 x) (*.f64 y y))) |
(fma.f64 (*.f64 y (*.f64 y x)) -1/2 x) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 (*.f64 -1/2 x) (*.f64 y y))) |
(*.f64 x (+.f64 (*.f64 (*.f64 y y) -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(+.f64 x (*.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (fma.f64 1/720 (*.f64 x (pow.f64 y 6)) (*.f64 1/2 (*.f64 x (*.f64 y y))))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 x (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6))))) |
(+.f64 x (*.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/720 (pow.f64 y 6) (*.f64 1/2 (*.f64 y y)))))) |
(*.f64 x (-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 1/720 (pow.f64 y 6) (*.f64 1/2 (*.f64 y y))))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 (fma.f64 y z x) (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 (fma.f64 y z x) (*.f64 (*.f64 -1/2 x) (*.f64 y y))) |
(fma.f64 y z (fma.f64 (*.f64 y (*.f64 y x)) -1/2 x)) |
(fma.f64 (*.f64 y (*.f64 y x)) -1/2 (fma.f64 y z x)) |
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 1/6 (*.f64 z (pow.f64 y 3))))) |
(-.f64 (fma.f64 y z x) (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) (*.f64 (*.f64 y y) (*.f64 x 1/2)))) |
(+.f64 (fma.f64 (*.f64 y (*.f64 y x)) -1/2 x) (*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6)))) |
(+.f64 x (fma.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6)) (*.f64 y (*.f64 -1/2 (*.f64 y x))))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z)) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 115 | 8 | 123 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 116 | 8 | 124 |
| Status | Error | Program |
|---|---|---|
| 2.2b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 0.5b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 21.4b | (fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (*.f64 z (sin.f64 y))) | |
| 0.5b | (fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 40.0b | (/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)))) | |
| 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 2204 to 788 computations (64.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| ✓ | 0.1b | (*.f64 (cos.f64 y) x) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | 0 | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 2.0ms | x | @ | -inf | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 2.0ms | z | @ | -inf | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 2.0ms | z | @ | inf | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 2.0ms | x | @ | 0 | (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 757× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 81× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 156 | 18 |
| 2 | 1853 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) x) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 y) z) (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (sin.f64 y) z) 1) (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) 2) (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3) (pow.f64 (*.f64 (cos.f64 y) x) 3)) (+.f64 (*.f64 (*.f64 (sin.f64 y) z) (*.f64 (sin.f64 y) z)) (-.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2) (*.f64 (*.f64 (sin.f64 y) z) (*.f64 (cos.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (sin.f64 y) z) (*.f64 (sin.f64 y) z)) (pow.f64 (*.f64 (cos.f64 y) x) 2)) (-.f64 (*.f64 (sin.f64 y) z) (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)))))))) |
| 1× | egg-herbie |
| 739× | cancel-sign-sub-inv_binary64 |
| 698× | fma-def_binary64 |
| 361× | fma-neg_binary64 |
| 271× | sub-neg_binary64 |
| 240× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 468 |
| 1 | 107 | 467 |
| 2 | 324 | 457 |
| 3 | 1258 | 450 |
| 4 | 4705 | 450 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))) |
x |
(+.f64 (*.f64 y z) x) |
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (sin.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
| Outputs |
|---|
x |
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 x (*.f64 (*.f64 -1/2 x) (*.f64 y y))) |
(fma.f64 (*.f64 (*.f64 y y) -1/2) x x) |
(*.f64 x (fma.f64 (*.f64 y y) -1/2 1)) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 (*.f64 -1/2 x) (*.f64 y y))) |
(*.f64 x (-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 1/2 (*.f64 y y)))) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x) |
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (fma.f64 1/720 (*.f64 x (pow.f64 y 6)) (*.f64 1/2 (*.f64 x (*.f64 y y))))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 x (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6))))) |
(+.f64 x (*.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6)))))) |
(fma.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/720 (pow.f64 y 6) (*.f64 1/2 (*.f64 y y)))) x) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))) |
(-.f64 (fma.f64 y z x) (*.f64 1/2 (*.f64 x (*.f64 y y)))) |
(-.f64 (fma.f64 y z x) (*.f64 x (*.f64 1/2 (*.f64 y y)))) |
(fma.f64 y z (fma.f64 (*.f64 (*.f64 y y) -1/2) x x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x)) |
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 1/6 (*.f64 z (pow.f64 y 3))))) |
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 z (*.f64 1/6 (pow.f64 y 3))))) |
(+.f64 (fma.f64 y z (fma.f64 (*.f64 (*.f64 y y) -1/2) x x)) (*.f64 z (*.f64 (pow.f64 y 3) -1/6))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/2 1) x (*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3))))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/2 1) x (*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6)))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 1 | 54 |
| Fresh | 1 | 6 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 55 | 7 | 62 |
| Status | Error | Program |
|---|---|---|
| 2.2b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 0.5b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| 0.9b | (fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)) | |
| 0.5b | (fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 40.0b | (/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)))) | |
| ▶ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 958 to 412 computations (57% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| ✓ | 0.3b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 27.0ms | y | @ | -inf | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 27.0ms | y | @ | inf | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 27.0ms | x | @ | 0 | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 27.0ms | y | @ | inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 27.0ms | x | @ | -inf | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 1× | batch-egg-rewrite |
| 713× | pow1_binary64 |
| 656× | add-log-exp_binary64 |
| 656× | log1p-expm1-u_binary64 |
| 656× | expm1-log1p-u_binary64 |
| 83× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 176 | 30 |
| 2 | 1896 | 30 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 2) |
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1/3) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3) (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 1/2 (cos.f64 (*.f64 2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 (+.f64 y y)) (cos.f64 (-.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cos.f64 y) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x))))))) |
| 1× | egg-herbie |
| 531× | fma-neg_binary64 |
| 485× | sub-neg_binary64 |
| 273× | *-commutative_binary64 |
| 245× | distribute-rgt-neg-in_binary64 |
| 236× | distribute-lft-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 547 |
| 1 | 171 | 535 |
| 2 | 508 | 526 |
| 3 | 1911 | 526 |
| 4 | 4713 | 526 |
| 1× | node limit |
| Inputs |
|---|
1 |
(-.f64 1 (*.f64 1/3 (pow.f64 y 2))) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6)))) |
(-.f64 1 (+.f64 (*.f64 1/1701 (pow.f64 y 8)) (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6))))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
1 |
(-.f64 1 (*.f64 1/6 (pow.f64 y 2))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (*.f64 1/72 (pow.f64 y 4)))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (+.f64 (*.f64 1/72 (pow.f64 y 4)) (*.f64 23/6480 (pow.f64 y 6))))) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
1 |
(-.f64 1 (pow.f64 y 2)) |
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (pow.f64 y 2)) |
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (pow.f64 y 2) (*.f64 2/45 (pow.f64 y 6)))) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
x |
(-.f64 x (*.f64 1/3 (*.f64 (pow.f64 y 2) x))) |
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))) |
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/1701 (*.f64 (pow.f64 y 8) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x))))) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
| Outputs |
|---|
1 |
(-.f64 1 (*.f64 1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/3 (*.f64 y y))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/3)) |
(fma.f64 (*.f64 y y) -1/3 1) |
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6)))) |
(-.f64 1 (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6)))) |
(+.f64 (fma.f64 (*.f64 y y) -1/3 1) (*.f64 (pow.f64 y 6) -1/405)) |
(+.f64 1 (fma.f64 y (*.f64 y -1/3) (*.f64 (pow.f64 y 6) -1/405))) |
(-.f64 1 (+.f64 (*.f64 1/1701 (pow.f64 y 8)) (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6))))) |
(-.f64 1 (fma.f64 1/1701 (pow.f64 y 8) (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6))))) |
(-.f64 1 (fma.f64 1/405 (pow.f64 y 6) (fma.f64 1/3 (*.f64 y y) (*.f64 1/1701 (pow.f64 y 8))))) |
(+.f64 1 (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 (pow.f64 y 8) -1/1701)))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
1 |
(-.f64 1 (*.f64 1/6 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/6 (*.f64 y y))) |
(-.f64 1 (*.f64 (*.f64 y y) 1/6)) |
(fma.f64 (*.f64 y -1/6) y 1) |
(fma.f64 (*.f64 y y) -1/6 1) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (*.f64 1/72 (pow.f64 y 4)))) |
(-.f64 1 (fma.f64 1/6 (*.f64 y y) (*.f64 1/72 (pow.f64 y 4)))) |
(-.f64 1 (fma.f64 1/72 (pow.f64 y 4) (*.f64 (*.f64 y y) 1/6))) |
(+.f64 (fma.f64 (*.f64 y -1/6) y 1) (*.f64 (pow.f64 y 4) -1/72)) |
(+.f64 1 (fma.f64 y (*.f64 y -1/6) (*.f64 (pow.f64 y 4) -1/72))) |
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (+.f64 (*.f64 1/72 (pow.f64 y 4)) (*.f64 23/6480 (pow.f64 y 6))))) |
(-.f64 1 (fma.f64 1/6 (*.f64 y y) (fma.f64 1/72 (pow.f64 y 4) (*.f64 (pow.f64 y 6) 23/6480)))) |
(-.f64 1 (fma.f64 (*.f64 y y) 1/6 (fma.f64 1/72 (pow.f64 y 4) (*.f64 (pow.f64 y 6) 23/6480)))) |
(-.f64 1 (fma.f64 y (*.f64 y 1/6) (fma.f64 (pow.f64 y 6) 23/6480 (*.f64 1/72 (pow.f64 y 4))))) |
(+.f64 1 (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 y (*.f64 y -1/6) (*.f64 (pow.f64 y 4) -1/72)))) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
1 |
(-.f64 1 (pow.f64 y 2)) |
(-.f64 1 (*.f64 y y)) |
(fma.f64 y (neg.f64 y) 1) |
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (pow.f64 y 2)) |
(+.f64 1 (-.f64 (*.f64 1/3 (pow.f64 y 4)) (*.f64 y y))) |
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (*.f64 y y)) |
(fma.f64 1/3 (pow.f64 y 4) (fma.f64 y (neg.f64 y) 1)) |
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (pow.f64 y 2) (*.f64 2/45 (pow.f64 y 6)))) |
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (*.f64 y y) (*.f64 (pow.f64 y 6) 2/45))) |
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (fma.f64 y y (*.f64 (pow.f64 y 6) 2/45))) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
x |
(-.f64 x (*.f64 1/3 (*.f64 (pow.f64 y 2) x))) |
(+.f64 x (*.f64 -1/3 (*.f64 (*.f64 y y) x))) |
(+.f64 x (*.f64 (*.f64 (*.f64 y y) x) -1/3)) |
(fma.f64 (*.f64 (*.f64 y y) -1/3) x x) |
(fma.f64 (*.f64 y (*.f64 y -1/3)) x x) |
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))) |
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (*.f64 1/3 (*.f64 (*.f64 y y) x)))) |
(-.f64 x (*.f64 x (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6))))) |
(-.f64 x (*.f64 (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6))) x)) |
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/1701 (*.f64 (pow.f64 y 8) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x))))) |
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (fma.f64 1/1701 (*.f64 (pow.f64 y 8) x) (*.f64 1/3 (*.f64 (*.f64 y y) x))))) |
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (*.f64 x (fma.f64 1/1701 (pow.f64 y 8) (*.f64 1/3 (*.f64 y y)))))) |
(-.f64 x (*.f64 x (fma.f64 1/405 (pow.f64 y 6) (fma.f64 1/3 (*.f64 y y) (*.f64 1/1701 (pow.f64 y 8)))))) |
(+.f64 x (*.f64 x (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 (pow.f64 y 8) -1/1701))))) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 1 | 110 |
| Fresh | 0 | 6 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 109 | 8 | 117 |
| Status | Error | Program |
|---|---|---|
| 2.2b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 0.5b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 20.1b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (pow.f64 (cos.f64 y) 1/3) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| 0.9b | (fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)) | |
| 0.5b | (fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 40.0b | (/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)))) | |
| ✓ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 2444 to 1100 computations (55% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (*.f64 z (sin.f64 y)) | |
| 0.3b | (pow.f64 (cos.f64 y) 2) | |
| 0.3b | (cbrt.f64 (cos.f64 y)) | |
| 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
8 alts after pruning (6 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 111 | 0 | 111 |
| Fresh | 0 | 6 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 111 | 8 | 119 |
| Status | Error | Program |
|---|---|---|
| 2.2b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 0.5b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 20.1b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (pow.f64 (cos.f64 y) 1/3) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| 0.9b | (fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)) | |
| 0.5b | (fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 40.0b | (/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)))) | |
| ✓ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 2381 to 991 computations (58.4% saved)
Total 0.1b remaining (53.8%)
Threshold costs 0.1b (53.8%)
Compiled 4516 to 2922 computations (35.3% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | unpow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 12 |
| 1 | 13 | 12 |
| 1× | saturated |
| Inputs |
|---|
(pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1) |
| Outputs |
|---|
(pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1) |
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) |
| 1× | fuel |
Compiled 180 to 114 computations (36.7% saved)
Loading profile data...