Time bar (total: 12.3s)
| 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 | 5106× | body | 256 | valid |
| 1.2s | 2094× | body | 1024 | valid |
| 388.0ms | 1049× | body | 512 | valid |
| 7.0ms | 7× | body | 2048 | valid |
| 2× | egg-herbie |
| 16× | fma-def_binary64 |
| 8× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 48 |
| 1 | 38 | 48 |
| 2 | 50 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x))) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z))) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x))) |
(fma.f64 y (cos.f64 x) (*.f64 z (sin.f64 x))) |
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z))) |
(fma.f64 x (cos.f64 z) (*.f64 y (sin.f64 z))) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 16 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
Compiled 20 to 9 computations (55% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| ▶ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 23 to 15 computations (34.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 0.0b | (sin.f64 y) |
| ✓ | 0.1b | (*.f64 z (sin.f64 y)) |
| ✓ | 0.2b | (*.f64 x (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | z | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1.0ms | z | @ | -inf | (*.f64 z (sin.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 484× | log-prod_binary64 |
| 382× | prod-exp_binary64 |
| 361× | exp-prod_binary64 |
| 332× | pow-prod-down_binary64 |
| 325× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 187 | 27 |
| 2 | 2497 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (cos.f64 y)) |
(*.f64 z (sin.f64 y)) |
(sin.f64 y) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (cos.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (cos.f64 y))))) (sqrt.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (cos.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 y)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 z (sin.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 z (sin.f64 y))))) (sqrt.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 z) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 y)) (*.f64 (log.f64 z) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (*.f64 (log.f64 z) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sin.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sin.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (sin.f64 (exp.f64 (log1p.f64 y))) (cos.f64 1)) (*.f64 (cos.f64 (exp.f64 (log1p.f64 y))) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (pow.f64 (sin.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 y) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sin.f64 y))) 2)) (cbrt.f64 (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sin.f64 y)))) (sqrt.f64 (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (sin.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sin.f64 y)) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 2)) (cbrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (sqrt.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (exp.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (exp.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sin.f64 y)) 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y))))))) |
| 1× | egg-herbie |
| 682× | sqr-pow_binary64 |
| 626× | cube-prod_binary64 |
| 461× | *-commutative_binary64 |
| 443× | pow-sqr_binary64 |
| 374× | unpow3_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 702 |
| 1 | 171 | 691 |
| 2 | 456 | 673 |
| 3 | 1449 | 672 |
| 4 | 2194 | 672 |
| 5 | 3286 | 672 |
| 6 | 3472 | 672 |
| 7 | 3706 | 672 |
| 8 | 3974 | 672 |
| 9 | 4333 | 672 |
| 10 | 4750 | 672 |
| 11 | 5246 | 672 |
| 12 | 5824 | 672 |
| 13 | 6512 | 672 |
| 14 | 7024 | 672 |
| 15 | 7416 | 672 |
| 16 | 7802 | 672 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
y |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))) x) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 y z)) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (fma.f64 -1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/120 (*.f64 z (pow.f64 y 5)))))) |
(+.f64 (*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/5040 (pow.f64 y 7) y)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 1/120 (pow.f64 y 5) y)))) |
y |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) y) |
(fma.f64 -1/6 (pow.f64 y 3) y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) y)) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/5040 (pow.f64 y 7))))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 -1/5040 (pow.f64 y 7)))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/5040 (pow.f64 y 7) y))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 y z x)) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x)) |
(fma.f64 (*.f64 y y) (*.f64 x -1/2) (fma.f64 y z x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(+.f64 (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) (*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) x (*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sin.f64 y) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 1.0ms | y | @ | -inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 1.0ms | x | @ | inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 1.0ms | x | @ | -inf | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 0.0ms | x | @ | 0 | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 757× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 672× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 156 | 12 |
| 2 | 1853 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (cos.f64 y)) 1) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 933× | fma-def_binary64 |
| 757× | sqr-pow_binary64 |
| 556× | distribute-lft-out_binary64 |
| 475× | *-commutative_binary64 |
| 374× | pow-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 394 |
| 1 | 67 | 394 |
| 2 | 160 | 393 |
| 3 | 420 | 391 |
| 4 | 1357 | 388 |
| 5 | 2745 | 388 |
| 6 | 4214 | 388 |
| 7 | 4332 | 388 |
| 8 | 4505 | 388 |
| 9 | 4713 | 388 |
| 10 | 5051 | 388 |
| 11 | 5409 | 388 |
| 12 | 5885 | 388 |
| 13 | 6428 | 388 |
| 14 | 7088 | 388 |
| 15 | 7918 | 388 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(fma.f64 z y x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 z y (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) (fma.f64 z y x)) |
(fma.f64 z y (fma.f64 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 y (fma.f64 x (*.f64 y -1/2) z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 z y (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 z (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 x (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 z (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 y (fma.f64 x (*.f64 y -1/2) z) x)) |
(fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
Compiled 4413 to 1491 computations (66.2% saved)
22 alts after pruning (20 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 286 | 20 | 306 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 286 | 22 | 308 |
| Status | Error | Program |
|---|---|---|
| 33.3b | (fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) | |
| 33.2b | (fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))) | |
| 32.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 39.1b | x | |
| 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) | |
| 2.5b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 32.4b | (/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| 31.1b | (+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) | |
| ▶ | 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
| 38.0b | (*.f64 z (sin.f64 y)) | |
| 31.4b | (fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y))) | |
| 0.6b | (fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) | |
| 0.9b | (fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.2b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
| 0.3b | (fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| ▶ | 17.3b | (+.f64 (*.f64 x (cos.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| ▶ | 32.1b | (+.f64 (*.f64 y z) x) |
| 24.5b | (*.f64 (cos.f64 y) x) | |
| 31.7b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| ▶ | 17.4b | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 605 to 404 computations (33.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) |
| ✓ | 0.1b | (expm1.f64 (log1p.f64 (sin.f64 y))) |
| 0.2b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.3b | (log1p.f64 (sin.f64 y)) |
Compiled 38 to 10 computations (73.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 48.0ms | y | @ | inf | (log1p.f64 (sin.f64 y)) |
| 40.0ms | y | @ | -inf | (log1p.f64 (sin.f64 y)) |
| 1.0ms | y | @ | 0 | (log1p.f64 (sin.f64 y)) |
| 1.0ms | y | @ | 0 | (expm1.f64 (log1p.f64 (sin.f64 y))) |
| 1.0ms | y | @ | 0 | (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) |
| 1× | batch-egg-rewrite |
| 543× | pow1_binary64 |
| 518× | add-sqr-sqrt_binary64 |
| 497× | add-log-exp_binary64 |
| 497× | expm1-log1p-u_binary64 |
| 496× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 117 | 14 |
| 2 | 1354 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (sin.f64 y)) |
(expm1.f64 (log1p.f64 (sin.f64 y))) |
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (sin.f64 y))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 y))) 2) (cbrt.f64 (log1p.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (sin.f64 y))) (sqrt.f64 (log1p.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (sin.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sin.f64 y) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (sin.f64 y) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (sin.f64 y) 1) 3) 1) (+.f64 (*.f64 (+.f64 (sin.f64 y) 1) (+.f64 (sin.f64 y) 1)) (+.f64 1 (*.f64 (+.f64 (sin.f64 y) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (sin.f64 y) 1) (+.f64 (sin.f64 y) 1)) 1) (+.f64 (+.f64 (sin.f64 y) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x sin.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sin.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) z) 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 (pow.f64 (exp.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))))))) |
| 1× | egg-herbie |
| 956× | fma-def_binary64 |
| 887× | distribute-lft-out_binary64 |
| 570× | sqr-pow_binary64 |
| 452× | associate-*l*_binary64 |
| 309× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 358 |
| 1 | 141 | 346 |
| 2 | 351 | 334 |
| 3 | 1095 | 328 |
| 4 | 3198 | 328 |
| 5 | 4339 | 328 |
| 6 | 5877 | 328 |
| 7 | 6139 | 328 |
| 8 | 6429 | 328 |
| 9 | 6710 | 328 |
| 10 | 7136 | 328 |
| 11 | 7663 | 328 |
| 1× | node limit |
| Inputs |
|---|
y |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) y) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 y (*.f64 1/6 (pow.f64 y 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 y (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 -1/12 (pow.f64 y 4))))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log.f64 (+.f64 1 (sin.f64 y))) |
y |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/5040 (pow.f64 y 7))))) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
| Outputs |
|---|
y |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) y) |
(fma.f64 -1/2 (*.f64 y y) y) |
(fma.f64 y (*.f64 y -1/2) y) |
(*.f64 y (fma.f64 y -1/2 1)) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 y (*.f64 1/6 (pow.f64 y 3)))) |
(fma.f64 -1/2 (*.f64 y y) (+.f64 y (*.f64 1/6 (pow.f64 y 3)))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/6 (pow.f64 y 3) y)) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/6 (pow.f64 y 3) y)) |
(fma.f64 y (*.f64 y (fma.f64 y 1/6 -1/2)) y) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 y (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 -1/12 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) y) (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/12 (pow.f64 y 4)))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/6 (pow.f64 y 3) (fma.f64 -1/12 (pow.f64 y 4) y))) |
(fma.f64 y (*.f64 y (fma.f64 y 1/6 -1/2)) (fma.f64 -1/12 (pow.f64 y 4) y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
(log.f64 (+.f64 1 (sin.f64 y))) |
(log1p.f64 (sin.f64 y)) |
y |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) y) |
(fma.f64 -1/6 (pow.f64 y 3) y) |
(fma.f64 (pow.f64 y 3) -1/6 y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) y)) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)) |
(fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (+.f64 y (*.f64 -1/5040 (pow.f64 y 7))))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 -1/5040 (pow.f64 y 7)))) |
(fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/5040 (pow.f64 y 7) y))) |
(fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) y))) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 y z)) |
(*.f64 z (fma.f64 (pow.f64 y 3) -1/6 y)) |
(*.f64 (fma.f64 (pow.f64 y 3) -1/6 y) z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 y z (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 z (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 (fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) y)) z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 y z (fma.f64 -1/5040 (*.f64 (pow.f64 y 7) z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(+.f64 (*.f64 z (fma.f64 (pow.f64 y 3) -1/6 y)) (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/5040 (pow.f64 y 7) y)))) |
(*.f64 z (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 (pow.f64 y 3) -1/6 (fma.f64 1/120 (pow.f64 y 5) y)))) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 y z) x) |
Compiled 14 to 5 computations (64.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 y z) x) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | z | @ | inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 y z) x) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 y z) x) |
| 1× | batch-egg-rewrite |
| 707× | pow1_binary64 |
| 655× | add-log-exp_binary64 |
| 655× | log1p-expm1-u_binary64 |
| 655× | expm1-log1p-u_binary64 |
| 640× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 5 |
| 1 | 129 | 5 |
| 2 | 1775 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 y z) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y z x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y z) 2) (-.f64 (*.f64 y z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y z x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y z x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y z x)) (pow.f64 (cbrt.f64 (fma.f64 y z x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y z x)) 2) (cbrt.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y z x)) (sqrt.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z)))) (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 y (*.f64 z x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x)) (-.f64 (*.f64 y z) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x (-.f64 x (*.f64 y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y z) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 y z) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) 2)) (-.f64 x (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y z x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y z x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y z x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y z x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y z x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y z x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y z x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y z x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z y x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y z) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (cbrt.f64 (*.f64 y z)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y z)) (sqrt.f64 (*.f64 y z)) x))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 24 |
| 1 | 6 | 24 |
| 1× | saturated |
| Inputs |
|---|
x |
(*.f64 y z) |
(*.f64 y z) |
x |
(*.f64 y z) |
(*.f64 y z) |
(*.f64 y z) |
x |
x |
| Outputs |
|---|
x |
(*.f64 y z) |
(*.f64 y z) |
x |
(*.f64 y z) |
(*.f64 y z) |
(*.f64 y z) |
x |
x |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.2b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (*.f64 z (sin.f64 y)) 3) |
| ✓ | 33.4b | (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
Compiled 44 to 17 computations (61.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | z | @ | -inf | (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
| 2.0ms | y | @ | 0 | (pow.f64 (*.f64 z (sin.f64 y)) 3) |
| 2.0ms | y | @ | inf | (pow.f64 (*.f64 z (sin.f64 y)) 3) |
| 2.0ms | y | @ | -inf | (pow.f64 (*.f64 z (sin.f64 y)) 3) |
| 1.0ms | z | @ | 0 | (pow.f64 (*.f64 z (sin.f64 y)) 3) |
| 1× | batch-egg-rewrite |
| 645× | pow1_binary64 |
| 603× | add-log-exp_binary64 |
| 603× | log1p-expm1-u_binary64 |
| 603× | expm1-log1p-u_binary64 |
| 586× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 168 | 15 |
| 2 | 1728 | 15 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
(pow.f64 (*.f64 z (sin.f64 y)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) 1/3) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 z (sin.f64 y)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (*.f64 (sin.f64 y) (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) (*.f64 z (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sin.f64 y)) (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2) (pow.f64 (*.f64 z (sin.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) 3) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 3) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (sin.f64 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) 1) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2)) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 z (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 707× | fma-def_binary64 |
| 488× | distribute-rgt-in_binary64 |
| 482× | distribute-lft-in_binary64 |
| 476× | associate-*l*_binary64 |
| 434× | distribute-rgt-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 625 |
| 1 | 235 | 610 |
| 2 | 866 | 565 |
| 3 | 4542 | 565 |
| 4 | 7126 | 562 |
| 5 | 7250 | 562 |
| 6 | 7387 | 562 |
| 7 | 7541 | 562 |
| 8 | 7729 | 562 |
| 9 | 7919 | 562 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 y 3) (pow.f64 z 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (*.f64 (pow.f64 y 3) (pow.f64 z 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (+.f64 (*.f64 (pow.f64 y 3) (pow.f64 z 3)) (*.f64 (pow.f64 y 7) (+.f64 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z) (+.f64 (*.f64 1/18 (pow.f64 z 3)) (*.f64 1/120 (pow.f64 z 3))))))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (+.f64 (*.f64 (pow.f64 y 9) (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z)) (+.f64 (*.f64 z (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/2520 (pow.f64 z 2)))) (+.f64 (*.f64 -1/5040 (pow.f64 z 3)) (*.f64 -1/360 (pow.f64 z 3)))))) (+.f64 (*.f64 (pow.f64 y 3) (pow.f64 z 3)) (*.f64 (pow.f64 y 7) (+.f64 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z) (+.f64 (*.f64 1/18 (pow.f64 z 3)) (*.f64 1/120 (pow.f64 z 3)))))))) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(neg.f64 (*.f64 (*.f64 z (sin.f64 y)) (cbrt.f64 -1))) |
(neg.f64 (*.f64 z (*.f64 (sin.f64 y) (cbrt.f64 -1)))) |
(*.f64 (*.f64 (sin.f64 y) (cbrt.f64 -1)) (neg.f64 z)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(neg.f64 (*.f64 (*.f64 z (sin.f64 y)) (cbrt.f64 -1))) |
(neg.f64 (*.f64 z (*.f64 (sin.f64 y) (cbrt.f64 -1)))) |
(*.f64 (*.f64 (sin.f64 y) (cbrt.f64 -1)) (neg.f64 z)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(neg.f64 (*.f64 (*.f64 z (sin.f64 y)) (cbrt.f64 -1))) |
(neg.f64 (*.f64 z (*.f64 (sin.f64 y) (cbrt.f64 -1)))) |
(*.f64 (*.f64 (sin.f64 y) (cbrt.f64 -1)) (neg.f64 z)) |
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 z (sin.f64 y)))) |
(neg.f64 (*.f64 (*.f64 z (sin.f64 y)) (cbrt.f64 -1))) |
(neg.f64 (*.f64 z (*.f64 (sin.f64 y) (cbrt.f64 -1)))) |
(*.f64 (*.f64 (sin.f64 y) (cbrt.f64 -1)) (neg.f64 z)) |
(*.f64 y z) |
(*.f64 z y) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z y)) |
(*.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (fma.f64 -1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/120 (*.f64 z (pow.f64 y 5)))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 z y (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 z (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 1/120 (pow.f64 y 5))) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 y 3) (pow.f64 z 3)) |
(pow.f64 (*.f64 z y) 3) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (*.f64 (pow.f64 y 3) (pow.f64 z 3))) |
(fma.f64 (*.f64 (pow.f64 z 3) -1/2) (pow.f64 y 5) (*.f64 (pow.f64 y 3) (pow.f64 z 3))) |
(fma.f64 (pow.f64 y 3) (pow.f64 z 3) (*.f64 (pow.f64 y 5) (*.f64 (pow.f64 z 3) -1/2))) |
(*.f64 (pow.f64 z 3) (+.f64 (pow.f64 y 3) (*.f64 (pow.f64 y 5) -1/2))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (+.f64 (*.f64 (pow.f64 y 3) (pow.f64 z 3)) (*.f64 (pow.f64 y 7) (+.f64 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z) (+.f64 (*.f64 1/18 (pow.f64 z 3)) (*.f64 1/120 (pow.f64 z 3))))))) |
(fma.f64 (*.f64 (pow.f64 z 3) -1/2) (pow.f64 y 5) (fma.f64 (pow.f64 y 3) (pow.f64 z 3) (*.f64 (pow.f64 y 7) (fma.f64 (*.f64 (*.f64 z z) 2/45) z (*.f64 (pow.f64 z 3) 23/360))))) |
(fma.f64 (pow.f64 y 5) (*.f64 (pow.f64 z 3) -1/2) (fma.f64 (pow.f64 y 3) (pow.f64 z 3) (*.f64 (pow.f64 y 7) (fma.f64 (pow.f64 z 3) 23/360 (*.f64 (pow.f64 z 3) 2/45))))) |
(fma.f64 (pow.f64 y 7) (*.f64 (pow.f64 z 3) 13/120) (*.f64 (pow.f64 z 3) (+.f64 (pow.f64 y 3) (*.f64 (pow.f64 y 5) -1/2)))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 z 3)) (*.f64 -1/6 (pow.f64 z 3))) (pow.f64 y 5)) (+.f64 (*.f64 (pow.f64 y 9) (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z)) (+.f64 (*.f64 z (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/2520 (pow.f64 z 2)))) (+.f64 (*.f64 -1/5040 (pow.f64 z 3)) (*.f64 -1/360 (pow.f64 z 3)))))) (+.f64 (*.f64 (pow.f64 y 3) (pow.f64 z 3)) (*.f64 (pow.f64 y 7) (+.f64 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 z 2)) (*.f64 1/60 (pow.f64 z 2))) z) (+.f64 (*.f64 1/18 (pow.f64 z 3)) (*.f64 1/120 (pow.f64 z 3)))))))) |
(fma.f64 (*.f64 (pow.f64 z 3) -1/2) (pow.f64 y 5) (fma.f64 (pow.f64 y 9) (fma.f64 -1/6 (*.f64 z (*.f64 (*.f64 z z) 2/45)) (fma.f64 z (*.f64 (*.f64 z z) -1/315) (*.f64 (pow.f64 z 3) -1/336))) (fma.f64 (pow.f64 y 3) (pow.f64 z 3) (*.f64 (pow.f64 y 7) (fma.f64 (*.f64 (*.f64 z z) 2/45) z (*.f64 (pow.f64 z 3) 23/360)))))) |
(fma.f64 (pow.f64 y 5) (*.f64 (pow.f64 z 3) -1/2) (fma.f64 (pow.f64 y 9) (fma.f64 -1/6 (*.f64 (pow.f64 z 3) 2/45) (fma.f64 (pow.f64 z 3) -1/336 (*.f64 (pow.f64 z 3) -1/315))) (fma.f64 (pow.f64 y 3) (pow.f64 z 3) (*.f64 (pow.f64 y 7) (fma.f64 (pow.f64 z 3) 23/360 (*.f64 (pow.f64 z 3) 2/45)))))) |
(fma.f64 (pow.f64 y 9) (+.f64 (*.f64 (pow.f64 z 3) -1/135) (*.f64 (pow.f64 z 3) -31/5040)) (fma.f64 (pow.f64 y 7) (*.f64 (pow.f64 z 3) 13/120) (*.f64 (pow.f64 z 3) (+.f64 (pow.f64 y 3) (*.f64 (pow.f64 y 5) -1/2))))) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
(*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.2b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.6b | (cbrt.f64 (*.f64 x (cos.f64 y))) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
Compiled 43 to 14 computations (67.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 8.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
| 4.0ms | y | @ | inf | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
| 4.0ms | y | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
| 3.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
| 3.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
| 1× | batch-egg-rewrite |
| 638× | pow1_binary64 |
| 596× | add-log-exp_binary64 |
| 596× | log1p-expm1-u_binary64 |
| 596× | expm1-log1p-u_binary64 |
| 581× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 166 | 14 |
| 2 | 1669 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) (*.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 2) 3) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) 3) (pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) 1) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 x)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (pow.f64 (*.f64 x (cos.f64 y)) 1/6)) (pow.f64 (*.f64 x (cos.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) (pow.f64 (*.f64 x (cos.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 1/3) (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 664× | associate-*l*_binary64 |
| 652× | associate-*r*_binary64 |
| 581× | fma-def_binary64 |
| 426× | distribute-rgt-out_binary64 |
| 242× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 91 | 527 |
| 1 | 306 | 481 |
| 2 | 1000 | 416 |
| 3 | 5848 | 390 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 1 1/3) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2))) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))))))) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 1 1/3))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3)))))))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(pow.f64 x 1/3) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 y 6)) (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
| Outputs |
|---|
(*.f64 (pow.f64 1 1/3) x) |
x |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2))) |
(+.f64 x (*.f64 (*.f64 x -1/2) (*.f64 y y))) |
(fma.f64 (*.f64 x -1/2) (*.f64 y y) x) |
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 x) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))))))) |
(+.f64 x (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 x -1/24)) (fma.f64 1/18 x (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x))))))) |
(+.f64 x (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (fma.f64 1/3 (*.f64 x -1/24) (fma.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/18)))))) |
(fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (fma.f64 x 1/18 (*.f64 x -1/72))) x)) |
(fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/24)) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 1 1/3))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3)))))))) |
(+.f64 x (fma.f64 (fma.f64 -1/6 (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x)) (fma.f64 (cbrt.f64 x) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 x)) (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216)))) (*.f64 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) -1/9)) (fma.f64 1/3 (*.f64 1 (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216)))) (*.f64 -1/9 (*.f64 x -1/24))))) (pow.f64 y 6) (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 x -1/24)) (fma.f64 1/18 x (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x)))))))) |
(+.f64 x (fma.f64 (+.f64 (fma.f64 1/3 (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72))) (*.f64 (*.f64 -1/9 x) -1/24)) (*.f64 (cbrt.f64 x) (+.f64 (*.f64 -1/6 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x))))) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 x)) (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72)))) (*.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 (*.f64 -1/9 x) -1/24)))))) (pow.f64 y 6) (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (fma.f64 1/3 (*.f64 x -1/24) (fma.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/18))))))) |
(fma.f64 (fma.f64 (cbrt.f64 x) (fma.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (*.f64 (cbrt.f64 (/.f64 1 x)) (+.f64 (*.f64 2/3 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72))) (*.f64 x 1/216)))) (fma.f64 1/3 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72)) (*.f64 x 1/216))) (pow.f64 y 6) (fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (fma.f64 x 1/18 (*.f64 x -1/72))) x))) |
(fma.f64 (fma.f64 (cbrt.f64 x) (fma.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (*.f64 (cbrt.f64 (/.f64 1 x)) (+.f64 (*.f64 2/3 (*.f64 x -23/2160)) (*.f64 x 1/216)))) (fma.f64 1/3 (*.f64 x -23/2160) (*.f64 x 1/216))) (pow.f64 y 6) (fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/24)) x))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(pow.f64 x 1/3) |
(cbrt.f64 x) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (cbrt.f64 x) (*.f64 (*.f64 -1/6 (cbrt.f64 x)) (*.f64 y y))) |
(fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x)) (cbrt.f64 x)) |
(fma.f64 (*.f64 y y) (*.f64 -1/6 (cbrt.f64 x)) (cbrt.f64 x)) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/24))) (*.f64 (*.f64 -1/6 (cbrt.f64 x)) (*.f64 y y)))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 x (*.f64 -1/24 (pow.f64 y 4)))) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x))))) |
(fma.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/72)) (fma.f64 (*.f64 y y) (*.f64 -1/6 (cbrt.f64 x)) (cbrt.f64 x))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 y 6)) (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216))) (*.f64 (pow.f64 y 6) (cbrt.f64 (/.f64 1 (*.f64 x x))))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/24))) (*.f64 (*.f64 -1/6 (cbrt.f64 x)) (*.f64 y y))))) |
(+.f64 (*.f64 1/3 (+.f64 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72))) (pow.f64 y 6))) (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 x (*.f64 -1/24 (pow.f64 y 4)))))) (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x)) (cbrt.f64 x))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (+.f64 (*.f64 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72)) (pow.f64 y 6)) (*.f64 x (*.f64 (pow.f64 y 4) -1/24)))) (fma.f64 (*.f64 y y) (*.f64 -1/6 (cbrt.f64 x)) (cbrt.f64 x))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (+.f64 (*.f64 x (*.f64 (pow.f64 y 4) -1/24)) (*.f64 (*.f64 x -23/2160) (pow.f64 y 6)))) (fma.f64 (*.f64 y y) (*.f64 -1/6 (cbrt.f64 x)) (cbrt.f64 x))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 0.0b | (sqrt.f64 (cos.f64 y)) |
| ✓ | 0.1b | (*.f64 x (sqrt.f64 (cos.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 35 to 9 computations (74.3% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | inf | (*.f64 x (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | -inf | (*.f64 x (sqrt.f64 (cos.f64 y))) |
| 1.0ms | x | @ | inf | (*.f64 x (sqrt.f64 (cos.f64 y))) |
| 1.0ms | y | @ | inf | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 931× | pow1_binary64 |
| 850× | add-log-exp_binary64 |
| 850× | log1p-expm1-u_binary64 |
| 850× | expm1-log1p-u_binary64 |
| 828× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 1 | 196 | 27 |
| 2 | 2329 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (sqrt.f64 (cos.f64 y))) |
(sqrt.f64 (cos.f64 y)) |
(fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (cos.f64 y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 (cos.f64 y))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/4) (pow.f64 (cos.f64 y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2) (pow.f64 (cbrt.f64 (cos.f64 y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (cos.f64 y)) 1) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 1908× | fma-def_binary64 |
| 679× | sqr-pow_binary64 |
| 417× | cube-prod_binary64 |
| 398× | *-commutative_binary64 |
| 358× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 668 |
| 1 | 134 | 665 |
| 2 | 345 | 656 |
| 3 | 1111 | 654 |
| 4 | 1774 | 654 |
| 5 | 2772 | 654 |
| 6 | 2875 | 654 |
| 7 | 3039 | 654 |
| 8 | 3209 | 649 |
| 9 | 5026 | 649 |
| 10 | 5349 | 649 |
| 11 | 5744 | 649 |
| 12 | 6253 | 649 |
| 13 | 6820 | 649 |
| 14 | 7598 | 649 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
x |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/96 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/96 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x))) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
1 |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6))))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
x |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/4 (*.f64 x (*.f64 y y)) x) |
(*.f64 (fma.f64 -1/4 (*.f64 y y) 1) x) |
(*.f64 x (fma.f64 y (*.f64 y -1/4) 1)) |
(+.f64 (*.f64 -1/96 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/96 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/4 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 -1/96 (*.f64 x (pow.f64 y 4)) (*.f64 (fma.f64 -1/4 (*.f64 y y) 1) x)) |
(*.f64 x (fma.f64 -1/4 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) 1))) |
(*.f64 x (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) x)) (+.f64 (*.f64 -1/96 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -19/5760 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/96 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/4 (*.f64 x (*.f64 y y)) x))) |
(+.f64 (*.f64 (fma.f64 -1/4 (*.f64 y y) 1) x) (*.f64 x (fma.f64 -1/96 (pow.f64 y 4) (*.f64 -19/5760 (pow.f64 y 6))))) |
(+.f64 x (*.f64 x (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (*.f64 -19/5760 (pow.f64 y 6)))))) |
(*.f64 x (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 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) x) |
(*.f64 (sqrt.f64 (cos.f64 y)) 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))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 y z (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 y z (fma.f64 (*.f64 x (*.f64 y y)) -1/2 x)) |
(fma.f64 y z (fma.f64 x (*.f64 (*.f64 y y) -1/2) x)) |
(fma.f64 y z (fma.f64 (*.f64 y y) (*.f64 x -1/2) x)) |
(fma.f64 y (fma.f64 -1/2 (*.f64 y x) z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 (*.f64 x (*.f64 y y)) -1/2 x))) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 x (*.f64 (*.f64 y y) -1/2) x)) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 (*.f64 y y) (*.f64 x -1/2) x)) |
(fma.f64 y (fma.f64 y (*.f64 x -1/2) (*.f64 (fma.f64 y (*.f64 y -1/6) 1) z)) x) |
(fma.f64 y (fma.f64 y (*.f64 x -1/2) (*.f64 z (fma.f64 y (*.f64 y -1/6) 1))) x) |
(fma.f64 y (fma.f64 -1/2 (*.f64 y x) z) (fma.f64 z (*.f64 -1/6 (pow.f64 y 3)) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 (cos.f64 y) x)) |
Compiled 10205 to 4091 computations (59.9% saved)
23 alts after pruning (20 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 570 | 17 | 587 |
| Fresh | 12 | 3 | 15 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 3 | 6 |
| Total | 586 | 23 | 609 |
| Status | Error | Program |
|---|---|---|
| 29.0b | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y z)) | |
| 33.3b | (fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) | |
| ▶ | 15.2b | (+.f64 x (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
| 7.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) | |
| 17.4b | (fma.f64 (*.f64 x (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) |
| 24.5b | (*.f64 (cos.f64 y) x) | |
| ▶ | 1.0b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (sin.f64 y))) |
| 2.5b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 32.4b | (/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| ✓ | 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
| ▶ | 31.0b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 30.9b | (+.f64 x (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) | |
| 31.4b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| ▶ | 54.5b | (*.f64 y z) |
| 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))) | |
| 39.1b | x | |
| 33.2b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 32.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) | |
| 0.9b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y))) | |
| 38.0b | (*.f64 z (sin.f64 y)) |
Compiled 618 to 417 computations (32.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
| 0.2b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.6b | (cbrt.f64 (sin.f64 y)) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (sin.f64 y)) 3) |
Compiled 42 to 17 computations (59.5% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | inf | (pow.f64 (cbrt.f64 (sin.f64 y)) 3) |
| 4.0ms | y | @ | -inf | (pow.f64 (cbrt.f64 (sin.f64 y)) 3) |
| 3.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (sin.f64 y)) 3) |
| 1.0ms | z | @ | 0 | (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
| 1.0ms | z | @ | inf | (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
| 1× | batch-egg-rewrite |
| 634× | pow1_binary64 |
| 592× | add-log-exp_binary64 |
| 592× | log1p-expm1-u_binary64 |
| 592× | expm1-log1p-u_binary64 |
| 577× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 166 | 14 |
| 2 | 1658 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (sin.f64 y)) 3) |
(cbrt.f64 (sin.f64 y)) |
(*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) (pow.f64 (cbrt.f64 (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 y) 1/6) (*.f64 (pow.f64 (sin.f64 y) 1/6) (pow.f64 (cbrt.f64 (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 2) 3) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (sin.f64 y) 1/6) 3) (pow.f64 (pow.f64 (sin.f64 y) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) 1) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (pow.f64 (sin.f64 y) 1/6)) (pow.f64 (sin.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x sin.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) (pow.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 2) (cbrt.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 y) 1/6) (pow.f64 (sin.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) 1/3) (cbrt.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (sin.f64 y)) 1/3) (pow.f64 (sqrt.f64 (sin.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 y) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sin.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) z) 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 (pow.f64 (exp.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))))))) |
| 1× | egg-herbie |
| 1161× | fma-def_binary64 |
| 762× | sqr-pow_binary64 |
| 662× | cube-prod_binary64 |
| 400× | unswap-sqr_binary64 |
| 379× | fabs-mul_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 284 |
| 1 | 90 | 257 |
| 2 | 219 | 246 |
| 3 | 618 | 244 |
| 4 | 1630 | 242 |
| 5 | 2524 | 242 |
| 6 | 2799 | 242 |
| 7 | 3393 | 242 |
| 8 | 3524 | 242 |
| 9 | 3709 | 242 |
| 10 | 3983 | 242 |
| 11 | 4479 | 242 |
| 12 | 5080 | 242 |
| 13 | 5895 | 242 |
| 14 | 6918 | 242 |
| 15 | 7594 | 242 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(pow.f64 (sin.f64 y) 1/3) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
| Outputs |
|---|
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(*.f64 (pow.f64 1 1/3) (sin.f64 y)) |
(*.f64 1 (sin.f64 y)) |
(sin.f64 y) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(pow.f64 (sin.f64 y) 1/3) |
(cbrt.f64 (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 y z)) |
(*.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (fma.f64 -1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/120 (*.f64 z (pow.f64 y 5)))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 z (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 1/120 (pow.f64 y 5))) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/5040 (pow.f64 y 7) y)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/5040 (pow.f64 y 7) y)))) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
(*.f64 z (sin.f64 y)) |
(*.f64 (sin.f64 y) z) |
Compiled 8 to 4 computations (50% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sin.f64 y) | |
| 0.1b | (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) | |
| 0.1b | (expm1.f64 (log1p.f64 (sin.f64 y))) | |
| 0.3b | (log1p.f64 (sin.f64 y)) |
Compiled 29 to 8 computations (72.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.2b | (*.f64 x (cos.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
Compiled 50 to 12 computations (76% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | z | @ | 0 | (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) |
| 2.0ms | z | @ | inf | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 2.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 1.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 1× | batch-egg-rewrite |
| 542× | log-prod_binary64 |
| 397× | exp-prod_binary64 |
| 368× | pow-prod-down_binary64 |
| 336× | fma-def_binary64 |
| 294× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 26 |
| 1 | 252 | 26 |
| 2 | 2931 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
(sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) (/.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/4) (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 x (cos.f64 y)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/4) (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 5/6) (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 x (cos.f64 y)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (fma.f64 (*.f64 x (cos.f64 y)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (*.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) (pow.f64 (*.f64 x (cos.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 x (cos.f64 y)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (exp.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (exp.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sin.f64 y)) 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/6) (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/4) (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (sqrt.f64 (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3/2) (pow.f64 (*.f64 z (sin.f64 y)) 3/2)) (hypot.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (*.f64 (*.f64 x (cos.f64 y)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/2) (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1) 1)))))) |
| 1× | egg-herbie |
| 756× | fma-def_binary64 |
| 454× | times-frac_binary64 |
| 408× | *-commutative_binary64 |
| 373× | unswap-sqr_binary64 |
| 310× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 145 | 990 |
| 1 | 446 | 976 |
| 2 | 1606 | 933 |
| 3 | 6299 | 917 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x)))) (pow.f64 z 2)) (+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x)))) (pow.f64 z 2)) (+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)))) |
x |
(+.f64 (*.f64 y z) x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 z 2) x)) (*.f64 -1/2 x)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 z 2) x)) (*.f64 -1/2 x)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) x))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y)))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y))))) (pow.f64 x 2)) (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y)))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y))))) (pow.f64 x 2)) (+.f64 (*.f64 (cos.f64 y) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2))))) (pow.f64 x 3)) (*.f64 z (sin.f64 y))))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x)))))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 x 5)))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))))))))) |
(sqrt.f64 x) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 3) (-.f64 (*.f64 -1/6 z) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) z) x)))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (*.f64 z (sin.f64 y))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y))))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)))) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2)))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 5) (pow.f64 (sin.f64 y) 5)))))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)))) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2))))))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x)))) (pow.f64 z 2)) (+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) x)))) (pow.f64 z 2)) (+.f64 (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x)))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
x |
(+.f64 (*.f64 y z) x) |
(fma.f64 y z x) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 z 2) x)) (*.f64 -1/2 x)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) x)) |
(fma.f64 y z (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 z z) x) (*.f64 x -1/2)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) x)) |
(fma.f64 y z (fma.f64 (*.f64 y y) (-.f64 (fma.f64 x -1/2 (/.f64 1/4 (/.f64 x (*.f64 z z)))) (pow.f64 (*.f64 z (*.f64 (sqrt.f64 (/.f64 1 x)) 1/2)) 2)) x)) |
(fma.f64 y z (fma.f64 y (*.f64 y (fma.f64 x -1/2 (*.f64 1/4 (-.f64 (/.f64 z (/.f64 x z)) (*.f64 (*.f64 z z) (/.f64 1 x)))))) x)) |
(fma.f64 y z (fma.f64 y (*.f64 y (fma.f64 x -1/2 (*.f64 (*.f64 z z) (-.f64 (/.f64 1/4 x) (*.f64 1/4 (/.f64 1 x)))))) x)) |
(+.f64 (*.f64 y z) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 z 2) x)) (*.f64 -1/2 x)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 z z) x) (*.f64 x -1/2)) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) x))) |
(fma.f64 y z (fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 (*.f64 y y) (-.f64 (fma.f64 x -1/2 (/.f64 1/4 (/.f64 x (*.f64 z z)))) (pow.f64 (*.f64 z (*.f64 (sqrt.f64 (/.f64 1 x)) 1/2)) 2)) x))) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 y (*.f64 y (fma.f64 x -1/2 (*.f64 1/4 (-.f64 (/.f64 z (/.f64 x z)) (*.f64 (*.f64 z z) (/.f64 1 x)))))) x)) |
(fma.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 y (*.f64 y (fma.f64 x -1/2 (*.f64 (*.f64 z z) (-.f64 (/.f64 1/4 x) (*.f64 1/4 (/.f64 1 x)))))) x)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y)))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y))))) (pow.f64 x 2)) (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y)))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (sin.f64 y))))) (pow.f64 x 2)) (+.f64 (*.f64 (cos.f64 y) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2))))) (pow.f64 x 3)) (*.f64 z (sin.f64 y))))) |
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y))) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x)))))) |
(fma.f64 1/2 (*.f64 (sin.f64 y) (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (sqrt.f64 (*.f64 (cos.f64 y) x))) |
(fma.f64 (*.f64 z (sin.f64 y)) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 x) (cos.f64 y)))) (sqrt.f64 (*.f64 (cos.f64 y) x))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (fma.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x)))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 x 3))))))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (fma.f64 -1/8 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 x 3))))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))) (*.f64 (*.f64 z (sin.f64 y)) 1/2)))) |
(fma.f64 z (*.f64 1/2 (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 (/.f64 1 x) (cos.f64 y))))) (fma.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 z z) -1/8)) (sqrt.f64 (*.f64 (cos.f64 y) x)))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 x 5)))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 z 2) (pow.f64 (sin.f64 y) 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3))))))))) |
(+.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (fma.f64 1/2 (*.f64 (*.f64 z (sin.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x)))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 x 5))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 x 3)))))))) |
(+.f64 (fma.f64 1/2 (*.f64 (sin.f64 y) (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) x))))) (sqrt.f64 (*.f64 (cos.f64 y) x))) (fma.f64 -1/8 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 x 3))))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 x 5)))) (*.f64 1/16 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)))))) |
(+.f64 (fma.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 x 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 z 3) 1/16)) (*.f64 (*.f64 z (sin.f64 y)) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 x) (cos.f64 y)))))) (fma.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (*.f64 z z) -1/8)) (sqrt.f64 (*.f64 (cos.f64 y) x)))) |
(sqrt.f64 x) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) |
(fma.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) |
(fma.f64 y (*.f64 z (*.f64 1/2 (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x))) (fma.f64 1/2 (*.f64 (*.f64 y y) (*.f64 (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 (*.f64 y z) 1/2) (*.f64 (*.f64 1/2 (*.f64 y y)) (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 z (*.f64 (sqrt.f64 (/.f64 1 x)) 1/2)) 2)))))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 y z) (*.f64 y (*.f64 y (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x)))))))) (sqrt.f64 x)) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 y (+.f64 z (*.f64 y (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x)))))))) (sqrt.f64 x)) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 3) (-.f64 (*.f64 -1/6 z) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) z) x)))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 x) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(fma.f64 1/2 (*.f64 (*.f64 y z) (sqrt.f64 (/.f64 1 x))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 3) (-.f64 (*.f64 z -1/6) (*.f64 1/2 (/.f64 (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) (/.f64 x z)))))) (fma.f64 1/2 (*.f64 (*.f64 y y) (*.f64 (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 x)))) 2)) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(+.f64 (fma.f64 1/2 (*.f64 (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 z (*.f64 (sqrt.f64 (/.f64 1 x)) 1/2)) 2)) (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)) (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 (*.f64 y z) 1/2) (*.f64 (*.f64 1/2 (pow.f64 y 3)) (fma.f64 z -1/6 (*.f64 -1/2 (/.f64 z (/.f64 x (-.f64 (*.f64 x -1/2) (pow.f64 (*.f64 z (*.f64 (sqrt.f64 (/.f64 1 x)) 1/2)) 2)))))))))) |
(+.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 1/2 (+.f64 (*.f64 y z) (*.f64 (pow.f64 y 3) (fma.f64 z -1/6 (/.f64 (*.f64 z -1/2) (/.f64 x (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x)))))))))) (*.f64 (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x)))) (*.f64 (*.f64 y y) 1/2))))) |
(+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 3) (*.f64 z (-.f64 -1/6 (/.f64 (*.f64 1/2 (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x))))) x)))) (*.f64 y (+.f64 z (*.f64 y (fma.f64 x -1/2 (*.f64 -1/4 (*.f64 (*.f64 z z) (/.f64 1 x)))))))))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) x) (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))) |
(sqrt.f64 (*.f64 z (sin.f64 y))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y))))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 1/2 (*.f64 (cos.f64 y) (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))))) |
(fma.f64 1/2 (*.f64 (cos.f64 y) (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (sqrt.f64 (*.f64 z (sin.f64 y)))) |
(fma.f64 (*.f64 (cos.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y))))) (sqrt.f64 (*.f64 z (sin.f64 y)))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)))) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2)))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (fma.f64 1/2 (*.f64 (cos.f64 y) (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)))))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 x x) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)))))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))) (*.f64 (*.f64 (cos.f64 y) x) 1/2)))) |
(fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (fma.f64 -1/8 (*.f64 (*.f64 x x) (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 z 3)) (pow.f64 (sin.f64 y) 3))))) (sqrt.f64 (*.f64 z (sin.f64 y))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 5) (pow.f64 (sin.f64 y) 5)))))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)))) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 2))))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 z 5) (pow.f64 (sin.f64 y) 5))))) (fma.f64 1/2 (*.f64 (cos.f64 y) (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3))))))))) |
(+.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (fma.f64 1/16 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (cos.f64 y) 3) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 z 5)) (pow.f64 (sin.f64 y) 5))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 x x) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 z 3)))))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))) (*.f64 (*.f64 (cos.f64 y) x) 1/2))))) |
(fma.f64 (pow.f64 (cos.f64 y) 3) (*.f64 1/16 (*.f64 (pow.f64 x 3) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 z 5)) (pow.f64 (sin.f64 y) 5))))) (fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 (*.f64 z (sin.f64 y)))))) (fma.f64 -1/8 (*.f64 (*.f64 x x) (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 z 3)) (pow.f64 (sin.f64 y) 3))))) (sqrt.f64 (*.f64 z (sin.f64 y)))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) |
| ✓ | 0.4b | (cbrt.f64 (cos.f64 y)) |
| ✓ | 0.6b | (cbrt.f64 x) |
| ✓ | 0.8b | (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) |
Compiled 47 to 15 computations (68.1% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) |
| 2.0ms | y | @ | -inf | (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) |
| 2.0ms | y | @ | inf | (cbrt.f64 (cos.f64 y)) |
| 1.0ms | y | @ | -inf | (cbrt.f64 (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) |
| 1× | batch-egg-rewrite |
| 771× | pow1_binary64 |
| 717× | add-log-exp_binary64 |
| 717× | log1p-expm1-u_binary64 |
| 717× | expm1-log1p-u_binary64 |
| 695× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 186 | 22 |
| 2 | 2049 | 22 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) |
(cbrt.f64 x) |
(cbrt.f64 (cos.f64 y)) |
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)) 3) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (cos.f64 y))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 x)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) 1) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))) (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)))) (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) 1/3) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 1/3) (pow.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(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 (pow.f64 1 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/3) (cbrt.f64 (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 (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 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 (cbrt.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)))))))) |
| 1× | egg-herbie |
| 679× | associate-*l*_binary64 |
| 663× | associate-*r*_binary64 |
| 633× | fma-def_binary64 |
| 443× | distribute-rgt-out_binary64 |
| 261× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 100 | 619 |
| 1 | 332 | 567 |
| 2 | 1068 | 496 |
| 3 | 6055 | 470 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 1 1/3) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2))) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))))))) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 1 1/3))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3)))))))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
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) |
(pow.f64 x 1/3) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 y 6)) (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
| Outputs |
|---|
(*.f64 (pow.f64 1 1/3) x) |
x |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2))) |
(+.f64 x (*.f64 (*.f64 x -1/2) (*.f64 y y))) |
(fma.f64 (*.f64 x -1/2) (*.f64 y y) x) |
(fma.f64 x (*.f64 (*.f64 y y) -1/2) x) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))))))) |
(+.f64 x (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 x -1/24)) (fma.f64 1/18 x (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x))))))) |
(+.f64 x (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (fma.f64 1/3 (*.f64 x -1/24) (fma.f64 (fma.f64 2/3 (*.f64 x (*.f64 -1/24 (cbrt.f64 (/.f64 1 x)))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/18)))))) |
(fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 x 1/18 (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x -1/72))) x)) |
(fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/24)) x)) |
(+.f64 (*.f64 (pow.f64 1 1/3) x) (+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 1 1/3))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) x)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) x))) (pow.f64 y 2)) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) x)) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 x) 1/3) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3))) (pow.f64 (*.f64 1 x) 1/3)))))))) |
(+.f64 x (fma.f64 (fma.f64 -1/6 (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x)) (fma.f64 (cbrt.f64 x) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 x)) (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216)))) (*.f64 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) -1/9)) (fma.f64 1/3 (*.f64 1 (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216)))) (*.f64 -1/9 (*.f64 x -1/24))))) (pow.f64 y 6) (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/3 (*.f64 x -1/24)) (fma.f64 1/18 x (*.f64 (fma.f64 2/3 (*.f64 (*.f64 x -1/24) (cbrt.f64 (/.f64 1 x))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x)))))))) |
(+.f64 x (fma.f64 (+.f64 (fma.f64 1/3 (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72))) (*.f64 (*.f64 x -1/24) -1/9)) (*.f64 (cbrt.f64 x) (+.f64 (*.f64 -1/6 (fma.f64 2/3 (*.f64 x (*.f64 -1/24 (cbrt.f64 (/.f64 1 x)))) (*.f64 1/36 (cbrt.f64 (*.f64 x x))))) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 x)) (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72)))) (*.f64 (*.f64 x -1/24) (*.f64 (cbrt.f64 (/.f64 1 x)) -1/9)))))) (pow.f64 y 6) (fma.f64 (*.f64 x -1/2) (*.f64 y y) (*.f64 (pow.f64 y 4) (fma.f64 1/3 (*.f64 x -1/24) (fma.f64 (fma.f64 2/3 (*.f64 x (*.f64 -1/24 (cbrt.f64 (/.f64 1 x)))) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/18))))))) |
(fma.f64 (fma.f64 (cbrt.f64 x) (fma.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (*.f64 (cbrt.f64 (/.f64 1 x)) (+.f64 (*.f64 2/3 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72))) (*.f64 x 1/216)))) (fma.f64 1/3 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72)) (*.f64 x 1/216))) (pow.f64 y 6) (fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 x 1/18 (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x -1/72))) x))) |
(fma.f64 (fma.f64 (cbrt.f64 x) (fma.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (*.f64 (cbrt.f64 (/.f64 1 x)) (+.f64 (*.f64 2/3 (*.f64 x -23/2160)) (*.f64 x 1/216)))) (fma.f64 1/3 (*.f64 x -23/2160) (*.f64 x 1/216))) (pow.f64 y 6) (fma.f64 x (*.f64 (*.f64 y y) -1/2) (fma.f64 (pow.f64 y 4) (fma.f64 (fma.f64 (cbrt.f64 (/.f64 1 x)) (*.f64 x -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 x x)))) (cbrt.f64 x) (*.f64 x 1/24)) x))) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) x)) |
(*.f64 1 (*.f64 x (cos.f64 y))) |
(*.f64 x (cos.f64 y)) |
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 (pow.f64 y 4) -1/72 (fma.f64 -1/6 (*.f64 y y) 1)) |
(fma.f64 -1/6 (*.f64 y y) (fma.f64 (pow.f64 y 4) -1/72 1)) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 -1/6 (*.f64 y y))))) |
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 (fma.f64 -1/6 (*.f64 y y) 1))) |
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 -1/6 (*.f64 y y) 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)) |
(pow.f64 x 1/3) |
(cbrt.f64 x) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (cbrt.f64 x) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x)))) |
(fma.f64 (*.f64 -1/6 (cbrt.f64 x)) (*.f64 y y) (cbrt.f64 x)) |
(*.f64 (fma.f64 -1/6 (*.f64 y y) 1) (cbrt.f64 x)) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/24))) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (*.f64 x -1/24) (*.f64 (pow.f64 y 4) (cbrt.f64 (/.f64 1 (*.f64 x x))))) (*.f64 -1/6 (*.f64 y (*.f64 y (cbrt.f64 x)))))) |
(fma.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/72)) (*.f64 (fma.f64 -1/6 (*.f64 y y) 1) (cbrt.f64 x))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 -1/720 x) (+.f64 (*.f64 -1/3 (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))) (*.f64 -1/216 x))) (pow.f64 y 6)) (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 x 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (*.f64 1/12 x))))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 x -1/720) (fma.f64 -1/3 (*.f64 x -1/24) (*.f64 x -1/216))) (*.f64 (pow.f64 y 6) (cbrt.f64 (/.f64 1 (*.f64 x x))))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (*.f64 (pow.f64 y 4) (*.f64 x -1/24))) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 x)))))) |
(+.f64 (*.f64 1/3 (+.f64 (*.f64 (-.f64 (*.f64 x -1/720) (fma.f64 x -1/216 (*.f64 x 1/72))) (*.f64 (pow.f64 y 6) (cbrt.f64 (/.f64 1 (*.f64 x x))))) (*.f64 (*.f64 x -1/24) (*.f64 (pow.f64 y 4) (cbrt.f64 (/.f64 1 (*.f64 x x))))))) (fma.f64 (*.f64 -1/6 (cbrt.f64 x)) (*.f64 y y) (cbrt.f64 x))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (+.f64 (*.f64 (+.f64 (*.f64 x 7/2160) (*.f64 x -1/72)) (pow.f64 y 6)) (*.f64 x (*.f64 (pow.f64 y 4) -1/24)))) (*.f64 (fma.f64 -1/6 (*.f64 y y) 1) (cbrt.f64 x))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 x x))) (+.f64 (*.f64 x (*.f64 (pow.f64 y 4) -1/24)) (*.f64 (*.f64 x -23/2160) (pow.f64 y 6)))) (*.f64 (fma.f64 -1/6 (*.f64 y y) 1) (cbrt.f64 x))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
(pow.f64 (*.f64 (cos.f64 y) x) 1/3) |
(cbrt.f64 (*.f64 x (cos.f64 y))) |
Compiled 9517 to 4302 computations (54.8% saved)
25 alts after pruning (18 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 530 | 8 | 538 |
| Fresh | 5 | 10 | 15 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 6 | 7 |
| Total | 536 | 25 | 561 |
| Status | Error | Program |
|---|---|---|
| 29.0b | (fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y z)) | |
| ▶ | 33.3b | (fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) |
| ✓ | 15.2b | (+.f64 x (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
| 42.5b | (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/2)) 2) | |
| 22.5b | (+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 30.9b | (+.f64 x (cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3))) | |
| 51.1b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ▶ | 0.9b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y))) |
| ▶ | 43.2b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| ✓ | 1.0b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (sin.f64 y))) |
| 2.5b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| ✓ | 0.9b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
| 40.2b | (+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) | |
| 31.4b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| ✓ | 54.5b | (*.f64 y z) |
| ▶ | 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))) |
| 39.1b | x | |
| ▶ | 38.0b | (*.f64 z (sin.f64 y)) |
| 17.4b | (fma.f64 (*.f64 x (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 33.2b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| 24.5b | (*.f64 (cos.f64 y) x) | |
| 15.6b | (+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) | |
| ✓ | 31.0b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
Compiled 568 to 390 computations (31.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y))) |
| ✓ | 0.3b | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 z) 2) |
| ✓ | 0.6b | (cbrt.f64 z) |
Compiled 51 to 18 computations (64.7% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 22.0ms | z | @ | 0 | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| 2.0ms | y | @ | inf | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| 1.0ms | z | @ | -inf | (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y))) |
| 1.0ms | y | @ | 0 | (*.f64 (cbrt.f64 z) (sin.f64 y)) |
| 1.0ms | z | @ | -inf | (pow.f64 (cbrt.f64 z) 2) |
| 1× | batch-egg-rewrite |
| 769× | pow1_binary64 |
| 708× | add-log-exp_binary64 |
| 708× | log1p-expm1-u_binary64 |
| 708× | expm1-log1p-u_binary64 |
| 691× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 1 | 181 | 23 |
| 2 | 2013 | 23 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 z) |
(pow.f64 (cbrt.f64 z) 2) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 z)) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 z) 1/3) (pow.f64 (sqrt.f64 z) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 z 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 z 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 z) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 z) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (cbrt.f64 (*.f64 z (cbrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cbrt.f64 z))) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (pow.f64 z 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 1/6) (*.f64 (pow.f64 z 1/6) (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 z) (pow.f64 (cbrt.f64 (cbrt.f64 z)) 2)) (cbrt.f64 (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (cbrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 z) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 z)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cbrt.f64 z) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cbrt.f64 z)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 z z) (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) 3) (*.f64 z z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 944× | unswap-sqr_binary64 |
| 631× | associate-+l+_binary64 |
| 625× | distribute-rgt-out_binary64 |
| 528× | sqr-pow_binary64 |
| 438× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 356 |
| 1 | 130 | 353 |
| 2 | 424 | 324 |
| 3 | 1492 | 316 |
| 4 | 2292 | 316 |
| 5 | 2936 | 316 |
| 6 | 5129 | 316 |
| 7 | 5483 | 316 |
| 8 | 5586 | 316 |
| 9 | 5717 | 316 |
| 10 | 5904 | 316 |
| 11 | 6173 | 316 |
| 12 | 6554 | 316 |
| 13 | 7264 | 316 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (*.f64 1 z) 1/3) y) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3))))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 1 z) 1/3) y) |
(*.f64 (cbrt.f64 z) y) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))) |
(fma.f64 (cbrt.f64 z) y (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)))) |
(fma.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)) (*.f64 (cbrt.f64 z) y)) |
(*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 (cbrt.f64 z) (*.f64 -1/6 (pow.f64 y 3))))) |
(fma.f64 (cbrt.f64 z) (*.f64 1/120 (pow.f64 y 5)) (*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) y) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 5))) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 3)))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 -1/5040 (*.f64 (cbrt.f64 z) (pow.f64 y 7)) (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 -1/6 (*.f64 (cbrt.f64 z) (pow.f64 y 3)))))) |
(fma.f64 (cbrt.f64 z) y (fma.f64 -1/5040 (*.f64 (cbrt.f64 z) (pow.f64 y 7)) (fma.f64 1/120 (*.f64 (cbrt.f64 z) (pow.f64 y 5)) (*.f64 (cbrt.f64 z) (*.f64 -1/6 (pow.f64 y 3)))))) |
(+.f64 (*.f64 (cbrt.f64 z) (fma.f64 -1/6 (pow.f64 y 3) y)) (*.f64 (cbrt.f64 z) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (cbrt.f64 z) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (sin.f64 y)) |
(*.f64 (cbrt.f64 z) (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 y z) |
(*.f64 z y) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z y)) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/120 (*.f64 (pow.f64 y 5) z))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (fma.f64 -1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/120 (*.f64 z (pow.f64 y 5)))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 z y (*.f64 z (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7)))))) |
(*.f64 z (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sin.f64 y) | |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 11 to 5 computations (54.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (*.f64 (cos.f64 y) x)) |
| ✓ | 0.2b | (*.f64 (cos.f64 y) x) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
Compiled 24 to 9 computations (62.5% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | 0 | (*.f64 (cos.f64 y) x) |
| 3.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (*.f64 (cos.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 613× | pow1_binary64 |
| 565× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 551× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 163 | 20 |
| 2 | 1592 | 20 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
(*.f64 (cos.f64 y) x) |
(sqrt.f64 (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (*.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (pow.f64 (*.f64 (cos.f64 y) x) 1/4)) (pow.f64 (*.f64 (cos.f64 y) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (cbrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (cos.f64 y))) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) (cbrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) (pow.f64 (*.f64 (cos.f64 y) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)))))))) |
| 1× | egg-herbie |
| 438× | *-commutative_binary64 |
| 397× | distribute-rgt-in_binary64 |
| 390× | distribute-lft-in_binary64 |
| 335× | distribute-rgt-out_binary64 |
| 333× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 375 |
| 1 | 163 | 371 |
| 2 | 473 | 303 |
| 3 | 1962 | 267 |
| 4 | 5548 | 267 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 x (*.f64 y (*.f64 -1/2 y)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 (pow.f64 y 4) 1/24 (*.f64 y (*.f64 -1/2 y))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/24 x) (*.f64 1/16 x)) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (pow.f64 y 4) 1/24)))) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 x (*.f64 y (*.f64 -1/2 y)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x)) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(fma.f64 x (fma.f64 (pow.f64 y 4) 1/24 (*.f64 y (*.f64 -1/2 y))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 x 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) x))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 4) (fma.f64 x 5/48 (*.f64 x -1/16)) x)) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (pow.f64 y 4) 1/24)))) |
(sqrt.f64 x) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (sqrt.f64 x)) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))) |
(fma.f64 (pow.f64 y 4) (*.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) (*.f64 1/2 (sqrt.f64 (/.f64 1 x)))) (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 (*.f64 x -1/48) (sqrt.f64 (/.f64 1 x)))) (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 x -1/48))) (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1))) |
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 x))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x)))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 x) (*.f64 -1/4 (-.f64 (*.f64 1/24 x) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))) (sqrt.f64 (/.f64 1 x))))))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (+.f64 (fma.f64 1/2 (*.f64 (*.f64 (pow.f64 y 4) (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))) (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 x -1/720) (*.f64 1/4 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2))))))))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 x)) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 x)))) (fma.f64 1/2 (*.f64 (fma.f64 x -1/720 (*.f64 (-.f64 (*.f64 x 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 x)) 2)) 1/4)) (*.f64 (pow.f64 y 6) (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (+.f64 (*.f64 (pow.f64 y 6) (fma.f64 (fma.f64 x 1/24 (*.f64 x -1/16)) 1/4 (*.f64 x -1/720))) (*.f64 (pow.f64 y 4) (fma.f64 x 1/24 (*.f64 x -1/16)))))) |
(+.f64 (*.f64 (sqrt.f64 x) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 x)) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 x -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 x -1/720 (*.f64 -1/4 (*.f64 x 1/48)))))))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (*.f64 y -1/6)) |
| ✓ | 0.3b | (*.f64 y -1/6) |
| ✓ | 0.5b | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
Compiled 56 to 29 computations (48.2% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
| 1.0ms | z | @ | 0 | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
| 1.0ms | z | @ | inf | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
| 1.0ms | y | @ | inf | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
| 1.0ms | y | @ | -inf | (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
| 1× | batch-egg-rewrite |
| 501× | log-prod_binary64 |
| 398× | prod-exp_binary64 |
| 389× | exp-prod_binary64 |
| 336× | pow-prod-down_binary64 |
| 279× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 29 |
| 1 | 223 | 29 |
| 2 | 2575 | 29 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x) |
(*.f64 y -1/6) |
(*.f64 z (*.f64 y -1/6)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) (pow.f64 (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 2) (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) (sqrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 y 6) (pow.f64 (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) 3)) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) 2) (*.f64 x x)) (-.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 2)) (cbrt.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))) (sqrt.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (pow.f64 (exp.f64 y) (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 y) (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2))) x)) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 y -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 y) -1/6)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 y) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 y) -1/6))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 y) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 y -1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 y -1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 y y) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 y -1/6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 y -1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 y -1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 y -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 y -1/6))) 2)) (cbrt.f64 (log.f64 (*.f64 y -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 y -1/6)))) (sqrt.f64 (log.f64 (*.f64 y -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 y y) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 y -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 y -1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 y -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 y -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 y -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 y -1/6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 y -1/6) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 y -1/6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 y -1/6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 y -1/6)) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 y (*.f64 -1/6 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 y) (*.f64 -1/6 z))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 y) (*.f64 -1/6 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 y) (*.f64 -1/6 z)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 y) (*.f64 -1/6 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 y (*.f64 -1/6 z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 y (*.f64 -1/6 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 y (*.f64 -1/6 z)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 y (*.f64 -1/6 z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 y (*.f64 -1/6 z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 y (*.f64 -1/6 z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 y (*.f64 -1/6 z))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 y (*.f64 -1/6 z)))) 2)) (cbrt.f64 (log.f64 (*.f64 y (*.f64 -1/6 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 y (*.f64 -1/6 z))))) (sqrt.f64 (log.f64 (*.f64 y (*.f64 -1/6 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 y (*.f64 -1/6 z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) (*.f64 -1/6 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 y (*.f64 -1/6 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 y (*.f64 -1/6 z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 y (*.f64 -1/6 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 y (*.f64 -1/6 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 y (*.f64 -1/6 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 y (*.f64 -1/6 z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 y (*.f64 -1/6 z)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 y (*.f64 -1/6 z)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 y (*.f64 -1/6 z)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 y (*.f64 -1/6 z))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (log.f64 (*.f64 y -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 z) (*.f64 (log.f64 (*.f64 y -1/6)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (*.f64 (log.f64 (*.f64 y -1/6)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 y -1/6)) 1) (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 y -1/6)) (*.f64 (log.f64 z) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 y -1/6)) 1) (*.f64 (log.f64 z) 1))))))) |
| 1× | egg-herbie |
| 785× | distribute-rgt-neg-in_binary64 |
| 644× | distribute-lft-neg-in_binary64 |
| 605× | fma-def_binary64 |
| 493× | fma-neg_binary64 |
| 323× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 855 |
| 1 | 79 | 855 |
| 2 | 191 | 855 |
| 3 | 527 | 853 |
| 4 | 1789 | 777 |
| 5 | 5205 | 777 |
| 6 | 7559 | 777 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 y) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 -1/6 (*.f64 y z)) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 (*.f64 -1/2 y) (*.f64 x y) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(*.f64 (*.f64 y y) (-.f64 (*.f64 y (*.f64 -1/6 z)) (*.f64 x 1/2))) |
(*.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(*.f64 (*.f64 y y) (-.f64 (*.f64 y (*.f64 -1/6 z)) (*.f64 x 1/2))) |
(*.f64 y (*.f64 y (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)))) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 (*.f64 -1/2 y) (*.f64 x y) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x)) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 (*.f64 -1/2 y) (*.f64 x y) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 -1 (*.f64 (-.f64 (*.f64 1/2 (pow.f64 y 2)) 1) x))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 (*.f64 -1/2 y) (*.f64 x y) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) (*.f64 x (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) (fma.f64 -1/6 (*.f64 (pow.f64 y 3) z) x)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 -1/6 z) (*.f64 x -1/2)) x) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 y) |
(*.f64 y -1/6) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
(*.f64 -1/6 (*.f64 y z)) |
(*.f64 y (*.f64 z -1/6)) |
(*.f64 y (*.f64 -1/6 z)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cbrt.f64 x) (cos.f64 y)) |
| ✓ | 0.2b | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 x) 2) |
| 0.6b | (cbrt.f64 x) |
Compiled 51 to 18 computations (64.7% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 116.0ms | y | @ | inf | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) |
| 2.0ms | x | @ | -inf | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) |
| 2.0ms | y | @ | inf | (*.f64 (cbrt.f64 x) (cos.f64 y)) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 x) 2) |
| 1.0ms | x | @ | -inf | (*.f64 (cbrt.f64 x) (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 769× | pow1_binary64 |
| 708× | add-log-exp_binary64 |
| 708× | log1p-expm1-u_binary64 |
| 708× | expm1-log1p-u_binary64 |
| 691× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 181 | 20 |
| 2 | 2013 | 20 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 x) 2) |
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) |
(*.f64 (cbrt.f64 x) (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (*.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (*.f64 (pow.f64 x 1/6) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 x x) (pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cbrt.f64 x) (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 x) (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 x) (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cbrt.f64 x)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cbrt.f64 x) (cos.f64 y)))))))) |
| 1× | egg-herbie |
| 840× | unswap-sqr_binary64 |
| 754× | distribute-rgt-out_binary64 |
| 643× | associate-+l+_binary64 |
| 534× | sqr-pow_binary64 |
| 454× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 338 |
| 1 | 115 | 336 |
| 2 | 361 | 315 |
| 3 | 1303 | 312 |
| 4 | 2292 | 308 |
| 5 | 3898 | 308 |
| 6 | 5040 | 308 |
| 7 | 5479 | 308 |
| 8 | 5642 | 308 |
| 9 | 5857 | 308 |
| 10 | 6162 | 308 |
| 11 | 6523 | 308 |
| 12 | 6960 | 308 |
| 13 | 7710 | 308 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(pow.f64 x 1/3) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))) (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 4))))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 6))) (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 4)))))) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x))) |
(*.f64 x (+.f64 (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 x (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(pow.f64 x 1/3) |
(cbrt.f64 x) |
(+.f64 (pow.f64 x 1/3) (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2)))) |
(+.f64 (cbrt.f64 x) (*.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 x)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 x)) (cbrt.f64 x)) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (cbrt.f64 x)) |
(*.f64 (cbrt.f64 x) (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))) (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 4))))) |
(+.f64 (cbrt.f64 x) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 x)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 x))))) |
(+.f64 (cbrt.f64 x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (*.f64 -1/2 (*.f64 y y))))) |
(+.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 x) (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))))) |
(*.f64 (cbrt.f64 x) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 (cbrt.f64 x) (+.f64 1 (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))))) |
(+.f64 (pow.f64 x 1/3) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 2))) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 6))) (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 x) 1/3) (pow.f64 y 4)))))) |
(+.f64 (cbrt.f64 x) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 x)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) (cbrt.f64 x)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 x)))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 x)) (cbrt.f64 x)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 x)) (*.f64 (pow.f64 y 6) (*.f64 -1/720 (cbrt.f64 x))))) |
(+.f64 (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 x) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2)))))) |
(*.f64 (cbrt.f64 x) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 1 x) 1/3) (cos.f64 y)) |
(*.f64 (cos.f64 y) (cbrt.f64 x)) |
Compiled 7461 to 3535 computations (52.6% saved)
27 alts after pruning (19 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 435 | 14 | 449 |
| Fresh | 8 | 5 | 13 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 8 | 11 |
| Total | 447 | 27 | 474 |
| Status | Error | Program |
|---|---|---|
| 22.0b | (+.f64 (*.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y))) | |
| ✓ | 38.0b | (*.f64 z (sin.f64 y)) |
| 39.1b | x | |
| 52.8b | (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) | |
| 22.5b | (+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) | |
| 38.4b | (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) | |
| 17.4b | (fma.f64 (*.f64 x (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) | |
| 50.2b | (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2)) | |
| 50.6b | (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)) | |
| 33.2b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| 24.5b | (*.f64 (cos.f64 y) x) | |
| ✓ | 0.1b | (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
| 51.1b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) | |
| ✓ | 0.1b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 51.4b | (pow.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)) 2) | |
| 33.6b | (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) | |
| ✓ | 1.0b | (+.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (sin.f64 y))) |
| 2.5b | (fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) | |
| 55.1b | (fma.f64 z y (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) | |
| ✓ | 31.0b | (pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
| 43.1b | (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) | |
| ✓ | 54.5b | (*.f64 y z) |
| 38.0b | (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) | |
| ✓ | 0.6b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))) |
| 4.0b | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) z)))) | |
| 25.3b | (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) | |
| ✓ | 43.2b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
Compiled 331 to 236 computations (28.7% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 z y (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) |
(cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
(*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
(*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2)) |
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(+.f64 x (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 x (cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3))) |
(+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) |
(+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) |
(+.f64 x (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) |
(fma.f64 z y (fma.f64 (*.f64 y y) (fma.f64 x -1/2 (*.f64 z (*.f64 y -1/6))) x)) |
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3/2)) 2) |
(*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) |
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) |
(pow.f64 (sqrt.f64 (+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))) 2) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3))) |
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))) |
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y))) |
(fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y z)) |
(fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y))) |
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y))) |
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)))) |
(+.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y))) |
(pow.f64 (cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3/2)) 2) |
(fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) z)))) |
(fma.f64 (*.f64 x (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y))) |
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 (neg.f64 z) (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) |
| Outputs |
|---|
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
4 calls:
| 182.0ms | x |
| 74.0ms | y |
| 30.0ms | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 29.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 638 to 223 computations (65% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(fma.f64 z y (*.f64 -1/6 (*.f64 (pow.f64 y 3) z))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))) |
(cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)) |
(*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 3)) |
(*.f64 z (pow.f64 (sqrt.f64 (sin.f64 y)) 2)) |
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) |
(+.f64 x (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))) |
| Outputs |
|---|
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
4 calls:
| 17.0ms | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 14.0ms | z |
| 13.0ms | y |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 168 to 73 computations (56.5% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 132.0ms | y |
| 50.0ms | x |
| 30.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 11.9b | 4 | x |
| 12.7b | 6 | y |
| 13.8b | 3 | z |
Compiled 60 to 24 computations (60% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 176.0ms | 1.6319780425701814e+69 | 1.2006096561286736e+73 |
| 88.0ms | 8.704211662859401e-157 | 1.2925887756955523e-148 |
| 153.0ms | -404717.8097016547 | -267.0510712110468 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
| Outputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (sin.f64 y)) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 247.0ms | y |
| 199.0ms | z |
| 180.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.0b | 3 | x |
| 12.5b | 7 | y |
| 14.1b | 3 | z |
Compiled 50 to 18 computations (64% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 126.0ms | 1.8514155374616943e+266 | 4.408484123196052e+266 |
| 46.0ms | 4.2274113302286874e+52 | 3.6267281492795356e+61 |
| 117.0ms | 1.564967545708885e-5 | 0.0004406951564213727 |
| 90.0ms | -2.016975672981508e-7 | -7.150686858836062e-17 |
| 183.0ms | -162671694012.22647 | -413304.34446636244 |
| 94.0ms | -5.773901193465493e+50 | -4.232490268305672e+47 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 y z) x) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 17.0ms | z |
| 17.0ms | x |
| 15.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 20.9b | 3 | x |
| 16.8b | 3 | y |
| 20.7b | 3 | z |
Compiled 30 to 16 computations (46.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 37.0ms | 1.564967545708885e-5 | 0.0004406951564213727 |
| 39.0ms | -162671694012.22647 | -413304.34446636244 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
(+.f64 (*.f64 y z) x) |
| Outputs |
|---|
(+.f64 (*.f64 y z) x) |
3 calls:
| 42.0ms | y |
| 10.0ms | x |
| 6.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 32.1b | 1 | x |
| 32.1b | 1 | y |
| 32.1b | 1 | z |
Compiled 26 to 14 computations (46.2% saved)
| Inputs |
|---|
x |
x |
x |
(*.f64 y z) |
| Outputs |
|---|
x |
(*.f64 y z) |
x |
3 calls:
| 169.0ms | x |
| 10.0ms | z |
| 9.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 36.4b | 3 | x |
| 39.1b | 1 | y |
| 39.1b | 1 | z |
Compiled 21 to 13 computations (38.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 296.0ms | 2.0068756707268119e-280 | 2.5206994923861027e-273 |
| 117.0ms | -3.2785685710583106e-17 | -2.555942029259979e-18 |
Compiled 18 to 13 computations (27.8% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
| Inputs |
|---|
x |
x |
x |
| Outputs |
|---|
x |
3 calls:
| 9.0ms | x |
| 8.0ms | z |
| 8.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 39.1b | 1 | x |
| 39.1b | 1 | y |
| 39.1b | 1 | z |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 5× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 213 |
| 1 | 67 | 213 |
| 2 | 68 | 213 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(if (<=.f64 x -3476499513554717/8589934592) (*.f64 (cos.f64 y) x) (if (<=.f64 x 215281616508189440/247330401473104534060502521019647190035131349101211839914063056092897225106531867170316401061243044989597671426016139339351365034306751209967546155101893167916606772148699136) (*.f64 z (sin.f64 y)) (if (<=.f64 x 1631978042570181445518290382067197906632774988465527105997319979401216) (+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) (*.f64 (cos.f64 y) x)))) |
(if (<=.f64 y -577390119346549317989494877126166244567508393656320) (*.f64 z (sin.f64 y)) (if (<=.f64 y -5330426069392637/32768) (*.f64 (cos.f64 y) x) (if (<=.f64 y -238122457871283/1180591620717411303424) (*.f64 z (sin.f64 y)) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 (*.f64 y z) x) (if (<=.f64 y 42274113302286873791502707789759552111350371166715904) (*.f64 (cos.f64 y) x) (if (<=.f64 y 185141553746169431201057914692912128742925812313568631979513378565410515147452504048427213202462821320274795821691468296786628211982693437659241702975032051014822346068868967275995187979357194973013953031517546527545608020643957411173185016417902156155151242208739328) (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x))))))) |
(if (<=.f64 y -5330426069392637/32768) (*.f64 (cos.f64 y) x) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 (*.f64 y z) x) (*.f64 (cos.f64 y) x))) |
(+.f64 (*.f64 y z) x) |
(if (<=.f64 x -5319781653749089/162259276829213363391578010288128) x (if (<=.f64 x 8399939666939422720/41855804968213567224547853478906320725054875457247406540771499545716837934567817284890561672488119458109166910841919797858872862722356017328064756151166307827869405370407152286801072676024887272960758524035337792904616958075776435777990406039363527010043736240963055342423554029893064011082834640896) (*.f64 y z) x)) |
x |
| Outputs |
|---|
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(if (<=.f64 x -3476499513554717/8589934592) (*.f64 (cos.f64 y) x) (if (<=.f64 x 215281616508189440/247330401473104534060502521019647190035131349101211839914063056092897225106531867170316401061243044989597671426016139339351365034306751209967546155101893167916606772148699136) (*.f64 z (sin.f64 y)) (if (<=.f64 x 1631978042570181445518290382067197906632774988465527105997319979401216) (+.f64 x (*.f64 z (-.f64 (+.f64 (sin.f64 y) 1) 1))) (*.f64 (cos.f64 y) x)))) |
(if (<=.f64 x -3476499513554717/8589934592) (*.f64 x (cos.f64 y)) (if (<=.f64 x 840943814485115/966134380754314586173837972732996836074731832426608749664308812862879785572390106134048441645480644490615904007875544294341269665260746913935727168366770187174245203705856) (*.f64 z (sin.f64 y)) (if (<=.f64 x 1631978042570181445518290382067197906632774988465527105997319979401216) (+.f64 x (*.f64 z (+.f64 (+.f64 (sin.f64 y) 1) -1))) (*.f64 x (cos.f64 y))))) |
(if (<=.f64 y -577390119346549317989494877126166244567508393656320) (*.f64 z (sin.f64 y)) (if (<=.f64 y -5330426069392637/32768) (*.f64 (cos.f64 y) x) (if (<=.f64 y -238122457871283/1180591620717411303424) (*.f64 z (sin.f64 y)) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 (*.f64 y z) x) (if (<=.f64 y 42274113302286873791502707789759552111350371166715904) (*.f64 (cos.f64 y) x) (if (<=.f64 y 185141553746169431201057914692912128742925812313568631979513378565410515147452504048427213202462821320274795821691468296786628211982693437659241702975032051014822346068868967275995187979357194973013953031517546527545608020643957411173185016417902156155151242208739328) (*.f64 z (sin.f64 y)) (*.f64 (cos.f64 y) x))))))) |
(if (<=.f64 y -577390119346549317989494877126166244567508393656320) (*.f64 z (sin.f64 y)) (if (<=.f64 y -5330426069392637/32768) (*.f64 x (cos.f64 y)) (if (<=.f64 y -238122457871283/1180591620717411303424) (*.f64 z (sin.f64 y)) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 x (*.f64 y z)) (if (<=.f64 y 42274113302286873791502707789759552111350371166715904) (*.f64 x (cos.f64 y)) (if (<=.f64 y 185141553746169431201057914692912128742925812313568631979513378565410515147452504048427213202462821320274795821691468296786628211982693437659241702975032051014822346068868967275995187979357194973013953031517546527545608020643957411173185016417902156155151242208739328) (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))))) |
(if (<=.f64 y -5330426069392637/32768) (*.f64 (cos.f64 y) x) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 (*.f64 y z) x) (*.f64 (cos.f64 y) x))) |
(if (<=.f64 y -5330426069392637/32768) (*.f64 x (cos.f64 y)) (if (<=.f64 y 4618968927896505/295147905179352825856) (+.f64 x (*.f64 y z)) (*.f64 x (cos.f64 y)))) |
(+.f64 (*.f64 y z) x) |
(+.f64 x (*.f64 y z)) |
(if (<=.f64 x -5319781653749089/162259276829213363391578010288128) x (if (<=.f64 x 8399939666939422720/41855804968213567224547853478906320725054875457247406540771499545716837934567817284890561672488119458109166910841919797858872862722356017328064756151166307827869405370407152286801072676024887272960758524035337792904616958075776435777990406039363527010043736240963055342423554029893064011082834640896) (*.f64 y z) x)) |
(if (<=.f64 x -5319781653749089/162259276829213363391578010288128) x (if (<=.f64 x 4101533040497765/20437404769635530871361256581497226916530700906859085224986083762557049772738192033637969566644589579154866655684531151298277765001150399085969119214436673744076858091019117327539586267590276988750370373064129781691707499060437712782221877948907972172872918086407741866417750991158722661661540352) (*.f64 y z) x)) |
x |
Compiled 168 to 95 computations (43.5% saved)
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 16 | 12 |
| 1× | saturated |
Compiled 23 to 15 computations (34.8% saved)
Compiled 147 to 56 computations (61.9% saved)
Loading profile data...