Time bar (total: 4.5s)
| 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)
| 1.1s | 2062× | body | 1024 | valid |
| 742.0ms | 4588× | body | 128 | valid |
| 438.0ms | 1078× | body | 512 | valid |
| 153.0ms | 524× | body | 256 | valid |
| 3.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.1b | (*.f64 z (sin.f64 y)) |
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1.0ms | x | @ | -inf | (*.f64 x (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1.0ms | x | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 x (cos.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 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 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 +.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 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 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 -.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 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))))) (#(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 expm1.f64 (log1p.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))))))) |
| 1× | egg-herbie |
| 452× | sqr-pow_binary64 |
| 406× | *-commutative_binary64 |
| 391× | distribute-lft-out_binary64 |
| 295× | fma-def_binary64 |
| 270× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 654 |
| 1 | 147 | 651 |
| 2 | 403 | 631 |
| 3 | 1311 | 630 |
| 4 | 2094 | 630 |
| 5 | 3207 | 630 |
| 6 | 3393 | 630 |
| 7 | 3627 | 630 |
| 8 | 3897 | 630 |
| 9 | 4256 | 630 |
| 10 | 4661 | 630 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) 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 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) 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 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 y z)) |
(*.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (fma.f64 -1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/120 (*.f64 z (pow.f64 y 5)))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 z (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (+.f64 (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))) (fma.f64 -1/6 (pow.f64 y 3) 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 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))))) |
(*.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 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 113 | 10 | 123 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 114 | 10 | 124 |
| Status | Error | Program |
|---|---|---|
| 0.8b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y))) | |
| 40.3b | (*.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)))) | |
| 3.1b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 33.1b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 0.8b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 32.4b | (fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 17.3b | (fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| 0.7b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
Compiled 2260 to 823 computations (63.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| ✓ | 0.2b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
| ✓ | 0.4b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | -inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 2.0ms | x | @ | 0 | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 2.0ms | y | @ | inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 1.0ms | y | @ | inf | (cbrt.f64 (cos.f64 y)) |
| 1.0ms | y | @ | -inf | (cbrt.f64 (cos.f64 y)) |
| 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 exp.f64 (log.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 -.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 exp.f64 (log.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 +.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 exp.f64 (log.f64 (pow.f64 (cos.f64 y) 2)))))) (#(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 -.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 exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))) (#(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))))))) |
| 1× | egg-herbie |
| 997× | fma-def_binary64 |
| 504× | fma-neg_binary64 |
| 298× | *-commutative_binary64 |
| 202× | unswap-sqr_binary64 |
| 166× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 542 |
| 1 | 155 | 527 |
| 2 | 401 | 516 |
| 3 | 1276 | 514 |
| 4 | 2998 | 514 |
| 5 | 4327 | 514 |
| 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 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(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 (*.f64 -1 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(*.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 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) x)) 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))) |
(fma.f64 -1/3 (*.f64 y y) 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 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) |
(fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/3 (*.f64 y y) 1)) |
(+.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))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/3 (*.f64 y y) 1))) |
(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 (*.f64 y y) -1/6)) |
(fma.f64 (*.f64 y y) -1/6 1) |
(fma.f64 y (*.f64 y -1/6) 1) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6))) |
(fma.f64 -1/72 (pow.f64 y 4) (fma.f64 (*.f64 y y) -1/6 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y -1/72) -1/6) 1) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6)))) |
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 -1/72 (pow.f64 y 4) (fma.f64 (*.f64 y y) -1/6 1))) |
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 -1/72 (pow.f64 y 4) 1))) |
(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 (*.f64 -1 (pow.f64 y 2)) 1) |
(fma.f64 -1 (*.f64 y y) 1) |
(-.f64 1 (*.f64 y y)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (*.f64 1/3 (pow.f64 y 4))) |
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (*.f64 y y)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (fma.f64 -2/45 (pow.f64 y 6) (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (fma.f64 1/3 (pow.f64 y 4) (*.f64 (pow.f64 y 6) -2/45)) (-.f64 1 (*.f64 y y))) |
(-.f64 (fma.f64 (pow.f64 y 6) -2/45 (fma.f64 1/3 (pow.f64 y 4) 1)) (*.f64 y y)) |
(*.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 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/3 (*.f64 (*.f64 y y) x) x) |
(*.f64 (fma.f64 -1/3 (*.f64 y y) 1) x) |
(fma.f64 -1/3 (*.f64 y (*.f64 y x)) x) |
(+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/405 (*.f64 (pow.f64 y 6) x) (fma.f64 -1/3 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(*.f64 x (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(*.f64 x (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/3 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) x)) x))) |
(fma.f64 -1/405 (*.f64 (pow.f64 y 6) x) (fma.f64 -1/3 (*.f64 (*.f64 y y) x) (fma.f64 -1/1701 (*.f64 (pow.f64 y 8) x) x))) |
(+.f64 (fma.f64 -1/1701 (*.f64 (pow.f64 y 8) x) x) (*.f64 x (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(+.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 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/3 (*.f64 y y) 1)))) |
(*.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) |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 1 | 110 |
| Fresh | 0 | 9 | 9 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 109 | 11 | 120 |
| Status | Error | Program |
|---|---|---|
| 0.8b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y))) | |
| 40.3b | (*.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)))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)) 3) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 3.1b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 33.1b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 0.8b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 32.4b | (fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 17.3b | (fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.7b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
Compiled 2546 to 1156 computations (54.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| ✓ | 0.3b | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 z) 2) |
| ✓ | 0.6b | (cbrt.f64 z) |
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | y | @ | inf | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| 2.0ms | y | @ | inf | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| 1.0ms | z | @ | -inf | (cbrt.f64 z) |
| 1.0ms | z | @ | -inf | (pow.f64 (cbrt.f64 z) 2) |
| 1.0ms | z | @ | -inf | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 535× | log-prod_binary64 |
| 231× | prod-diff_binary64 |
| 203× | expm1-udef_binary64 |
| 203× | log1p-udef_binary64 |
| 178× | log-pow_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 39 |
| 1 | 238 | 31 |
| 2 | 2697 | 29 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 z) |
(pow.f64 (cbrt.f64 z) 2) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cbrt.f64 z))) (cbrt.f64 (exp.f64 (cbrt.f64 z))))) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 z)))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 z)) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 z) 1/3) (pow.f64 (sqrt.f64 z) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 z 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 z) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2))) (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (*.f64 z (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z))) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (*.f64 (pow.f64 z 1/6) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z z))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2/3 (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cbrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y))) (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) z))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (sin.f64 y)) 1) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(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 (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 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (*.f64 z (sin.f64 y)) (-.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 (*.f64 (*.f64 z (sin.f64 y)) (*.f64 z (sin.f64 y))) (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 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 (pow.f64 (exp.f64 x) (cos.f64 y)) (exp.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)))) (exp.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 z (sin.f64 y))) (+.f64 1 (expm1.f64 (*.f64 x (cos.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 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))))) (#(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 expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 545× | unswap-sqr_binary64 |
| 492× | distribute-rgt-in_binary64 |
| 490× | distribute-lft-out_binary64 |
| 419× | *-commutative_binary64 |
| 243× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 446 |
| 1 | 129 | 436 |
| 2 | 372 | 417 |
| 3 | 1310 | 417 |
| 4 | 2227 | 417 |
| 5 | 3521 | 417 |
| 6 | 3803 | 417 |
| 7 | 4144 | 417 |
| 8 | 4656 | 417 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y (pow.f64 z 1/3)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3)))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3))))) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
(*.f64 y (pow.f64 z 1/3)) |
(*.f64 y (cbrt.f64 z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3))) |
(fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (*.f64 y (cbrt.f64 z))) |
(*.f64 (cbrt.f64 z) (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3)))) |
(fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (*.f64 y (cbrt.f64 z)))) |
(fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 (cbrt.f64 z) (+.f64 y (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (pow.f64 z 1/3))) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) (pow.f64 z 1/3))) (*.f64 y (pow.f64 z 1/3))))) |
(fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (fma.f64 -1/5040 (*.f64 (cbrt.f64 z) (pow.f64 y 7)) (*.f64 y (cbrt.f64 z))))) |
(+.f64 (*.f64 (cbrt.f64 z) (+.f64 y (*.f64 -1/5040 (pow.f64 y 7)))) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 (cbrt.f64 z) (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 (cbrt.f64 z) (+.f64 (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 -1/5040 (pow.f64 y 7) y))) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 z 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 y z (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
12 alts after pruning (11 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 140 | 2 | 142 |
| Fresh | 0 | 9 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 141 | 12 | 153 |
| Status | Error | Program |
|---|---|---|
| 4.4b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3))) (*.f64 x (cos.f64 y))) | |
| 0.8b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y))) | |
| 40.3b | (*.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)))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)) 3) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 3.1b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 33.1b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 0.8b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 32.4b | (fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 17.3b | (fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.1b | (+.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) |
Compiled 2854 to 1087 computations (61.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 0.1b | (*.f64 x (cos.f64 y)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 0.0ms | z | @ | -inf | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 0.0ms | z | @ | inf | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 0.0ms | z | @ | 0 | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 0.0ms | x | @ | -inf | (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 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 | 12 |
| 1 | 156 | 12 |
| 2 | 1853 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (sin.f64 y)) 1) (*.f64 x (cos.f64 y)))))) (#(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 (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 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 z (sin.f64 y)) (*.f64 z (sin.f64 y))) (-.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 (*.f64 (*.f64 z (sin.f64 y)) (*.f64 z (sin.f64 y))) (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 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 cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3))))) (#(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 log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) (*.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))))))))) |
| 1× | egg-herbie |
| 933× | fma-def_binary64 |
| 556× | distribute-lft-out_binary64 |
| 358× | *-commutative_binary64 |
| 246× | associate-+l+_binary64 |
| 243× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 394 |
| 1 | 67 | 394 |
| 2 | 160 | 393 |
| 3 | 421 | 391 |
| 4 | 1314 | 388 |
| 5 | 2697 | 388 |
| 6 | 4166 | 388 |
| 7 | 4284 | 388 |
| 8 | 4457 | 388 |
| 9 | 4668 | 388 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x)) |
(fma.f64 y z (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 y (fma.f64 -1/2 (*.f64 y x) z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x))) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 y (*.f64 y (*.f64 x -1/2)) (fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) x)) |
(fma.f64 y (*.f64 -1/2 (*.f64 y x)) (fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
12 alts after pruning (10 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 58 | 0 | 58 |
| Fresh | 0 | 10 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 58 | 12 | 70 |
| Status | Error | Program |
|---|---|---|
| 4.4b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3))) (*.f64 x (cos.f64 y))) | |
| 0.8b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y))) | |
| 40.3b | (*.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)))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)) 3) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 3.1b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 33.1b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| 0.8b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 0.8b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 32.4b | (fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 17.3b | (fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (+.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) |
Compiled 1077 to 500 computations (53.6% saved)
Total 0.1b remaining (62.6%)
Threshold costs 0.1b (62.6%)
Compiled 731 to 224 computations (69.4% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | +-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 12 |
| 1 | 12 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) |
| Outputs |
|---|
(+.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
| 1× | fuel |
Compiled 246 to 156 computations (36.6% saved)
Loading profile data...