Time bar (total: 8.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 37.4% | 62.4% | 0.1% | 8 |
| 37.4% | 62.4% | 0.1% | 9 |
| 56.2% | 43.7% | 0.1% | 10 |
| 65.5% | 34.3% | 0.1% | 11 |
| 65.5% | 34.3% | 0.1% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.4s | 6257× | body | 256 | valid |
| 892.0ms | 1337× | body | 1024 | valid |
| 282.0ms | 659× | body | 512 | valid |
| 10.0ms | 3× | body | 2048 | valid |
| 2× | egg-herbie |
| 24× | fma-def_binary64 |
| 20× | +-commutative_binary64 |
| 12× | associate-+r+_binary64 |
| 12× | associate-+l+_binary64 |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 56 |
| 1 | 42 | 48 |
| 2 | 78 | 48 |
| 3 | 102 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 x (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(fma.f64 z (cos.f64 x) (+.f64 y (sin.f64 x))) |
(+.f64 (sin.f64 x) (fma.f64 z (cos.f64 x) y)) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 z (+.f64 (sin.f64 y) (*.f64 x (cos.f64 y)))) |
(fma.f64 x (cos.f64 y) (+.f64 (sin.f64 y) z)) |
(+.f64 (sin.f64 y) (fma.f64 x (cos.f64 y) z)) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
(+.f64 x (+.f64 (sin.f64 z) (*.f64 y (cos.f64 z)))) |
(fma.f64 y (cos.f64 z) (+.f64 x (sin.f64 z))) |
(+.f64 x (fma.f64 y (cos.f64 z) (sin.f64 z))) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 6× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 14 | 12 |
| 2 | 23 | 12 |
| 3 | 29 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
Compiled 20 to 9 computations (55% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 12 to 8 computations (33.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (sin.f64 y)) |
| ✓ | 0.0b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 x (sin.f64 y)) |
| 1.0ms | z | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | x | @ | 0 | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 1.0ms | z | @ | inf | (*.f64 z (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 497× | log-prod_binary64 |
| 490× | fma-def_binary64 |
| 374× | pow-prod-down_binary64 |
| 280× | pow2_binary64 |
| 236× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 198 | 24 |
| 2 | 2899 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (cos.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 x (sin.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 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 -.f64 (exp.f64 (log1p.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (+.f64 (sin.f64 y) (-.f64 x (*.f64 z (cos.f64 y))))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (+.f64 (sin.f64 y) (-.f64 x (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) 2) (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) (sqrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (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 (sin.f64 y) (-.f64 x (*.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 (sin.f64 y) (-.f64 x (*.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 (sin.f64 y) (-.f64 x (*.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 (sin.f64 y) (-.f64 x (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3)) (fma.f64 x x (-.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2) (*.f64 x (fma.f64 z (cos.f64 y) (sin.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 /.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2)) (-.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) 2)))) (#(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 (sin.f64 y) (-.f64 x (*.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 sqrt.f64 (pow.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (exp.f64 (+.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 x)) (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (pow.f64 (exp.f64 1) (fma.f64 z (cos.f64 y) (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 (exp.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 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1) (fma.f64 z (cos.f64 y) (sin.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 z (cos.f64 y) (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 1 (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) 1 (+.f64 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 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (+.f64 x (*.f64 z (cos.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 (fma.f64 z (cos.f64 y) (sin.f64 y)) x)))) (#(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 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (+.f64 x (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (cbrt.f64 (sin.f64 y)) (+.f64 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) (sqrt.f64 x) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (+.f64 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 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (/.f64 1 (-.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) x)))) (#(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 (exp.f64 (log1p.f64 (+.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (sin.f64 y)))))) (#(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 (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 (sqrt.f64 (+.f64 x (sin.f64 y))) (sqrt.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (/.f64 1 (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (sin.f64 y)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 x x) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(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 (/.f64 (fma.f64 (sin.f64 y) (-.f64 (sin.f64 y) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (sin.f64 y)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2))) -1)))) (#(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 (exp.f64 (+.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 log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (sin.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (sin.f64 y)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (sin.f64 y))) (+.f64 1 (expm1.f64 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 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 fma.f64 x 1 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (pow.f64 (sin.f64 y) 2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x))))) |
| 1× | egg-herbie |
| 767× | distribute-rgt-out_binary64 |
| 713× | associate-*l*_binary64 |
| 565× | distribute-lft-out_binary64 |
| 552× | associate-*r*_binary64 |
| 492× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 674 |
| 1 | 131 | 670 |
| 2 | 349 | 666 |
| 3 | 1155 | 665 |
| 4 | 3789 | 665 |
| 5 | 6746 | 665 |
| 6 | 7020 | 665 |
| 7 | 7307 | 665 |
| 8 | 7595 | 665 |
| 9 | 7966 | 665 |
| 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 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
x |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
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 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z 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)) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) 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) |
| 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) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) 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 y (*.f64 y -1/2)) (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))) (*.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 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z x)) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y (+.f64 z x))) |
(+.f64 (+.f64 z x) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)) |
(+.f64 y (+.f64 (fma.f64 z (*.f64 y (*.f64 y -1/2)) z) x)) |
(+.f64 x (+.f64 z (fma.f64 (*.f64 y y) (*.f64 z -1/2) y))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y (+.f64 z x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 z x) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (+.f64 y x)))) |
(+.f64 z (+.f64 (fma.f64 (*.f64 y y) (*.f64 z -1/2) y) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 y (+.f64 (fma.f64 z (*.f64 y (*.f64 y -1/2)) z) (fma.f64 -1/6 (pow.f64 y 3) 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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 (sin.f64 y) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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 (sin.f64 y) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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 (sin.f64 y) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z 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) (fma.f64 (cos.f64 y) z x)) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y x)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) (+.f64 y x))) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) (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) |
Compiled 2871 to 911 computations (68.3% saved)
13 alts after pruning (12 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 179 | 12 | 191 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 179 | 13 | 192 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.2b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 16.6b | (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) | |
| 37.0b | (+.f64 (log.f64 (exp.f64 (+.f64 x (sin.f64 y)))) (*.f64 z (cos.f64 y))) | |
| 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| 30.1b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) | |
| ▶ | 25.1b | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 14.3b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ▶ | 29.2b | (+.f64 (sin.f64 y) x) |
| ▶ | 0.7b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
| 23.1b | (+.f64 y (+.f64 z x)) | |
| ▶ | 20.7b | (+.f64 z x) |
| 38.1b | x |
Compiled 290 to 191 computations (34.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
| ✓ | 0.3b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
Compiled 49 to 22 computations (55.1% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | z | @ | 0 | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 3.0ms | z | @ | inf | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 2.0ms | y | @ | inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 2.0ms | y | @ | -inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 2.0ms | y | @ | -inf | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 1× | batch-egg-rewrite |
| 713× | pow1_binary64 |
| 656× | add-log-exp_binary64 |
| 656× | log1p-expm1-u_binary64 |
| 656× | expm1-log1p-u_binary64 |
| 638× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 176 | 30 |
| 2 | 1921 | 30 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (cos.f64 y) 2) |
(cbrt.f64 (cos.f64 y)) |
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1/3) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 1/2 (cos.f64 (*.f64 2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 (+.f64 y y)) (cos.f64 (-.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3) (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (sqrt.f64 z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 z z) (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) z))))))) |
| 1× | egg-herbie |
| 1004× | fma-def_binary64 |
| 504× | fma-neg_binary64 |
| 490× | distribute-rgt-neg-in_binary64 |
| 438× | cancel-sign-sub-inv_binary64 |
| 373× | distribute-lft-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 548 |
| 1 | 153 | 527 |
| 2 | 396 | 516 |
| 3 | 1254 | 514 |
| 4 | 3043 | 514 |
| 5 | 4378 | 514 |
| 6 | 6348 | 514 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
1 |
(+.f64 (*.f64 -1 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
z |
(+.f64 z (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))) |
(+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))) |
(+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) z)) (+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))))) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/3 (*.f64 y y))) |
(fma.f64 -1/3 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
1 |
(+.f64 (*.f64 -1 (pow.f64 y 2)) 1) |
(fma.f64 -1 (*.f64 y y) 1) |
(-.f64 1 (*.f64 y y)) |
(neg.f64 (fma.f64 y y -1)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(fma.f64 -1 (*.f64 y y) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (*.f64 y y)) |
(-.f64 (*.f64 1/3 (pow.f64 y 4)) (fma.f64 y y -1)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (fma.f64 -2/45 (pow.f64 y 6) (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (-.f64 1 (*.f64 y y)) (fma.f64 1/3 (pow.f64 y 4) (*.f64 (pow.f64 y 6) -2/45))) |
(-.f64 (fma.f64 (pow.f64 y 6) -2/45 (fma.f64 1/3 (pow.f64 y 4) 1)) (*.f64 y y)) |
(-.f64 (*.f64 1/3 (pow.f64 y 4)) (fma.f64 y y (fma.f64 (pow.f64 y 6) 2/45 -1))) |
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/6)) |
(fma.f64 (*.f64 y y) -1/6 1) |
(fma.f64 y (*.f64 y -1/6) 1) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6))) |
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1)) |
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1)) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6)))) |
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1))) |
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1))) |
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 1))) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
z |
(+.f64 z (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))) |
(+.f64 z (*.f64 -1/3 (*.f64 (*.f64 y y) z))) |
(*.f64 (fma.f64 -1/3 (*.f64 y y) 1) z) |
(fma.f64 y (*.f64 y (*.f64 -1/3 z)) z) |
(+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))) |
(+.f64 z (fma.f64 -1/405 (*.f64 (pow.f64 y 6) z) (*.f64 -1/3 (*.f64 (*.f64 y y) z)))) |
(+.f64 z (*.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(fma.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))) z) |
(*.f64 (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) z) |
(+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) z)) (+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))))) |
(fma.f64 -1/1701 (*.f64 (pow.f64 y 8) z) (+.f64 z (fma.f64 -1/405 (*.f64 (pow.f64 y 6) z) (*.f64 -1/3 (*.f64 (*.f64 y y) z))))) |
(+.f64 (*.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))) (fma.f64 -1/1701 (*.f64 (pow.f64 y 8) z) z)) |
(+.f64 z (*.f64 z (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) (*.f64 -1/3 (*.f64 y y)))))) |
(*.f64 z (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1)))) |
(*.f64 (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z) |
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z) |
Compiled 8 to 4 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (sin.f64 y) x) |
Compiled 11 to 5 computations (54.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (sin.f64 y) x) |
| 0.0ms | y | @ | -inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | x | @ | -inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | x | @ | inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | y | @ | inf | (+.f64 (sin.f64 y) x) |
| 1× | batch-egg-rewrite |
| 612× | pow1_binary64 |
| 569× | add-log-exp_binary64 |
| 569× | log1p-expm1-u_binary64 |
| 569× | expm1-log1p-u_binary64 |
| 556× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 108 | 6 |
| 2 | 1511 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.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 -.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (sin.f64 y) x)) (/.f64 (*.f64 x x) (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))) (neg.f64 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(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 (exp.f64 (+.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 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 fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 678× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 39 |
| 1 | 44 | 39 |
| 2 | 99 | 39 |
| 3 | 248 | 39 |
| 4 | 448 | 39 |
| 5 | 965 | 39 |
| 6 | 1427 | 39 |
| 7 | 2081 | 39 |
| 8 | 2189 | 39 |
| 9 | 2351 | 39 |
| 10 | 2564 | 39 |
| 11 | 2894 | 39 |
| 12 | 3350 | 39 |
| 13 | 3949 | 39 |
| 14 | 4700 | 39 |
| 15 | 5630 | 39 |
| 16 | 6140 | 39 |
| 17 | 6628 | 39 |
| 18 | 7026 | 39 |
| 19 | 7346 | 39 |
| 20 | 7508 | 39 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(sin.f64 y) |
x |
x |
| Outputs |
|---|
x |
(+.f64 y x) |
(+.f64 x y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y)) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(fma.f64 1/120 (pow.f64 y 5) (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(sin.f64 y) |
x |
x |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 20 to 7 computations (65% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | z | @ | 0 | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 0.0ms | z | @ | inf | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 803× | pow1_binary64 |
| 742× | add-log-exp_binary64 |
| 742× | log1p-expm1-u_binary64 |
| 742× | expm1-log1p-u_binary64 |
| 725× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 148 | 9 |
| 2 | 2001 | 9 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (cos.f64 y) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (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 (sin.f64 y) 2)) (/.f64 1 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (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 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 z (*.f64 (cos.f64 y) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (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 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (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))) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 637× | associate-*l*_binary64 |
| 536× | unswap-sqr_binary64 |
| 507× | sqr-pow_binary64 |
| 505× | distribute-lft-out_binary64 |
| 504× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 208 |
| 1 | 48 | 208 |
| 2 | 117 | 208 |
| 3 | 317 | 203 |
| 4 | 824 | 203 |
| 5 | 2856 | 203 |
| 6 | 4829 | 203 |
| 7 | 6064 | 203 |
| 8 | 6325 | 203 |
| 9 | 6636 | 203 |
| 10 | 7019 | 203 |
| 11 | 7596 | 203 |
| 1× | node limit |
| Inputs |
|---|
(sin.f64 y) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
z |
(+.f64 y z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| Outputs |
|---|
(sin.f64 y) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
z |
(+.f64 y z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y z)) |
(+.f64 z (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)) |
(+.f64 y (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)) |
(fma.f64 (fma.f64 y (*.f64 y -1/2) 1) z y) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) y) |
(fma.f64 (fma.f64 -1/2 (*.f64 y z) 1) y z) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y z))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 z (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 -1/6 (pow.f64 y 3) (+.f64 y z))) |
(fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) (+.f64 y z)) |
(+.f64 y (fma.f64 y (*.f64 y (fma.f64 z -1/2 (*.f64 y -1/6))) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| ✓ | 0.6b | (cbrt.f64 (*.f64 z (cos.f64 y))) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
Compiled 43 to 14 computations (67.4% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 51.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
| 7.0ms | y | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
| 2.0ms | y | @ | inf | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
| 2.0ms | z | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
| 1.0ms | x | @ | 0 | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
| 1× | batch-egg-rewrite |
| 574× | log-prod_binary64 |
| 548× | fma-def_binary64 |
| 439× | pow-prod-down_binary64 |
| 321× | pow2_binary64 |
| 260× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 28 |
| 1 | 267 | 26 |
| 2 | 3418 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
| 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 *.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 (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 1 (*.f64 z (cos.f64 y)))))) (#(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 (cbrt.f64 z) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)))))) (#(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 (cbrt.f64 (*.f64 z (cos.f64 y)))) 2) (*.f64 (cbrt.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 (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 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)))))) (#(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 (*.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 *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 1) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 z)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y))))) 2) (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (pow.f64 (*.f64 z (cos.f64 y)) 1/6)) (pow.f64 (*.f64 z (cos.f64 y)) 1/6))))) (#(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 +.f64 0 (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (*.f64 z (cos.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 z (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (pow.f64 (*.f64 z (cos.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.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/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 2) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (+.f64 x (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (+.f64 x (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) (pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2) (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.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 x (-.f64 (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 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (-.f64 (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 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.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 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.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 x (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.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 x (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3)) (fma.f64 x x (-.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2) (*.f64 x (fma.f64 z (cos.f64 y) (sin.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 /.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2)) (-.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x 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 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x (-.f64 (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 sqrt.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (exp.f64 (+.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 x)) (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 (exp.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 (exp.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 (exp.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 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 (exp.f64 z) (cos.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 (exp.f64 z) (cos.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x 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 (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 x 1 (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) 1 (+.f64 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 x (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (+.f64 x (*.f64 z (cos.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 (fma.f64 z (cos.f64 y) (sin.f64 y)) x)))) (#(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 (cbrt.f64 z) (*.f64 (cbrt.f64 (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 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 2) (*.f64 (cbrt.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 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (+.f64 x (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (+.f64 x (*.f64 z (cos.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 (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) (sqrt.f64 x) (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (+.f64 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 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (fma.f64 x x (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) x)))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (/.f64 1 (-.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) x)))) (#(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 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 1) (cbrt.f64 (*.f64 z (cos.f64 y))) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 z)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y))))) 2) (cbrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (pow.f64 (*.f64 z (cos.f64 y)) 1/6)) (pow.f64 (*.f64 z (cos.f64 y)) 1/6) (+.f64 x (sin.f64 y))))))) |
| 1× | egg-herbie |
| 791× | associate-*r*_binary64 |
| 763× | associate-*l*_binary64 |
| 644× | fma-def_binary64 |
| 280× | associate-+l+_binary64 |
| 275× | associate-+r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 104 | 817 |
| 1 | 338 | 738 |
| 2 | 1111 | 686 |
| 3 | 6650 | 686 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 1 1/3) z) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z))) |
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3))))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z)))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(pow.f64 z 1/3) |
(+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) z) x) |
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x)) |
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (pow.f64 1 1/3) z) |
z |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)) |
(fma.f64 (*.f64 z -1/2) (*.f64 y y) z) |
(fma.f64 z (*.f64 (*.f64 y y) -1/2) z) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z))) |
(fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (+.f64 (*.f64 1/3 (*.f64 z -1/24)) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z)) |
(fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (fma.f64 1/3 (*.f64 z -1/24) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z)) |
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (fma.f64 z 1/18 (*.f64 z -1/72))) (pow.f64 y 4) (fma.f64 z (*.f64 (*.f64 y y) -1/2) z)) |
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3))))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z)))) |
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 z)) (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24))))) (*.f64 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) -1/9)) (+.f64 (*.f64 1/3 (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24))))) (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z))))) (*.f64 -1/9 (*.f64 z -1/24))))) (pow.f64 y 6) (fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (+.f64 (*.f64 1/3 (*.f64 z -1/24)) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z))) |
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 z)) (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72))) (*.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 (*.f64 z -1/24) -1/9))) (fma.f64 1/3 (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72)) (fma.f64 (*.f64 -1/6 (cbrt.f64 z)) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 (*.f64 z -1/24) -1/9)))) (pow.f64 y 6) (fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (fma.f64 1/3 (*.f64 z -1/24) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z))) |
(fma.f64 (fma.f64 1/3 (*.f64 z -23/2160) (fma.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (/.f64 1 z)) (+.f64 (*.f64 2/3 (*.f64 z -23/2160)) (*.f64 z 1/216))) (fma.f64 (cbrt.f64 z) (*.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z))))) (*.f64 z 1/216)))) (pow.f64 y 6) (fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (fma.f64 z 1/18 (*.f64 z -1/72))) (pow.f64 y 4) (fma.f64 z (*.f64 (*.f64 y y) -1/2) z))) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y))) |
(*.f64 z (cos.f64 y)) |
(pow.f64 z 1/3) |
(cbrt.f64 z) |
(+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))) |
(+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)))) |
(fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/24) (pow.f64 y 4))) (+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z))))) |
(fma.f64 1/3 (*.f64 (pow.f64 y 4) (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 (*.f64 z z))))) (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z))) |
(fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (fma.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/72) (pow.f64 y 4)) (cbrt.f64 z))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24)))) (pow.f64 y 6))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/24) (pow.f64 y 4))) (+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)))))) |
(+.f64 (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) (*.f64 (*.f64 1/3 (cbrt.f64 (/.f64 1 (*.f64 z z)))) (+.f64 (*.f64 (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72)) (pow.f64 y 6)) (*.f64 z (*.f64 -1/24 (pow.f64 y 4)))))) |
(fma.f64 (*.f64 1/3 (cbrt.f64 (/.f64 1 (*.f64 z z)))) (fma.f64 (*.f64 z -23/2160) (pow.f64 y 6) (*.f64 z (*.f64 (pow.f64 y 4) -1/24))) (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) z) 1/3) |
(cbrt.f64 (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 1 1/3) z) x) |
(+.f64 z x) |
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x)) |
(+.f64 (+.f64 y z) x) |
(+.f64 x (+.f64 z y)) |
(+.f64 z (+.f64 y x)) |
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x))) |
(fma.f64 z (*.f64 (*.f64 y y) -1/2) (+.f64 z (+.f64 y x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x)))) |
(+.f64 (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x)) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (+.f64 z x) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 (*.f64 y y) -1/2) y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
Compiled 7456 to 2949 computations (60.4% saved)
18 alts after pruning (14 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 429 | 12 | 441 |
| Fresh | 5 | 2 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 436 | 18 | 454 |
| Status | Error | Program |
|---|---|---|
| 45.1b | z | |
| ▶ | 39.9b | (+.f64 y x) |
| 14.3b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))) | |
| 34.1b | (*.f64 (cos.f64 y) z) | |
| 56.7b | (log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) | |
| ✓ | 25.1b | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| ▶ | 16.6b | (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
| 0.4b | (fma.f64 (*.f64 z (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ▶ | 53.5b | (sin.f64 y) |
| ▶ | 25.7b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| ✓ | 29.2b | (+.f64 (sin.f64 y) x) |
| ▶ | 0.2b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))) |
| 0.6b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))) | |
| ✓ | 20.7b | (+.f64 z x) |
| 38.1b | x | |
| 30.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| 42.6b | (+.f64 y z) |
Compiled 339 to 228 computations (32.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cbrt.f64 (cos.f64 y)) z) |
| ✓ | 0.1b | (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| ✓ | 0.2b | (pow.f64 (cbrt.f64 (cos.f64 y)) 2) |
| 0.3b | (cbrt.f64 (cos.f64 y)) |
Compiled 55 to 18 computations (67.3% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | 0 | (*.f64 (cbrt.f64 (cos.f64 y)) z) |
| 2.0ms | y | @ | inf | (*.f64 (cbrt.f64 (cos.f64 y)) z) |
| 2.0ms | y | @ | -inf | (*.f64 (cbrt.f64 (cos.f64 y)) z) |
| 1.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (cos.f64 y)) 2) |
| 1.0ms | z | @ | 0 | (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| 1× | batch-egg-rewrite |
| 769× | pow1_binary64 |
| 708× | add-log-exp_binary64 |
| 708× | log1p-expm1-u_binary64 |
| 708× | expm1-log1p-u_binary64 |
| 691× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 1 | 181 | 22 |
| 2 | 2014 | 22 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (cos.f64 y)) 2) |
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
(*.f64 (cbrt.f64 (cos.f64 y)) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.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 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 (cos.f64 y) 2) (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3) (pow.f64 (cos.f64 y) 2)))))) (#(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 (*.f64 (cbrt.f64 (cos.f64 y)) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z))))))) |
| 1× | egg-herbie |
| 1936× | fma-def_binary64 |
| 703× | sqr-pow_binary64 |
| 436× | *-commutative_binary64 |
| 417× | cube-prod_binary64 |
| 320× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 528 |
| 1 | 149 | 522 |
| 2 | 401 | 508 |
| 3 | 1267 | 506 |
| 4 | 2030 | 506 |
| 5 | 2780 | 506 |
| 6 | 2934 | 506 |
| 7 | 3125 | 506 |
| 8 | 3340 | 500 |
| 9 | 5257 | 500 |
| 10 | 5654 | 500 |
| 11 | 6134 | 500 |
| 12 | 6711 | 500 |
| 13 | 7393 | 500 |
| 14 | 7724 | 500 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
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 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)) |
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -23/6480 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/3 (*.f64 y y))) |
(fma.f64 -1/3 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 6) -1/1701 -1/3) (fma.f64 -1/405 (pow.f64 y 6) 1)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 z (fma.f64 (*.f64 y y) -1/2 1)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) 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 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y y) -1/2 1))) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (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 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)) (*.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 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)))) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 (pow.f64 y 6) -1/720 1)))) |
(*.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 (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/6 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/6 (*.f64 (*.f64 y y) z) z) |
(fma.f64 (*.f64 (*.f64 y y) z) -1/6 z) |
(*.f64 z (fma.f64 (*.f64 y y) -1/6 1)) |
(fma.f64 y (*.f64 y (*.f64 z -1/6)) z) |
(fma.f64 (*.f64 y (*.f64 y z)) -1/6 z) |
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)) |
(fma.f64 -1/72 (*.f64 z (pow.f64 y 4)) (fma.f64 -1/6 (*.f64 (*.f64 y y) z) z)) |
(fma.f64 (*.f64 z (pow.f64 y 4)) -1/72 (fma.f64 (*.f64 (*.f64 y y) z) -1/6 z)) |
(fma.f64 z (fma.f64 (pow.f64 y 4) -1/72 (*.f64 y (*.f64 y -1/6))) z) |
(*.f64 z (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1))) |
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -23/6480 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z))) |
(fma.f64 -1/72 (*.f64 z (pow.f64 y 4)) (fma.f64 -23/6480 (*.f64 (pow.f64 y 6) z) (fma.f64 -1/6 (*.f64 (*.f64 y y) z) z))) |
(fma.f64 (*.f64 z (pow.f64 y 4)) -1/72 (fma.f64 (*.f64 (pow.f64 y 6) z) -23/6480 (fma.f64 (*.f64 (*.f64 y y) z) -1/6 z))) |
(fma.f64 z (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480)) (*.f64 z (fma.f64 (*.f64 y y) -1/6 1))) |
(*.f64 z (+.f64 (fma.f64 (*.f64 y y) -1/6 1) (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480)))) |
(*.f64 z (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 1)))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z) |
(*.f64 z (cbrt.f64 (cos.f64 y))) |
Compiled 8 to 4 computations (50% saved)
Compiled 6 to 4 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 23 to 7 computations (69.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| 0.6b | (cbrt.f64 (*.f64 z (cos.f64 y))) | |
| 0.8b | (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) |
Compiled 36 to 13 computations (63.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | z | @ | 0 | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 0.0ms | z | @ | -inf | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 0.0ms | z | @ | inf | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 0.0ms | y | @ | 0 | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 0.0ms | y | @ | inf | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 972× | pow1_binary64 |
| 907× | add-log-exp_binary64 |
| 907× | log1p-expm1-u_binary64 |
| 907× | expm1-log1p-u_binary64 |
| 99× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 11 |
| 1 | 216 | 9 |
| 2 | 2524 | 9 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (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 (sin.f64 y) 2)) (/.f64 1 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (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 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 z (*.f64 (cos.f64 y) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (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) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (*.f64 z (cos.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))) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (*.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))) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y))))))) |
| 1× | egg-herbie |
| 622× | distribute-rgt-in_binary64 |
| 541× | *-commutative_binary64 |
| 469× | associate-+l+_binary64 |
| 456× | distribute-lft-out_binary64 |
| 455× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 163 |
| 1 | 77 | 121 |
| 2 | 189 | 121 |
| 3 | 518 | 117 |
| 4 | 1618 | 117 |
| 5 | 2519 | 117 |
| 6 | 3931 | 117 |
| 7 | 5451 | 117 |
| 8 | 5716 | 117 |
| 9 | 5979 | 117 |
| 10 | 6239 | 117 |
| 11 | 6587 | 117 |
| 12 | 7229 | 117 |
| 1× | node limit |
| Inputs |
|---|
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) z) |
(+.f64 y (*.f64 (pow.f64 1 1/3) z)) |
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)))) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
| Outputs |
|---|
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) z) |
(*.f64 1 z) |
z |
(+.f64 y (*.f64 (pow.f64 1 1/3) z)) |
(+.f64 y (*.f64 1 z)) |
(+.f64 y z) |
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))) |
(+.f64 y (fma.f64 (*.f64 (*.f64 1 z) -1/2) (*.f64 y y) (*.f64 1 z))) |
(+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) z)) |
(+.f64 z (fma.f64 z (*.f64 (*.f64 y y) -1/2) y)) |
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 1) y) |
(fma.f64 (fma.f64 -1/2 (*.f64 y z) 1) y z) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 (*.f64 (*.f64 1 z) -1/2) (*.f64 y y) (*.f64 1 z)))) |
(+.f64 (fma.f64 (*.f64 z -1/2) (*.f64 y y) z) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 (*.f64 y y) -1/2) y))) |
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 1) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y)) |
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
Compiled 5556 to 2468 computations (55.6% saved)
19 alts after pruning (11 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 308 | 6 | 314 |
| Fresh | 4 | 5 | 9 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 7 | 8 |
| Total | 313 | 19 | 332 |
| Status | Error | Program |
|---|---|---|
| 45.1b | z | |
| ✓ | 39.9b | (+.f64 y x) |
| ▶ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))) |
| 34.1b | (*.f64 (cos.f64 y) z) | |
| ▶ | 56.7b | (log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
| 34.0b | (+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y)) | |
| ✓ | 25.1b | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| ▶ | 42.1b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) |
| ✓ | 16.6b | (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 53.5b | (sin.f64 y) |
| ✓ | 25.7b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| ✓ | 29.2b | (+.f64 (sin.f64 y) x) |
| 25.3b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) (sin.f64 y)) | |
| ✓ | 20.7b | (+.f64 z x) |
| ▶ | 42.6b | (+.f64 y z) |
| 17.1b | (+.f64 (+.f64 y x) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) | |
| ▶ | 25.6b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y)) |
| 38.1b | x |
Compiled 318 to 219 computations (31.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| ✓ | 0.2b | (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) |
| 0.3b | (cbrt.f64 (cos.f64 y)) | |
| 0.3b | (pow.f64 (cos.f64 y) 2) |
Compiled 75 to 37 computations (50.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 41.0ms | y | @ | inf | (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) |
| 18.0ms | y | @ | -inf | (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) |
| 2.0ms | y | @ | inf | (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| 2.0ms | z | @ | 0 | (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| 1.0ms | y | @ | 0 | (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| 1× | batch-egg-rewrite |
| 917× | pow1_binary64 |
| 851× | add-log-exp_binary64 |
| 851× | log1p-expm1-u_binary64 |
| 851× | expm1-log1p-u_binary64 |
| 828× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 14 |
| 1 | 257 | 14 |
| 2 | 2528 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) |
(*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4) 1/3) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.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 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 (cos.f64 y) 2) (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) z) 3) (pow.f64 (cos.f64 y) 2)))))) (#(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 |
| 674× | distribute-rgt-out_binary64 |
| 671× | fma-def_binary64 |
| 626× | associate-*l*_binary64 |
| 500× | associate-*r*_binary64 |
| 477× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 304 |
| 1 | 106 | 298 |
| 2 | 265 | 290 |
| 3 | 841 | 287 |
| 4 | 3536 | 287 |
| 5 | 6067 | 287 |
| 6 | 7396 | 287 |
| 7 | 7780 | 287 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
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 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/3 (*.f64 y y))) |
(fma.f64 -1/3 (*.f64 y y) 1) |
(fma.f64 y (*.f64 -1/3 y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))) |
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/405 (pow.f64 y 6) 1))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 z (fma.f64 (*.f64 y y) -1/2 1)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1)) |
(fma.f64 y (*.f64 y (*.f64 z -1/2)) z) |
(fma.f64 (*.f64 y y) (*.f64 z -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 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (*.f64 1/24 (pow.f64 y 4))) z) |
(fma.f64 z (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -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 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)) (*.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 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720)))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 1)))) |
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.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 (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) |
Compiled 8 to 4 computations (50% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 (sin.f64 y) x) | |
| ✓ | 0.1b | (exp.f64 (+.f64 (sin.f64 y) x)) |
| ✓ | 3.5b | (log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
Compiled 22 to 7 computations (68.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (exp.f64 (+.f64 (sin.f64 y) x)) |
| 0.0ms | x | @ | 0 | (exp.f64 (+.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | 0 | (exp.f64 (+.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | 0 | (log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
| 0.0ms | y | @ | inf | (exp.f64 (+.f64 (sin.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 684× | pow1_binary64 |
| 634× | log1p-expm1-u_binary64 |
| 634× | expm1-log1p-u_binary64 |
| 633× | add-log-exp_binary64 |
| 618× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 130 | 14 |
| 2 | 1703 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
(exp.f64 (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (sin.f64 y) x)) (/.f64 (*.f64 x x) (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))) (neg.f64 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(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 cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 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 fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 (sin.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (sin.f64 y)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 x) (exp.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 2) (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2)) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (+.f64 (sin.f64 y) x))) (sqrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))))) |
| 1× | egg-herbie |
| 695× | unsub-neg_binary64 |
| 314× | *-commutative_binary64 |
| 304× | fma-neg_binary64 |
| 266× | fma-def_binary64 |
| 261× | neg-mul-1_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 339 |
| 1 | 149 | 317 |
| 2 | 363 | 298 |
| 3 | 1272 | 286 |
| 4 | 2852 | 284 |
| 5 | 7692 | 284 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) 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) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(exp.f64 x) |
(+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x)) |
(+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 4) (exp.f64 x))) (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x)))))) |
(exp.f64 (sin.f64 y)) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y))) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (exp.f64 (sin.f64 y)))) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (+.f64 (exp.f64 (sin.f64 y)) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)))))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
| Outputs |
|---|
x |
(+.f64 y x) |
(+.f64 x y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x)) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(fma.f64 1/120 (pow.f64 y 5) (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) 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)) |
(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)) |
x |
(+.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)) |
x |
(+.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)) |
(exp.f64 x) |
(+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x)) |
(fma.f64 y (exp.f64 x) (exp.f64 x)) |
(*.f64 (exp.f64 x) (+.f64 y 1)) |
(+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))) |
(+.f64 (fma.f64 y (exp.f64 x) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y)))) |
(*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 (*.f64 1/2 y) y))) |
(*.f64 (exp.f64 x) (+.f64 y (fma.f64 1/2 (*.f64 y y) 1))) |
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 4) (exp.f64 x))) (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x)))))) |
(fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (+.f64 (fma.f64 y (exp.f64 x) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y))))) |
(fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 (*.f64 1/2 y) y)))) |
(*.f64 (exp.f64 x) (+.f64 (*.f64 -1/8 (pow.f64 y 4)) (+.f64 y (fma.f64 1/2 (*.f64 y y) 1)))) |
(*.f64 (exp.f64 x) (+.f64 (fma.f64 -1/8 (pow.f64 y 4) y) (fma.f64 1/2 (*.f64 y y) 1))) |
(*.f64 (exp.f64 x) (+.f64 (fma.f64 1/2 (*.f64 y y) 1) (fma.f64 -1/8 (pow.f64 y 4) y))) |
(exp.f64 (sin.f64 y)) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y))) |
(fma.f64 (exp.f64 (sin.f64 y)) x (exp.f64 (sin.f64 y))) |
(*.f64 (+.f64 x 1) (exp.f64 (sin.f64 y))) |
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 x 1)) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (exp.f64 (sin.f64 y)))) |
(fma.f64 (exp.f64 (sin.f64 y)) x (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (exp.f64 (sin.f64 y)))) |
(+.f64 (*.f64 (+.f64 x 1) (exp.f64 (sin.f64 y))) (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)))) |
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 x (*.f64 x 1/2)))) |
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 x (+.f64 1 (*.f64 x (*.f64 x 1/2))))) |
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 1 (fma.f64 x (*.f64 x 1/2) x))) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (+.f64 (exp.f64 (sin.f64 y)) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)))))) |
(fma.f64 (exp.f64 (sin.f64 y)) x (+.f64 (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (exp.f64 (sin.f64 y))) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3))))) |
(fma.f64 x (exp.f64 (sin.f64 y)) (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (fma.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)) (exp.f64 (sin.f64 y))))) |
(+.f64 (*.f64 (+.f64 (*.f64 x (*.f64 x 1/2)) 1) (exp.f64 (sin.f64 y))) (*.f64 (exp.f64 (sin.f64 y)) (+.f64 (*.f64 1/6 (pow.f64 x 3)) x))) |
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x 1/6))))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x))) |
(exp.f64 (+.f64 x (sin.f64 y))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x))) |
(exp.f64 (+.f64 x (sin.f64 y))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x))) |
(exp.f64 (+.f64 x (sin.f64 y))) |
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) |
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x))) |
(exp.f64 (+.f64 x (sin.f64 y))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.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 35 to 9 computations (74.3% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.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 | @ | 0 | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1.0ms | y | @ | inf | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1× | batch-egg-rewrite |
| 982× | pow1_binary64 |
| 907× | add-log-exp_binary64 |
| 907× | log1p-expm1-u_binary64 |
| 907× | expm1-log1p-u_binary64 |
| 98× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 1 | 189 | 23 |
| 2 | 2504 | 23 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) |
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) |
| Outputs |
|---|
((#(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 (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 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 -.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 (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 (sqrt.f64 z)) (cos.f64 y)))))) (#(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 cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3/2) (pow.f64 (cos.f64 y) 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 -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (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 (sin.f64 y) 2)) (/.f64 1 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (cos.f64 y) (sqrt.f64 z)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2)) (cbrt.f64 (*.f64 (cos.f64 y) z)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (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)) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 786× | unsub-neg_binary64 |
| 416× | *-commutative_binary64 |
| 363× | distribute-lft-out_binary64 |
| 298× | neg-mul-1_binary64 |
| 288× | neg-sub0_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 548 |
| 1 | 139 | 539 |
| 2 | 413 | 518 |
| 3 | 1411 | 514 |
| 4 | 2382 | 514 |
| 5 | 3874 | 514 |
| 6 | 6528 | 514 |
| 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)) |
z |
(+.f64 y z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(sin.f64 y) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(*.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))) (sin.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.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)) |
(fma.f64 y (*.f64 -1/2 (*.f64 z 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 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.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))) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) 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 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/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))))) |
(*.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)) |
z |
(+.f64 y z) |
(+.f64 z y) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(sin.f64 y) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(*.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))) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (sin.f64 y)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| ✓ | 0.3b | (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 z) 2) |
| ✓ | 0.6b | (cbrt.f64 z) |
Compiled 44 to 17 computations (61.4% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 63.0ms | z | @ | -inf | (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) |
| 3.0ms | y | @ | inf | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| 1.0ms | z | @ | -inf | (pow.f64 (cbrt.f64 z) 2) |
| 1.0ms | z | @ | -inf | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 769× | pow1_binary64 |
| 708× | add-log-exp_binary64 |
| 708× | log1p-expm1-u_binary64 |
| 708× | expm1-log1p-u_binary64 |
| 691× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 1 | 181 | 23 |
| 2 | 2013 | 23 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 z) |
(pow.f64 (cbrt.f64 z) 2) |
(*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 z)) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 z) 1/3) (pow.f64 (sqrt.f64 z) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 z 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 z) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (*.f64 z (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z))) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (*.f64 (pow.f64 z 1/6) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 z)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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)) 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 cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 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 cbrt.f64 (*.f64 (*.f64 z z) (pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 3) (*.f64 z z)))))) (#(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 (*.f64 (cbrt.f64 z) (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 z) (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)))))))) |
| 1× | egg-herbie |
| 838× | unswap-sqr_binary64 |
| 756× | distribute-rgt-out_binary64 |
| 655× | associate-+l+_binary64 |
| 534× | sqr-pow_binary64 |
| 461× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 338 |
| 1 | 120 | 332 |
| 2 | 378 | 318 |
| 3 | 1378 | 314 |
| 4 | 2404 | 310 |
| 5 | 3990 | 310 |
| 6 | 5137 | 310 |
| 7 | 5586 | 310 |
| 8 | 5749 | 310 |
| 9 | 5964 | 310 |
| 10 | 6269 | 310 |
| 11 | 6630 | 310 |
| 12 | 7067 | 310 |
| 13 | 7811 | 310 |
| 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 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)) |
(pow.f64 z 1/3) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3)) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3))) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 6)))))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
| 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) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(*.f64 z (fma.f64 (*.f64 y -1/2) y 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 (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y -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 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 (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) |
(pow.f64 z 1/3) |
(cbrt.f64 z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) |
(*.f64 (fma.f64 (*.f64 y -1/2) y 1) (cbrt.f64 z)) |
(*.f64 (cbrt.f64 z) (fma.f64 (*.f64 y -1/2) y 1)) |
(*.f64 (cbrt.f64 z) (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3))) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (*.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (cbrt.f64 z))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y -1/2) y 1))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 6)))))) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) (*.f64 -1/720 (*.f64 (pow.f64 y 6) (cbrt.f64 z))))) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) (cbrt.f64 z)) (cbrt.f64 z)))) |
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))))) |
(+.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))) |
(*.f64 (cbrt.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 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 z)) |
Compiled 6404 to 2806 computations (56.2% saved)
19 alts after pruning (7 fresh and 12 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 415 | 3 | 418 |
| Fresh | 2 | 4 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 11 | 12 |
| Total | 418 | 19 | 437 |
| Status | Error | Program |
|---|---|---|
| 45.1b | z | |
| ✓ | 39.9b | (+.f64 y x) |
| 34.1b | (*.f64 (cos.f64 y) z) | |
| ✓ | 56.7b | (log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
| 34.0b | (+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y)) | |
| ✓ | 25.1b | (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| 33.4b | (+.f64 (*.f64 (sqrt.f64 (*.f64 z (cbrt.f64 z))) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y)) | |
| 38.1b | x | |
| ✓ | 42.1b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) |
| ✓ | 16.6b | (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 53.5b | (sin.f64 y) |
| 25.6b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) z))) (sin.f64 y)) | |
| ✓ | 25.7b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
| ✓ | 29.2b | (+.f64 (sin.f64 y) x) |
| ✓ | 42.6b | (+.f64 y z) |
| 17.1b | (+.f64 (+.f64 y x) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) | |
| ✓ | 25.6b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y)) |
| ✓ | 20.7b | (+.f64 z x) |
Compiled 194 to 135 computations (30.4% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x))) |
(+.f64 (+.f64 y x) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y)) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) |
(+.f64 (log.f64 (exp.f64 (+.f64 x (sin.f64 y)))) (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y)) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y)) |
(+.f64 (*.f64 (sqrt.f64 (*.f64 z (cbrt.f64 z))) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) (sin.f64 y)) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) z))) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))) |
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))) |
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
4 calls:
| 19.0ms | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 19.0ms | z |
| 16.0ms | x |
| 16.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))) |
Compiled 356 to 115 computations (67.7% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(+.f64 (sin.f64 y) x) |
(+.f64 z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
3 calls:
| 41.0ms | z |
| 22.0ms | y |
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 6.6b | 3 | x |
| 9.4b | 3 | y |
| 5.9b | 6 | z |
Compiled 57 to 23 computations (59.6% saved)
| 5× | binary-search |
| Time | Left | Right |
|---|---|---|
| 51.0ms | 3.3675823272914263e+184 | 2.1591852917856652e+186 |
| 47.0ms | 1.5256828054520908e+98 | 2.9730668154805883e+100 |
| 43.0ms | 1.0534743273697433e-42 | 5.5997377546635976e-42 |
| 44.0ms | -1.5269390318249027e-111 | -9.999092321689874e-127 |
| 56.0ms | -1.2122258679160396e+192 | -8.350495106165983e+190 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(+.f64 (sin.f64 y) x) |
(+.f64 z x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 30.0ms | z |
| 25.0ms | y |
| 23.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.0b | 4 | x |
| 11.7b | 4 | y |
| 6.6b | 5 | z |
Compiled 42 to 20 computations (52.4% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 54.0ms | 1.5256828054520908e+98 | 2.9730668154805883e+100 |
| 43.0ms | 1.0534743273697433e-42 | 5.5997377546635976e-42 |
| 42.0ms | -1.5269390318249027e-111 | -9.999092321689874e-127 |
| 50.0ms | -1.2122258679160396e+192 | -8.350495106165983e+190 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 z x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 72.0ms | y |
| 29.0ms | z |
| 22.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.0b | 4 | x |
| 14.6b | 5 | y |
| 12.4b | 5 | z |
Compiled 38 to 19 computations (50% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 51.0ms | 1.5256828054520908e+98 | 2.9730668154805883e+100 |
| 48.0ms | 6.951885837040458e-95 | 1.605336677779909e-92 |
| 46.0ms | -4.134652416664313e-170 | -1.7324032198514375e-171 |
| 53.0ms | -1.2122258679160396e+192 | -8.350495106165983e+190 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
| Outputs |
|---|
(+.f64 z x) |
(sin.f64 y) |
(+.f64 y (+.f64 z x)) |
(+.f64 z x) |
3 calls:
| 34.0ms | y |
| 32.0ms | x |
| 27.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 16.9b | 4 | x |
| 17.6b | 3 | y |
| 19.2b | 3 | z |
Compiled 34 to 17 computations (50% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 58.0ms | 4.7882041375632194e-33 | 3.948892485564202e-29 |
| 56.0ms | -2.8741572151691164e-72 | -5.730454642523982e-75 |
| 61.0ms | -1.0694109591234513e-21 | -4.1684978378366753e-23 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 z x) |
3 calls:
| 15.0ms | y |
| 15.0ms | z |
| 15.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 18.0b | 3 | x |
| 17.6b | 3 | y |
| 19.2b | 3 | z |
Compiled 32 to 16 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 39.0ms | 1393467.4013561832 | 22302784063515.707 |
| 36.0ms | -5.6331254089158625e+56 | -3.4820686405313685e+47 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
(+.f64 z x) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 y z) |
(+.f64 z x) |
3 calls:
| 14.0ms | z |
| 14.0ms | x |
| 6.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 18.4b | 3 | x |
| 20.7b | 1 | y |
| 19.4b | 3 | z |
Compiled 27 to 15 computations (44.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 55.0ms | 1.0368026855248793e-84 | 3.46246672469427e-83 |
| 56.0ms | -2.3464185735336456e-218 | -9.073945039235497e-220 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
(+.f64 y z) |
| Outputs |
|---|
x |
(+.f64 y z) |
x |
3 calls:
| 29.0ms | y |
| 24.0ms | z |
| 13.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 24.7b | 3 | x |
| 28.3b | 7 | y |
| 29.0b | 5 | z |
Compiled 24 to 14 computations (41.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 58.0ms | 1189639.3908977848 | 2665025.41464906 |
| 39.0ms | -4.519040634168812e+124 | -1.5980646720755047e+113 |
Compiled 18 to 13 computations (27.8% saved)
Total -35.2b remaining (-129.8%)
Threshold costs -35.2b (-129.8%)
| Inputs |
|---|
x |
z |
x |
(+.f64 y x) |
| Outputs |
|---|
x |
z |
x |
3 calls:
| 23.0ms | z |
| 19.0ms | y |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 27.2b | 3 | x |
| 30.6b | 5 | y |
| 29.0b | 5 | z |
Compiled 21 to 13 computations (38.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 54.0ms | 1189639.3908977848 | 2665025.41464906 |
| 39.0ms | -2.3944564044018373e+125 | -4.519040634168812e+124 |
Compiled 18 to 13 computations (27.8% saved)
| 1× | egg-herbie |
| 7× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 304 |
| 1 | 82 | 304 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 (cos.f64 y) z) (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 z x) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 z x)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 z x) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 z x)) (+.f64 z x)))) |
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 z x) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 z x)) (+.f64 z x))) |
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 z x) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 z x))) |
(if (<=.f64 x -45190406341688123027315209458055314815991614017819418021607169127463460670441170490321919313959159314113307516084626095341568) x (if (<=.f64 x 2554731138969673/2147483648) (+.f64 y z) x)) |
(if (<=.f64 x -239445640440183734953002429244664151111683535462076620894300708855117551212625861717585375969402989837677002009575048811118592) x (if (<=.f64 x 2554731138969673/2147483648) z x)) |
x |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 (cos.f64 y) z) (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 x z) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 x (sin.f64 y)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 z (cos.f64 y)) (+.f64 (*.f64 z (cos.f64 y)) (+.f64 x y))))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 x z) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 x (sin.f64 y)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (*.f64 z (cos.f64 y)))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 z x) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 z x)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 x z) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 x z)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (*.f64 z (cos.f64 y)))))) |
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 z x) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 z x)) (+.f64 z x)))) |
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 x z) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 x z)) (+.f64 x z)))) |
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 z x) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 z x)) (+.f64 z x))) |
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 x z) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 x z)) (+.f64 x z))) |
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 z x) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 z x))) |
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 x z) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 x z))) |
(if (<=.f64 x -45190406341688123027315209458055314815991614017819418021607169127463460670441170490321919313959159314113307516084626095341568) x (if (<=.f64 x 2554731138969673/2147483648) (+.f64 y z) x)) |
(if (<=.f64 x -239445640440183734953002429244664151111683535462076620894300708855117551212625861717585375969402989837677002009575048811118592) x (if (<=.f64 x 2554731138969673/2147483648) z x)) |
x |
Compiled 240 to 131 computations (45.4% saved)
Compiled 213 to 85 computations (60.1% saved)
Loading profile data...