Time bar (total: 11.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 5 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 6 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 7 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 8 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 9 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 10 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 11 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.7s | 2050× | body | 1024 | valid |
| 1.6s | 5136× | body | 256 | valid |
| 510.0ms | 1062× | body | 512 | valid |
| 9.0ms | 8× | 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 (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
| Outputs |
|---|
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(fma.f64 y (sin.f64 x) (*.f64 z (cos.f64 x))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
(fma.f64 x (sin.f64 z) (*.f64 y (cos.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 (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.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 (sin.f64 y) (*.f64 z (cos.f64 y))) |
| ▶ | 0.1b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 23 to 15 computations (34.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cos.f64 y) |
| ✓ | 0.0b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 0.1b | (*.f64 x (sin.f64 y)) |
| ✓ | 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | 0 | (*.f64 x (sin.f64 y)) |
| 2.0ms | x | @ | -inf | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 1.0ms | x | @ | 0 | (*.f64 x (sin.f64 y)) |
| 1.0ms | z | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | z | @ | 0 | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (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 | 27 |
| 1 | 187 | 27 |
| 2 | 2497 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (cos.f64 y)) |
(*.f64 x (sin.f64 y)) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(cos.f64 y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 z (cos.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 z (cos.f64 y))))) (sqrt.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 z (cos.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 z) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 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 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 y)) (*.f64 (log.f64 z) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (*.f64 (log.f64 z) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (sin.f64 y))))) (sqrt.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (sin.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 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 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 y)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 2)) (cbrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (sqrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cos.f64 y)) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (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)) x) (*.f64 z (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)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 y))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 y))) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (cos.f64 y))) 2)) (cbrt.f64 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (cos.f64 y)))) (sqrt.f64 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1) 1)))))) |
| 1× | egg-herbie |
| 682× | sqr-pow_binary64 |
| 626× | cube-prod_binary64 |
| 461× | *-commutative_binary64 |
| 443× | pow-sqr_binary64 |
| 406× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 784 |
| 1 | 168 | 773 |
| 2 | 459 | 748 |
| 3 | 1472 | 746 |
| 4 | 2333 | 746 |
| 5 | 3438 | 746 |
| 6 | 3576 | 746 |
| 7 | 3793 | 746 |
| 8 | 4008 | 746 |
| 9 | 4290 | 746 |
| 10 | 4703 | 746 |
| 11 | 5202 | 746 |
| 12 | 5778 | 746 |
| 13 | 6468 | 746 |
| 14 | 6976 | 746 |
| 15 | 7372 | 746 |
| 16 | 7760 | 746 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1)) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))) |
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)) |
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y))) |
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 x (+.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 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z)) |
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 y x z)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z (*.f64 y x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z)) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(fma.f64 y (*.f64 y -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 1.0ms | x | @ | -inf | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.0ms | x | @ | inf | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.0ms | y | @ | inf | (fma.f64 x (sin.f64 y) (*.f64 z (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 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (sin.f64 y)) 1) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 853× | fma-def_binary64 |
| 757× | sqr-pow_binary64 |
| 556× | distribute-lft-out_binary64 |
| 476× | *-commutative_binary64 |
| 441× | cube-prod_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 396 |
| 1 | 63 | 394 |
| 2 | 151 | 394 |
| 3 | 400 | 391 |
| 4 | 1332 | 388 |
| 5 | 2659 | 388 |
| 6 | 4130 | 388 |
| 7 | 4254 | 388 |
| 8 | 4430 | 388 |
| 9 | 4644 | 388 |
| 10 | 4980 | 388 |
| 11 | 5334 | 388 |
| 12 | 5810 | 388 |
| 13 | 6353 | 388 |
| 14 | 7015 | 388 |
| 15 | 7843 | 388 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z)) |
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (*.f64 z -1/2) z)) |
(fma.f64 y (fma.f64 y (*.f64 z -1/2) x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z))) |
(fma.f64 y (*.f64 y (*.f64 z -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 x -1/6) (*.f64 z -1/2)) z)) |
(fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 z (fma.f64 y (*.f64 y -1/2) 1))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
Compiled 4409 to 1507 computations (65.8% saved)
26 alts after pruning (25 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 281 | 25 | 306 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 282 | 26 | 308 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 4.9b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y))) | |
| 33.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y))) | |
| 0.6b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y))) | |
| 25.8b | (*.f64 (cos.f64 y) z) | |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) | |
| 28.6b | (/.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)))) | |
| 0.4b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) | |
| ▶ | 13.6b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
| 32.9b | (fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y))) | |
| 26.7b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y))) | |
| 0.9b | (+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) | |
| 0.6b | (fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y))) | |
| ▶ | 0.6b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) (*.f64 z (cos.f64 y))) |
| 31.4b | (fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y))) | |
| 28.3b | (fma.f64 y x z) | |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y))))) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ▶ | 28.3b | (+.f64 (*.f64 y x) z) |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1))) | |
| ▶ | 24.1b | (+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) |
| 37.2b | (*.f64 (sin.f64 y) x) | |
| 31.7b | (+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) | |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) | |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) | |
| 37.7b | z |
Compiled 708 to 475 computations (32.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| ✓ | 0.1b | (*.f64 (sin.f64 y) x) |
Compiled 22 to 7 computations (68.2% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 0.0ms | z | @ | inf | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | 0 | (*.f64 (sin.f64 y) x) |
| 0.0ms | y | @ | inf | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | -inf | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 757× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 672× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 156 | 18 |
| 2 | 1853 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 y) x) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (*.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (*.f64 (sin.f64 y) x) 3)) (+.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 (sin.f64 y) x) 2) (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (pow.f64 (*.f64 (sin.f64 y) x) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)))))))) |
| 1× | egg-herbie |
| 845× | fma-def_binary64 |
| 626× | distribute-lft-out_binary64 |
| 551× | sqr-pow_binary64 |
| 466× | associate-+l+_binary64 |
| 439× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 472 |
| 1 | 109 | 467 |
| 2 | 285 | 453 |
| 3 | 811 | 451 |
| 4 | 2536 | 451 |
| 5 | 3406 | 451 |
| 6 | 5141 | 451 |
| 7 | 5482 | 451 |
| 8 | 6064 | 451 |
| 9 | 6482 | 451 |
| 10 | 6946 | 451 |
| 11 | 7476 | 451 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))) |
(*.f64 x (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 y (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 x (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 -1/6 (pow.f64 y 3) y)))) |
(*.f64 x (+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7)))))) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z)) |
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(fma.f64 y x (fma.f64 z (*.f64 -1/2 (*.f64 y y)) z)) |
(fma.f64 y (*.f64 z (*.f64 y -1/2)) (fma.f64 y x z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z)) |
(fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) z)) |
(fma.f64 y (*.f64 z (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y x) z) |
Compiled 14 to 5 computations (64.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | -inf | (+.f64 (*.f64 y x) z) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 y x) z) |
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 y x) z) |
| 1.0ms | y | @ | inf | (+.f64 (*.f64 y x) z) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 y x) z) |
| 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 x) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y x z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y x z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y x z)) (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2) (cbrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y x z)) (sqrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y x) z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (*.f64 z z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 y (*.f64 x z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (-.f64 (*.f64 y x) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 y x) 2)) (-.f64 z (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y x z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y x z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y x z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y x z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y x z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) z))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 24 |
| 1 | 6 | 24 |
| 1× | saturated |
| Inputs |
|---|
z |
(*.f64 y x) |
(*.f64 y x) |
z |
(*.f64 y x) |
(*.f64 y x) |
(*.f64 y x) |
z |
z |
| Outputs |
|---|
z |
(*.f64 y x) |
(*.f64 y x) |
z |
(*.f64 y x) |
(*.f64 y x) |
(*.f64 y x) |
z |
z |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (pow.f64 (*.f64 z (cos.f64 y)) 3) |
| 0.1b | (*.f64 x (sin.f64 y)) | |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| ✓ | 36.3b | (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)) |
Compiled 44 to 17 computations (61.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | z | @ | -inf | (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)) |
| 2.0ms | y | @ | 0 | (pow.f64 (*.f64 z (cos.f64 y)) 3) |
| 2.0ms | y | @ | -inf | (pow.f64 (*.f64 z (cos.f64 y)) 3) |
| 2.0ms | y | @ | inf | (pow.f64 (*.f64 z (cos.f64 y)) 3) |
| 1.0ms | z | @ | 0 | (pow.f64 (*.f64 z (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 z (cos.f64 y)) 3)) |
(pow.f64 (*.f64 z (cos.f64 y)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (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)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/3) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (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 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 z (cos.f64 y)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (*.f64 (cos.f64 y) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (*.f64 z (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (cos.f64 y)) (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) (pow.f64 (*.f64 z (cos.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 3) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 3) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) z) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (cos.f64 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (sqrt.f64 (*.f64 z (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 z (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 594× | distribute-rgt-out_binary64 |
| 532× | fma-def_binary64 |
| 528× | distribute-rgt-in_binary64 |
| 524× | distribute-lft-in_binary64 |
| 415× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 71 | 618 |
| 1 | 205 | 592 |
| 2 | 755 | 558 |
| 3 | 3923 | 551 |
| 4 | 7165 | 551 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(pow.f64 z 3) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (pow.f64 z 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)))))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/24 (pow.f64 z 2))) z) (+.f64 (*.f64 -1/720 (pow.f64 z 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)) (*.f64 -1/24 (pow.f64 z 3)))))) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z))))))) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1))) |
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z) |
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1))) |
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z) |
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1))) |
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z) |
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1))) |
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z) |
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1)))) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z)) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(pow.f64 z 3) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (pow.f64 z 3)) |
(fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3)) |
(fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (pow.f64 z 3)) |
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (pow.f64 z 3)) |
(*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 z 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)))))) |
(+.f64 (fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3)) (*.f64 (pow.f64 y 4) (fma.f64 1/24 (pow.f64 z 3) (fma.f64 1/2 (pow.f64 z 3) (*.f64 z (*.f64 (*.f64 z z) 1/3)))))) |
(fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (fma.f64 (pow.f64 y 4) (+.f64 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) 13/24)) (pow.f64 z 3))) |
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (pow.f64 z 3))) |
(fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 z 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/24 (pow.f64 z 2))) z) (+.f64 (*.f64 -1/720 (pow.f64 z 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)) (*.f64 -1/24 (pow.f64 z 3)))))) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z))))))) |
(+.f64 (fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3)) (fma.f64 (pow.f64 y 6) (fma.f64 (*.f64 (*.f64 z z) -2/45) z (fma.f64 -1/720 (pow.f64 z 3) (fma.f64 -1/2 (*.f64 z (*.f64 (*.f64 z z) 1/3)) (*.f64 (pow.f64 z 3) -1/24)))) (*.f64 (pow.f64 y 4) (fma.f64 1/24 (pow.f64 z 3) (fma.f64 1/2 (pow.f64 z 3) (*.f64 z (*.f64 (*.f64 z z) 1/3))))))) |
(+.f64 (fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (pow.f64 z 3)) (fma.f64 (pow.f64 y 4) (+.f64 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) 13/24)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (pow.f64 z 3) -2/45) (fma.f64 -1/720 (pow.f64 z 3) (fma.f64 -1/2 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) -1/24))))))) |
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (fma.f64 (pow.f64 y 6) (+.f64 (fma.f64 (pow.f64 z 3) -1/24 (*.f64 (pow.f64 z 3) -1/6)) (*.f64 (pow.f64 z 3) -11/240)) (pow.f64 z 3)))) |
(fma.f64 y (*.f64 (pow.f64 z 3) (*.f64 -3/2 y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 z (*.f64 (*.f64 z z) -5/24)) (*.f64 (pow.f64 z 3) -11/240)) (pow.f64 z 3)))) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 x (sin.f64 y)) | |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| ✓ | 0.6b | (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) |
| ✓ | 9.0b | (cbrt.f64 (*.f64 x (sin.f64 y))) |
Compiled 43 to 14 computations (67.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) |
| 3.0ms | y | @ | -inf | (cbrt.f64 (*.f64 x (sin.f64 y))) |
| 3.0ms | y | @ | inf | (cbrt.f64 (*.f64 x (sin.f64 y))) |
| 2.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) |
| 2.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) |
| 1× | batch-egg-rewrite |
| 638× | pow1_binary64 |
| 596× | add-log-exp_binary64 |
| 596× | log1p-expm1-u_binary64 |
| 596× | expm1-log1p-u_binary64 |
| 581× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 166 | 14 |
| 2 | 1669 | 14 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 x (sin.f64 y))) |
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (pow.f64 (*.f64 x (sin.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 1/3) (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) 3) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 3) (pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (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 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 x)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (*.f64 x (sin.f64 y)) 1/6)) (pow.f64 (*.f64 x (sin.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 1290× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 625× | cube-prod_binary64 |
| 559× | fabs-mul_binary64 |
| 373× | unpow3_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 136 |
| 1 | 26 | 112 |
| 2 | 40 | 112 |
| 3 | 51 | 112 |
| 4 | 75 | 112 |
| 5 | 169 | 112 |
| 6 | 541 | 112 |
| 7 | 1207 | 112 |
| 8 | 1299 | 112 |
| 9 | 1437 | 112 |
| 10 | 1600 | 112 |
| 11 | 1839 | 112 |
| 12 | 2166 | 112 |
| 13 | 2594 | 112 |
| 14 | 3100 | 112 |
| 15 | 3706 | 112 |
| 16 | 4429 | 112 |
| 17 | 4750 | 112 |
| 18 | 5034 | 112 |
| 19 | 5258 | 112 |
| 20 | 5438 | 112 |
| 21 | 5522 | 112 |
| 22 | 6465 | 112 |
| 23 | 7442 | 112 |
| 24 | 7908 | 112 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(pow.f64 (*.f64 (sin.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 (sin.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x)) |
(*.f64 (*.f64 (sin.f64 y) x) 1) |
(*.f64 (sin.f64 y) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
| ✓ | 0.0b | (sqrt.f64 (cos.f64 y)) |
| ✓ | 0.1b | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 0.1b | (*.f64 x (sin.f64 y)) |
Compiled 35 to 9 computations (74.3% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | inf | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | -inf | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
| 1.0ms | y | @ | -inf | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1.0ms | z | @ | inf | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 931× | pow1_binary64 |
| 850× | add-log-exp_binary64 |
| 850× | log1p-expm1-u_binary64 |
| 850× | expm1-log1p-u_binary64 |
| 828× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 1 | 196 | 27 |
| 2 | 2329 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sqrt.f64 (cos.f64 y))) |
(sqrt.f64 (cos.f64 y)) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (sqrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (cos.f64 y) (*.f64 z z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))))))) |
((#(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 (sqrt.f64 (cos.f64 y))) (cbrt.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 (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 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (*.f64 x (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 1900× | fma-def_binary64 |
| 662× | sqr-pow_binary64 |
| 432× | *-commutative_binary64 |
| 416× | cube-prod_binary64 |
| 351× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 610 |
| 1 | 131 | 602 |
| 2 | 334 | 593 |
| 3 | 1095 | 591 |
| 4 | 1775 | 591 |
| 5 | 2765 | 591 |
| 6 | 2899 | 591 |
| 7 | 3054 | 591 |
| 8 | 3220 | 585 |
| 9 | 5102 | 585 |
| 10 | 5419 | 585 |
| 11 | 5787 | 585 |
| 12 | 6252 | 585 |
| 13 | 6805 | 585 |
| 14 | 7554 | 585 |
| 15 | 7960 | 585 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
z |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))) |
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))))) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
z |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) |
(*.f64 (fma.f64 -1/4 (*.f64 y y) 1) z) |
(*.f64 z (fma.f64 -1/4 (*.f64 y y) 1)) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) 1)) |
(fma.f64 y (*.f64 -1/4 (*.f64 y z)) z) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/4 (*.f64 y (*.f64 y z)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4))))) |
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (fma.f64 -1/4 (*.f64 y (*.f64 y z)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z))) |
(+.f64 z (*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -19/5760 (pow.f64 y 6) (*.f64 -1/96 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -19/5760 (pow.f64 y 6) 1)))) |
(*.f64 z (fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(fma.f64 -1/4 (*.f64 y y) 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)))) |
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (*.f64 -1/96 (pow.f64 y 4))) |
(fma.f64 -1/4 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) 1)) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 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 -19/5760 (pow.f64 y 6)))) |
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (fma.f64 -19/5760 (pow.f64 y 6) (*.f64 -1/96 (pow.f64 y 4)))) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -19/5760 (pow.f64 y 6) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (fma.f64 y x z)) |
(fma.f64 y x (fma.f64 z (*.f64 (*.f64 y y) -1/2) z)) |
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(fma.f64 y (fma.f64 -1/2 (*.f64 y z) x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (+.f64 z (*.f64 (*.f64 -1/6 (pow.f64 y 3)) x)))) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 y x (fma.f64 z (*.f64 (*.f64 y y) -1/2) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z))) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z))) |
(fma.f64 y (fma.f64 -1/6 (*.f64 y (*.f64 y x)) (fma.f64 z (*.f64 y -1/2) x)) z) |
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y x) -1/6 (*.f64 z -1/2)) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
Compiled 8944 to 3338 computations (62.7% saved)
29 alts after pruning (25 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 536 | 17 | 553 |
| Fresh | 12 | 8 | 20 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 550 | 29 | 579 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 4.9b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y))) | |
| ▶ | 33.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) | |
| 0.8b | (+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y))) | |
| 25.8b | (*.f64 (cos.f64 y) z) | |
| 12.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z) | |
| 37.2b | (*.f64 (sin.f64 y) x) | |
| 13.6b | (fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) | |
| 32.9b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y))) | |
| 32.3b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) | |
| ▶ | 0.6b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
| 0.8b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y))) | |
| 28.3b | (fma.f64 y x z) | |
| 31.4b | (+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y))) | |
| 1.4b | (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3) | |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y))))) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 28.3b | (+.f64 (*.f64 y x) z) |
| 24.1b | (+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| 37.7b | z | |
| 26.3b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x)) | |
| ▶ | 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
| 13.6b | (fma.f64 (*.f64 z (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) | |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1))) | |
| ✓ | 24.1b | (+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) |
| 0.4b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) | |
| ▶ | 52.5b | (*.f64 y x) |
| ▶ | 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
Compiled 772 to 520 computations (32.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (exp.f64 (cos.f64 y)) |
| 0.1b | (*.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) |
| ✓ | 0.3b | (log.f64 (exp.f64 (cos.f64 y))) |
Compiled 38 to 10 computations (73.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (exp.f64 (cos.f64 y)) |
| 0.0ms | y | @ | 0 | (log.f64 (exp.f64 (cos.f64 y))) |
| 0.0ms | y | @ | inf | (log.f64 (exp.f64 (cos.f64 y))) |
| 0.0ms | y | @ | -inf | (exp.f64 (cos.f64 y)) |
| 0.0ms | y | @ | -inf | (log.f64 (exp.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 531× | pow1_binary64 |
| 504× | add-sqr-sqrt_binary64 |
| 484× | log1p-expm1-u_binary64 |
| 484× | expm1-log1p-u_binary64 |
| 483× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 119 | 14 |
| 2 | 1330 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (cos.f64 y))) |
(*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) |
(exp.f64 (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2) (cbrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) (sqrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (cos.f64 y)))))))) |
| 1× | egg-herbie |
| 1628× | fma-def_binary64 |
| 820× | unswap-sqr_binary64 |
| 612× | sqr-pow_binary64 |
| 356× | pow-sqr_binary64 |
| 355× | cube-prod_binary64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 338 |
| 1 | 125 | 330 |
| 2 | 339 | 311 |
| 3 | 1102 | 305 |
| 4 | 2575 | 305 |
| 5 | 3032 | 305 |
| 6 | 3165 | 305 |
| 7 | 3291 | 305 |
| 8 | 3425 | 305 |
| 9 | 3600 | 304 |
| 10 | 4446 | 304 |
| 11 | 6146 | 304 |
| 12 | 6707 | 304 |
| 13 | 7360 | 304 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(exp.f64 1) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1) |
(fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) z) |
(fma.f64 y (*.f64 y (*.f64 -1/2 z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1) z) |
(fma.f64 z (*.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2)) z) |
(fma.f64 (*.f64 y y) (*.f64 z (fma.f64 y (*.f64 y 1/24) -1/2)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) z) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(exp.f64 1) |
(E.f64) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64)) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/6)) (E.f64)) |
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 1))) |
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 (E.f64) (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/6) -1/2) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 y 6) (E.f64)) (E.f64)))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 y 4) 1/6) (*.f64 (pow.f64 y 6) -31/720))) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720)) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720))) (E.f64)) |
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 (fma.f64 -1/2 (*.f64 y y) 1)))) |
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 1)))) |
Compiled 8 to 4 computations (50% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| ✓ | 0.3b | (pow.f64 (cos.f64 y) 3) |
Compiled 43 to 21 computations (51.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | -inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (cos.f64 y) 3) |
| 0.0ms | z | @ | 0 | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| 0.0ms | y | @ | 0 | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| 1× | batch-egg-rewrite |
| 632× | pow1_binary64 |
| 590× | add-log-exp_binary64 |
| 590× | log1p-expm1-u_binary64 |
| 590× | expm1-log1p-u_binary64 |
| 575× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 166 | 15 |
| 2 | 1653 | 15 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cos.f64 y) 3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) (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)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 3) (pow.f64 (sqrt.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3) (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 787× | fma-def_binary64 |
| 629× | distribute-rgt-in_binary64 |
| 628× | distribute-rgt-out_binary64 |
| 563× | associate-*l*_binary64 |
| 556× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 316 |
| 1 | 108 | 308 |
| 2 | 283 | 293 |
| 3 | 904 | 291 |
| 4 | 3399 | 291 |
| 5 | 5784 | 291 |
| 6 | 6124 | 291 |
| 7 | 6354 | 291 |
| 8 | 6571 | 291 |
| 9 | 6844 | 291 |
| 10 | 7181 | 291 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -3/2 (*.f64 y y))) |
(fma.f64 -3/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y)))) |
(+.f64 (fma.f64 -3/2 (*.f64 y y) 1) (*.f64 7/8 (pow.f64 y 4))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 7/8 -3/2) 1) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y))))) |
(+.f64 (fma.f64 -61/240 (pow.f64 y 6) (*.f64 7/8 (pow.f64 y 4))) (fma.f64 -3/2 (*.f64 y y) 1)) |
(fma.f64 -61/240 (pow.f64 y 6) (fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) 1))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (*.f64 y y) -1/2 1) |
(fma.f64 y (*.f64 y -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 1 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24))) |
(fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1)) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))) |
(+.f64 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) z) |
(fma.f64 (*.f64 y z) (*.f64 y -1/2) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 4) 1/24))))) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (*.f64 (pow.f64 y 4) 1/24))) z) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1))) z) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 (pow.f64 y 6) -1/720 1)) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| ✓ | 0.1b | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 0.1b | (*.f64 x (sin.f64 y)) | |
| ✓ | 0.2b | (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
Compiled 42 to 10 computations (76.2% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | inf | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1.0ms | z | @ | -inf | (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
| 1.0ms | z | @ | 0 | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1.0ms | z | @ | -inf | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1.0ms | y | @ | inf | (*.f64 (cos.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 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) z))) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 y) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))) (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) (neg.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (cos.f64 y)) z) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (cos.f64 y) (sqrt.f64 z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) z) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (*.f64 (pow.f64 z 1/6) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (pow.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) z) 1/2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 z))) 1/2) (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (cbrt.f64 z)) (pow.f64 z 1/6) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (pow.f64 z 1/4)) (pow.f64 z 1/4) (*.f64 x (sin.f64 y))))))) |
| 1× | egg-herbie |
| 796× | unsub-neg_binary64 |
| 482× | *-commutative_binary64 |
| 477× | distribute-lft-out_binary64 |
| 364× | fma-neg_binary64 |
| 333× | cancel-sign-sub-inv_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 736 |
| 1 | 154 | 725 |
| 2 | 449 | 708 |
| 3 | 1491 | 704 |
| 4 | 2558 | 704 |
| 5 | 4265 | 702 |
| 6 | 7190 | 702 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(sqrt.f64 z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 -1/2 (*.f64 y y)))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(sqrt.f64 z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z))) |
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z)) (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 -1/2 (*.f64 y y))))) |
(fma.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 (sqrt.f64 z) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))))) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 y x z)) |
(fma.f64 y (+.f64 x (*.f64 y (*.f64 z -1/2))) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z))) |
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z))) |
(fma.f64 y x (fma.f64 (*.f64 y y) (+.f64 (*.f64 z -1/2) (*.f64 x (*.f64 y -1/6))) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) |
| ✓ | 0.3b | (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 x) 2) |
| ✓ | 0.6b | (cbrt.f64 x) |
Compiled 53 to 22 computations (58.5% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 15.0ms | x | @ | inf | (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) |
| 7.0ms | x | @ | inf | (cbrt.f64 x) |
| 3.0ms | x | @ | -inf | (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
| 3.0ms | y | @ | inf | (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) |
| 2.0ms | x | @ | 0 | (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
| 1× | batch-egg-rewrite |
| 766× | pow1_binary64 |
| 705× | add-log-exp_binary64 |
| 705× | log1p-expm1-u_binary64 |
| 705× | expm1-log1p-u_binary64 |
| 688× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 181 | 26 |
| 2 | 2011 | 26 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 x) |
(pow.f64 (cbrt.f64 x) 2) |
(*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 1/3) (pow.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (*.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (*.f64 (pow.f64 x 1/6) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 x) (sqrt.f64 (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x (cbrt.f64 x)) (pow.f64 (sin.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (cbrt.f64 x) 2)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 1174× | unswap-sqr_binary64 |
| 649× | distribute-lft-out_binary64 |
| 624× | associate-+l+_binary64 |
| 614× | *-commutative_binary64 |
| 522× | sqr-pow_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 410 |
| 1 | 126 | 407 |
| 2 | 380 | 368 |
| 3 | 1372 | 354 |
| 4 | 2363 | 352 |
| 5 | 3183 | 352 |
| 6 | 3332 | 352 |
| 7 | 3499 | 352 |
| 8 | 3626 | 352 |
| 9 | 3777 | 352 |
| 10 | 5013 | 352 |
| 11 | 6831 | 352 |
| 12 | 7181 | 352 |
| 13 | 7567 | 352 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (sin.f64 y) x) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3)))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5))))) |
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5)))))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
| Outputs |
|---|
(*.f64 y x) |
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))) |
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))) |
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)) |
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y))) |
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))) |
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 x (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 x (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 x (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (sin.f64 y) x) |
(*.f64 x (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) |
(*.f64 y (cbrt.f64 (*.f64 x x))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3)))) |
(fma.f64 (cbrt.f64 (*.f64 x x)) y (*.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x))))) |
(fma.f64 y (cbrt.f64 (*.f64 x x)) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x))))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5))))) |
(fma.f64 (cbrt.f64 (*.f64 x x)) y (fma.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x)))))) |
(fma.f64 y (cbrt.f64 (*.f64 x x)) (fma.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x)))))) |
(fma.f64 (pow.f64 y 5) (*.f64 1/120 (cbrt.f64 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5)))))) |
(fma.f64 -1/5040 (*.f64 (pow.f64 y 7) (cbrt.f64 (*.f64 x x))) (fma.f64 (cbrt.f64 (*.f64 x x)) y (fma.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))))))) |
(fma.f64 -1/5040 (*.f64 (pow.f64 y 7) (cbrt.f64 (*.f64 x x))) (fma.f64 y (cbrt.f64 (*.f64 x x)) (fma.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x))))))) |
(+.f64 (*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y)) (*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))))) |
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y)) |
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) |
Compiled 8468 to 3184 computations (62.4% saved)
30 alts after pruning (24 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 499 | 11 | 510 |
| Fresh | 7 | 13 | 20 |
| Picked | 0 | 1 | 1 |
| Done | 3 | 5 | 8 |
| Total | 509 | 30 | 539 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y))))) | |
| ▶ | 44.0b | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 4.9b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z)) | |
| 0.8b | (+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y))) | |
| ▶ | 25.8b | (*.f64 (cos.f64 y) z) |
| 0.4b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) | |
| ▶ | 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
| 13.6b | (fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) | |
| 32.9b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y))) | |
| 28.3b | (fma.f64 y x z) | |
| 0.8b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y))) | |
| ▶ | 32.3b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| ✓ | 0.6b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
| 1.4b | (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3) | |
| 31.4b | (+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y))) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 28.3b | (+.f64 (*.f64 y x) z) |
| 37.2b | (*.f64 (sin.f64 y) x) | |
| 33.2b | (fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y))) | |
| ✓ | 52.5b | (*.f64 y x) |
| ▶ | 24.1b | (+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) |
| 37.7b | z | |
| 26.3b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x)) | |
| 18.4b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) | |
| 33.3b | (fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y))) | |
| 21.8b | (+.f64 (*.f64 y x) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) | |
| 12.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z) | |
| 13.6b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) | |
| ✓ | 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
Compiled 799 to 535 computations (33% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| ✓ | 0.3b | (-.f64 (+.f64 1 (cos.f64 y)) 1) |
| ✓ | 0.4b | (+.f64 1 (cos.f64 y)) |
Compiled 46 to 24 computations (47.8% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 1 (cos.f64 y)) |
| 1.0ms | y | @ | -inf | (+.f64 1 (cos.f64 y)) |
| 1.0ms | y | @ | inf | (+.f64 1 (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (-.f64 (+.f64 1 (cos.f64 y)) 1) |
| 0.0ms | y | @ | 0 | (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| 1× | batch-egg-rewrite |
| 849× | pow1_binary64 |
| 790× | add-log-exp_binary64 |
| 790× | log1p-expm1-u_binary64 |
| 790× | expm1-log1p-u_binary64 |
| 776× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 173 | 15 |
| 2 | 2412 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (cos.f64 y)) |
(-.f64 (+.f64 1 (cos.f64 y)) 1) |
(*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (cos.f64 y))) (/.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (*.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (/.f64 1 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (/.f64 1 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)) (+.f64 1 (pow.f64 (cos.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (cos.f64 y)) (*.f64 (sin.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3))) (neg.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 y) (sin.f64 y))) (neg.f64 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 y) 2) 1) (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) 1) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 y) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (/.f64 1 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1) (-.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 y) 2) (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (-.f64 1 (*.f64 (+.f64 1 (cos.f64 y)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (-.f64 (+.f64 1 (cos.f64 y)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (neg.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1)) (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1))) (-.f64 1 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 z (*.f64 (+.f64 (cos.f64 y) -1) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 z (*.f64 z (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (+.f64 1 (cos.f64 y))) (*.f64 z -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 z (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 z (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 693× | fma-def_binary64 |
| 577× | distribute-rgt-out_binary64 |
| 453× | associate-*l*_binary64 |
| 438× | *-commutative_binary64 |
| 436× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 316 |
| 1 | 91 | 308 |
| 2 | 245 | 293 |
| 3 | 769 | 291 |
| 4 | 2776 | 291 |
| 5 | 5109 | 291 |
| 6 | 5377 | 291 |
| 7 | 5731 | 291 |
| 8 | 6404 | 291 |
| 9 | 7293 | 291 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
| Outputs |
|---|
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 2 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 2)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 2)) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 2))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/2 (*.f64 y y)) 1) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1) |
(+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1)) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(fma.f64 y (*.f64 z (*.f64 -1/2 y)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) z) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (*.f64 (cos.f64 y) z) |
Compiled 11 to 5 computations (54.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (*.f64 (cos.f64 y) z) |
| 0.0ms | z | @ | -inf | (*.f64 (cos.f64 y) z) |
| 0.0ms | z | @ | inf | (*.f64 (cos.f64 y) z) |
| 0.0ms | y | @ | -inf | (*.f64 (cos.f64 y) z) |
| 0.0ms | y | @ | inf | (*.f64 (cos.f64 y) z) |
| 1× | batch-egg-rewrite |
| 462× | pow1_binary64 |
| 440× | add-sqr-sqrt_binary64 |
| 435× | *-un-lft-identity_binary64 |
| 422× | add-log-exp_binary64 |
| 422× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 97 | 6 |
| 2 | 1146 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 779× | distribute-lft-out_binary64 |
| 740× | *-commutative_binary64 |
| 526× | associate-+l+_binary64 |
| 521× | distribute-rgt-out_binary64 |
| 499× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 116 |
| 1 | 63 | 112 |
| 2 | 167 | 108 |
| 3 | 534 | 105 |
| 4 | 2186 | 105 |
| 5 | 4347 | 105 |
| 6 | 4579 | 105 |
| 7 | 4871 | 105 |
| 8 | 5244 | 105 |
| 9 | 5641 | 105 |
| 10 | 6032 | 105 |
| 11 | 7549 | 105 |
| 12 | 7989 | 105 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(*.f64 z (fma.f64 y (*.f64 -1/2 y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (*.f64 -1/2 y) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.0b | (cos.f64 y) | |
| 0.1b | (*.f64 (cos.f64 y) (sqrt.f64 z)) | |
| 0.2b | (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
Compiled 38 to 9 computations (76.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 1× | batch-egg-rewrite |
| 555× | log-prod_binary64 |
| 416× | pow-prod-down_binary64 |
| 391× | exp-prod_binary64 |
| 375× | fma-def_binary64 |
| 275× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 10 |
| 1 | 209 | 10 |
| 2 | 2795 | 10 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))) (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) (neg.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) (neg.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (*.f64 y x) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 2)) (cbrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))) (sqrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y x))) (pow.f64 (exp.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 y x)) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y x))) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (exp.f64 (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (cos.f64 y)) z) (+.f64 1 (expm1.f64 (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (+.f64 1 (expm1.f64 (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y x) 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (cos.f64 y) (sqrt.f64 z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) z) 1 (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 y y)) (*.f64 (cbrt.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (*.f64 (pow.f64 z 1/6) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 y x)) (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (pow.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) z) 1/2) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 z))) 1/2) (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (cbrt.f64 z)) (pow.f64 z 1/6) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (pow.f64 z 1/4)) (pow.f64 z 1/4) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 y y))) (cbrt.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (*.f64 (cos.f64 y) z)))))) |
| 1× | egg-herbie |
| 474× | distribute-lft-out_binary64 |
| 406× | neg-sub0_binary64 |
| 406× | neg-mul-1_binary64 |
| 375× | cancel-sign-sub-inv_binary64 |
| 357× | distribute-rgt-neg-out_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 326 |
| 1 | 75 | 324 |
| 2 | 207 | 323 |
| 3 | 541 | 321 |
| 4 | 1962 | 321 |
| 5 | 3689 | 320 |
| 6 | 7465 | 320 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 y x) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
| Outputs |
|---|
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (*.f64 z -1/2) z)) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 y x z)) |
(fma.f64 y (+.f64 x (*.f64 -1/2 (*.f64 z y))) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 y x (*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 y (*.f64 y -1/2))))) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))) |
(fma.f64 z (cos.f64 y) (*.f64 y x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) |
| 0.1b | (*.f64 x (sin.f64 y)) | |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
Compiled 50 to 12 computations (76% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | inf | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| 2.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| 2.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| 1.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| 1.0ms | z | @ | -inf | (pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
| 1× | batch-egg-rewrite |
| 542× | log-prod_binary64 |
| 397× | exp-prod_binary64 |
| 368× | pow-prod-down_binary64 |
| 336× | fma-def_binary64 |
| 294× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 26 |
| 1 | 252 | 26 |
| 2 | 2931 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
(sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 5/6) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cos.f64 y)) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 x (sin.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)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (sqrt.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) (pow.f64 (*.f64 x (sin.f64 y)) 3/2)) (hypot.f64 (*.f64 x (sin.f64 y)) (sqrt.f64 (*.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/2) (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) 1)))))) |
| 1× | egg-herbie |
| 798× | fma-def_binary64 |
| 473× | times-frac_binary64 |
| 402× | *-commutative_binary64 |
| 379× | unswap-sqr_binary64 |
| 324× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 155 | 1177 |
| 1 | 487 | 1100 |
| 2 | 1678 | 1027 |
| 3 | 6815 | 951 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x))) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (cos.f64 y) 2)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))))) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x)))) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) z)) |
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x))) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x)))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))))) |
(sqrt.f64 z) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 -1/6 x) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2)) x) z))) (pow.f64 y 3)) (sqrt.f64 (/.f64 1 z))))))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))))) |
| Outputs |
|---|
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x))) |
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 -1/8 (+.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))))) (*.f64 x x) (*.f64 (sin.f64 y) x))) |
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) -1/4)) (*.f64 x x)))) |
(fma.f64 z (cos.f64 y) (*.f64 x (+.f64 (*.f64 x (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) 0)) (sin.f64 y)))) |
(fma.f64 z (cos.f64 y) (*.f64 x (+.f64 (*.f64 x 0) (sin.f64 y)))) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (cos.f64 y) 2)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))))) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x)))) |
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)))))) (pow.f64 x 3) (fma.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 -1/8 (+.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))))) (*.f64 x x) (*.f64 (sin.f64 y) x)))) |
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 z (*.f64 z (pow.f64 (cos.f64 y) 2)))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 z (*.f64 z (pow.f64 (cos.f64 y) 2)))) -1/16)) (pow.f64 x 3) (fma.f64 (sin.f64 y) x (*.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) -1/4)) (*.f64 x x))))) |
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (*.f64 x x) (+.f64 (*.f64 x (*.f64 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) 0)) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) 0))))) |
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (*.f64 x x) (+.f64 0 (*.f64 x 0))))) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 x x) z) (*.f64 z -1/2)) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 x (/.f64 z x)) (*.f64 z -1/2)) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (*.f64 (/.f64 x z) x) (*.f64 z -1/2)) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2)) z)) |
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 1/4 (fma.f64 (/.f64 x z) x (*.f64 (/.f64 1 z) (*.f64 x (neg.f64 x)))))) z)) |
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 y x (+.f64 (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 x x) z) (*.f64 z -1/2)) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 x (/.f64 z x)) (*.f64 z -1/2)) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 y (*.f64 y (-.f64 (fma.f64 1/4 (*.f64 (/.f64 x z) x) (*.f64 z -1/2)) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (fma.f64 y x (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z))) |
(fma.f64 y (*.f64 y (fma.f64 z -1/2 (*.f64 1/4 (fma.f64 (/.f64 x z) x (*.f64 (/.f64 1 z) (*.f64 x (neg.f64 x))))))) (fma.f64 y x (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x))) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x)))) |
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y)))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (sqrt.f64 (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))))) |
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (fma.f64 -1/8 (*.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 z 3)))) (sqrt.f64 (*.f64 z (cos.f64 y))))) |
(fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y))))) |
(fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y))))) |
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))))) |
(fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))))))) |
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (fma.f64 1/16 (*.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 x 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 -1/8 (*.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 z 3)))) (sqrt.f64 (*.f64 z (cos.f64 y)))))) |
(fma.f64 1/16 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (sin.f64 y) 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y)))))) |
(fma.f64 1/16 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (sin.f64 y) 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y)))))) |
(sqrt.f64 z) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)) |
(fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)) |
(fma.f64 (*.f64 (*.f64 1/2 x) y) (sqrt.f64 (/.f64 1 z)) (sqrt.f64 z)) |
(fma.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 y (*.f64 x 1/2)) (sqrt.f64 z)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)))) (fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))) |
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 1/2 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2))) (*.f64 y y)) (*.f64 (*.f64 1/2 x) y)))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (*.f64 y x))) (sqrt.f64 z)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) (*.f64 y x))) (sqrt.f64 z)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 -1/6 x) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2)) x) z))) (pow.f64 y 3)) (sqrt.f64 (/.f64 1 z))))))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)))) (+.f64 (fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (pow.f64 y 3) (-.f64 (*.f64 x -1/6) (*.f64 1/2 (/.f64 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) (/.f64 z x))))))))) |
(+.f64 (fma.f64 1/2 (*.f64 (fma.f64 x -1/6 (*.f64 -1/2 (/.f64 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) (/.f64 z x)))) (*.f64 (sqrt.f64 (/.f64 1 z)) (pow.f64 y 3))) (sqrt.f64 z)) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 1/2 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2))) (*.f64 y y)) (*.f64 (*.f64 1/2 x) y)))) |
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 1/2 (+.f64 (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (*.f64 y x))) (*.f64 (fma.f64 x -1/6 (/.f64 -1/2 (/.f64 (/.f64 z x) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))))) (*.f64 1/2 (pow.f64 y 3)))))) |
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 1/2 (+.f64 (*.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) (*.f64 y x))) (*.f64 (fma.f64 x -1/6 (*.f64 (/.f64 (*.f64 -1/2 (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) z) x)) (*.f64 1/2 (pow.f64 y 3)))))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))) |
(sqrt.f64 (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x))) |
(fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x))) |
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x))) |
(fma.f64 (*.f64 z (cos.f64 y)) (*.f64 1/2 (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) |
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))) |
(fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))))) |
(fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))))) |
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (sqrt.f64 (*.f64 (sin.f64 y) x))))) |
(fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (fma.f64 1/16 (*.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (sqrt.f64 (*.f64 (sin.f64 y) x))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 0.1b | (*.f64 x (sin.f64 y)) | |
| 0.3b | (pow.f64 (cos.f64 y) 3) | |
| ✓ | 36.3b | (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))) |
Compiled 53 to 29 computations (45.3% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | -inf | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 2.0ms | z | @ | 0 | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 2.0ms | y | @ | inf | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 1.0ms | y | @ | 0 | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 1.0ms | z | @ | inf | (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| 1× | batch-egg-rewrite |
| 776× | pow1_binary64 |
| 722× | add-log-exp_binary64 |
| 722× | log1p-expm1-u_binary64 |
| 722× | expm1-log1p-u_binary64 |
| 700× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 15 |
| 1 | 194 | 15 |
| 2 | 2045 | 15 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))) |
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) 1/3) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 y) z) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3) (pow.f64 (pow.f64 z 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 z 3) 3) (pow.f64 (pow.f64 (cos.f64 y) 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) z)))))))) |
| 1× | egg-herbie |
| 1552× | unswap-sqr_binary64 |
| 593× | distribute-lft-out_binary64 |
| 478× | distribute-rgt-in_binary64 |
| 461× | *-commutative_binary64 |
| 360× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 406 |
| 1 | 127 | 396 |
| 2 | 438 | 379 |
| 3 | 1754 | 374 |
| 4 | 3311 | 374 |
| 5 | 4001 | 374 |
| 6 | 4557 | 374 |
| 7 | 5431 | 374 |
| 8 | 5661 | 374 |
| 9 | 6542 | 374 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(pow.f64 z 3) |
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (pow.f64 z 3)) |
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3))) |
(+.f64 (*.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3))) (+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3)))) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1))) |
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1))) |
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1))) |
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1))) |
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1))) |
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1))) |
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z))) |
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1))) |
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1))) |
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1)))) |
(pow.f64 z 3) |
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (pow.f64 z 3)) |
(fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (pow.f64 z 3)) |
(*.f64 (+.f64 (*.f64 (*.f64 y y) -3/2) 1) (pow.f64 z 3)) |
(*.f64 (pow.f64 z 3) (fma.f64 (*.f64 y y) -3/2 1)) |
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3))) |
(fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (fma.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3)) (pow.f64 z 3))) |
(+.f64 (pow.f64 z 3) (*.f64 (pow.f64 z 3) (+.f64 (*.f64 (*.f64 y y) -3/2) (*.f64 (pow.f64 y 4) 7/8)))) |
(*.f64 (pow.f64 z 3) (+.f64 (*.f64 y (*.f64 y -3/2)) (fma.f64 (pow.f64 y 4) 7/8 1))) |
(*.f64 (pow.f64 z 3) (+.f64 1 (fma.f64 (*.f64 y y) -3/2 (*.f64 (pow.f64 y 4) 7/8)))) |
(+.f64 (*.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3))) (+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3)))) |
(fma.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3)) (fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (fma.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3)) (pow.f64 z 3)))) |
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 y 4) 7/8) 1) (pow.f64 z 3)) (*.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) -61/240) (*.f64 (*.f64 y y) -3/2)))) |
(fma.f64 (pow.f64 z 3) (fma.f64 (pow.f64 y 6) -61/240 (*.f64 y (*.f64 y -3/2))) (*.f64 (pow.f64 z 3) (fma.f64 (pow.f64 y 4) 7/8 1))) |
(*.f64 (pow.f64 z 3) (+.f64 (fma.f64 (pow.f64 y 4) 7/8 1) (fma.f64 (pow.f64 y 6) -61/240 (*.f64 y (*.f64 y -3/2))))) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) |
Compiled 12841 to 5596 computations (56.4% saved)
29 alts after pruning (21 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 743 | 13 | 756 |
| Fresh | 11 | 8 | 19 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 8 | 10 |
| Total | 757 | 29 | 786 |
| Status | Error | Program |
|---|---|---|
| ✓ | 44.0b | (+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
| 0.8b | (+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y))) | |
| ✓ | 25.8b | (*.f64 (cos.f64 y) z) |
| ✓ | 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
| 33.4b | (*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z) | |
| 41.3b | (+.f64 (*.f64 y x) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| 12.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z) | |
| 42.1b | (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 2) | |
| 32.9b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y))) | |
| 37.7b | z | |
| 28.3b | (fma.f64 y x z) | |
| 0.8b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y))) | |
| ✓ | 0.6b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
| 25.8b | (*.f64 (log.f64 (exp.f64 (cos.f64 y))) z) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 28.3b | (+.f64 (*.f64 y x) z) |
| 37.2b | (*.f64 (sin.f64 y) x) | |
| ✓ | 52.5b | (*.f64 y x) |
| 46.0b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) | |
| 25.8b | (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) | |
| 26.5b | (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3) | |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z))) | |
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 49.0b | (pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2) | |
| 31.4b | (+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y))) | |
| 0.2b | (+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2))) | |
| 0.3b | (+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))) | |
| 33.4b | (*.f64 (exp.f64 (log.f64 (cos.f64 y))) z) | |
| 18.4b | (+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
Compiled 391 to 270 computations (30.9% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z))) |
(*.f64 (log.f64 (exp.f64 (cos.f64 y))) z) |
(*.f64 (exp.f64 (log.f64 (cos.f64 y))) z) |
(*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z) |
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) |
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3) |
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z) |
(+.f64 (*.f64 y x) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y))))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y))))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) |
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) |
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
(+.f64 (*.f64 y x) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1))) |
(+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2))) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x)) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y))) |
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) |
(+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y))) |
(pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 2) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y))) |
(fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 z (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(/.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)))) |
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))) |
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z)) |
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y))) |
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
5 calls:
| 70.0ms | z |
| 57.0ms | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 38.0ms | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 36.0ms | x |
| 33.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 0.1b | 1 | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 801 to 275 computations (65.7% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z))) |
(*.f64 (log.f64 (exp.f64 (cos.f64 y))) z) |
(*.f64 (exp.f64 (log.f64 (cos.f64 y))) z) |
(*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z) |
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) |
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3) |
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2) |
| Outputs |
|---|
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
4 calls:
| 31.0ms | y |
| 12.0ms | z |
| 11.0ms | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 150 to 66 computations (56% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (sin.f64 y) x) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
(*.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 61.0ms | y |
| 54.0ms | x |
| 21.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 11.6b | 6 | x |
| 10.2b | 6 | y |
| 16.2b | 3 | z |
Compiled 54 to 19 computations (64.8% saved)
| 5× | binary-search |
| Time | Left | Right |
|---|---|---|
| 149.0ms | 6.937114074321918e+167 | 2.1471348802717704e+178 |
| 80.0ms | 4.730321874199684e+105 | 3.3397597268094346e+106 |
| 41.0ms | 2.5221648677339053e+61 | 4.8395848027852803e+61 |
| 51.0ms | 9.761974989807316e-5 | 402.3546205012707 |
| 36.0ms | -604415900.6623467 | -704050.1279253244 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (sin.f64 y) x) |
(fma.f64 y x z) |
(*.f64 (sin.f64 y) x) |
3 calls:
| 55.0ms | x |
| 29.0ms | z |
| 28.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 20.5b | 5 | x |
| 13.3b | 3 | y |
| 23.0b | 3 | z |
Compiled 34 to 17 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 55.0ms | 9.761974989807316e-5 | 402.3546205012707 |
| 59.0ms | -604415900.6623467 | -704050.1279253244 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
| Outputs |
|---|
(fma.f64 y x z) |
3 calls:
| 12.0ms | z |
| 11.0ms | x |
| 10.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 28.3b | 1 | x |
| 28.3b | 1 | y |
| 28.3b | 1 | z |
Compiled 30 to 15 computations (50% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
(+.f64 (*.f64 y x) z) |
| Outputs |
|---|
(+.f64 (*.f64 y x) z) |
3 calls:
| 11.0ms | x |
| 9.0ms | z |
| 9.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 28.3b | 1 | x |
| 28.3b | 1 | y |
| 28.3b | 1 | z |
Compiled 26 to 14 computations (46.2% saved)
| Inputs |
|---|
z |
z |
z |
(*.f64 y x) |
| Outputs |
|---|
(*.f64 y x) |
z |
(*.f64 y x) |
3 calls:
| 23.0ms | y |
| 22.0ms | z |
| 21.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 33.1b | 3 | x |
| 36.5b | 3 | y |
| 35.6b | 3 | z |
Compiled 21 to 13 computations (38.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 108.0ms | 5.1016843920844816e+70 | 1.8669796251449186e+77 |
| 144.0ms | -2.211277618029156e+144 | -3.622989463885593e+143 |
Compiled 18 to 13 computations (27.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
z |
z |
z |
| Outputs |
|---|
z |
3 calls:
| 27.0ms | x |
| 7.0ms | z |
| 7.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 37.7b | 1 | x |
| 37.7b | 1 | y |
| 37.7b | 1 | z |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 2× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 154 |
| 1 | 43 | 154 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (if (<=.f64 y 25221648677339052555158849107147970065146691258237195823087616) (*.f64 (sin.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 (cos.f64 y) z) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z)))))) |
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (*.f64 (sin.f64 y) x))) |
(fma.f64 y x z) |
(+.f64 (*.f64 y x) z) |
(if (<=.f64 x -2211277618029155850943644891577266239854975638463706623165775804869942734785280159331243820385080596642094413371174832874194019408713729477443584) (*.f64 y x) (if (<=.f64 x 51016843920844815664550888336220858787399503533712864000016991234555904) z (*.f64 y x))) |
z |
| Outputs |
|---|
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z)) |
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (if (<=.f64 y 25221648677339052555158849107147970065146691258237195823087616) (*.f64 (sin.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 (cos.f64 y) z) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z)))))) |
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (*.f64 (sin.f64 y) x))) |
(fma.f64 y x z) |
(+.f64 (*.f64 y x) z) |
(+.f64 z (*.f64 y x)) |
(if (<=.f64 x -2211277618029155850943644891577266239854975638463706623165775804869942734785280159331243820385080596642094413371174832874194019408713729477443584) (*.f64 y x) (if (<=.f64 x 51016843920844815664550888336220858787399503533712864000016991234555904) z (*.f64 y x))) |
z |
Compiled 130 to 72 computations (44.6% saved)
| 2× | egg-herbie |
| 853× | fma-def_binary64 |
| 757× | sqr-pow_binary64 |
| 556× | distribute-lft-out_binary64 |
| 476× | *-commutative_binary64 |
| 441× | cube-prod_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 16 | 12 |
| 0 | 25 | 396 |
| 1 | 63 | 394 |
| 2 | 151 | 394 |
| 3 | 400 | 391 |
| 4 | 1332 | 388 |
| 5 | 2659 | 388 |
| 6 | 4130 | 388 |
| 7 | 4254 | 388 |
| 8 | 4430 | 388 |
| 9 | 4644 | 388 |
| 10 | 4980 | 388 |
| 11 | 5334 | 388 |
| 12 | 5810 | 388 |
| 13 | 6353 | 388 |
| 14 | 7015 | 388 |
| 15 | 7843 | 388 |
| 1× | node limit |
| 1× | saturated |
Compiled 46 to 30 computations (34.8% saved)
Compiled 109 to 39 computations (64.2% saved)
Loading profile data...