Time bar (total: 11.0s)
| 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 |
Compiled 13 to 9 computations (30.8% saved)
| 1.3s | 2072× | body | 1024 | valid |
| 986.0ms | 5142× | body | 256 | valid |
| 400.0ms | 1037× | body | 512 | valid |
| 4.0ms | 5× | body | 2048 | valid |
| 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 15 to 11 computations (26.7% 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))) |
Compiled 20 to 9 computations (55% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| ▶ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 23 to 15 computations (34.8% 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 z (sin.f64 y)) |
| ✓ | 0.1b | (*.f64 x (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | (*.f64 x (cos.f64 y)) |
| 1.0ms | x | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | z | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1.0ms | z | @ | -inf | (*.f64 z (sin.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 484× | log-prod_binary64 |
| 382× | prod-exp_binary64 |
| 361× | exp-prod_binary64 |
| 332× | pow-prod-down_binary64 |
| 325× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 1 | 187 | 24 |
| 2 | 2497 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (cos.f64 y)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))) 2)) (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 (pow.f64 (*.f64 x (cos.f64 y)) 2) 1/2)))) (#(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 pow.f64 (exp.f64 1) (log.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (cos.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (cos.f64 y))))) (sqrt.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) (#(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 expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (cos.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 y)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))) 2)) (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 (pow.f64 (*.f64 z (sin.f64 y)) 2) 1/2)))) (#(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 pow.f64 (exp.f64 1) (log.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 z (sin.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 z (sin.f64 y))))) (sqrt.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) (#(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 expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 z) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 y)) (*.f64 (log.f64 z) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (*.f64 (log.f64 z) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.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 (fma.f64 x (cos.f64 y) (*.f64 (neg.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 (fma.f64 x (cos.f64 y) (*.f64 (neg.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 x (cos.f64 y)) (*.f64 z (sin.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)) (fma.f64 x (cos.f64 y) (*.f64 (neg.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 (fma.f64 x (cos.f64 y) (*.f64 (neg.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 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(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 (fma.f64 x (cos.f64 y) (*.f64 (neg.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 pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 2)) (cbrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (sqrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.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 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 cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1) 1))))) (#(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 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 1 (*.f64 x (cos.f64 y)) (*.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 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.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 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.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 (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 (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 (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 (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 (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 (*.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 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.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 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.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 (*.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 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))))))) |
| 1× | egg-herbie |
| 682× | sqr-pow_binary64 |
| 626× | cube-prod_binary64 |
| 461× | *-commutative_binary64 |
| 443× | pow-sqr_binary64 |
| 391× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 654 |
| 1 | 147 | 651 |
| 2 | 403 | 631 |
| 3 | 1316 | 630 |
| 4 | 2106 | 630 |
| 5 | 3221 | 630 |
| 6 | 3407 | 630 |
| 7 | 3641 | 630 |
| 8 | 3909 | 630 |
| 9 | 4268 | 630 |
| 10 | 4687 | 630 |
| 11 | 5185 | 630 |
| 12 | 5765 | 630 |
| 13 | 6455 | 630 |
| 14 | 6961 | 630 |
| 15 | 7353 | 630 |
| 16 | 7741 | 630 |
| 1× | node limit |
| Inputs |
|---|
(*.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 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 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 (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) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(*.f64 x (fma.f64 (*.f64 y -1/2) y 1)) |
(+.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 (*.f64 -1/720 (pow.f64 y 6)) (fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) 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 x (+.f64 (fma.f64 (*.f64 y -1/2) 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 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 (*.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 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)) |
(fma.f64 y z (fma.f64 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x)) |
(fma.f64 y z (*.f64 x (fma.f64 (*.f64 y -1/2) 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 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 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 x (fma.f64 (*.f64 y -1/2) 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 (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))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.0ms | x | @ | 0 | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.0ms | x | @ | -inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 757× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 672× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 156 | 12 |
| 2 | 1853 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(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 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (cos.f64 y)) 1) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.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 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.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 (-.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (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 pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 933× | fma-def_binary64 |
| 757× | sqr-pow_binary64 |
| 556× | distribute-lft-out_binary64 |
| 475× | *-commutative_binary64 |
| 374× | pow-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 394 |
| 1 | 67 | 394 |
| 2 | 160 | 393 |
| 3 | 420 | 391 |
| 4 | 1357 | 388 |
| 5 | 2745 | 388 |
| 6 | 4214 | 388 |
| 7 | 4332 | 388 |
| 8 | 4505 | 388 |
| 9 | 4713 | 388 |
| 10 | 5051 | 388 |
| 11 | 5409 | 388 |
| 12 | 5885 | 388 |
| 13 | 6428 | 388 |
| 14 | 7088 | 388 |
| 15 | 7918 | 388 |
| 1× | node limit |
| Inputs |
|---|
(*.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 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)) |
(+.f64 (*.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 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 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)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(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 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)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(fma.f64 z y 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 z y (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) (fma.f64 z y x)) |
(fma.f64 z y (fma.f64 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 y (fma.f64 x (*.f64 y -1/2) 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 z y (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) 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 z (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 z (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 y (fma.f64 x (*.f64 y -1/2) z) x)) |
(fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) |
(+.f64 (*.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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.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 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 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)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.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 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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.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 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
Compiled 3382 to 1077 computations (68.2% saved)
24 alts after pruning (22 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 210 | 22 | 232 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 210 | 24 | 234 |
| Status | Error | Program |
|---|---|---|
| 39.0b | x | |
| ▶ | 25.0b | (+.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
| 29.0b | (/.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)))) | |
| 16.2b | (+.f64 (*.f64 x (cos.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 25.1b | (*.f64 (cos.f64 y) x) | |
| 38.0b | (*.f64 z (sin.f64 y)) | |
| ▶ | 30.5b | (+.f64 (*.f64 y z) x) |
| 34.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| 16.6b | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| ▶ | 31.7b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) |
| 29.0b | (*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))))) | |
| 26.2b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) | |
| 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| 35.7b | (fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 3.7b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) | |
| 30.5b | (fma.f64 z y x) | |
| ▶ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.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))) | |
| 14.7b | (+.f64 x (*.f64 z (sin.f64 y))) | |
| 31.1b | (fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) |
Compiled 643 to 420 computations (34.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 0.1b | (*.f64 x (cos.f64 y)) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | z | @ | -inf | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 0.0ms | y | @ | 0 | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 0.0ms | z | @ | inf | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 0.0ms | z | @ | 0 | (fma.f64 (sin.f64 y) z (*.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 |
| 672× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 156 | 12 |
| 2 | 1853 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (sin.f64 y) z) 1) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 (sin.f64 y) z) (*.f64 (sin.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (sin.f64 y) z) (*.f64 (sin.f64 y) z)) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 933× | fma-def_binary64 |
| 757× | sqr-pow_binary64 |
| 556× | distribute-lft-out_binary64 |
| 466× | *-commutative_binary64 |
| 374× | pow-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 394 |
| 1 | 67 | 394 |
| 2 | 160 | 393 |
| 3 | 420 | 391 |
| 4 | 1355 | 388 |
| 5 | 2736 | 388 |
| 6 | 4205 | 388 |
| 7 | 4323 | 388 |
| 8 | 4496 | 388 |
| 9 | 4704 | 388 |
| 10 | 5040 | 388 |
| 11 | 5396 | 388 |
| 12 | 5872 | 388 |
| 13 | 6412 | 388 |
| 14 | 7076 | 388 |
| 15 | 7908 | 388 |
| 1× | node limit |
| Inputs |
|---|
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))) |
(*.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 |
|---|
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 x (fma.f64 y (*.f64 y -1/2) 1) (*.f64 y z)) |
(fma.f64 y (fma.f64 x (*.f64 y -1/2) 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))) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 (*.f64 y -1/2) (*.f64 x y) x)) |
(fma.f64 x (fma.f64 y (*.f64 y -1/2) 1) (*.f64 z (fma.f64 -1/6 (pow.f64 y 3) 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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.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 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y z) x) |
Compiled 14 to 5 computations (64.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | 0 | (+.f64 (*.f64 y z) x) |
| 1.0ms | z | @ | inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y z) x) |
| 1× | batch-egg-rewrite |
| 707× | pow1_binary64 |
| 655× | add-log-exp_binary64 |
| 655× | log1p-expm1-u_binary64 |
| 655× | expm1-log1p-u_binary64 |
| 640× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 5 |
| 1 | 129 | 5 |
| 2 | 1775 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 y z) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y z x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y z) 2) (-.f64 (*.f64 y z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y z x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y z x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y z x)) (pow.f64 (cbrt.f64 (fma.f64 y z x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y z x)) 2) (cbrt.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y z x)) (sqrt.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z)))) (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 y (*.f64 z x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x)) (-.f64 (*.f64 y z) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) 2)) (-.f64 x (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y z x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y z x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y z x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y z x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y z x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y z x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y z x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z y x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y z) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (cbrt.f64 (*.f64 y z)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y z)) (sqrt.f64 (*.f64 y z)) x))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 24 |
| 1 | 6 | 24 |
| 1× | saturated |
| Inputs |
|---|
x |
(*.f64 y z) |
(*.f64 y z) |
x |
(*.f64 y z) |
(*.f64 y z) |
(*.f64 y z) |
x |
x |
| Outputs |
|---|
x |
(*.f64 y z) |
(*.f64 y z) |
x |
(*.f64 y z) |
(*.f64 y z) |
(*.f64 y z) |
x |
x |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.1b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.1b | (pow.f64 (*.f64 x (cos.f64 y)) 3) |
| ✓ | 39.5b | (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) |
Compiled 44 to 17 computations (61.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | (pow.f64 (*.f64 x (cos.f64 y)) 3) |
| 2.0ms | x | @ | -inf | (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) |
| 1.0ms | y | @ | 0 | (pow.f64 (*.f64 x (cos.f64 y)) 3) |
| 1.0ms | y | @ | inf | (pow.f64 (*.f64 x (cos.f64 y)) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (*.f64 x (cos.f64 y)) 3) |
| 1× | batch-egg-rewrite |
| 645× | pow1_binary64 |
| 603× | add-log-exp_binary64 |
| 603× | log1p-expm1-u_binary64 |
| 603× | expm1-log1p-u_binary64 |
| 586× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 168 | 15 |
| 2 | 1728 | 15 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) |
(pow.f64 (*.f64 x (cos.f64 y)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) 1/3) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (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 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1)))) (#(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 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 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 expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 -.f64 (+.f64 1 (pow.f64 (*.f64 x (cos.f64 y)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (cos.f64 y) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (*.f64 x (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 y)) (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2) (pow.f64 (*.f64 x (cos.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) 3) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 3) (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) x) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) 1) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (sqrt.f64 (*.f64 x (cos.f64 y)))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 649× | distribute-rgt-out_binary64 |
| 558× | distribute-rgt-in_binary64 |
| 552× | fma-def_binary64 |
| 549× | distribute-lft-in_binary64 |
| 452× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 66 | 596 |
| 1 | 208 | 584 |
| 2 | 787 | 556 |
| 3 | 4122 | 546 |
| 4 | 7923 | 546 |
| 1× | node limit |
| Inputs |
|---|
(*.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 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.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 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(pow.f64 x 3) |
(+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 x (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2)))) (+.f64 (*.f64 1/2 (pow.f64 x 3)) (*.f64 1/24 (pow.f64 x 3)))) (pow.f64 y 4)) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 x (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2)))) (+.f64 (*.f64 1/2 (pow.f64 x 3)) (*.f64 1/24 (pow.f64 x 3)))) (pow.f64 y 4)) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2))) x)) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 2))) x) (*.f64 -1/720 (pow.f64 x 3)))))) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3)))) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
| Outputs |
|---|
(*.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 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) x) (cbrt.f64 -1))) |
(*.f64 (*.f64 (cos.f64 y) x) (neg.f64 (cbrt.f64 -1))) |
(*.f64 (cos.f64 y) (*.f64 x (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) x) (cbrt.f64 -1))) |
(*.f64 (*.f64 (cos.f64 y) x) (neg.f64 (cbrt.f64 -1))) |
(*.f64 (cos.f64 y) (*.f64 x (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) x) (cbrt.f64 -1))) |
(*.f64 (*.f64 (cos.f64 y) x) (neg.f64 (cbrt.f64 -1))) |
(*.f64 (cos.f64 y) (*.f64 x (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) x))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) x) (cbrt.f64 -1))) |
(*.f64 (*.f64 (cos.f64 y) x) (neg.f64 (cbrt.f64 -1))) |
(*.f64 (cos.f64 y) (*.f64 x (neg.f64 (cbrt.f64 -1)))) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 (*.f64 (*.f64 -1/2 y) y) x x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) 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 (*.f64 (*.f64 -1/2 y) 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 (*.f64 (*.f64 -1/2 y) y) x x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.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 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(pow.f64 x 3) |
(+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3)) |
(fma.f64 (*.f64 y y) (*.f64 (pow.f64 x 3) -3/2) (pow.f64 x 3)) |
(fma.f64 y (*.f64 y (*.f64 (pow.f64 x 3) -3/2)) (pow.f64 x 3)) |
(*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 x 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 x (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2)))) (+.f64 (*.f64 1/2 (pow.f64 x 3)) (*.f64 1/24 (pow.f64 x 3)))) (pow.f64 y 4)) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3))) |
(fma.f64 (fma.f64 x (*.f64 (*.f64 x x) 1/3) (*.f64 (pow.f64 x 3) 13/24)) (pow.f64 y 4) (fma.f64 (*.f64 y y) (*.f64 (pow.f64 x 3) -3/2) (pow.f64 x 3))) |
(fma.f64 (pow.f64 y 4) (fma.f64 (pow.f64 x 3) 13/24 (*.f64 (pow.f64 x 3) 1/3)) (fma.f64 (*.f64 y y) (*.f64 (pow.f64 x 3) -3/2) (pow.f64 x 3))) |
(fma.f64 y (*.f64 y (*.f64 (pow.f64 x 3) -3/2)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 x 3) 7/8) (pow.f64 x 3))) |
(fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 x 3) 7/8) (*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 x 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 x (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2)))) (+.f64 (*.f64 1/2 (pow.f64 x 3)) (*.f64 1/24 (pow.f64 x 3)))) (pow.f64 y 4)) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 2))) x)) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 2))) x) (*.f64 -1/720 (pow.f64 x 3)))))) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 -1/2 (pow.f64 x 3)))) (pow.f64 x 3)))) |
(fma.f64 (fma.f64 x (*.f64 (*.f64 x x) 1/3) (*.f64 (pow.f64 x 3) 13/24)) (pow.f64 y 4) (fma.f64 (pow.f64 y 6) (fma.f64 -1/24 (pow.f64 x 3) (fma.f64 -1/2 (*.f64 x (*.f64 (*.f64 x x) 1/3)) (fma.f64 (*.f64 (*.f64 x x) -2/45) x (*.f64 -1/720 (pow.f64 x 3))))) (fma.f64 (*.f64 y y) (*.f64 (pow.f64 x 3) -3/2) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 y 4) (fma.f64 (pow.f64 x 3) 13/24 (*.f64 (pow.f64 x 3) 1/3)) (fma.f64 (pow.f64 y 6) (fma.f64 (pow.f64 x 3) -1/24 (fma.f64 -1/2 (*.f64 (pow.f64 x 3) 1/3) (fma.f64 -1/720 (pow.f64 x 3) (*.f64 (pow.f64 x 3) -2/45)))) (fma.f64 (*.f64 y y) (*.f64 (pow.f64 x 3) -3/2) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 x 3) 7/8) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 (pow.f64 x 3) -1/6) (fma.f64 (pow.f64 x 3) -1/24 (*.f64 (pow.f64 x 3) -11/240))) (fma.f64 y (*.f64 y (*.f64 (pow.f64 x 3) -3/2)) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 x 3) 7/8) (fma.f64 (pow.f64 y 6) (fma.f64 x (*.f64 (*.f64 x x) -19/90) (*.f64 (pow.f64 x 3) -31/720)) (*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 x 3)))) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (*.f64 x (cos.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.1b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
Compiled 43 to 14 computations (67.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | inf | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
| 2.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
| 1.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
| 1× | batch-egg-rewrite |
| 613× | pow1_binary64 |
| 565× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 551× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 163 | 14 |
| 2 | 1592 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))) (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/4) (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/4) (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 1/4)) (pow.f64 (*.f64 x (cos.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (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 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (*.f64 x (cos.f64 y)))) (cbrt.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 x)) (sqrt.f64 (cos.f64 y)))))) (#(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 cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 -.f64 (+.f64 1 (sqrt.f64 (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/4) (pow.f64 (*.f64 x (cos.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)) (sqrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 428× | *-commutative_binary64 |
| 397× | distribute-rgt-in_binary64 |
| 390× | distribute-lft-in_binary64 |
| 294× | unswap-sqr_binary64 |
| 275× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 353 |
| 1 | 148 | 349 |
| 2 | 412 | 298 |
| 3 | 1786 | 277 |
| 4 | 5247 | 277 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 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) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (*.f64 x 1/24) x)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (sqrt.f64 x)) |
(fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 x))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 x))) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) (sqrt.f64 (/.f64 1 x)))) (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 x) (*.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 (*.f64 x -1/48) (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 x) (*.f64 (pow.f64 y 4) (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 1/2 (*.f64 x -1/48))))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (+.f64 (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 6) (-.f64 (*.f64 x -1/720) (*.f64 -1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))))))) |
(fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 x))) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (fma.f64 1/2 (*.f64 (fma.f64 x -1/720 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) 1/4)) (*.f64 (pow.f64 y 6) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 4) (fma.f64 x 1/24 (*.f64 x -1/16))) (*.f64 (pow.f64 y 6) (fma.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) 1/4 (*.f64 x -1/720)))))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 x -1/720 (*.f64 -1/4 (*.f64 x 1/48))))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
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) |
Compiled 40 to 14 computations (65% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | 0 | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| 2.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)) |
| 2.0ms | z | @ | -inf | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| 2.0ms | x | @ | 0 | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 535× | log-prod_binary64 |
| 410× | exp-prod_binary64 |
| 354× | pow-prod-down_binary64 |
| 291× | pow2_binary64 |
| 231× | prod-diff_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 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 z))) 2)) (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 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4)) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)))))) (#(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 (*.f64 z z) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) 3/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 (sqrt.f64 z) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/3) (log.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (cbrt.f64 z))) 2)) (cbrt.f64 (log.f64 (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (cbrt.f64 z)))) (sqrt.f64 (log.f64 (cbrt.f64 z))))))) (#(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 expm1.f64 (log1p.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (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 exp.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cbrt.f64 z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/6 (log.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 z) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 z) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 z)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1) 1/2)))))) |
((#(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 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2))) 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) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4) (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) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 5) (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 expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(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 exp.f64 (*.f64 (log.f64 z) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 z)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (*.f64 2/3 (log.f64 z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 z) 1) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 z) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 z)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1) 1)))))) |
((#(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 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y))) 2)) (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)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (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 pow.f64 (exp.f64 1) (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))) (sqrt.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))))))) (#(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 (*.f64 z (pow.f64 (sin.f64 y) 3)))))) (#(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 log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(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 exp.f64 (*.f64 (log.f64 (*.f64 z (pow.f64 (sin.f64 y) 3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 1) 1)))))) |
((#(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 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 2)) (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)) (+.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 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))) 2) 1/2)))) (#(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 (exp.f64 1) (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 2)) (cbrt.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (sqrt.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(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 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 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 expm1.f64 (log1p.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 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 exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1) 1)))))) |
| 1× | egg-herbie |
| 1935× | fma-def_binary64 |
| 663× | distribute-lft-out_binary64 |
| 646× | associate-+l+_binary64 |
| 571× | *-commutative_binary64 |
| 544× | unswap-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 491 |
| 1 | 147 | 446 |
| 2 | 402 | 436 |
| 3 | 1369 | 428 |
| 4 | 2329 | 428 |
| 5 | 3152 | 428 |
| 6 | 3257 | 428 |
| 7 | 3387 | 428 |
| 8 | 3524 | 410 |
| 9 | 5400 | 410 |
| 10 | 6747 | 410 |
| 11 | 7345 | 410 |
| 12 | 7884 | 410 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (*.f64 1 z) 1/3) y) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3))))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 y z)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 y z)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 3) z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 y z)) x))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 1 z) 1/3) y) |
(*.f64 (cbrt.f64 z) y) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))) |
(fma.f64 (cbrt.f64 z) y (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)))) |
(fma.f64 (cbrt.f64 z) y (*.f64 (pow.f64 y 3) (*.f64 (cbrt.f64 z) -1/6))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)) |
(*.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 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (*.f64 (pow.f64 y 5) (*.f64 (cbrt.f64 z) 1/120)))) |
(fma.f64 (cbrt.f64 z) (*.f64 -1/6 (pow.f64 y 3)) (*.f64 (cbrt.f64 z) (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (cbrt.f64 z) (+.f64 y (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 -1/5040 (*.f64 (cbrt.f64 z) (pow.f64 y 7)) (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 -1/5040 (*.f64 (cbrt.f64 z) (pow.f64 y 7)) (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (*.f64 (pow.f64 y 5) (*.f64 (cbrt.f64 z) 1/120))))) |
(+.f64 (*.f64 (cbrt.f64 z) (+.f64 y (*.f64 1/120 (pow.f64 y 5)))) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (cbrt.f64 z) (+.f64 (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (+.f64 y (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 1/120 (pow.f64 y 5)))))) |
(*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 1/120 (pow.f64 y 5) y)))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 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 (pow.f64 1 1/3) (*.f64 y z)) x) |
(fma.f64 1 (*.f64 z y) x) |
(fma.f64 y z x) |
(fma.f64 z y x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 y z)) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 1 (*.f64 z y) x)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) (fma.f64 y z x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 z y x)) |
(fma.f64 z y (fma.f64 x (*.f64 -1/2 (*.f64 y y)) x)) |
(fma.f64 y (fma.f64 x (*.f64 y -1/2) z) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 3) z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 y z)) x))) |
(+.f64 (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 1 (*.f64 z y) x)) (*.f64 -1/6 (*.f64 z (pow.f64 y 3)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) (fma.f64 y z x))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 z y x))) |
(fma.f64 (pow.f64 y 3) (*.f64 z -1/6) (fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 z y x))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 z y (fma.f64 x (*.f64 -1/2 (*.f64 y y)) x))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 x (fma.f64 y (*.f64 y -1/2) 1))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.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))) |
Compiled 9777 to 3822 computations (60.9% saved)
26 alts after pruning (20 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 579 | 8 | 587 |
| Fresh | 5 | 12 | 17 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 5 | 6 |
| Total | 585 | 26 | 611 |
| Status | Error | Program |
|---|---|---|
| 3.7b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) | |
| 34.2b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 44.6b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 y z)) | |
| 37.3b | (+.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2)) 2) (*.f64 z (sin.f64 y))) | |
| ✓ | 25.0b | (+.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
| 29.0b | (/.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)))) | |
| 16.2b | (+.f64 (*.f64 x (cos.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 25.1b | (*.f64 (cos.f64 y) x) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 39.0b | x | |
| 38.0b | (*.f64 z (sin.f64 y)) | |
| ▶ | 53.4b | (*.f64 y z) |
| ✓ | 30.5b | (+.f64 (*.f64 y z) x) |
| 29.0b | (*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))))) | |
| ▶ | 26.2b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 35.7b | (fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| 0.6b | (+.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.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
| ▶ | 14.7b | (+.f64 x (*.f64 z (sin.f64 y))) |
| 30.5b | (fma.f64 z y x) | |
| ▶ | 41.1b | (+.f64 (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) (*.f64 z (sin.f64 y))) |
| 31.1b | (fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) |
Compiled 638 to 426 computations (33.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| ✓ | 0.2b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
Compiled 47 to 18 computations (61.7% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| 2.0ms | x | @ | 0 | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| 2.0ms | y | @ | -inf | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| 2.0ms | y | @ | inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 2.0ms | y | @ | -inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 1× | batch-egg-rewrite |
| 564× | log-prod_binary64 |
| 376× | pow-prod-down_binary64 |
| 307× | pow2_binary64 |
| 231× | prod-diff_binary64 |
| 215× | pow1/3_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 43 |
| 1 | 255 | 33 |
| 2 | 2888 | 31 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (cos.f64 y)) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (cos.f64 y) 2) |
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (cos.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))))))) (#(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 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 4)) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(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 (pow.f64 (cos.f64 y) 6) 1/18)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3/2)))) (#(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 (sqrt.f64 (cos.f64 y)) 2/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 expm1.f64 (log1p.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 exp.f64 (log.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/6 (log.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1/3) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 1) 1/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))))) (#(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 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(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 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) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.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) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 5) (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 (cbrt.f64 (cos.f64 y)) 2)))) (#(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 (pow.f64 (cos.f64 y) 4) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 6) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 2/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4) 1/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 pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/6) 4)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.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 expm1.f64 (log1p.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 exp.f64 (*.f64 2/3 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (*.f64 2/3 (log.f64 (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 1/2 (cos.f64 (+.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cos.f64 y) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))))) (#(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) (pow.f64 (cbrt.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 (pow.f64 (cbrt.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)) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 5) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4) 1) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 4) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(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 (cos.f64 y) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 exp.f64 (*.f64 2 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 y))) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2/3 (log.f64 (cos.f64 y))) 1) 3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) x) 1) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2) (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (sin.f64 y)) (pow.f64 (exp.f64 (cos.f64 y)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (exp.f64 (cos.f64 y)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (cos.f64 y)) x) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) 1) 1)))))) |
| 1× | egg-herbie |
| 795× | fma-neg_binary64 |
| 596× | distribute-lft-out_binary64 |
| 468× | *-commutative_binary64 |
| 377× | distribute-rgt-neg-in_binary64 |
| 354× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 739 |
| 1 | 191 | 639 |
| 2 | 500 | 632 |
| 3 | 1605 | 632 |
| 4 | 3101 | 632 |
| 5 | 5680 | 632 |
| 1× | node limit |
| Inputs |
|---|
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 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 (*.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))))) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1/3 x) (*.f64 -1/6 x))) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1/3 x) (*.f64 -1/6 x))) x))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/6 (*.f64 y y))) |
(fma.f64 -1/6 (*.f64 y y) 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 -1/6 (*.f64 y y)))) |
(fma.f64 -1/72 (pow.f64 y 4) (fma.f64 -1/6 (*.f64 y y) 1)) |
(fma.f64 -1/6 (*.f64 y y) (fma.f64 -1/72 (pow.f64 y 4) 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 -1/6 (*.f64 y y))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (fma.f64 -1/6 (*.f64 y y) 1))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/6 (*.f64 y y) (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 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/3)) |
(fma.f64 (*.f64 y y) -1/3 1) |
(fma.f64 y (*.f64 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 (pow.f64 y 6) -1/405))) |
(+.f64 1 (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3)))) |
(fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 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 (pow.f64 y 6) -1/405)))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 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 (*.f64 -1 (pow.f64 y 2)) 1) |
(fma.f64 -1 (*.f64 y y) 1) |
(-.f64 1 (*.f64 y y)) |
(neg.f64 (fma.f64 y y -1)) |
(+.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 (pow.f64 y 4) 1/3)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 1) (*.f64 y y)) |
(-.f64 (*.f64 (pow.f64 y 4) 1/3) (fma.f64 y y -1)) |
(+.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 (pow.f64 y 4) 1/3))) |
(+.f64 (-.f64 1 (*.f64 y y)) (fma.f64 (pow.f64 y 4) 1/3 (*.f64 (pow.f64 y 6) -2/45))) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 (fma.f64 (pow.f64 y 6) -2/45 1)) (*.f64 y y)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 (*.f64 (pow.f64 y 6) -2/45)) (fma.f64 y y -1)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1/3 x) (*.f64 -1/6 x))) x)) |
(fma.f64 y z (fma.f64 (*.f64 y y) (*.f64 x -1/2) x)) |
(fma.f64 y z (fma.f64 y (*.f64 y (*.f64 x -1/2)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 (pow.f64 y 2) (+.f64 (*.f64 -1/3 x) (*.f64 -1/6 x))) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 (*.f64 y y) (*.f64 x -1/2) x))) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 (*.f64 y y) (*.f64 x -1/2) x)) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 y (*.f64 y (*.f64 x -1/2)) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) (*.f64 z (sin.f64 y))) |
(fma.f64 1 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
Compiled 8 to 4 computations (50% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 z (sin.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 18 to 6 computations (66.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | -inf | (+.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | 0 | (+.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | inf | (+.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | z | @ | -inf | (+.f64 x (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 808× | pow1_binary64 |
| 747× | add-log-exp_binary64 |
| 747× | log1p-expm1-u_binary64 |
| 747× | expm1-log1p-u_binary64 |
| 730× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 147 | 7 |
| 2 | 2003 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 z (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) x)) (sqrt.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x))) (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 x z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (*.f64 z (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.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))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 z (sin.f64 y))))))) |
| 1× | egg-herbie |
| 1295× | fma-def_binary64 |
| 788× | sqr-pow_binary64 |
| 544× | associate-*l*_binary64 |
| 487× | *-commutative_binary64 |
| 448× | cube-prod_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 186 |
| 1 | 65 | 186 |
| 2 | 152 | 182 |
| 3 | 380 | 179 |
| 4 | 995 | 177 |
| 5 | 2360 | 177 |
| 6 | 2811 | 177 |
| 7 | 3453 | 177 |
| 8 | 3569 | 177 |
| 9 | 3741 | 177 |
| 10 | 3960 | 177 |
| 11 | 4946 | 177 |
| 12 | 5406 | 177 |
| 13 | 6006 | 177 |
| 14 | 6759 | 177 |
| 15 | 7693 | 177 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) x))) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(fma.f64 z y x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) x)) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) x)) |
(fma.f64 z y (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) x)) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) x) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) x))) |
(fma.f64 z y (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) x))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) (*.f64 1/120 (pow.f64 y 5))) (fma.f64 z y x)) |
(fma.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y)) x) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.1b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.3b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| ✓ | 9.0b | (sqrt.f64 (*.f64 z (sin.f64 y))) |
Compiled 43 to 14 computations (67.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 9.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1.0ms | z | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1.0ms | z | @ | 0 | (sqrt.f64 (*.f64 z (sin.f64 y))) |
| 1.0ms | y | @ | 0 | (sqrt.f64 (*.f64 z (sin.f64 y))) |
| 1.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1× | batch-egg-rewrite |
| 613× | pow1_binary64 |
| 565× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 551× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 163 | 14 |
| 2 | 1592 | 14 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 z (sin.f64 y))) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (pow.f64 (*.f64 z (sin.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2)) (sqrt.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 1/4)) (pow.f64 (*.f64 z (sin.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 z)) (sqrt.f64 (sin.f64 y)))))) (#(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 cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 48 |
| 1 | 6 | 48 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) |
| ✓ | 0.0b | (sqrt.f64 (cos.f64 y)) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
Compiled 47 to 15 computations (68.1% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
| 0.0ms | x | @ | inf | (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
| 0.0ms | y | @ | 0 | (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
| 0.0ms | x | @ | 0 | (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
| 0.0ms | y | @ | inf | (sqrt.f64 (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 749× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 668× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 1 | 185 | 19 |
| 2 | 2046 | 19 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) |
(sqrt.f64 (cos.f64 y)) |
(*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))) (sqrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (cos.f64 y))) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 x)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (cbrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(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 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 expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 1 (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/4) (pow.f64 (cos.f64 y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2) (pow.f64 (cbrt.f64 (cos.f64 y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))))) |
| 1× | egg-herbie |
| 457× | *-commutative_binary64 |
| 398× | distribute-rgt-in_binary64 |
| 390× | distribute-lft-in_binary64 |
| 298× | distribute-rgt-out_binary64 |
| 294× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 66 | 403 |
| 1 | 174 | 395 |
| 2 | 476 | 344 |
| 3 | 1987 | 323 |
| 4 | 5572 | 323 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 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) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6))))) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 (*.f64 -1/2 y) y 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 (*.f64 -1/2 y) y 1) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (*.f64 x 1/24) x)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(fma.f64 -1/4 (*.f64 y y) 1) |
(fma.f64 (*.f64 y y) -1/4 1) |
(fma.f64 y (*.f64 y -1/4) 1) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4)))) |
(fma.f64 -1/4 (*.f64 y y) (+.f64 1 (*.f64 (pow.f64 y 4) -1/96))) |
(fma.f64 (*.f64 y y) -1/4 (fma.f64 (pow.f64 y 4) -1/96 1)) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 (pow.f64 y 4) -1/96 1)) |
(fma.f64 (pow.f64 y 4) -1/96 (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6))))) |
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (fma.f64 -1/96 (pow.f64 y 4) (*.f64 (pow.f64 y 6) -19/5760))) |
(+.f64 (fma.f64 (*.f64 y y) -1/4 1) (fma.f64 (pow.f64 y 4) -1/96 (*.f64 (pow.f64 y 6) -19/5760))) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 (pow.f64 y 6) -19/5760 (fma.f64 (pow.f64 y 4) -1/96 1))) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 (pow.f64 y 4) -1/96 (fma.f64 (pow.f64 y 6) -19/5760 1))) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (fma.f64 y (*.f64 y -1/4) 1)) |
(*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 x)) (*.f64 (pow.f64 y 4) (*.f64 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x))) 1/2))) |
(fma.f64 (fma.f64 y (*.f64 y -1/4) 1) (sqrt.f64 x) (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) (*.f64 (pow.f64 y 4) 1/2)))) |
(fma.f64 (fma.f64 y (*.f64 y -1/4) 1) (sqrt.f64 x) (*.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 (*.f64 x -1/48) (sqrt.f64 (/.f64 1 x)))))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 x) (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 x -1/48))))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (+.f64 (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 x -1/720) (*.f64 1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))))))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 (/.f64 1 x)))) (fma.f64 1/2 (*.f64 (fma.f64 x -1/720 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) 1/4)) (*.f64 (pow.f64 y 6) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 y (*.f64 y -1/4) 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 4) (fma.f64 x 1/24 (*.f64 x -1/16))) (*.f64 (pow.f64 y 6) (fma.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) 1/4 (*.f64 x -1/720)))))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 y (*.f64 y -1/4) 1)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 x -1/720 (*.f64 -1/4 (*.f64 x 1/48)))))))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 x -1/720 (*.f64 (*.f64 x -1/48) 1/4))))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
Compiled 8484 to 3307 computations (61% saved)
31 alts after pruning (22 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 493 | 15 | 508 |
| Fresh | 8 | 7 | 15 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 8 | 10 |
| Total | 503 | 31 | 534 |
| Status | Error | Program |
|---|---|---|
| 3.7b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) | |
| 49.1b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z)) 2)) | |
| 36.2b | (/.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (*.f64 z (sin.f64 y)) x)) | |
| 34.2b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| ▶ | 32.4b | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 31.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))) | |
| ✓ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 44.6b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 y z)) | |
| 37.3b | (+.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2)) 2) (*.f64 z (sin.f64 y))) | |
| ✓ | 25.0b | (+.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 25.1b | (*.f64 (cos.f64 y) x) | |
| 30.5b | (fma.f64 z y x) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ▶ | 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) |
| 15.2b | (+.f64 x (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| 36.2b | (/.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| ▶ | 38.0b | (*.f64 z (sin.f64 y)) |
| ✓ | 53.4b | (*.f64 y z) |
| ✓ | 30.5b | (+.f64 (*.f64 y z) x) |
| ✓ | 41.1b | (+.f64 (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) (*.f64 z (sin.f64 y))) |
| 0.3b | (fma.f64 (cbrt.f64 (+.f64 1/2 (*.f64 1/2 (cos.f64 (+.f64 y y))))) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ▶ | 35.7b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 29.8b | (+.f64 x (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) | |
| 0.5b | (fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.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))) |
| 39.0b | x | |
| ✓ | 14.7b | (+.f64 x (*.f64 z (sin.f64 y))) |
| ▶ | 37.4b | (+.f64 (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) (*.f64 z (sin.f64 y))) |
| 29.0b | (*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))))) | |
| 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
Compiled 784 to 533 computations (32% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (pow.f64 (cos.f64 y) 2) | |
| 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) | |
| 0.3b | (cbrt.f64 (cos.f64 y)) | |
| ✓ | 0.4b | (log1p.f64 (cbrt.f64 (cos.f64 y))) |
Compiled 60 to 20 computations (66.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 37.0ms | y | @ | inf | (log1p.f64 (cbrt.f64 (cos.f64 y))) |
| 17.0ms | y | @ | -inf | (log1p.f64 (cbrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | 0 | (log1p.f64 (cbrt.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 414× | pow1_binary64 |
| 398× | add-sqr-sqrt_binary64 |
| 390× | *-un-lft-identity_binary64 |
| 382× | add-log-exp_binary64 |
| 382× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 94 | 7 |
| 2 | 1056 | 7 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 (cbrt.f64 (cos.f64 y)) 1)) 2)) (log.f64 (cbrt.f64 (+.f64 (cbrt.f64 (cos.f64 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (hypot.f64 1 (pow.f64 (cos.f64 y) 1/6))) (log.f64 (hypot.f64 1 (pow.f64 (cos.f64 y) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 (cos.f64 y)) (log.f64 (+.f64 1 (-.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))) (log.f64 (-.f64 1 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) (pow.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 2) (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) (sqrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 2) (pow.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 2)) 1/3) (cbrt.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 2) (sqrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))) 1/3) (cbrt.f64 (sqrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))) 2) 3) (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (cbrt.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 1588× | fma-def_binary64 |
| 680× | sqr-pow_binary64 |
| 409× | cube-prod_binary64 |
| 385× | *-commutative_binary64 |
| 371× | pow-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 116 |
| 1 | 57 | 114 |
| 2 | 119 | 110 |
| 3 | 323 | 110 |
| 4 | 1192 | 110 |
| 5 | 2982 | 110 |
| 6 | 3581 | 110 |
| 7 | 3832 | 110 |
| 8 | 4055 | 110 |
| 9 | 4341 | 110 |
| 10 | 4702 | 110 |
| 11 | 6067 | 110 |
| 12 | 6566 | 110 |
| 13 | 7142 | 110 |
| 14 | 7483 | 110 |
| 15 | 7693 | 110 |
| 16 | 7901 | 110 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 2) |
(+.f64 (log.f64 2) (*.f64 -1/12 (pow.f64 y 2))) |
(+.f64 (log.f64 2) (+.f64 (*.f64 -1/12 (pow.f64 y 2)) (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (*.f64 -11/4320 (pow.f64 y 6)) (+.f64 (log.f64 2) (+.f64 (*.f64 -1/12 (pow.f64 y 2)) (*.f64 -1/96 (pow.f64 y 4))))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
| Outputs |
|---|
(log.f64 2) |
(+.f64 (log.f64 2) (*.f64 -1/12 (pow.f64 y 2))) |
(+.f64 (log.f64 2) (*.f64 -1/12 (*.f64 y y))) |
(fma.f64 -1/12 (*.f64 y y) (log.f64 2)) |
(+.f64 (log.f64 2) (+.f64 (*.f64 -1/12 (pow.f64 y 2)) (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (log.f64 2) (fma.f64 -1/12 (*.f64 y y) (*.f64 -1/96 (pow.f64 y 4)))) |
(fma.f64 -1/12 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) (log.f64 2))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y -1/96) -1/12) (log.f64 2)) |
(+.f64 (*.f64 -11/4320 (pow.f64 y 6)) (+.f64 (log.f64 2) (+.f64 (*.f64 -1/12 (pow.f64 y 2)) (*.f64 -1/96 (pow.f64 y 4))))) |
(fma.f64 -11/4320 (pow.f64 y 6) (+.f64 (log.f64 2) (fma.f64 -1/12 (*.f64 y y) (*.f64 -1/96 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/12 (*.f64 y y) (*.f64 -1/96 (pow.f64 y 4))) (fma.f64 -11/4320 (pow.f64 y 6) (log.f64 2))) |
(fma.f64 -11/4320 (pow.f64 y 6) (fma.f64 -1/12 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) (log.f64 2)))) |
(fma.f64 -1/12 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -11/4320 (pow.f64 y 6) (log.f64 2)))) |
(fma.f64 -1/12 (*.f64 y y) (fma.f64 (pow.f64 y 4) (fma.f64 (*.f64 y y) -11/4320 -1/96) (log.f64 2))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 1 (pow.f64 (cos.f64 y) 1/3))) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
(log.f64 (+.f64 (pow.f64 (cos.f64 y) 1/3) 1)) |
(log1p.f64 (cbrt.f64 (cos.f64 y))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 11 to 5 computations (54.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.3b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) | |
| 9.0b | (sqrt.f64 (*.f64 z (sin.f64 y))) |
Compiled 34 to 12 computations (64.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 1.0ms | z | @ | -inf | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 1.0ms | y | @ | 0 | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 1.0ms | z | @ | inf | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 0.0ms | z | @ | 0 | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 1× | batch-egg-rewrite |
| 955× | pow1_binary64 |
| 887× | add-log-exp_binary64 |
| 886× | log1p-expm1-u_binary64 |
| 886× | expm1-log1p-u_binary64 |
| 98× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 9 |
| 1 | 214 | 7 |
| 2 | 2447 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (sin.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 z (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) x)) (sqrt.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x))) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 x z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (*.f64 z (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 z (sin.f64 y))))))) |
| 1× | egg-herbie |
| 2× | fma-def_binary64 |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 129 |
| 1 | 10 | 129 |
| 2 | 11 | 129 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(+.f64 x (*.f64 z (sin.f64 y))) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
x |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
x |
x |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) x) |
(fma.f64 z (sin.f64 y) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.1b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.1b | (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
| ✓ | 0.2b | (*.f64 (sin.f64 y) (sqrt.f64 z)) |
Compiled 42 to 10 computations (76.2% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
| 1.0ms | z | @ | 0 | (*.f64 (sin.f64 y) (sqrt.f64 z)) |
| 1.0ms | z | @ | -inf | (*.f64 (sin.f64 y) (sqrt.f64 z)) |
| 1.0ms | y | @ | 0 | (*.f64 (sin.f64 y) (sqrt.f64 z)) |
| 1.0ms | y | @ | inf | (*.f64 (sin.f64 y) (sqrt.f64 z)) |
| 1× | batch-egg-rewrite |
| 599× | log-prod_binary64 |
| 437× | pow-prod-down_binary64 |
| 378× | fma-def_binary64 |
| 301× | pow2_binary64 |
| 229× | pow-unpow_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 26 |
| 1 | 228 | 26 |
| 2 | 3012 | 26 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 y) (sqrt.f64 z)) |
(*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 y) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) (sqrt.f64 z))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) (sqrt.f64 z)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (sin.f64 y) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) z)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) z))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 y) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (sin.f64 y) z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (sin.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (sin.f64 y) z))) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (sin.f64 y) z (*.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 (sin.f64 y) z))) (/.f64 (pow.f64 (*.f64 (sin.f64 y) z) 2) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) (sqrt.f64 (fma.f64 (sin.f64 y) z (*.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 (sin.f64 y) z) 3)) (/.f64 1 (fma.f64 (*.f64 (sin.f64 y) z) (-.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (sin.f64 y) z) (-.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 (sin.f64 y) z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 (sin.f64 y) z) 3)) (fma.f64 (*.f64 (sin.f64 y) z) (-.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 3)) (+.f64 (pow.f64 (*.f64 (sin.f64 y) z) 2) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 (sin.f64 y) z) 3))) (neg.f64 (fma.f64 (*.f64 (sin.f64 y) z) (-.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 2))) (neg.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (sin.f64 y) z) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (sin.f64 y) z) (-.f64 (*.f64 (sin.f64 y) z) (*.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 (sin.f64 y) z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 (sin.f64 y) z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) z))) (pow.f64 (exp.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (sin.f64 y)) z) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) z))) (+.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 (sin.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 (sin.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))))) 2))))) (#(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 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sin.f64 y) (sqrt.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 fma.f64 (*.f64 (sin.f64 y) z) 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) z))))) (#(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 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 2))) (*.f64 (cbrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.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 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (sin.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) z)) 2) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) z)) 2) (cbrt.f64 (*.f64 (sin.f64 y) z)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (*.f64 (pow.f64 z 1/6) (*.f64 (sin.f64 y) (sqrt.f64 z))) (*.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 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (sin.f64 y) (sqrt.f64 z))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) (pow.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) z) 1/2) (*.f64 x (cos.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 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) z)) (sqrt.f64 (*.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 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (sin.f64 y) z))))) (#(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 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 2)))) (cbrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (*.f64 (sin.f64 y) (sqrt.f64 z))) 1/2) (sqrt.f64 (*.f64 (sin.f64 y) (sqrt.f64 z))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (cbrt.f64 z)) (pow.f64 z 1/6) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (pow.f64 z 1/4)) (pow.f64 z 1/4) (*.f64 x (cos.f64 y))))))) |
| 1× | egg-herbie |
| 789× | unsub-neg_binary64 |
| 747× | fma-neg_binary64 |
| 428× | distribute-rgt-neg-in_binary64 |
| 381× | distribute-lft-neg-in_binary64 |
| 368× | fma-def_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 750 |
| 1 | 175 | 737 |
| 2 | 501 | 707 |
| 3 | 1482 | 707 |
| 4 | 2235 | 707 |
| 5 | 4044 | 706 |
| 6 | 7913 | 706 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y (sqrt.f64 z)) |
(+.f64 (*.f64 y (sqrt.f64 z)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z)))) |
(+.f64 (*.f64 y (sqrt.f64 z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (sqrt.f64 z))))) |
(+.f64 (*.f64 y (sqrt.f64 z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z))) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) (sqrt.f64 z))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (sqrt.f64 z)))))) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.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 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.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)) |
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 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
(*.f64 y (sqrt.f64 z)) |
(+.f64 (*.f64 y (sqrt.f64 z)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z)))) |
(fma.f64 y (sqrt.f64 z) (*.f64 -1/6 (*.f64 (sqrt.f64 z) (pow.f64 y 3)))) |
(*.f64 (sqrt.f64 z) (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 (sqrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 y (sqrt.f64 z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (sqrt.f64 z))))) |
(fma.f64 y (sqrt.f64 z) (fma.f64 -1/6 (*.f64 (sqrt.f64 z) (pow.f64 y 3)) (*.f64 1/120 (*.f64 (sqrt.f64 z) (pow.f64 y 5))))) |
(fma.f64 y (sqrt.f64 z) (*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 1/120 (pow.f64 y 5)))) |
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 y (sqrt.f64 z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) (sqrt.f64 z))) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) (sqrt.f64 z))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (sqrt.f64 z)))))) |
(fma.f64 y (sqrt.f64 z) (fma.f64 -1/6 (*.f64 (sqrt.f64 z) (pow.f64 y 3)) (fma.f64 -1/5040 (*.f64 (sqrt.f64 z) (pow.f64 y 7)) (*.f64 1/120 (*.f64 (sqrt.f64 z) (pow.f64 y 5)))))) |
(+.f64 (*.f64 (sqrt.f64 z) (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) (*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7))) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 (sqrt.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 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.f64 (sqrt.f64 z) (sin.f64 y)) |
(*.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 (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 1/120 (pow.f64 y 5)))) |
(*.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/5040 (pow.f64 y 7) (*.f64 1/120 (pow.f64 y 5))))) |
(*.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 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.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))) |
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 y z (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x)) |
(+.f64 x (*.f64 y (fma.f64 x (*.f64 y -1/2) z))) |
(+.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) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) x (*.f64 z (fma.f64 -1/6 (pow.f64 y 3) 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 (*.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 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 z (sin.f64 y)))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.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 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.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 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.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))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cos.f64 y) x) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
| ✓ | 0.2b | (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) |
| ✓ | 11.2b | (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) |
Compiled 65 to 26 computations (60% saved)
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
| 2.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) |
| 1× | batch-egg-rewrite |
| 767× | pow1_binary64 |
| 718× | add-log-exp_binary64 |
| 717× | log1p-expm1-u_binary64 |
| 717× | expm1-log1p-u_binary64 |
| 699× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 29 |
| 1 | 233 | 29 |
| 2 | 2102 | 29 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) |
(pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) |
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3) |
(*.f64 (cos.f64 y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (pow.f64 (*.f64 (cos.f64 y) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/4) 1/3) (pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/4) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (pow.f64 (*.f64 (cos.f64 y) x) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/4) (pow.f64 (*.f64 (cos.f64 y) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (cbrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (cos.f64 y))) (sqrt.f64 x))))) (#(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 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 expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.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 1 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (*.f64 x (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (cos.f64 y) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (cos.f64 y) x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (*.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 x) (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/4) (pow.f64 (*.f64 (cos.f64 y) x) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 x 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 3/2) (pow.f64 (*.f64 (cos.f64 y) x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) 3/2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) 3) (pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 3) (pow.f64 (sqrt.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (cos.f64 y) x) (cbrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (cos.f64 y) x) (pow.f64 (*.f64 (cos.f64 y) x) 1/4)) (pow.f64 (*.f64 (cos.f64 y) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (cos.f64 y))) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) x) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) x)) 3/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2) 2/3)))) (#(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 (pow.f64 (*.f64 (cos.f64 y) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)))) (#(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 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 expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
| 1× | egg-herbie |
| 722× | fma-neg_binary64 |
| 599× | fma-def_binary64 |
| 464× | +-commutative_binary64 |
| 372× | associate-*r*_binary64 |
| 371× | distribute-rgt-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 833 |
| 1 | 271 | 818 |
| 2 | 865 | 668 |
| 3 | 4421 | 586 |
| 4 | 7160 | 582 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 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) |
(sqrt.f64 (pow.f64 x 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (sqrt.f64 (pow.f64 x 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (+.f64 (sqrt.f64 (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/8 (sqrt.f64 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x)))) (pow.f64 y 4)))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (+.f64 (sqrt.f64 (pow.f64 x 3)) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (+.f64 (*.f64 -1/720 (sqrt.f64 (pow.f64 x 3))) (*.f64 1/2 (*.f64 (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)))) (sqrt.f64 x))))))) (*.f64 (+.f64 (*.f64 1/8 (sqrt.f64 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x)))) (pow.f64 y 4))))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
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))) |
| Outputs |
|---|
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(fma.f64 -1/4 (*.f64 (sqrt.f64 x) (*.f64 y y)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (fma.f64 -1/4 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (sqrt.f64 x) (*.f64 y y)) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (sqrt.f64 x) (*.f64 y y)) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 (pow.f64 y 4) (*.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) (*.f64 1/2 (sqrt.f64 (/.f64 1 x)))) (*.f64 (sqrt.f64 x) (fma.f64 -1/4 (*.f64 y y) 1))) |
(fma.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (*.f64 (sqrt.f64 x) (fma.f64 -1/4 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/4 (*.f64 (sqrt.f64 x) (*.f64 y y)) (+.f64 (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 x -1/720) (*.f64 1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))))))) |
(fma.f64 -1/4 (*.f64 (sqrt.f64 x) (*.f64 y y)) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 x)))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 6) (fma.f64 x -1/720 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) 1/4)))) (sqrt.f64 x)))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 -1/4 (*.f64 y y) 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 4) (fma.f64 x 1/24 (*.f64 x -1/16))) (*.f64 (pow.f64 y 6) (fma.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) 1/4 (*.f64 x -1/720)))))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 -1/4 (*.f64 y y) 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 (*.f64 x -1/48) 1/4 (*.f64 x -1/720)))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(sqrt.f64 (*.f64 x (cos.f64 y))) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 (*.f64 y y) (*.f64 x -1/2) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 (pow.f64 y 4) 1/24 (*.f64 y (*.f64 y -1/2))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) x))) |
(fma.f64 x (fma.f64 (pow.f64 y 6) -1/720 (*.f64 y (*.f64 y -1/2))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 (*.f64 y y) -1/2 1) (fma.f64 (pow.f64 y 6) -1/720 (*.f64 (pow.f64 y 4) 1/24)))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(sqrt.f64 (pow.f64 x 3)) |
(pow.f64 x 3/2) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (sqrt.f64 (pow.f64 x 3))) |
(fma.f64 (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (*.f64 y y) (sqrt.f64 (pow.f64 x 3))) |
(fma.f64 (*.f64 y y) (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (sqrt.f64 (pow.f64 x 3))) |
(fma.f64 (pow.f64 x 3/2) (*.f64 (*.f64 -3/4 y) y) (pow.f64 x 3/2)) |
(*.f64 (+.f64 (*.f64 (*.f64 y y) -3/4) 1) (pow.f64 x 3/2)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (+.f64 (sqrt.f64 (pow.f64 x 3)) (*.f64 (+.f64 (*.f64 1/8 (sqrt.f64 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x)))) (pow.f64 y 4)))) |
(+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (*.f64 y y) (sqrt.f64 (pow.f64 x 3))) (*.f64 (pow.f64 y 4) (fma.f64 1/8 (sqrt.f64 (pow.f64 x 3)) (fma.f64 1/2 (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))))) |
(fma.f64 (*.f64 y y) (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 (pow.f64 x 3)) 1/8 (*.f64 (sqrt.f64 x) (+.f64 (*.f64 1/2 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))) (sqrt.f64 (pow.f64 x 3)))) |
(fma.f64 y (*.f64 (pow.f64 x 3/2) (*.f64 -3/4 y)) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 x) (fma.f64 1/2 (fma.f64 x 1/24 (*.f64 x -1/16)) (fma.f64 x 5/48 (*.f64 x -1/16))) (*.f64 (pow.f64 x 3/2) 1/8)) (pow.f64 x 3/2))) |
(fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 x) (fma.f64 1/2 (*.f64 x -1/48) (*.f64 x 1/24)) (*.f64 (pow.f64 x 3/2) 1/8)) (*.f64 (+.f64 (*.f64 (*.f64 y y) -3/4) 1) (pow.f64 x 3/2))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/4 (sqrt.f64 (pow.f64 x 3))) (*.f64 -1/2 (sqrt.f64 (pow.f64 x 3)))) (pow.f64 y 2)) (+.f64 (sqrt.f64 (pow.f64 x 3)) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (+.f64 (*.f64 -1/720 (sqrt.f64 (pow.f64 x 3))) (*.f64 1/2 (*.f64 (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)))) (sqrt.f64 x))))))) (*.f64 (+.f64 (*.f64 1/8 (sqrt.f64 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (*.f64 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x))) (*.f64 (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (sqrt.f64 x)))) (pow.f64 y 4))))) |
(+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (*.f64 y y) (sqrt.f64 (pow.f64 x 3))) (fma.f64 (pow.f64 y 6) (fma.f64 -1/4 (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (fma.f64 -1/4 (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (fma.f64 -1/720 (sqrt.f64 (pow.f64 x 3)) (*.f64 1/2 (*.f64 (sqrt.f64 x) (+.f64 (*.f64 x -1/720) (*.f64 1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))))))) (*.f64 (pow.f64 y 4) (fma.f64 1/8 (sqrt.f64 (pow.f64 x 3)) (fma.f64 1/2 (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (*.f64 (sqrt.f64 x) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)))))))) |
(+.f64 (fma.f64 (*.f64 y y) (*.f64 (sqrt.f64 (pow.f64 x 3)) -3/4) (sqrt.f64 (pow.f64 x 3))) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 (pow.f64 x 3)) 1/8 (*.f64 (sqrt.f64 x) (+.f64 (*.f64 1/2 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))) (*.f64 (pow.f64 y 6) (+.f64 (fma.f64 1/2 (*.f64 (sqrt.f64 x) (fma.f64 x -1/720 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) 1/4))) (*.f64 -1/720 (sqrt.f64 (pow.f64 x 3)))) (*.f64 (sqrt.f64 x) (+.f64 (*.f64 -1/4 (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))) (*.f64 -1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2))))))))) |
(fma.f64 y (*.f64 (pow.f64 x 3/2) (*.f64 -3/4 y)) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 x) (fma.f64 1/2 (fma.f64 x 1/24 (*.f64 x -1/16)) (fma.f64 x 5/48 (*.f64 x -1/16))) (*.f64 (pow.f64 x 3/2) 1/8)) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/720 (pow.f64 x 3/2)) (*.f64 (sqrt.f64 x) (+.f64 (*.f64 -1/4 (+.f64 (fma.f64 x 5/48 (*.f64 x -1/16)) (fma.f64 x 1/24 (*.f64 x -1/16)))) (+.f64 (*.f64 x -1/1440) (*.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) 1/8))))) (pow.f64 x 3/2)))) |
(fma.f64 y (*.f64 (*.f64 y -3/4) (pow.f64 x 3/2)) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 x) (fma.f64 1/2 (*.f64 x -1/48) (*.f64 x 1/24)) (*.f64 (pow.f64 x 3/2) 1/8)) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/720 (pow.f64 x 3/2)) (*.f64 (sqrt.f64 x) (+.f64 (*.f64 x -1/96) (+.f64 (*.f64 -1/4 (*.f64 x -1/48)) (+.f64 (*.f64 x -1/1440) (*.f64 (*.f64 x -1/48) 1/8)))))) (pow.f64 x 3/2)))) |
(fma.f64 y (*.f64 (*.f64 y -3/4) (pow.f64 x 3/2)) (fma.f64 (pow.f64 y 4) (fma.f64 (sqrt.f64 x) (fma.f64 1/2 (*.f64 x -1/48) (*.f64 x 1/24)) (*.f64 (pow.f64 x 3/2) 1/8)) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 -1/720 (pow.f64 x 3/2)) (*.f64 (sqrt.f64 x) (+.f64 (fma.f64 x -1/1440 (*.f64 (*.f64 x -1/48) 1/8)) (*.f64 -1/4 (fma.f64 x 1/24 (*.f64 x -1/48)))))) (pow.f64 x 3/2)))) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
(sqrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))) |
(sqrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3))) |
(*.f64 (pow.f64 x 3/2) (pow.f64 (cos.f64 y) 3/2)) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 (*.f64 y y) (*.f64 x -1/2) 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/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 (pow.f64 y 4) 1/24 (*.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/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 (sqrt.f64 x) -1/4) 2)) x))) |
(fma.f64 x (fma.f64 (pow.f64 y 6) -1/720 (*.f64 y (*.f64 y -1/2))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 (*.f64 y y) -1/2 1) (fma.f64 (pow.f64 y 6) -1/720 (*.f64 (pow.f64 y 4) 1/24)))) |
Compiled 11196 to 4423 computations (60.5% saved)
32 alts after pruning (21 fresh and 11 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 625 | 11 | 636 |
| Fresh | 7 | 10 | 17 |
| Picked | 0 | 1 | 1 |
| Done | 3 | 10 | 13 |
| Total | 635 | 32 | 667 |
| Status | Error | Program |
|---|---|---|
| 3.7b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) | |
| 36.2b | (/.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (*.f64 z (sin.f64 y)) x)) | |
| 34.2b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
| 44.6b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 y z)) | |
| 38.4b | (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3) | |
| 36.2b | (/.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| 49.1b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) | |
| 37.3b | (+.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2)) 2) (*.f64 z (sin.f64 y))) | |
| ✓ | 25.0b | (+.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
| 40.0b | (+.f64 x (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))) | |
| 0.5b | (fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| 16.6b | (fma.f64 (pow.f64 (cos.f64 y) 2/3) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) | |
| 30.5b | (fma.f64 z y x) | |
| 42.8b | (+.f64 x (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 25.1b | (*.f64 (cos.f64 y) x) | |
| 52.9b | (+.f64 x (pow.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z)) 2)) | |
| 29.0b | (*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 (sin.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z)))) | |
| ✓ | 0.3b | (fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| ✓ | 38.0b | (*.f64 z (sin.f64 y)) |
| ✓ | 53.4b | (*.f64 y z) |
| ✓ | 30.5b | (+.f64 (*.f64 y z) x) |
| 52.3b | (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) | |
| ✓ | 37.4b | (+.f64 (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) (*.f64 z (sin.f64 y))) |
| 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) | |
| 16.6b | (fma.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 4/3) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) | |
| ✓ | 41.1b | (+.f64 (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) (*.f64 z (sin.f64 y))) |
| 0.3b | (fma.f64 (cbrt.f64 (+.f64 1/2 (*.f64 1/2 (cos.f64 (+.f64 y y))))) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 14.7b | (+.f64 x (*.f64 z (sin.f64 y))) |
| 39.0b | x |
Compiled 451 to 306 computations (32.2% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(fma.f64 z y x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
(cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
(fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
(+.f64 x (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) |
(+.f64 x (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) |
(+.f64 x (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 y z)) |
(/.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (*.f64 z (sin.f64 y)) x)) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) |
(+.f64 x (pow.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z)) 2)) |
(+.f64 x (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
(+.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) |
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y))) |
(fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z)) 2)) |
(+.f64 (pow.f64 (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))) |
(+.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2)) 2) (*.f64 z (sin.f64 y))) |
(fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 3)) 2) (*.f64 z (sin.f64 y))) |
(fma.f64 (cbrt.f64 (+.f64 1/2 (*.f64 1/2 (cos.f64 (+.f64 y y))))) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
(/.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)))) |
(*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 (sin.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z)))) |
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
(*.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))))) |
(fma.f64 (pow.f64 (cos.f64 y) 2/3) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 4/3) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
4 calls:
| 135.0ms | x |
| 113.0ms | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 92.0ms | z |
| 83.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 681 to 214 computations (68.6% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(fma.f64 z y x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
(cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
4 calls:
| 58.0ms | x |
| 18.0ms | y |
| 18.0ms | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 17.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 95 to 39 computations (58.9% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(fma.f64 z y x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(+.f64 x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 z (sin.f64 y))) |
3 calls:
| 129.0ms | z |
| 70.0ms | y |
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 8.3b | 3 | x |
| 9.5b | 6 | y |
| 6.2b | 5 | z |
Compiled 53 to 20 computations (62.3% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 105.0ms | 5.818004494593688e-60 | 4.440031676923183e-57 |
| 230.0ms | 1.6218222859138105e-133 | 2.601523267934546e-133 |
| 174.0ms | 1.541180730348711e-174 | 1.2205218070005764e-172 |
| 98.0ms | -7.374097473638935e+21 | -155604517744113860.0 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(fma.f64 z y x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
3 calls:
| 287.0ms | y |
| 162.0ms | z |
| 48.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.2b | 5 | x |
| 10.6b | 7 | y |
| 12.6b | 3 | z |
Compiled 47 to 19 computations (59.6% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 311.0ms | 3.0838474813585634e+193 | 1.6753291705899198e+195 |
| 54.0ms | 2.236350086383115e-18 | 8.968143961225647e-7 |
| 47.0ms | -0.00013607478070912725 | -3.6696838380718543e-16 |
| 75.0ms | -3.8631468672212416e+29 | -1.9386270498887087e+20 |
| 45.0ms | -1.0334180033719905e+58 | -4.45450690179577e+54 |
| 67.0ms | -7.47855548357234e+139 | -5.742112648211332e+130 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(fma.f64 z y x) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 22.0ms | z |
| 18.0ms | y |
| 18.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 21.1b | 3 | x |
| 15.9b | 3 | y |
| 18.8b | 3 | z |
Compiled 39 to 17 computations (56.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 36.0ms | 2.236350086383115e-18 | 8.968143961225647e-7 |
| 38.0ms | -3.511397279149462 | -0.00013607478070912725 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(fma.f64 z y x) |
(fma.f64 z y x) |
| Outputs |
|---|
(fma.f64 z y x) |
3 calls:
| 14.0ms | x |
| 6.0ms | z |
| 5.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 30.5b | 1 | x |
| 30.5b | 1 | y |
| 30.5b | 1 | z |
Compiled 35 to 15 computations (57.1% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
| Outputs |
|---|
(+.f64 (*.f64 y z) x) |
3 calls:
| 6.0ms | y |
| 5.0ms | x |
| 5.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 30.5b | 1 | x |
| 30.5b | 1 | y |
| 30.5b | 1 | z |
Compiled 27 to 14 computations (48.1% saved)
| Inputs |
|---|
x |
x |
x |
x |
(*.f64 y z) |
| Outputs |
|---|
(*.f64 y z) |
x |
3 calls:
| 13.0ms | x |
| 12.0ms | z |
| 4.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 37.6b | 3 | x |
| 39.0b | 1 | y |
| 35.5b | 2 | z |
Compiled 22 to 13 computations (40.9% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 54.0ms | -3.8163805910584736e+124 | -2.4006122241543398e+117 |
Compiled 18 to 13 computations (27.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
x |
x |
x |
x |
| Outputs |
|---|
x |
3 calls:
| 6.0ms | y |
| 4.0ms | x |
| 4.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 39.0b | 1 | x |
| 39.0b | 1 | y |
| 39.0b | 1 | z |
Compiled 19 to 12 computations (36.8% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 219 |
| 1 | 60 | 219 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(if (<=.f64 z -7374097473638934511616) (+.f64 x (*.f64 z (sin.f64 y))) (if (<=.f64 z 6866743714101171/4455508415646675018204269146191690746966043464109921807206242693261010905477224010259680479802120507596330380442963288389344438204468201170168614570041224793214838549179946240315306828365824) (*.f64 (cos.f64 y) x) (if (<=.f64 z 1036886296559945/6393341031047152089869511126616404594173128996177860916959553453312761321102879990006386899074031556935325554936640763689877454191182408307282280448) (+.f64 x (*.f64 z (sin.f64 y))) (if (<=.f64 z 1315779093009959/226156424291633194186662080095093570025917938800079226639565593765455331328) (*.f64 (cos.f64 y) x) (+.f64 x (*.f64 z (sin.f64 y))))))) |
(if (<=.f64 y -74785554835723396920563132145846647590859486735153207531484167435375218465182141253686194518359671845528111282894086383150532880840473444352) (*.f64 (cos.f64 y) x) (if (<=.f64 y -10334180033719904643329154150049343201942328708010411556864) (*.f64 z (sin.f64 y)) (if (<=.f64 y -386314686722124158820325261312) (*.f64 (cos.f64 y) x) (if (<=.f64 y -627534163656855/4611686018427387904) (*.f64 z (sin.f64 y)) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (if (<=.f64 y 30838474813585633975046676979837141466791309232746476653830176576538620691170667869332053724555763074758850223779307693475188811598469548057135294160506119468044114386361962288584586825079717888) (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))))))) |
(if (<=.f64 y -7906963738963645/2251799813685248) (*.f64 (cos.f64 y) x) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (*.f64 (cos.f64 y) x))) |
(fma.f64 z y x) |
(+.f64 (*.f64 y z) x) |
(if (<=.f64 z -38163805910584736164942591683711550816274341321654447333362082873942566408451128471372790553256471251982757528241087237324800) (*.f64 y z) x) |
x |
| Outputs |
|---|
(fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (sin.f64 y) z) (*.f64 x (cos.f64 y))) |
(if (<=.f64 z -7374097473638934511616) (+.f64 x (*.f64 z (sin.f64 y))) (if (<=.f64 z 6866743714101171/4455508415646675018204269146191690746966043464109921807206242693261010905477224010259680479802120507596330380442963288389344438204468201170168614570041224793214838549179946240315306828365824) (*.f64 (cos.f64 y) x) (if (<=.f64 z 1036886296559945/6393341031047152089869511126616404594173128996177860916959553453312761321102879990006386899074031556935325554936640763689877454191182408307282280448) (+.f64 x (*.f64 z (sin.f64 y))) (if (<=.f64 z 1315779093009959/226156424291633194186662080095093570025917938800079226639565593765455331328) (*.f64 (cos.f64 y) x) (+.f64 x (*.f64 z (sin.f64 y))))))) |
(if (<=.f64 z -7374097473638934511616) (+.f64 x (*.f64 (sin.f64 y) z)) (if (<=.f64 z 6866743714101171/4455508415646675018204269146191690746966043464109921807206242693261010905477224010259680479802120507596330380442963288389344438204468201170168614570041224793214838549179946240315306828365824) (*.f64 x (cos.f64 y)) (if (<=.f64 z 1036886296559945/6393341031047152089869511126616404594173128996177860916959553453312761321102879990006386899074031556935325554936640763689877454191182408307282280448) (+.f64 x (*.f64 (sin.f64 y) z)) (if (<=.f64 z 1315779093009959/226156424291633194186662080095093570025917938800079226639565593765455331328) (*.f64 x (cos.f64 y)) (+.f64 x (*.f64 (sin.f64 y) z)))))) |
(if (<=.f64 y -74785554835723396920563132145846647590859486735153207531484167435375218465182141253686194518359671845528111282894086383150532880840473444352) (*.f64 (cos.f64 y) x) (if (<=.f64 y -10334180033719904643329154150049343201942328708010411556864) (*.f64 z (sin.f64 y)) (if (<=.f64 y -386314686722124158820325261312) (*.f64 (cos.f64 y) x) (if (<=.f64 y -627534163656855/4611686018427387904) (*.f64 z (sin.f64 y)) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (if (<=.f64 y 30838474813585633975046676979837141466791309232746476653830176576538620691170667869332053724555763074758850223779307693475188811598469548057135294160506119468044114386361962288584586825079717888) (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))))))) |
(if (<=.f64 y -74785554835723396920563132145846647590859486735153207531484167435375218465182141253686194518359671845528111282894086383150532880840473444352) (*.f64 x (cos.f64 y)) (if (<=.f64 y -10334180033719904643329154150049343201942328708010411556864) (*.f64 (sin.f64 y) z) (if (<=.f64 y -386314686722124158820325261312) (*.f64 x (cos.f64 y)) (if (<=.f64 y -627534163656855/4611686018427387904) (*.f64 (sin.f64 y) z) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (if (<=.f64 y 30838474813585633975046676979837141466791309232746476653830176576538620691170667869332053724555763074758850223779307693475188811598469548057135294160506119468044114386361962288584586825079717888) (*.f64 x (cos.f64 y)) (*.f64 (sin.f64 y) z))))))) |
(if (<=.f64 y -7906963738963645/2251799813685248) (*.f64 (cos.f64 y) x) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (*.f64 (cos.f64 y) x))) |
(if (<=.f64 y -7906963738963645/2251799813685248) (*.f64 x (cos.f64 y)) (if (<=.f64 y 5805896764055569/2596148429267413814265248164610048) (fma.f64 z y x) (*.f64 x (cos.f64 y)))) |
(fma.f64 z y x) |
(+.f64 (*.f64 y z) x) |
(+.f64 x (*.f64 y z)) |
(if (<=.f64 z -38163805910584736164942591683711550816274341321654447333362082873942566408451128471372790553256471251982757528241087237324800) (*.f64 y z) x) |
x |
Compiled 176 to 92 computations (47.7% saved)
Compiled 152 to 52 computations (65.8% saved)
Loading profile data...