Time bar (total: 10.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 37.4% | 62.4% | 0.1% | 8 |
| 37.4% | 62.4% | 0.1% | 9 |
| 56.2% | 43.7% | 0.1% | 10 |
| 65.5% | 34.3% | 0.1% | 11 |
| 65.5% | 34.3% | 0.1% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.3s | 6279× | body | 256 | valid |
| 754.0ms | 1297× | body | 1024 | valid |
| 257.0ms | 677× | body | 512 | valid |
| 5.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)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| ▶ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 23 to 15 computations (34.8% 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 | |
|---|---|---|---|---|
| 2.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) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 0.0ms | z | @ | -inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 0.0ms | z | @ | inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 909× | pow1_binary64 |
| 838× | add-log-exp_binary64 |
| 838× | log1p-expm1-u_binary64 |
| 838× | expm1-log1p-u_binary64 |
| 818× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 167 | 12 |
| 2 | 2222 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 980× | fma-def_binary64 |
| 646× | associate-*l*_binary64 |
| 536× | unswap-sqr_binary64 |
| 497× | distribute-lft-out_binary64 |
| 412× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 393 |
| 1 | 59 | 393 |
| 2 | 152 | 393 |
| 3 | 455 | 390 |
| 4 | 1232 | 388 |
| 5 | 3644 | 388 |
| 6 | 5623 | 388 |
| 7 | 6858 | 388 |
| 8 | 7119 | 388 |
| 9 | 7430 | 388 |
| 10 | 7813 | 388 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 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 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.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)) |
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)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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 x z) |
(+.f64 y (+.f64 z x)) |
(+.f64 (+.f64 y z) x) |
(+.f64 y (+.f64 x z)) |
(+.f64 x (+.f64 y z)) |
(+.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 (+.f64 y z) x)) |
(+.f64 (+.f64 x z) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)) |
(+.f64 y (fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 x z))) |
(+.f64 (+.f64 y x) (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(+.f64 x (fma.f64 (fma.f64 y (*.f64 z -1/2) 1) y z)) |
(fma.f64 (fma.f64 y (*.f64 z -1/2) 1) y (+.f64 x z)) |
(+.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 (+.f64 y z) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 x z) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))) |
(+.f64 (+.f64 x z) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 y (*.f64 y -1/2)) y))) |
(+.f64 z (fma.f64 (*.f64 y y) (fma.f64 y -1/6 (*.f64 z -1/2)) (+.f64 y x))) |
(+.f64 y (+.f64 x (fma.f64 (*.f64 y y) (fma.f64 y -1/6 (*.f64 z -1/2)) z))) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
(+.f64 (fma.f64 (cos.f64 y) z (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)) |
Compiled 4137 to 1286 computations (68.9% saved)
20 alts after pruning (19 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 269 | 19 | 288 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 270 | 20 | 290 |
| Status | Error | Program |
|---|---|---|
| 35.3b | (*.f64 (cos.f64 y) z) | |
| 27.9b | (+.f64 (sin.f64 y) x) | |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 29.6b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) | |
| 37.1b | x | |
| 34.3b | (+.f64 (log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y)))) (*.f64 z (cos.f64 y))) | |
| 22.6b | (+.f64 y (+.f64 z x)) | |
| 0.6b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (+.f64 x (sin.f64 y))) | |
| ▶ | 25.6b | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| ▶ | 0.2b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 21.2b | (+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) | |
| ▶ | 21.6b | (+.f64 z x) |
| 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| ▶ | 12.4b | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 16.6b | (fma.f64 z (cos.f64 y) (+.f64 y x)) | |
| 25.7b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) | |
| 27.9b | (/.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)))) | |
| ▶ | 29.1b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| 13.6b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| 16.6b | (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
Compiled 480 to 315 computations (34.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| ✓ | 0.2b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
Compiled 49 to 22 computations (55.1% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | -inf | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| 3.0ms | y | @ | inf | (cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
| 2.0ms | z | @ | 0 | (*.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 | @ | 0 | (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 | 1920 | 30 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (cos.f64 y)) |
(cbrt.f64 (pow.f64 (cos.f64 y) 2)) |
(pow.f64 (cos.f64 y) 2) |
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) |
| Outputs |
|---|
((#(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 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 (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 (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 (cbrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (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 (*.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 | 1260 | 514 |
| 4 | 3052 | 514 |
| 5 | 4385 | 514 |
| 6 | 6357 | 514 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) |
1 |
(+.f64 (*.f64 -1 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(*.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/6 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/6 (*.f64 y y))) |
(fma.f64 -1/6 (*.f64 y y) 1) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 -1/6 (*.f64 y y)))) |
(fma.f64 -1/72 (pow.f64 y 4) (fma.f64 -1/6 (*.f64 y y) 1)) |
(fma.f64 -1/6 (*.f64 y y) (fma.f64 -1/72 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 -1/6 (*.f64 y y))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (fma.f64 -1/6 (*.f64 y y) 1))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/6 (*.f64 y y) (fma.f64 -1/72 (pow.f64 y 4) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y -1/72) -1/6) (fma.f64 -23/6480 (pow.f64 y 6) 1)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
1 |
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/3)) |
(fma.f64 (*.f64 y y) -1/3 1) |
(fma.f64 y (*.f64 y -1/3) 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6)))) |
(+.f64 1 (fma.f64 -1/3 (*.f64 y y) (*.f64 (pow.f64 y 6) -1/405))) |
(+.f64 1 (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3)))) |
(fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 1)) |
(+.f64 1 (+.f64 (*.f64 -1/1701 (pow.f64 y 8)) (+.f64 (*.f64 -1/3 (pow.f64 y 2)) (*.f64 -1/405 (pow.f64 y 6))))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (*.f64 (pow.f64 y 6) -1/405)))) |
(+.f64 1 (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3))))) |
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 1))) |
(fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (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)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/3)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 1) (*.f64 y y)) |
(-.f64 (*.f64 (pow.f64 y 4) 1/3) (fma.f64 y y -1)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (fma.f64 -2/45 (pow.f64 y 6) (*.f64 (pow.f64 y 4) 1/3))) |
(+.f64 (-.f64 1 (*.f64 y y)) (fma.f64 (pow.f64 y 4) 1/3 (*.f64 (pow.f64 y 6) -2/45))) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 (fma.f64 (pow.f64 y 6) -2/45 1)) (*.f64 y y)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 (*.f64 (pow.f64 y 6) -2/45)) (fma.f64 y y -1)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 1) (fma.f64 y y (*.f64 (pow.f64 y 6) 2/45))) |
(-.f64 1 (fma.f64 y y (fma.f64 (pow.f64 y 4) -1/3 (*.f64 (pow.f64 y 6) 2/45)))) |
(*.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 (*.f64 y y) -1/3 1) z) |
(fma.f64 (*.f64 y (*.f64 y -1/3)) z 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 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3))))) |
(fma.f64 z (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3))) z) |
(fma.f64 (fma.f64 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3))) z z) |
(fma.f64 (fma.f64 y (*.f64 y -1/3) (*.f64 (pow.f64 y 6) -1/405)) z 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 (pow.f64 y 6) -1/405 (*.f64 y (*.f64 y -1/3)))) (fma.f64 -1/1701 (*.f64 (pow.f64 y 8) z) z)) |
(+.f64 z (*.f64 z (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 -1/1701 (pow.f64 y 8)))))) |
(*.f64 z (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (fma.f64 -1/1701 (pow.f64 y 8) 1)))) |
(*.f64 (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (fma.f64 -1/1701 (pow.f64 y 8) 1))) z) |
(fma.f64 z (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 -1/1701 (pow.f64 y 8)))) 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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 0.0b | (+.f64 x (sin.f64 y)) |
Compiled 18 to 6 computations (66.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 0.0ms | y | @ | inf | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 0.0ms | x | @ | -inf | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 0.0ms | x | @ | inf | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 0.0ms | y | @ | 0 | (+.f64 (+.f64 x (sin.f64 y)) z) |
| 1× | batch-egg-rewrite |
| 987× | pow1_binary64 |
| 919× | add-log-exp_binary64 |
| 919× | log1p-expm1-u_binary64 |
| 919× | expm1-log1p-u_binary64 |
| 88× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 159 | 9 |
| 2 | 2405 | 9 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (+.f64 (sin.f64 y) z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (+.f64 (sin.f64 y) (-.f64 x z))) (/.f64 (*.f64 z z) (+.f64 (sin.f64 y) (-.f64 x z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (+.f64 (sin.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) (pow.f64 (cbrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) 2) (cbrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) (sqrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) (pow.f64 z 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z (-.f64 z (+.f64 x (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z z)) (/.f64 1 (+.f64 (sin.f64 y) (-.f64 x z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z (-.f64 z (+.f64 x (sin.f64 y))))) (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (sin.f64 y) (-.f64 x z)) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) (pow.f64 z 3)) (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z (-.f64 z (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) (pow.f64 z 3)) (+.f64 (*.f64 z z) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 (+.f64 x (sin.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z z)) (+.f64 (sin.f64 y) (-.f64 x z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) (pow.f64 z 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z (-.f64 z (+.f64 x (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 z z))) (neg.f64 (+.f64 (sin.f64 y) (-.f64 x z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 (sin.f64 y) z) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (+.f64 (sin.f64 y) z) (+.f64 (sin.f64 y) z)) (*.f64 x (+.f64 (sin.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (+.f64 (sin.f64 y) z) (+.f64 (sin.f64 y) z))) (-.f64 x (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 z (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (+.f64 (sin.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (+.f64 (sin.f64 y) z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (+.f64 (sin.f64 y) z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (+.f64 (sin.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (+.f64 (sin.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (+.f64 (sin.f64 y) z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (+.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x (sin.f64 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (+.f64 x (sin.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))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 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))) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 (sin.f64 y) z)))))) |
| 1× | egg-herbie |
| 780× | sqr-pow_binary64 |
| 692× | fma-def_binary64 |
| 684× | cube-prod_binary64 |
| 604× | fabs-mul_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 296 |
| 1 | 58 | 296 |
| 2 | 149 | 296 |
| 3 | 416 | 296 |
| 4 | 806 | 296 |
| 5 | 1428 | 296 |
| 6 | 2034 | 296 |
| 7 | 2704 | 296 |
| 8 | 2812 | 296 |
| 9 | 2974 | 296 |
| 10 | 3187 | 296 |
| 11 | 3517 | 296 |
| 12 | 3973 | 296 |
| 13 | 4571 | 296 |
| 14 | 5321 | 296 |
| 15 | 6255 | 296 |
| 16 | 6763 | 296 |
| 17 | 7251 | 296 |
| 18 | 7651 | 296 |
| 19 | 7977 | 296 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 z (sin.f64 y)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
x |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
x |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 z x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 z x)))) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
z |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
z |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(+.f64 z (sin.f64 y)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
x |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
x |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 x (+.f64 z y)) |
(+.f64 z (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 z x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (+.f64 z x))) |
(+.f64 (+.f64 z x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 z (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 z (+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (+.f64 z x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 z (+.f64 y x))) |
(+.f64 y (+.f64 z (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)) (+.f64 z x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) (+.f64 z x)))) |
(+.f64 (+.f64 x (fma.f64 1/120 (pow.f64 y 5) z)) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 z (+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 z (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)))) |
(+.f64 x (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) z))) |
(+.f64 y (+.f64 (fma.f64 1/120 (pow.f64 y 5) z) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
z |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
z |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
(+.f64 z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 z x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
Compiled 15 to 6 computations (60% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 0.0ms | y | @ | 0 | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 0.0ms | z | @ | inf | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 0.0ms | y | @ | inf | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 0.0ms | y | @ | -inf | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 567× | pow1_binary64 |
| 517× | add-log-exp_binary64 |
| 517× | log1p-expm1-u_binary64 |
| 517× | expm1-log1p-u_binary64 |
| 504× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 117 | 9 |
| 2 | 1380 | 9 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (cos.f64 y) z (sin.f64 y))) 1)))) (#(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 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))) (#(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 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)))))))) |
| 1× | egg-herbie |
| 633× | associate-*l*_binary64 |
| 536× | unswap-sqr_binary64 |
| 507× | distribute-lft-out_binary64 |
| 507× | sqr-pow_binary64 |
| 504× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 208 |
| 1 | 48 | 208 |
| 2 | 117 | 208 |
| 3 | 319 | 203 |
| 4 | 835 | 203 |
| 5 | 2855 | 203 |
| 6 | 4828 | 203 |
| 7 | 6067 | 203 |
| 8 | 6328 | 203 |
| 9 | 6639 | 203 |
| 10 | 7022 | 203 |
| 11 | 7599 | 203 |
| 1× | node limit |
| Inputs |
|---|
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 (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)) |
| Outputs |
|---|
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)) |
(+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) 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) |
(+.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) (+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) y))) |
(+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) y))) |
(+.f64 y (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) z)) |
(+.f64 z (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) y)) |
(fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) (+.f64 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 (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)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| ✓ | 0.1b | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
Compiled 33 to 9 computations (72.7% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | z | @ | -inf | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | inf | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | 0 | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1.0ms | z | @ | 0 | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | -inf | (*.f64 (cos.f64 y) (sqrt.f64 z)) |
| 1× | batch-egg-rewrite |
| 571× | prod-diff_binary64 |
| 501× | log-prod_binary64 |
| 344× | pow-prod-down_binary64 |
| 279× | pow2_binary64 |
| 235× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 27 |
| 1 | 207 | 22 |
| 2 | 2698 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) (sqrt.f64 z)) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 y) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 z)) (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 z)) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 z)) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 z)) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (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 expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) (pow.f64 (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) 2) (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) (sqrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 (cos.f64 y) z) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 x (sin.f64 y))) (exp.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x (sin.f64 y)))) (exp.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 y) z)) (+.f64 1 (expm1.f64 (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (fma.f64 (cos.f64 y) z x) (sin.f64 y)))) 2)))))) |
| 1× | egg-herbie |
| 1975× | fma-def_binary64 |
| 662× | sqr-pow_binary64 |
| 416× | cube-prod_binary64 |
| 356× | *-commutative_binary64 |
| 351× | pow-sqr_binary64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 425 |
| 1 | 103 | 420 |
| 2 | 285 | 407 |
| 3 | 998 | 399 |
| 4 | 2534 | 399 |
| 5 | 3349 | 399 |
| 6 | 3504 | 399 |
| 7 | 3653 | 399 |
| 8 | 3819 | 399 |
| 9 | 4043 | 393 |
| 10 | 5434 | 393 |
| 11 | 5816 | 393 |
| 12 | 6291 | 393 |
| 13 | 6844 | 393 |
| 14 | 7593 | 393 |
| 15 | 7996 | 393 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(+.f64 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) (sin.f64 y)) |
(+.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)) |
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)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(sqrt.f64 z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z)) |
(fma.f64 -1/2 (*.f64 (sqrt.f64 z) (*.f64 y y)) (sqrt.f64 z)) |
(fma.f64 (*.f64 -1/2 (*.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 (sqrt.f64 z) (*.f64 y y)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (sqrt.f64 z) (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 (sqrt.f64 z) (*.f64 y y)) (fma.f64 1/24 (*.f64 (sqrt.f64 z) (pow.f64 y 4)) (sqrt.f64 z))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))) |
(*.f64 (sqrt.f64 z) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1)) |
(*.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 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 (sqrt.f64 z) (pow.f64 y 6)) (+.f64 (fma.f64 -1/2 (*.f64 (sqrt.f64 z) (*.f64 y y)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (sqrt.f64 z) (pow.f64 y 4))))) |
(+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 z) (pow.f64 y 4)) (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/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (*.f64 (sqrt.f64 z) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))))) |
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -1/720 -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(*.f64 (sqrt.f64 z) (cos.f64 y)) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 z (+.f64 x y)) |
(+.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 (*.f64 -1/2 (*.f64 y y)) z y)) |
(+.f64 (+.f64 z x) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) y)) |
(+.f64 (+.f64 z y) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) x)) |
(fma.f64 y (fma.f64 -1/2 (*.f64 z y) 1) (+.f64 z x)) |
(+.f64 x (fma.f64 z (fma.f64 -1/2 (*.f64 y y) 1) 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 (*.f64 -1/2 (*.f64 y y)) z y))) |
(+.f64 (+.f64 z x) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) y))) |
(+.f64 (+.f64 z y) (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) x)) |
(fma.f64 y (fma.f64 y (fma.f64 z -1/2 (*.f64 y -1/6)) 1) (+.f64 z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (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) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
Compiled 5913 to 2078 computations (64.9% saved)
24 alts after pruning (20 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 375 | 10 | 385 |
| Fresh | 4 | 10 | 14 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 381 | 24 | 405 |
| Status | Error | Program |
|---|---|---|
| ✓ | 21.6b | (+.f64 z x) |
| 22.6b | (+.f64 (+.f64 y x) z) | |
| 35.3b | (*.f64 (cos.f64 y) z) | |
| ▶ | 27.9b | (+.f64 (sin.f64 y) x) |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 29.6b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) | |
| 53.2b | (sin.f64 y) | |
| ▶ | 16.6b | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| ▶ | 43.9b | (+.f64 z y) |
| 0.6b | (fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (+.f64 x (sin.f64 y))) | |
| ✓ | 25.6b | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| 46.8b | z | |
| ✓ | 0.2b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 21.2b | (+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) | |
| 37.8b | (+.f64 (sin.f64 y) z) | |
| 16.6b | (+.f64 (+.f64 y x) (*.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))) |
| ▶ | 43.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 25.7b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) | |
| 41.0b | (+.f64 (log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y)))) z) | |
| 13.6b | (fma.f64 (*.f64 z (pow.f64 (cos.f64 y) 2/3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| 27.9b | (/.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)))) | |
| 37.1b | x | |
| 13.6b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
Compiled 493 to 326 computations (33.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ✓ | 0.2b | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 z) 2) |
| ✓ | 0.6b | (cbrt.f64 z) |
Compiled 40 to 14 computations (65% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 2.0ms | y | @ | inf | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 2.0ms | y | @ | inf | (*.f64 (cbrt.f64 z) (cos.f64 y)) |
| 2.0ms | z | @ | -inf | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 2.0ms | x | @ | 0 | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 578× | prod-diff_binary64 |
| 549× | log-prod_binary64 |
| 375× | pow-prod-down_binary64 |
| 313× | pow2_binary64 |
| 247× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 39 |
| 1 | 249 | 31 |
| 2 | 3065 | 29 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 z) |
(pow.f64 (cbrt.f64 z) 2) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cbrt.f64 z))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cbrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 z)))) (log.f64 (sqrt.f64 (exp.f64 (cbrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 z)) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4)) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 z 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z z) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 z) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 z) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 z)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2/3 (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cbrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (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 log.f64 (+.f64 1 (expm1.f64 (*.f64 (cbrt.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 3)))))) (#(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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cbrt.f64 z) (cos.f64 y))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(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 (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 (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 z (cos.f64 y)) 2) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.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 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 (exp.f64 (+.f64 x (sin.f64 y))) (exp.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)))) (exp.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 z (cos.f64 y))) (+.f64 1 (expm1.f64 (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.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)))))) |
| 1× | egg-herbie |
| 928× | *-commutative_binary64 |
| 632× | distribute-lft-out_binary64 |
| 629× | sqr-pow_binary64 |
| 539× | associate-+l+_binary64 |
| 394× | +-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 493 |
| 1 | 152 | 433 |
| 2 | 404 | 431 |
| 3 | 1442 | 426 |
| 4 | 2729 | 424 |
| 5 | 2899 | 424 |
| 6 | 3045 | 424 |
| 7 | 3246 | 424 |
| 8 | 3529 | 424 |
| 9 | 3740 | 424 |
| 10 | 5132 | 424 |
| 11 | 5960 | 424 |
| 12 | 6351 | 424 |
| 13 | 6804 | 424 |
| 14 | 7330 | 424 |
| 15 | 7636 | 424 |
| 1× | node limit |
| Inputs |
|---|
(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)) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) 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 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.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 (*.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)) |
| Outputs |
|---|
(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 (cbrt.f64 z) (*.f64 y y)) (cbrt.f64 z)) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 y y)) 1) (cbrt.f64 z)) |
(*.f64 (cbrt.f64 z) (+.f64 1 (*.f64 -1/2 (*.f64 y y)))) |
(+.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 (cbrt.f64 z) (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 (cbrt.f64 z) (*.f64 y y)) (cbrt.f64 z))) |
(+.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (+.f64 1 (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (cbrt.f64 z) (+.f64 1 (*.f64 (*.f64 y y) (+.f64 -1/2 (*.f64 (*.f64 y y) 1/24))))) |
(*.f64 (cbrt.f64 z) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/24 (pow.f64 y 4))))) |
(+.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 (cbrt.f64 z) (pow.f64 y 4)) (+.f64 (fma.f64 -1/2 (*.f64 (cbrt.f64 z) (*.f64 y y)) (cbrt.f64 z)) (*.f64 -1/720 (*.f64 (cbrt.f64 z) (pow.f64 y 6))))) |
(fma.f64 1/24 (*.f64 (cbrt.f64 z) (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 (cbrt.f64 z) (*.f64 y y)) (fma.f64 -1/720 (*.f64 (cbrt.f64 z) (pow.f64 y 6)) (cbrt.f64 z)))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 y y)) 1) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 (*.f64 y y) (+.f64 (*.f64 (*.f64 y y) 1/24) -1/2)) (*.f64 -1/720 (pow.f64 y 6))))) |
(*.f64 (cbrt.f64 z) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 y 6))) (*.f64 (*.f64 y y) (+.f64 -1/2 (*.f64 (*.f64 y y) 1/24))))) |
(*.f64 (cbrt.f64 z) (+.f64 1 (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 (*.f64 y y) (+.f64 -1/2 (*.f64 (*.f64 y y) 1/24)))))) |
(*.f64 (cbrt.f64 z) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 y y)) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y)) |
(*.f64 (cbrt.f64 z) (cos.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) z) x) |
(+.f64 z x) |
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x)) |
(+.f64 y (+.f64 z x)) |
(+.f64 x (+.f64 z y)) |
(+.f64 z (+.f64 y x)) |
(+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 y (+.f64 (+.f64 z x) (*.f64 -1/2 (*.f64 z (*.f64 y y))))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (+.f64 x y)) |
(+.f64 z (+.f64 x (fma.f64 -1/2 (*.f64 z (*.f64 y y)) y))) |
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (+.f64 z (+.f64 y x))) |
(+.f64 y (+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (+.f64 (+.f64 z x) (*.f64 -1/2 (*.f64 z (*.f64 y y)))))) |
(+.f64 (+.f64 x (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 z (+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) x) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 (*.f64 y y) (*.f64 z -1/2) (+.f64 z (+.f64 y x)))) |
(+.f64 z (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) x))) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.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 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
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 | x | @ | -inf | (+.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 | 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 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
Compiled 18 to 6 computations (66.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | z | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 0.0ms | y | @ | inf | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 0.0ms | y | @ | -inf | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 0.0ms | y | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 0.0ms | x | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 1× | batch-egg-rewrite |
| 821× | pow1_binary64 |
| 759× | add-log-exp_binary64 |
| 759× | log1p-expm1-u_binary64 |
| 759× | expm1-log1p-u_binary64 |
| 741× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 148 | 10 |
| 2 | 2005 | 10 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 y x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) x) y)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (cos.f64 y) (+.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (+.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (+.f64 y x) 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (+.f64 y x) 2) (*.f64 (*.f64 z (cos.f64 y)) (+.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (pow.f64 (+.f64 y x) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (+.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (+.f64 y x)))))))) |
| 1× | egg-herbie |
| 3214× | fma-def_binary64 |
| 671× | sqr-pow_binary64 |
| 448× | cube-prod_binary64 |
| 430× | distribute-lft-out_binary64 |
| 420× | *-commutative_binary64 |
Useful iterations: 19 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 322 |
| 1 | 66 | 322 |
| 2 | 172 | 320 |
| 3 | 485 | 320 |
| 4 | 1542 | 320 |
| 5 | 2257 | 320 |
| 6 | 3425 | 320 |
| 7 | 3506 | 320 |
| 8 | 3639 | 320 |
| 9 | 3789 | 320 |
| 10 | 4019 | 320 |
| 11 | 4308 | 320 |
| 12 | 4659 | 320 |
| 13 | 5036 | 320 |
| 14 | 5523 | 320 |
| 15 | 6108 | 320 |
| 16 | 6826 | 320 |
| 17 | 7152 | 320 |
| 18 | 7414 | 320 |
| 19 | 7628 | 315 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 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/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x)))) |
y |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
y |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) y) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
| Outputs |
|---|
(+.f64 y x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 z x) |
(+.f64 x z) |
(+.f64 y (+.f64 z x)) |
(+.f64 y (+.f64 x z)) |
(+.f64 x (+.f64 y z)) |
(+.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 x z))) |
(+.f64 (+.f64 x z) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) y)) |
(+.f64 x (fma.f64 (*.f64 y y) (*.f64 z -1/2) (+.f64 y z))) |
(+.f64 y (+.f64 x (fma.f64 z (*.f64 -1/2 (*.f64 y y)) z))) |
(+.f64 y (+.f64 x (fma.f64 (*.f64 y y) (*.f64 z -1/2) z))) |
(+.f64 y (+.f64 x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z))) |
(+.f64 y (fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y (+.f64 z (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) x)))) |
(+.f64 (+.f64 z (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) x)) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) y)) |
(+.f64 y (fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 (fma.f64 1/24 (pow.f64 y 4) 1) z x))) |
(+.f64 y (fma.f64 y (*.f64 y (*.f64 z -1/2)) (fma.f64 z (fma.f64 1/24 (pow.f64 y 4) 1) x))) |
(+.f64 (fma.f64 z (fma.f64 1/24 (pow.f64 y 4) 1) x) (fma.f64 y (*.f64 y (*.f64 z -1/2)) y)) |
(fma.f64 z (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 y x))) |
(fma.f64 y (fma.f64 (*.f64 y z) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) (+.f64 x z)) |
y |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
y |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) y) |
(fma.f64 (cos.f64 y) z y) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 y x)) |
(+.f64 (fma.f64 (cos.f64 y) z y) x) |
(+.f64 x (fma.f64 (cos.f64 y) z y)) |
(+.f64 y (fma.f64 (cos.f64 y) z x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 y) (sqrt.f64 z)) | |
| ✓ | 0.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
Compiled 26 to 8 computations (69.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 0.0ms | z | @ | inf | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 0.0ms | z | @ | 0 | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 0.0ms | y | @ | 0 | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 0.0ms | y | @ | inf | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 741× | pow1_binary64 |
| 678× | add-log-exp_binary64 |
| 678× | log1p-expm1-u_binary64 |
| 678× | expm1-log1p-u_binary64 |
| 660× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 157 | 11 |
| 2 | 1857 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2) (cbrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) (sqrt.f64 (+.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 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))))) |
| 1× | egg-herbie |
| 633× | associate-*l*_binary64 |
| 536× | unswap-sqr_binary64 |
| 507× | distribute-lft-out_binary64 |
| 507× | sqr-pow_binary64 |
| 504× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 115 |
| 1 | 48 | 115 |
| 2 | 117 | 115 |
| 3 | 319 | 110 |
| 4 | 835 | 110 |
| 5 | 2855 | 110 |
| 6 | 4828 | 110 |
| 7 | 6067 | 110 |
| 8 | 6328 | 110 |
| 9 | 6639 | 110 |
| 10 | 7022 | 110 |
| 11 | 7599 | 110 |
| 1× | node limit |
| Inputs |
|---|
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) |
| Outputs |
|---|
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)) |
(+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) 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) |
(+.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) (+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) y))) |
(+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) y))) |
(+.f64 y (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) z)) |
(+.f64 z (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) y)) |
(fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) (+.f64 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) |
Compiled 4062 to 1427 computations (64.9% saved)
26 alts after pruning (17 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 277 | 10 | 287 |
| Fresh | 8 | 7 | 15 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 285 | 26 | 311 |
| Status | Error | Program |
|---|---|---|
| ✓ | 21.6b | (+.f64 z x) |
| 16.6b | (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) | |
| 35.3b | (*.f64 (cos.f64 y) z) | |
| ✓ | 27.9b | (+.f64 (sin.f64 y) x) |
| 44.5b | (cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 3)) | |
| ✓ | 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ▶ | 16.0b | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 46.6b | (fma.f64 (sqrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (sqrt.f64 z) (sin.f64 y)) | |
| ✓ | 43.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 53.2b | (sin.f64 y) | |
| 45.0b | (pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2) | |
| ✓ | 16.6b | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 25.7b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) | |
| 58.4b | y | |
| ▶ | 51.3b | (log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
| ▶ | 37.4b | (+.f64 y x) |
| ✓ | 43.9b | (+.f64 z y) |
| 46.8b | z | |
| 37.1b | x | |
| ✓ | 25.6b | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 13.6b | (fma.f64 (*.f64 z (pow.f64 (cos.f64 y) 2/3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| 27.9b | (/.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)))) | |
| ▶ | 13.6b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ✓ | 0.2b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ▶ | 37.8b | (+.f64 (sin.f64 y) z) |
Compiled 458 to 309 computations (32.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 x (sin.f64 y)) | |
| ✓ | 0.0b | (sqrt.f64 (cos.f64 y)) |
| ✓ | 0.0b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ✓ | 0.1b | (*.f64 z (sqrt.f64 (cos.f64 y))) |
Compiled 35 to 9 computations (74.3% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | z | @ | 0 | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | 0 | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | inf | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1.0ms | x | @ | 0 | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | y | @ | -inf | (*.f64 z (sqrt.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 571× | prod-diff_binary64 |
| 501× | log-prod_binary64 |
| 344× | pow-prod-down_binary64 |
| 279× | pow2_binary64 |
| 235× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 1 | 207 | 27 |
| 2 | 2698 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sqrt.f64 (cos.f64 y))) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(sqrt.f64 (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (*.f64 z (cos.f64 y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y))))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(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 (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 (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 z (cos.f64 y)) 2) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.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 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 (exp.f64 (+.f64 x (sin.f64 y))) (exp.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)))) (exp.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 z (cos.f64 y))) (+.f64 1 (expm1.f64 (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.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 exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.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/4) (pow.f64 (cos.f64 y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3/2 (log.f64 (cos.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (cos.f64 y))) 2)))))) |
| 1× | egg-herbie |
| 1984× | fma-def_binary64 |
| 662× | sqr-pow_binary64 |
| 416× | cube-prod_binary64 |
| 360× | *-commutative_binary64 |
| 351× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 607 |
| 1 | 131 | 601 |
| 2 | 338 | 592 |
| 3 | 1159 | 590 |
| 4 | 1863 | 590 |
| 5 | 2650 | 590 |
| 6 | 2785 | 590 |
| 7 | 2934 | 590 |
| 8 | 3100 | 583 |
| 9 | 5026 | 583 |
| 10 | 5376 | 583 |
| 11 | 5754 | 583 |
| 12 | 6233 | 583 |
| 13 | 6786 | 583 |
| 14 | 7535 | 583 |
| 15 | 7942 | 583 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
z |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))) |
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 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 (*.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 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)) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
(*.f64 (sqrt.f64 (cos.f64 y)) z) |
z |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) |
(*.f64 (fma.f64 -1/4 (*.f64 y y) 1) z) |
(*.f64 z (fma.f64 -1/4 (*.f64 y y) 1)) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) 1)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/4 (*.f64 z (*.f64 y y)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4))))) |
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (fma.f64 -1/4 (*.f64 z (*.f64 y y)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z))) |
(+.f64 z (*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (*.f64 -19/5760 (pow.f64 y 6)))))) |
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -19/5760 (pow.f64 y 6) (fma.f64 -1/96 (pow.f64 y 4) 1)))) |
(*.f64 z (fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
(fma.f64 z (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) -1/96 -1/4) (*.f64 -19/5760 (pow.f64 y 6))) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.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)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.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)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.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))) |
(fma.f64 (*.f64 z (*.f64 y y)) -1/2 (+.f64 y (+.f64 z x))) |
(+.f64 y (fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 z x))) |
(+.f64 y (fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) x)) |
(+.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) (fma.f64 (*.f64 z (*.f64 y y)) -1/2 (+.f64 y (+.f64 z x)))) |
(+.f64 (+.f64 z x) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 y (*.f64 y -1/2)) y))) |
(+.f64 z (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 y (*.f64 y -1/2)) y)))) |
(+.f64 z (fma.f64 y (fma.f64 y (fma.f64 y -1/6 (*.f64 z -1/2)) 1) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.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)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x) |
(+.f64 x (fma.f64 (cos.f64 y) z (sin.f64 y))) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(fma.f64 -1/4 (*.f64 y y) 1) |
(fma.f64 y (*.f64 y -1/4) 1) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (*.f64 -1/96 (pow.f64 y 4))) |
(fma.f64 -1/4 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) 1)) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6))))) |
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (fma.f64 -1/96 (pow.f64 y 4) (*.f64 -19/5760 (pow.f64 y 6)))) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 -19/5760 (pow.f64 y 6) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1)) |
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -19/5760 (pow.f64 y 6) 1))) |
Compiled 8 to 4 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (sin.f64 y) z) |
Compiled 11 to 5 computations (54.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (sin.f64 y) z) |
| 0.0ms | z | @ | 0 | (+.f64 (sin.f64 y) z) |
| 0.0ms | y | @ | -inf | (+.f64 (sin.f64 y) z) |
| 0.0ms | z | @ | -inf | (+.f64 (sin.f64 y) z) |
| 0.0ms | y | @ | inf | (+.f64 (sin.f64 y) z) |
| 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) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (sin.f64 y) z)) (/.f64 (*.f64 z z) (-.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) z)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) z)) 2) (cbrt.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) z)) (sqrt.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (-.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z)) (/.f64 1 (-.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (-.f64 z (sin.f64 y)))) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) z) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (-.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)) (+.f64 (*.f64 z z) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (sin.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z)) (-.f64 (sin.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (-.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z))) (neg.f64 (-.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (sin.f64 y) 2)) (-.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (sin.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (sin.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (sin.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (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)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 683× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 141 |
| 1 | 46 | 141 |
| 2 | 101 | 141 |
| 3 | 245 | 141 |
| 4 | 441 | 141 |
| 5 | 944 | 141 |
| 6 | 1407 | 141 |
| 7 | 2061 | 141 |
| 8 | 2169 | 141 |
| 9 | 2331 | 141 |
| 10 | 2544 | 141 |
| 11 | 2874 | 141 |
| 12 | 3330 | 141 |
| 13 | 3927 | 141 |
| 14 | 4680 | 141 |
| 15 | 5612 | 141 |
| 16 | 6124 | 141 |
| 17 | 6612 | 141 |
| 18 | 7010 | 141 |
| 19 | 7336 | 141 |
| 20 | 7496 | 141 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 y z) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y z)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) z))) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(sin.f64 y) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
z |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
z |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
| Outputs |
|---|
z |
(+.f64 y z) |
(+.f64 z y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y z)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 z y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) z))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) z))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) z) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) (+.f64 z y))) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) z))) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(sin.f64 y) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
z |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
z |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
(+.f64 z (sin.f64 y)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 (sin.f64 y) x) | |
| ✓ | 0.1b | (expm1.f64 (+.f64 (sin.f64 y) x)) |
| ✓ | 0.1b | (log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
Compiled 22 to 7 computations (68.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (expm1.f64 (+.f64 (sin.f64 y) x)) |
| 1.0ms | x | @ | 0 | (expm1.f64 (+.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | 0 | (log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
| 0.0ms | y | @ | inf | (expm1.f64 (+.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | -inf | (expm1.f64 (+.f64 (sin.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 693× | pow1_binary64 |
| 644× | expm1-log1p-u_binary64 |
| 643× | add-log-exp_binary64 |
| 643× | log1p-expm1-u_binary64 |
| 628× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 130 | 14 |
| 2 | 1718 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
(expm1.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 (+.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 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 (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 (expm1.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) 2) (cbrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) (sqrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 3) 1) (+.f64 (*.f64 (exp.f64 (+.f64 (sin.f64 y) x)) (exp.f64 (+.f64 (sin.f64 y) x))) (+.f64 1 (*.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (+.f64 (sin.f64 y) x)) (exp.f64 (+.f64 (sin.f64 y) x))) 1) (+.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (+.f64 (sin.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (+.f64 (sin.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (+.f64 (sin.f64 y) x)))))))) |
| 1× | egg-herbie |
| 897× | fma-neg_binary64 |
| 353× | cancel-sign-sub-inv_binary64 |
| 315× | fma-def_binary64 |
| 279× | distribute-rgt-neg-in_binary64 |
| 246× | associate-+l+_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 443 |
| 1 | 187 | 426 |
| 2 | 470 | 402 |
| 3 | 1653 | 389 |
| 4 | 3758 | 385 |
| 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) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x)) 1) |
(-.f64 (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))) 1) |
(-.f64 (+.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)))))) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (sin.f64 y)) 1) |
(-.f64 (+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y))) 1) |
(-.f64 (+.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)))) 1) |
(-.f64 (+.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)))))) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
| 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 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) 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)) |
(+.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)) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x)) 1) |
(+.f64 (*.f64 y (exp.f64 x)) (expm1.f64 x)) |
(fma.f64 y (exp.f64 x) (expm1.f64 x)) |
(-.f64 (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))) 1) |
(+.f64 (+.f64 (*.f64 (+.f64 y 1) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y)))) -1) |
(+.f64 (*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 1/2 (*.f64 y y)))) -1) |
(fma.f64 (exp.f64 x) (+.f64 y (fma.f64 1/2 (*.f64 y y) 1)) -1) |
(-.f64 (+.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)))))) 1) |
(+.f64 (fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (+.f64 (*.f64 (+.f64 y 1) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y))))) -1) |
(+.f64 (fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 1/2 (*.f64 y y))))) -1) |
(+.f64 (*.f64 (exp.f64 x) (+.f64 (fma.f64 -1/8 (pow.f64 y 4) y) (*.f64 y (*.f64 y 1/2)))) (expm1.f64 x)) |
(fma.f64 (exp.f64 x) (+.f64 (fma.f64 -1/8 (pow.f64 y 4) y) (fma.f64 1/2 (*.f64 y y) 1)) -1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (sin.f64 y)) 1) |
(expm1.f64 (sin.f64 y)) |
(-.f64 (+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y))) 1) |
(+.f64 (*.f64 x (exp.f64 (sin.f64 y))) (expm1.f64 (sin.f64 y))) |
(fma.f64 x (exp.f64 (sin.f64 y)) (expm1.f64 (sin.f64 y))) |
(fma.f64 (+.f64 x 1) (exp.f64 (sin.f64 y)) -1) |
(fma.f64 (exp.f64 (sin.f64 y)) (+.f64 x 1) -1) |
(-.f64 (+.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)))) 1) |
(+.f64 (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)))) -1) |
(+.f64 (fma.f64 x (exp.f64 (sin.f64 y)) (*.f64 (exp.f64 (sin.f64 y)) (*.f64 (*.f64 x x) 1/2))) (expm1.f64 (sin.f64 y))) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 x (*.f64 x 1/2)))) -1) |
(fma.f64 (exp.f64 (sin.f64 y)) (+.f64 x (+.f64 1 (*.f64 x (*.f64 x 1/2)))) -1) |
(fma.f64 (exp.f64 (sin.f64 y)) (+.f64 1 (fma.f64 x (*.f64 x 1/2) x)) -1) |
(-.f64 (+.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)))))) 1) |
(+.f64 (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))))) -1) |
(fma.f64 x (exp.f64 (sin.f64 y)) (+.f64 (fma.f64 1/2 (*.f64 x (*.f64 x (exp.f64 (sin.f64 y)))) (fma.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)) (exp.f64 (sin.f64 y)))) -1)) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 x (*.f64 x 1/2)))) (fma.f64 (exp.f64 (sin.f64 y)) (*.f64 1/6 (pow.f64 x 3)) -1)) |
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 (*.f64 x x) (+.f64 (*.f64 x 1/6) 1/2)))) -1) |
(fma.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 (*.f64 x x) (+.f64 (*.f64 x 1/6) 1/2))) -1) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (+.f64 (sin.f64 y) x)) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
(-.f64 (exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x))) 1) |
(expm1.f64 (+.f64 x (sin.f64 y))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 0.2b | (*.f64 (cbrt.f64 z) (cos.f64 y)) | |
| 0.6b | (cbrt.f64 z) | |
| ✓ | 30.0b | (cbrt.f64 (*.f64 z z)) |
Compiled 42 to 11 computations (73.8% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | x | @ | 0 | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | -inf | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | 0 | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1.0ms | z | @ | inf | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 578× | prod-diff_binary64 |
| 560× | log-prod_binary64 |
| 396× | pow-prod-down_binary64 |
| 311× | pow2_binary64 |
| 252× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 28 |
| 1 | 243 | 20 |
| 2 | 3050 | 18 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 z z)) |
(fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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 1 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 z) 2)) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 4) (cbrt.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (sqrt.f64 z))))) (#(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 1 1/3) (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (pow.f64 (cbrt.f64 z) 2))) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 z 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z z) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 z) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 z) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 3) 2/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 4) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 6) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cbrt.f64 z)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 z)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 z) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 z) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2/3 (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 z)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2/3 (log.f64 z)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 z (cos.f64 y) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y))))))))) (#(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 (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))) (cbrt.f64 (pow.f64 (+.f64 (fma.f64 z (cos.f64 y) x) (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 (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 z (cos.f64 y)) 2) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.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 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 (exp.f64 (+.f64 x (sin.f64 y))) (exp.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)))) (exp.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 z (cos.f64 y))) (+.f64 1 (expm1.f64 (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.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)))))) |
| 1× | egg-herbie |
| 1843× | fma-def_binary64 |
| 765× | sqr-pow_binary64 |
| 499× | cube-prod_binary64 |
| 370× | pow-sqr_binary64 |
| 285× | fabs-mul_binary64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 347 |
| 1 | 87 | 285 |
| 2 | 234 | 285 |
| 3 | 575 | 281 |
| 4 | 1623 | 281 |
| 5 | 2044 | 281 |
| 6 | 2596 | 281 |
| 7 | 2720 | 281 |
| 8 | 2874 | 281 |
| 9 | 3068 | 278 |
| 10 | 4617 | 278 |
| 11 | 4958 | 278 |
| 12 | 5390 | 278 |
| 13 | 5922 | 278 |
| 14 | 6584 | 278 |
| 15 | 7414 | 278 |
| 16 | 7817 | 278 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) 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 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.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 (*.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)) |
| Outputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) z) x) |
(fma.f64 1 z x) |
(+.f64 x z) |
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x)) |
(+.f64 y (fma.f64 1 z x)) |
(+.f64 y (+.f64 x z)) |
(+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))) |
(+.f64 y (+.f64 (fma.f64 1 z x) (*.f64 -1/2 (*.f64 z (*.f64 y y))))) |
(+.f64 y (+.f64 x (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z))) |
(+.f64 y (+.f64 z (fma.f64 -1/2 (*.f64 z (*.f64 y y)) x))) |
(+.f64 y (fma.f64 z (fma.f64 -1/2 (*.f64 y y) 1) x)) |
(+.f64 y (fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 1 1/3) (*.f64 (pow.f64 y 2) z))) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (+.f64 (fma.f64 1 z x) (*.f64 -1/2 (*.f64 z (*.f64 y y)))))) |
(+.f64 (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)) x) |
(+.f64 x (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z))) |
(+.f64 y (fma.f64 z (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 x (fma.f64 y (fma.f64 y (fma.f64 y -1/6 (*.f64 z -1/2)) 1) z)) |
(fma.f64 y (fma.f64 y (fma.f64 y -1/6 (*.f64 z -1/2)) 1) (+.f64 x z)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.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 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
x |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x)) |
(+.f64 (sin.f64 y) (fma.f64 1 (*.f64 z (cos.f64 y)) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x)) |
Compiled 7455 to 2441 computations (67.3% saved)
27 alts after pruning (14 fresh and 13 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 498 | 5 | 503 |
| Fresh | 3 | 9 | 12 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 12 | 13 |
| Total | 502 | 27 | 529 |
| Status | Error | Program |
|---|---|---|
| ✓ | 21.6b | (+.f64 z x) |
| 35.3b | (*.f64 (cos.f64 y) z) | |
| 16.6b | (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) | |
| 46.8b | z | |
| 44.5b | (cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 3)) | |
| ✓ | 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ✓ | 16.0b | (fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| 53.2b | (sin.f64 y) | |
| 45.0b | (pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2) | |
| ✓ | 16.6b | (fma.f64 z (cos.f64 y) (+.f64 y x)) |
| 25.7b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) | |
| 58.4b | y | |
| 42.7b | (-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) | |
| 23.2b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 y x)) | |
| 13.6b | (fma.f64 (*.f64 z (pow.f64 (cos.f64 y) 2/3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) | |
| ✓ | 51.3b | (log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
| ✓ | 37.4b | (+.f64 y x) |
| ✓ | 43.9b | (+.f64 z y) |
| 37.1b | x | |
| ✓ | 25.6b | (fma.f64 (cos.f64 y) z (sin.f64 y)) |
| ✓ | 27.9b | (+.f64 (sin.f64 y) x) |
| ✓ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| ✓ | 43.2b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
| 34.6b | (fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (sin.f64 y)) | |
| 27.9b | (/.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)))) | |
| ✓ | 0.2b | (fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| ✓ | 37.8b | (+.f64 (sin.f64 y) z) |
Compiled 293 to 196 computations (33.1% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) |
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y)))) z) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)) 3)) |
(pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))) 2) |
(+.f64 (log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y)))) (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
(+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (sin.f64 y)) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 y x)) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y))) |
(fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (sin.f64 y)) |
(fma.f64 (sqrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (sqrt.f64 z) (sin.f64 y)) |
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 z (pow.f64 (cos.f64 y) 2/3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (+.f64 x (sin.f64 y))) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y))) |
(/.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)))) |
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
4 calls:
| 104.0ms | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 69.0ms | x |
| 55.0ms | y |
| 38.0ms | z |
| 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 380 to 112 computations (70.5% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) |
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x))) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y)))) z) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
4 calls:
| 47.0ms | y |
| 16.0ms | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 16.0ms | z |
| 15.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 151 to 49 computations (67.5% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) |
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 z (cos.f64 y) (+.f64 y x)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
3 calls:
| 127.0ms | y |
| 94.0ms | x |
| 91.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 5.9b | 5 | x |
| 5.6b | 8 | y |
| 4.9b | 3 | z |
Compiled 110 to 34 computations (69.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 44.0ms | 0.022348561497808516 | 901.4964957225062 |
| 50.0ms | -7.242755417033766e+78 | -1.6082455111062106e+77 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) |
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 84.0ms | x |
| 52.0ms | y |
| 39.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 8.9b | 7 | x |
| 9.2b | 4 | y |
| 5.1b | 3 | z |
Compiled 89 to 32 computations (64% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 44.0ms | 0.022348561497808516 | 901.4964957225062 |
| 49.0ms | -7.242755417033766e+78 | -1.6082455111062106e+77 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) z)) 1) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 (+.f64 x (sin.f64 y)) z) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 38.0ms | z |
| 29.0ms | y |
| 29.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 11.4b | 3 | x |
| 10.8b | 3 | y |
| 5.6b | 3 | z |
Compiled 73 to 28 computations (61.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 43.0ms | 0.022348561497808516 | 901.4964957225062 |
| 51.0ms | -3.561976126371877e+175 | -1.7882597674183293e+170 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 80.0ms | x |
| 54.0ms | z |
| 42.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 13.7b | 4 | x |
| 11.9b | 5 | y |
| 6.4b | 5 | z |
Compiled 59 to 22 computations (62.7% saved)
| 4× | binary-search |
| Time | Left | Right |
|---|---|---|
| 69.0ms | 0.022348561497808516 | 901.4964957225062 |
| 44.0ms | -171242.39464640015 | -1.1514728422659725e-7 |
| 47.0ms | -1.5955346731555302e+121 | -3.8136242248445835e+111 |
| 157.0ms | -3.561976126371877e+175 | -1.7882597674183293e+170 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 (sin.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
3 calls:
| 158.0ms | x |
| 86.0ms | y |
| 41.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 13.7b | 4 | x |
| 14.1b | 6 | y |
| 13.7b | 4 | z |
Compiled 55 to 21 computations (61.8% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 58.0ms | 1.4109044396418216e-38 | 8.397780260101193e-36 |
| 71.0ms | 1.5491214806175476e-140 | 4.0626365231060186e-134 |
| 88.0ms | -2.1313940557463502e-66 | -3.032017750921104e-70 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 86.0ms | y |
| 73.0ms | x |
| 51.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 15.2b | 5 | x |
| 14.1b | 6 | y |
| 13.7b | 4 | z |
Compiled 47 to 20 computations (57.4% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 153.0ms | 0.022348561497808516 | 901.4964957225062 |
| 105.0ms | -4.325800161513698e-148 | -4.3067751468584874e-161 |
| 58.0ms | -3.561976126371877e+175 | -1.7882597674183293e+170 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 (+.f64 y x) z) |
(+.f64 z x) |
3 calls:
| 23.0ms | z |
| 22.0ms | x |
| 22.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 18.5b | 3 | x |
| 18.0b | 3 | y |
| 20.0b | 3 | z |
Compiled 43 to 18 computations (58.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 43.0ms | 1.1148360912509461e+21 | 2.732380832552907e+29 |
| 61.0ms | -2.5689418592315446e+91 | -5.288790038627914e+89 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 z y) |
(+.f64 z x) |
3 calls:
| 34.0ms | z |
| 20.0ms | x |
| 8.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 18.9b | 3 | x |
| 21.6b | 1 | y |
| 20.3b | 3 | z |
Compiled 31 to 15 computations (51.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 94.0ms | 1.7076220005650084e-147 | 1.5491214806175476e-140 |
| 60.0ms | -8.698480835359714e-212 | -4.043433950653809e-225 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
| Outputs |
|---|
x |
(+.f64 z y) |
x |
3 calls:
| 32.0ms | z |
| 25.0ms | x |
| 18.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 25.6b | 3 | x |
| 33.4b | 3 | y |
| 26.9b | 5 | z |
Compiled 28 to 14 computations (50% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 148.0ms | 1.032843798311854e-16 | 6.373286120265694e-11 |
| 87.0ms | -1.4982982968575364e+20 | -111637110831511920.0 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
(+.f64 y x) |
| Outputs |
|---|
z |
(+.f64 y x) |
z |
3 calls:
| 23.0ms | x |
| 16.0ms | z |
| 15.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 28.4b | 3 | x |
| 33.6b | 3 | y |
| 27.9b | 3 | z |
Compiled 25 to 13 computations (48% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 77.0ms | 0.022348561497808516 | 901.4964957225062 |
| 79.0ms | -1.1514728422659725e-7 | -7.789947473576971e-11 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
z |
y |
z |
x |
z |
x |
x |
| Outputs |
|---|
z |
x |
z |
3 calls:
| 49.0ms | x |
| 35.0ms | y |
| 14.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 28.4b | 3 | x |
| 34.5b | 5 | y |
| 28.3b | 3 | z |
Compiled 22 to 12 computations (45.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 44.0ms | 0.022348561497808516 | 901.4964957225062 |
| 44.0ms | -1.1514728422659725e-7 | -7.789947473576971e-11 |
Compiled 18 to 13 computations (27.8% saved)
Total -18.8b remaining (-43.2%)
Threshold costs -18.8b (-43.2%)
| Inputs |
|---|
z |
y |
z |
| Outputs |
|---|
z |
y |
z |
3 calls:
| 10.0ms | z |
| 5.0ms | y |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 46.8b | 1 | x |
| 46.8b | 1 | y |
| 43.6b | 3 | z |
Compiled 18 to 12 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 44.0ms | 1.1046098938209496e-115 | 8.822601706807371e-98 |
| 116.0ms | -4.3067751468584874e-161 | -2.590276924504644e-163 |
Compiled 18 to 13 computations (27.8% saved)
| 1× | egg-herbie |
| 11× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 85 | 391 |
| 1 | 98 | 391 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z -15955346731555301761805320764911926610926423267995187589630784258315433108288407310545558362274650064314307415236688216064) (+.f64 z x) (if (<=.f64 z -5883843877560113/34359738368) (*.f64 (cos.f64 y) z) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 x -8087095564791535/3794275180128377091639574036764685364535950857523710002444946112771297432041422848) (+.f64 z x) (if (<=.f64 x 6646503447125879/429049853758163107186368799942587076079339706258956588087153966199096448962353503257659977541340909686081019461967553627320124249982290238285876768194691072) (+.f64 (sin.f64 y) z) (if (<=.f64 x 5405511905847443/383123885216472214589586756787577295904684780545900544) (*.f64 (cos.f64 y) z) (+.f64 z x)))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z -24910594584411088/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (+.f64 z x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 y x) z) (*.f64 (cos.f64 y) z)))) |
(if (<=.f64 y -25689418592315446358799742655038447386956576108065566565160052009680396938462180999012810752) (+.f64 z x) (if (<=.f64 y 1114836091250946080768) (+.f64 (+.f64 y x) z) (+.f64 z x))) |
(if (<=.f64 x -2060630626285849/23689546086131422960647270026588478931532074235789438036179382904450240366918592625898413220651954314430049601701829119967217713075482397330387684250506304003974227539380644310764545984368872754291732775783027172102246808682496) (+.f64 z x) (if (<=.f64 x 98335285429854288/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (+.f64 z y) (+.f64 z x))) |
(if (<=.f64 x -19638495436571101496344576/131072) x (if (<=.f64 x 8379424389580967/81129638414606681695789005144064) (+.f64 z y) x)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 y x) z)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 412258194365632704/18446744073709551616) x z)) |
(if (<=.f64 z -681725712721215/15829145694278690179872161345257420162248406342477557754500035589945422406818039498900249667919554879334250971265032917718487362195632077437922953926521162746662833417516744704) z (if (<=.f64 z 4900349402277373/44362715105933037753254626946289339254982993206013065202727673289833940924890009968639590497666233249558259375382457149263586525184) y z)) |
z |
| Outputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 x (+.f64 y (*.f64 z (cos.f64 y)))) (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 z (+.f64 x (sin.f64 y))) (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 (+.f64 (*.f64 z (cos.f64 y)) y) x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 z -7242755417033766223831274867599068118272835604564222464887336329100580303667200) (+.f64 x (+.f64 y (*.f64 z (cos.f64 y)))) (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 z (+.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 x (sin.f64 y)) z) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 z (cos.f64 y)) (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 z (+.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z -15955346731555301761805320764911926610926423267995187589630784258315433108288407310545558362274650064314307415236688216064) (+.f64 z x) (if (<=.f64 z -5883843877560113/34359738368) (*.f64 (cos.f64 y) z) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 z (cos.f64 y)) (if (<=.f64 z -15955346731555301761805320764911926610926423267995187589630784258315433108288407310545558362274650064314307415236688216064) (+.f64 z x) (if (<=.f64 z -5883843877560113/34359738368) (*.f64 z (cos.f64 y)) (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) |
(if (<=.f64 x -8087095564791535/3794275180128377091639574036764685364535950857523710002444946112771297432041422848) (+.f64 z x) (if (<=.f64 x 6646503447125879/429049853758163107186368799942587076079339706258956588087153966199096448962353503257659977541340909686081019461967553627320124249982290238285876768194691072) (+.f64 (sin.f64 y) z) (if (<=.f64 x 5405511905847443/383123885216472214589586756787577295904684780545900544) (*.f64 (cos.f64 y) z) (+.f64 z x)))) |
(if (<=.f64 x -8087095564791535/3794275180128377091639574036764685364535950857523710002444946112771297432041422848) (+.f64 z x) (if (<=.f64 x 6646503447125879/429049853758163107186368799942587076079339706258956588087153966199096448962353503257659977541340909686081019461967553627320124249982290238285876768194691072) (+.f64 z (sin.f64 y)) (if (<=.f64 x 5405511905847443/383123885216472214589586756787577295904684780545900544) (*.f64 z (cos.f64 y)) (+.f64 z x)))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 (cos.f64 y) z) (if (<=.f64 z -24910594584411088/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (+.f64 z x) (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 (+.f64 y x) z) (*.f64 (cos.f64 y) z)))) |
(if (<=.f64 z -35619761263718767661620417645368222586316535060715050101043212951779148310253473353805502994517051424487252125978481359202772520390865236638788991634612266963543852771318956032) (*.f64 z (cos.f64 y)) (if (<=.f64 z -1556912161525693/3599131035634557106248430806148785487095757694641533306480604458089470064537190296255232548883112685719936728506816716098566612844395439751206812144692131084107776) (+.f64 z x) (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 z (+.f64 y x)) (*.f64 z (cos.f64 y))))) |
(if (<=.f64 y -25689418592315446358799742655038447386956576108065566565160052009680396938462180999012810752) (+.f64 z x) (if (<=.f64 y 1114836091250946080768) (+.f64 (+.f64 y x) z) (+.f64 z x))) |
(if (<=.f64 y -25689418592315446358799742655038447386956576108065566565160052009680396938462180999012810752) (+.f64 z x) (if (<=.f64 y 1114836091250946080768) (+.f64 z (+.f64 y x)) (+.f64 z x))) |
(if (<=.f64 x -2060630626285849/23689546086131422960647270026588478931532074235789438036179382904450240366918592625898413220651954314430049601701829119967217713075482397330387684250506304003974227539380644310764545984368872754291732775783027172102246808682496) (+.f64 z x) (if (<=.f64 x 98335285429854288/57586096570152913699974892898380567793532123114264532903689671329431521032595044740083720782129802971518987656109067457577065805510327036019308994315074097345724416) (+.f64 z y) (+.f64 z x))) |
(if (<=.f64 x -2060630626285849/23689546086131422960647270026588478931532074235789438036179382904450240366918592625898413220651954314430049601701829119967217713075482397330387684250506304003974227539380644310764545984368872754291732775783027172102246808682496) (+.f64 z x) (if (<=.f64 x 6145955339365893/3599131035634557106248430806148785487095757694641533306480604458089470064537190296255232548883112685719936728506816716098566612844395439751206812144692131084107776) (+.f64 z y) (+.f64 z x))) |
(if (<=.f64 x -19638495436571101496344576/131072) x (if (<=.f64 x 8379424389580967/81129638414606681695789005144064) (+.f64 z y) x)) |
(if (<=.f64 x -149829829685753643008) x (if (<=.f64 x 8379424389580967/81129638414606681695789005144064) (+.f64 z y) x)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 412258194365632704/18446744073709551616) (+.f64 y x) z)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 6441534286963011/288230376151711744) (+.f64 y x) z)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 412258194365632704/18446744073709551616) x z)) |
(if (<=.f64 z -8700282810002359/75557863725914323419136) z (if (<=.f64 z 6441534286963011/288230376151711744) x z)) |
(if (<=.f64 z -681725712721215/15829145694278690179872161345257420162248406342477557754500035589945422406818039498900249667919554879334250971265032917718487362195632077437922953926521162746662833417516744704) z (if (<=.f64 z 4900349402277373/44362715105933037753254626946289339254982993206013065202727673289833940924890009968639590497666233249558259375382457149263586525184) y z)) |
z |
Compiled 313 to 180 computations (42.5% 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 |
Compiled 35 to 23 computations (34.3% saved)
Compiled 271 to 102 computations (62.4% saved)
Loading profile data...