Time bar (total: 12.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 5 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 6 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 7 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 8 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 9 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 10 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 11 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.6s | 2052× | body | 1024 | valid |
| 1.3s | 5137× | body | 256 | valid |
| 558.0ms | 1060× | body | 512 | valid |
| 8.0ms | 7× | body | 2048 | valid |
| 2× | egg-herbie |
| 516× | fma-def_binary64 |
| 380× | fma-neg_binary64 |
| 132× | cancel-sign-sub-inv_binary64 |
| 69× | sub-neg_binary64 |
| 64× | distribute-rgt-neg-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 56 |
| 1 | 53 | 56 |
| 2 | 104 | 56 |
| 3 | 167 | 56 |
| 4 | 263 | 56 |
| 5 | 435 | 56 |
| 6 | 743 | 56 |
| 7 | 1136 | 56 |
| 8 | 1674 | 56 |
| 9 | 1919 | 56 |
| 10 | 1945 | 56 |
| 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))) |
(-.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x))) |
(fma.f64 y (cos.f64 x) (neg.f64 (*.f64 z (sin.f64 x)))) |
(-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) |
(-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) |
(-.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z))) |
(fma.f64 x (cos.f64 z) (*.f64 y (neg.f64 (sin.f64 z)))) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 171× | fma-def_binary64 |
| 87× | fma-neg_binary64 |
| 37× | cancel-sign-sub-inv_binary64 |
| 23× | distribute-rgt-neg-in_binary64 |
| 20× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 17 | 14 |
| 2 | 32 | 14 |
| 3 | 49 | 14 |
| 4 | 76 | 14 |
| 5 | 124 | 14 |
| 6 | 205 | 14 |
| 7 | 306 | 14 |
| 8 | 409 | 14 |
| 9 | 525 | 14 |
| 10 | 583 | 14 |
| 11 | 589 | 14 |
| 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))) |
Compiled 12 to 8 computations (33.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 12 to 8 computations (33.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cos.f64 y) |
| ✓ | 0.1b | (*.f64 z (sin.f64 y)) |
| ✓ | 0.1b | (*.f64 x (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | z | @ | -inf | (*.f64 z (sin.f64 y)) |
| 1.0ms | z | @ | 0 | (*.f64 z (sin.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 x (cos.f64 y)) |
| 1.0ms | x | @ | inf | (*.f64 x (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 740× | pow1_binary64 |
| 673× | add-log-exp_binary64 |
| 673× | log1p-expm1-u_binary64 |
| 673× | expm1-log1p-u_binary64 |
| 657× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 155 | 15 |
| 2 | 1836 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (cos.f64 y)) |
(*.f64 z (sin.f64 y)) |
(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 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 (pow.f64 (cos.f64 y) 3) (pow.f64 x 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 (*.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 (pow.f64 (sin.f64 y) 3) (pow.f64 z 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 -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
| 1× | egg-herbie |
| 2010× | fma-def_binary64 |
| 682× | sqr-pow_binary64 |
| 422× | *-commutative_binary64 |
| 376× | cube-prod_binary64 |
| 321× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 312 |
| 1 | 140 | 305 |
| 2 | 390 | 285 |
| 3 | 1324 | 283 |
| 4 | 2082 | 283 |
| 5 | 2957 | 283 |
| 6 | 3095 | 283 |
| 7 | 3312 | 283 |
| 8 | 3526 | 279 |
| 9 | 5472 | 279 |
| 10 | 5895 | 279 |
| 11 | 6401 | 279 |
| 12 | 7002 | 279 |
| 13 | 7707 | 279 |
| 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))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
x |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x) |
(fma.f64 -1/2 (*.f64 x (*.f64 y y)) x) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) |
(fma.f64 x (*.f64 y (*.f64 y -1/2)) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.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)) |
(+.f64 x (*.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))))) |
(fma.f64 x (fma.f64 y (*.f64 y -1/2) (*.f64 1/24 (pow.f64 y 4))) x) |
(*.f64 x (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 x (fma.f64 y (fma.f64 y -1/2 (*.f64 1/24 (pow.f64 y 3))) 1)) |
(+.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)) (+.f64 x (*.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2)))))) |
(+.f64 x (*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 x (fma.f64 y (fma.f64 y (fma.f64 (*.f64 y y) 1/24 -1/2) (*.f64 -1/720 (pow.f64 y 5))) 1)) |
(*.f64 x (fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (fma.f64 y -1/2 (*.f64 -1/720 (pow.f64 y 5))) 1))) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 (cos.f64 y) x) |
(*.f64 y z) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z)) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 y z)) |
(*.f64 z (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))) |
(*.f64 z (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (+.f64 (*.f64 y z) (*.f64 1/120 (*.f64 (pow.f64 y 5) z)))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (fma.f64 y z (*.f64 1/120 (*.f64 z (pow.f64 y 5))))) |
(fma.f64 -1/6 (*.f64 z (pow.f64 y 3)) (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5))))) |
(*.f64 z (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y))) |
(*.f64 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/5040 (pow.f64 y 7)) (*.f64 1/120 (pow.f64 y 5)))))) |
(*.f64 z (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))))) |
(*.f64 z (+.f64 (fma.f64 1/120 (pow.f64 y 5) (*.f64 -1/5040 (pow.f64 y 7))) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(*.f64 z (fma.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/5040 (pow.f64 y 7) (fma.f64 1/120 (pow.f64 y 5) y)))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(fma.f64 y (*.f64 y -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2)))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 y (fma.f64 y -1/2 (*.f64 1/24 (pow.f64 y 3))) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 y (fma.f64 y (fma.f64 (*.f64 y y) 1/24 -1/2) (*.f64 -1/720 (pow.f64 y 5))) 1) |
(fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (fma.f64 y -1/2 (*.f64 -1/720 (pow.f64 y 5))) 1)) |
Compiled 905 to 407 computations (55% saved)
14 alts after pruning (13 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 13 | 64 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 51 | 14 | 65 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.4b | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
| 18.7b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 y z)) | |
| 0.2b | (-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) | |
| ▶ | 19.5b | (-.f64 (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 28.9b | (-.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) | |
| 0.6b | (-.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) | |
| ✓ | 0.1b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ▶ | 13.8b | (-.f64 x (*.f64 z (sin.f64 y))) |
| ▶ | 0.2b | (-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 29.6b | (-.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) | |
| ▶ | 0.2b | (-.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) (*.f64 z (sin.f64 y))) |
| 0.2b | (-.f64 (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) | |
| 33.4b | (-.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) | |
| 13.6b | (-.f64 (*.f64 x (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) (*.f64 z (sin.f64 y))) |
Compiled 378 to 272 computations (28% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) |
| ✓ | 0.2b | (log1p.f64 (expm1.f64 (cos.f64 y))) |
| ✓ | 0.6b | (expm1.f64 (cos.f64 y)) |
Compiled 38 to 10 computations (73.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | inf | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | 0 | (log1p.f64 (expm1.f64 (cos.f64 y))) |
| 0.0ms | y | @ | -inf | (expm1.f64 (cos.f64 y)) |
| 0.0ms | y | @ | -inf | (log1p.f64 (expm1.f64 (cos.f64 y))) |
| 1× | batch-egg-rewrite |
| 543× | pow1_binary64 |
| 518× | add-sqr-sqrt_binary64 |
| 498× | expm1-log1p-u_binary64 |
| 497× | add-log-exp_binary64 |
| 497× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 119 | 14 |
| 2 | 1356 | 14 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (cos.f64 y)) |
(log1p.f64 (expm1.f64 (cos.f64 y))) |
(*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2) (cbrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) (sqrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1) (+.f64 (*.f64 (exp.f64 (cos.f64 y)) (exp.f64 (cos.f64 y))) (+.f64 1 (*.f64 (exp.f64 (cos.f64 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (cos.f64 y)) (exp.f64 (cos.f64 y))) 1) (+.f64 (exp.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(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 (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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(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 x) (cos.f64 y)))))) (#(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))))))) |
| 1× | egg-herbie |
| 692× | fma-neg_binary64 |
| 522× | distribute-rgt-neg-in_binary64 |
| 435× | cancel-sign-sub-inv_binary64 |
| 382× | distribute-lft-neg-in_binary64 |
| 360× | unsub-neg_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 392 |
| 1 | 136 | 380 |
| 2 | 365 | 365 |
| 3 | 1219 | 359 |
| 4 | 1925 | 356 |
| 5 | 3134 | 354 |
| 6 | 5243 | 354 |
| 7 | 7578 | 354 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (E.f64) 1) |
(-.f64 (+.f64 (E.f64) (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2)))) 1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4))))) 1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (+.f64 (*.f64 -31/720 (*.f64 (E.f64) (pow.f64 y 6))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)))))) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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) |
| Outputs |
|---|
(-.f64 (E.f64) 1) |
(expm1.f64 1) |
(-.f64 (+.f64 (E.f64) (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2)))) 1) |
(+.f64 (+.f64 (E.f64) (*.f64 -1/2 (*.f64 (E.f64) (*.f64 y y)))) -1) |
(+.f64 (*.f64 (*.f64 y y) (*.f64 (E.f64) -1/2)) (expm1.f64 1)) |
(fma.f64 (*.f64 y y) (*.f64 (E.f64) -1/2) (expm1.f64 1)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64) -1) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) 1) -1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4))))) 1) |
(+.f64 (+.f64 (E.f64) (fma.f64 -1/2 (*.f64 (E.f64) (*.f64 y y)) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4))))) -1) |
(+.f64 (fma.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)) (*.f64 (*.f64 y y) (*.f64 (E.f64) -1/2))) (expm1.f64 1)) |
(+.f64 (expm1.f64 1) (*.f64 (E.f64) (+.f64 (*.f64 1/6 (pow.f64 y 4)) (*.f64 -1/2 (*.f64 y y))))) |
(+.f64 (*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/6 (pow.f64 y 4)))) -1) |
(fma.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/6 (pow.f64 y 4))) -1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (+.f64 (*.f64 -31/720 (*.f64 (E.f64) (pow.f64 y 6))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)))))) 1) |
(+.f64 (+.f64 (E.f64) (fma.f64 -1/2 (*.f64 (E.f64) (*.f64 y y)) (fma.f64 -31/720 (*.f64 (E.f64) (pow.f64 y 6)) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)))))) -1) |
(+.f64 (fma.f64 -1/2 (*.f64 (E.f64) (*.f64 y y)) (fma.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)) (*.f64 (pow.f64 y 6) (*.f64 (E.f64) -31/720)))) (expm1.f64 1)) |
(+.f64 (expm1.f64 1) (fma.f64 (E.f64) (*.f64 -1/2 (*.f64 y y)) (*.f64 (E.f64) (+.f64 (*.f64 1/6 (pow.f64 y 4)) (*.f64 -31/720 (pow.f64 y 6)))))) |
(+.f64 (expm1.f64 1) (*.f64 (E.f64) (+.f64 (*.f64 y (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 -1/2 y))) (*.f64 -31/720 (pow.f64 y 6))))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 -31/720 (pow.f64 y 6)) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/6 (pow.f64 y 4))))) -1) |
(fma.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (+.f64 (*.f64 -31/720 (pow.f64 y 6)) (*.f64 1/6 (pow.f64 y 4)))) -1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/24)) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1)) |
(fma.f64 (pow.f64 y 4) 1/24 (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))) |
(fma.f64 (pow.f64 y 6) -1/720 (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/24))) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1))) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 -1/2 (*.f64 y y) 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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 (*.f64 y y) x) x) |
(fma.f64 -1/2 (*.f64 (*.f64 x y) y) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) x) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 x) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1)) x) |
(*.f64 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 -1/2 (*.f64 y y) 1)) 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 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))))) |
(+.f64 x (*.f64 x (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))))) |
(*.f64 x (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1)))) |
(*.f64 (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1))) x) |
(*.f64 (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 -1/2 (*.f64 y y) 1))) 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) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (*.f64 z (sin.f64 y))) |
| 0.1b | (*.f64 z (sin.f64 y)) |
Compiled 18 to 6 computations (66.7% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | x | @ | inf | (-.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | 0 | (-.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | x | @ | -inf | (-.f64 x (*.f64 z (sin.f64 y))) |
| 0.0ms | y | @ | inf | (-.f64 x (*.f64 z (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 833× | pow1_binary64 |
| 770× | add-log-exp_binary64 |
| 770× | log1p-expm1-u_binary64 |
| 770× | expm1-log1p-u_binary64 |
| 753× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 151 | 9 |
| 2 | 2084 | 9 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (sin.f64 y) (neg.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (*.f64 (sin.f64 y) (neg.f64 z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (sin.f64 y)) z (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 z) (sin.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (*.f64 (sin.f64 y) (neg.f64 z)) 1 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 2) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 y) (neg.f64 z)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 x (*.f64 z (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (+.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 x (*.f64 z (sin.f64 y))))) (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 x (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (+.f64 x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 x (*.f64 z (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (+.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 (sin.f64 y) (neg.f64 z)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 (sin.f64 y) (neg.f64 z)) (*.f64 (sin.f64 y) (neg.f64 z))) (*.f64 x (*.f64 (sin.f64 y) (neg.f64 z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (sin.f64 y) (neg.f64 z)) (*.f64 (sin.f64 y) (neg.f64 z)))) (-.f64 x (*.f64 (sin.f64 y) (neg.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (sin.f64 y) (neg.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z))))))) |
| 1× | egg-herbie |
| 825× | distribute-rgt-neg-in_binary64 |
| 809× | fma-def_binary64 |
| 703× | distribute-lft-neg-in_binary64 |
| 596× | unswap-sqr_binary64 |
| 549× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 262 |
| 1 | 74 | 241 |
| 2 | 196 | 236 |
| 3 | 502 | 233 |
| 4 | 1500 | 232 |
| 5 | 4261 | 232 |
| 6 | 6535 | 232 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 y z)) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) z)) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) z)) x))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(fma.f64 -1 (*.f64 z (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(fma.f64 (sin.f64 y) (neg.f64 z) x) |
x |
(+.f64 (*.f64 -1 (*.f64 y z)) x) |
(fma.f64 -1 (*.f64 z y) x) |
(-.f64 x (*.f64 z y)) |
(fma.f64 z (neg.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) z)) x)) |
(fma.f64 -1 (*.f64 z y) (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) x)) |
(-.f64 (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) x) (*.f64 z y)) |
(fma.f64 z (fma.f64 -1 y (*.f64 1/6 (pow.f64 y 3))) x) |
(fma.f64 z (-.f64 (*.f64 1/6 (pow.f64 y 3)) y) x) |
(fma.f64 z (fma.f64 1/6 (pow.f64 y 3) (neg.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) z)) x))) |
(fma.f64 -1 (*.f64 z y) (fma.f64 -1/120 (*.f64 z (pow.f64 y 5)) (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) x))) |
(-.f64 (fma.f64 -1/120 (*.f64 z (pow.f64 y 5)) (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) x)) (*.f64 z y)) |
(fma.f64 z (fma.f64 -1/120 (pow.f64 y 5) (*.f64 1/6 (pow.f64 y 3))) (-.f64 x (*.f64 z y))) |
(fma.f64 z (fma.f64 -1 y (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/120 (pow.f64 y 5)))) x) |
(fma.f64 z (fma.f64 -1/120 (pow.f64 y 5) (fma.f64 1/6 (pow.f64 y 3) (neg.f64 y))) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| 0.1b | (*.f64 x (cos.f64 y)) | |
| ✓ | 1.4b | (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
Compiled 40 to 10 computations (75% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
| 0.0ms | y | @ | inf | (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
| 0.0ms | y | @ | 0 | (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
| 0.0ms | x | @ | inf | (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
| 0.0ms | x | @ | -inf | (expm1.f64 (log1p.f64 (*.f64 x (cos.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 | 6 |
| 1 | 116 | 6 |
| 2 | 1353 | 6 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.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 (+.f64 (*.f64 x (cos.f64 y)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) (+.f64 (*.f64 x (cos.f64 y)) 1)) (+.f64 1 (*.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) (+.f64 (*.f64 x (cos.f64 y)) 1)) 1) (+.f64 (+.f64 (*.f64 x (cos.f64 y)) 1) 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 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)))))))) |
| 1× | egg-herbie |
| 621× | distribute-lft-out_binary64 |
| 608× | distribute-rgt-out_binary64 |
| 446× | *-commutative_binary64 |
| 421× | associate-+l+_binary64 |
| 420× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 184 |
| 1 | 57 | 184 |
| 2 | 151 | 178 |
| 3 | 485 | 175 |
| 4 | 2090 | 175 |
| 5 | 4289 | 175 |
| 6 | 4562 | 175 |
| 7 | 4893 | 175 |
| 8 | 5406 | 175 |
| 9 | 6155 | 175 |
| 10 | 6968 | 175 |
| 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) |
| 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) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 1)) |
(*.f64 x (fma.f64 y (*.f64 y -1/2) 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 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x) |
(fma.f64 x (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2)) x) |
(*.f64 x (fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (*.f64 y -1/2) 1))) |
(+.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 x (*.f64 -1/720 (pow.f64 y 6)) (fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x)) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2))) x) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 y (*.f64 y (fma.f64 (*.f64 y y) 1/24 -1/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) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| ✓ | 0.3b | (pow.f64 (cos.f64 y) 3) |
Compiled 43 to 21 computations (51.2% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (cos.f64 y) 3) |
| 0.0ms | y | @ | 0 | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| 0.0ms | y | @ | 0 | (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| 1× | batch-egg-rewrite |
| 632× | pow1_binary64 |
| 590× | add-log-exp_binary64 |
| 590× | log1p-expm1-u_binary64 |
| 590× | expm1-log1p-u_binary64 |
| 575× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 166 | 15 |
| 2 | 1653 | 15 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cos.f64 y) 3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 3) (pow.f64 (sqrt.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3) (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) 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 (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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(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))))))) |
| 1× | egg-herbie |
| 788× | fma-def_binary64 |
| 640× | distribute-rgt-in_binary64 |
| 629× | distribute-rgt-out_binary64 |
| 566× | distribute-lft-out_binary64 |
| 565× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 312 |
| 1 | 102 | 306 |
| 2 | 268 | 293 |
| 3 | 856 | 291 |
| 4 | 3412 | 291 |
| 5 | 5825 | 291 |
| 6 | 6166 | 291 |
| 7 | 6396 | 291 |
| 8 | 6613 | 291 |
| 9 | 6886 | 291 |
| 10 | 7223 | 291 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -3/2 (*.f64 y y))) |
(fma.f64 -3/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y)))) |
(+.f64 1 (fma.f64 -3/2 (*.f64 y y) (*.f64 7/8 (pow.f64 y 4)))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 7/8) -3/2) 1) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y))))) |
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 -3/2 (*.f64 y y) (*.f64 7/8 (pow.f64 y 4))))) |
(fma.f64 -61/240 (pow.f64 y 6) (fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 7/8) -3/2) (fma.f64 -61/240 (pow.f64 y 6) 1)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (*.f64 y y) -1/2 1) |
(fma.f64 y (*.f64 y -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 1 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24))) |
(fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1)) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))) |
(+.f64 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (pow.f64 y 6) -1/720 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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 (*.f64 y y) x) x) |
(*.f64 (fma.f64 (*.f64 y y) -1/2 1) x) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 x) x) |
(fma.f64 y (*.f64 -1/2 (*.f64 y x)) x) |
(*.f64 (fma.f64 y (*.f64 y -1/2) 1) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)))) |
(*.f64 x (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(*.f64 (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1)) x) |
(fma.f64 (*.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2)) x x) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) 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 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24))))) |
(+.f64 x (*.f64 x (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 4) 1/24))))) |
(*.f64 x (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 (pow.f64 y 6) -1/720 1))) |
(*.f64 x (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 (pow.f64 y 6) -1/720 1)))) |
(*.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) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 y)) |
| ✓ | 0.4b | (pow.f64 (cbrt.f64 (cos.f64 y)) 3) |
Compiled 42 to 17 computations (59.5% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | (pow.f64 (cbrt.f64 (cos.f64 y)) 3) |
| 2.0ms | y | @ | -inf | (pow.f64 (cbrt.f64 (cos.f64 y)) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (cbrt.f64 (cos.f64 y)) 3) |
| 1.0ms | x | @ | inf | (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) |
| 1.0ms | y | @ | inf | (*.f64 x (pow.f64 (cbrt.f64 (cos.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 (cos.f64 y)) 3) |
(cbrt.f64 (cos.f64 y)) |
(*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 1/6) 3) (pow.f64 (pow.f64 (cos.f64 y) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (pow.f64 (cos.f64 y) 1/6)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.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))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))))) (#(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 1 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3) (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 (*.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 (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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(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))))))) |
| 1× | egg-herbie |
| 768× | fma-def_binary64 |
| 636× | distribute-rgt-in_binary64 |
| 628× | distribute-rgt-out_binary64 |
| 581× | associate-*l*_binary64 |
| 578× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 376 |
| 1 | 110 | 342 |
| 2 | 282 | 333 |
| 3 | 885 | 331 |
| 4 | 3468 | 331 |
| 5 | 5936 | 331 |
| 6 | 6294 | 331 |
| 7 | 6547 | 331 |
| 8 | 6794 | 331 |
| 9 | 7104 | 331 |
| 10 | 7489 | 331 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(pow.f64 (cos.f64 y) 1/3) |
(*.f64 (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) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
(*.f64 (pow.f64 1 1/3) (cos.f64 y)) |
(*.f64 1 (cos.f64 y)) |
(cos.f64 y) |
1 |
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/6)) |
(fma.f64 (*.f64 y y) -1/6 1) |
(fma.f64 y (*.f64 y -1/6) 1) |
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))) |
(fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6))) |
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1)) |
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y -1/72) -1/6) 1) |
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))) |
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6)))) |
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1))) |
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 y (*.f64 y -1/6) 1))) |
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (pow.f64 y 6) -23/6480 1))) |
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y -1/72) -1/6) (fma.f64 (pow.f64 y 6) -23/6480 1)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(pow.f64 (cos.f64 y) 1/3) |
(cbrt.f64 (cos.f64 y)) |
(*.f64 (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 (*.f64 y y) x) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) x) |
(fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) |
(fma.f64 y (*.f64 y (*.f64 -1/2 x)) x) |
(fma.f64 (*.f64 y x) (*.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/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) x) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) x) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) x x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) 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 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(+.f64 x (*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(fma.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.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) |
Compiled 6769 to 2844 computations (58% saved)
23 alts after pruning (18 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 423 | 17 | 440 |
| Fresh | 7 | 1 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 5 | 5 |
| Total | 431 | 23 | 454 |
| Status | Error | Program |
|---|---|---|
| 18.7b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 y z)) | |
| 13.6b | (-.f64 (*.f64 x (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) (*.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))) | |
| 14.7b | (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3) | |
| 29.6b | (-.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ▶ | 27.4b | (-.f64 x (*.f64 y z)) |
| ✓ | 19.5b | (-.f64 (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 37.3b | x | |
| ▶ | 33.4b | (-.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) (*.f64 z (sin.f64 y))) |
| 32.9b | (-.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (sin.f64 y))) | |
| 18.7b | (-.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) (*.f64 y z)) | |
| 38.9b | (*.f64 z (neg.f64 (sin.f64 y))) | |
| ✓ | 0.2b | (-.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) (*.f64 z (sin.f64 y))) |
| ▶ | 18.9b | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 34.0b | (/.f64 1 (/.f64 (+.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| 13.6b | (-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y))) | |
| 18.7b | (-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 y z)) | |
| ▶ | 0.2b | (-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) |
| 28.7b | (-.f64 x (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z))) | |
| ✓ | 13.8b | (-.f64 x (*.f64 z (sin.f64 y))) |
| ✓ | 0.2b | (-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| ▶ | 35.9b | (-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
Compiled 552 to 380 computations (31.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| ✓ | 0.3b | (-.f64 (+.f64 1 (cos.f64 y)) 1) |
| ✓ | 0.4b | (+.f64 1 (cos.f64 y)) |
Compiled 46 to 24 computations (47.8% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (+.f64 1 (cos.f64 y)) |
| 0.0ms | y | @ | 0 | (-.f64 (+.f64 1 (cos.f64 y)) 1) |
| 0.0ms | y | @ | 0 | (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| 0.0ms | y | @ | inf | (+.f64 1 (cos.f64 y)) |
| 0.0ms | y | @ | -inf | (+.f64 1 (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 849× | pow1_binary64 |
| 790× | add-log-exp_binary64 |
| 790× | log1p-expm1-u_binary64 |
| 790× | expm1-log1p-u_binary64 |
| 776× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 173 | 15 |
| 2 | 2412 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (cos.f64 y)) |
(-.f64 (+.f64 1 (cos.f64 y)) 1) |
(*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (cos.f64 y))) (/.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (*.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (/.f64 1 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (/.f64 1 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)) (+.f64 1 (pow.f64 (cos.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (cos.f64 y)) (*.f64 (sin.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3))) (neg.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 y) (sin.f64 y))) (neg.f64 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 y) 2) 1) (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) 1) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 y) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (/.f64 1 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1) (-.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 y) 2) (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (-.f64 1 (*.f64 (+.f64 1 (cos.f64 y)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (-.f64 (+.f64 1 (cos.f64 y)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (neg.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1)) (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1))) (-.f64 1 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (+.f64 (cos.f64 y) -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 1 (cos.f64 y))) (*.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) x) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) x) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1)))) (#(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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x))))))) |
| 1× | egg-herbie |
| 694× | fma-def_binary64 |
| 579× | distribute-rgt-out_binary64 |
| 459× | associate-*l*_binary64 |
| 457× | *-commutative_binary64 |
| 430× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 312 |
| 1 | 85 | 306 |
| 2 | 230 | 293 |
| 3 | 729 | 291 |
| 4 | 2807 | 291 |
| 5 | 5179 | 291 |
| 6 | 5448 | 291 |
| 7 | 5808 | 291 |
| 8 | 6493 | 291 |
| 9 | 7406 | 291 |
| 10 | 7995 | 291 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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) |
| Outputs |
|---|
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 2 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2)) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 2) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 2)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 2))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/2 (*.f64 y y)) 1) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(fma.f64 y (*.f64 -1/2 y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1) |
(+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1)) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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 (*.f64 y y) x) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) x) |
(*.f64 (fma.f64 y (*.f64 -1/2 y) 1) x) |
(fma.f64 y (*.f64 y (*.f64 -1/2 x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 -1/2 y))) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) x) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) 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 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(+.f64 x (*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 -1/2 y)))))) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y 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) |
Compiled 14 to 5 computations (64.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| ✓ | 8.3b | (sqrt.f64 (*.f64 z (sin.f64 y))) |
Compiled 34 to 12 computations (64.7% saved)
21 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | inf | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1.0ms | z | @ | 0 | (sqrt.f64 (*.f64 z (sin.f64 y))) |
| 1.0ms | z | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
| 1× | batch-egg-rewrite |
| 963× | pow1_binary64 |
| 894× | add-log-exp_binary64 |
| 893× | log1p-expm1-u_binary64 |
| 893× | expm1-log1p-u_binary64 |
| 99× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 215 | 23 |
| 2 | 2456 | 23 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 z (sin.f64 y))) |
(pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2) |
(-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (pow.f64 (*.f64 z (sin.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))) (sqrt.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) 1/2) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 z (sin.f64 y))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (cbrt.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (*.f64 (pow.f64 (*.f64 z (sin.f64 y)) 1/4) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 z (sin.f64 y)) 1/4)) (pow.f64 (*.f64 z (sin.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 z z))) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 z)) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x 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 +.f64 x (*.f64 z (neg.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (*.f64 z (neg.f64 (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (sin.f64 y)) z (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 z) (sin.f64 y) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (*.f64 z (neg.f64 (sin.f64 y))) 1 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (*.f64 z (sin.f64 y))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (neg.f64 (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2) (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (+.f64 (*.f64 z (sin.f64 y)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 (*.f64 z (sin.f64 y)) x))) (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 z (sin.f64 y)) x) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 (*.f64 z (sin.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (+.f64 (*.f64 z (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 z (sin.f64 y)) (+.f64 (*.f64 z (sin.f64 y)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (+.f64 (*.f64 z (sin.f64 y)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 z (neg.f64 (sin.f64 y))) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 z (neg.f64 (sin.f64 y))) (*.f64 z (neg.f64 (sin.f64 y)))) (*.f64 x (*.f64 z (neg.f64 (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 z (neg.f64 (sin.f64 y))) (*.f64 z (neg.f64 (sin.f64 y))))) (-.f64 x (*.f64 z (neg.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 x (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (*.f64 z (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 z (neg.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 z (neg.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 z (neg.f64 (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 101× | fma-def_binary64 |
| 56× | fma-neg_binary64 |
| 29× | cancel-sign-sub-inv_binary64 |
| 18× | sub-neg_binary64 |
| 13× | distribute-rgt-neg-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 213 |
| 1 | 21 | 213 |
| 2 | 37 | 213 |
| 3 | 50 | 213 |
| 4 | 66 | 213 |
| 5 | 100 | 213 |
| 6 | 155 | 213 |
| 7 | 205 | 213 |
| 8 | 270 | 213 |
| 9 | 344 | 213 |
| 10 | 394 | 213 |
| 11 | 400 | 213 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 z (sin.f64 y)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
x |
x |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
| 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 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
x |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(+.f64 (*.f64 -1 (*.f64 z (sin.f64 y))) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
x |
x |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(fma.f64 z (neg.f64 (sin.f64 y)) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 0.1b | (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) | |
| 0.3b | (cbrt.f64 (cos.f64 y)) | |
| 0.4b | (pow.f64 (cbrt.f64 (cos.f64 y)) 3) |
Compiled 38 to 16 computations (57.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 1.0ms | x | @ | 0 | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 1.0ms | y | @ | inf | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 1.0ms | z | @ | inf | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 1.0ms | y | @ | -inf | (-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| 1× | batch-egg-rewrite |
| 545× | log-prod_binary64 |
| 406× | fma-def_binary64 |
| 375× | pow-prod-down_binary64 |
| 283× | pow2_binary64 |
| 199× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 12 |
| 1 | 248 | 12 |
| 2 | 2934 | 12 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (neg.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (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 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 y z)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (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 y z) 2)) (fma.f64 x (cos.f64 y) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3))) (neg.f64 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (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 y z) 2))) (neg.f64 (fma.f64 x (cos.f64 y) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (neg.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 z (neg.f64 y)) 2) (*.f64 (*.f64 x (cos.f64 y)) (*.f64 z (neg.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 3) (pow.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 3)) (+.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 2) (-.f64 (pow.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 2) (*.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 y (neg.f64 z) (*.f64 y z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (neg.f64 y)) 2)) (fma.f64 x (cos.f64 y) (neg.f64 (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 2) (pow.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 2)) (-.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 y z)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.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 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (exp.f64 z) (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))) (exp.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) (exp.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) (+.f64 1 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (neg.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 (neg.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.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 (neg.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 (neg.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 (neg.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y (neg.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (neg.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1 (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1 (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1 (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1 (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) 1 (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (neg.f64 y)) (*.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 (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) 2) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(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 (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(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) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(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) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(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))) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (cbrt.f64 (*.f64 x (cos.f64 y))) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (neg.f64 (cbrt.f64 (*.f64 y z))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y)))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(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 (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y z)) (neg.f64 (sqrt.f64 (*.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 (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 z) y (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 y z) 3)) (/.f64 1 (fma.f64 (*.f64 y z) (fma.f64 x (cos.f64 y) (*.f64 y z)) (pow.f64 (*.f64 x (cos.f64 y)) 2))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (fma.f64 x (cos.f64 y) (*.f64 y z))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 y) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) 2) (cbrt.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (neg.f64 y))) 2) (cbrt.f64 (*.f64 z (neg.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) (sqrt.f64 (fma.f64 y (neg.f64 z) (*.f64 y z))) (fma.f64 x (cos.f64 y) (*.f64 z (neg.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (neg.f64 y))) (sqrt.f64 (*.f64 z (neg.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 (*.f64 y z))) (sqrt.f64 (*.f64 y z)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 y z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (fma.f64 y (neg.f64 z) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (fma.f64 (*.f64 z (neg.f64 y)) 1 (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 y z))) (pow.f64 (cbrt.f64 (*.f64 y z)) 2) (*.f64 y z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (*.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 y z))) (+.f64 (fma.f64 y (neg.f64 z) (*.f64 y z)) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (*.f64 y z)) 2)) (cbrt.f64 (*.f64 y z)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (neg.f64 y) 1) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (neg.f64 y) (cbrt.f64 (*.f64 z z))) (cbrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (neg.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 (cos.f64 y))) (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (cos.f64 y))) (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (cos.f64 y))) (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (cos.f64 y))) (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(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 (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (neg.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 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (*.f64 z (neg.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 y (neg.f64 z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (neg.f64 (-.f64 (*.f64 y z) (fma.f64 y (neg.f64 z) (*.f64 y z))))))))) |
| 1× | egg-herbie |
| 751× | distribute-rgt-neg-in_binary64 |
| 648× | distribute-lft-neg-in_binary64 |
| 523× | distribute-lft-out_binary64 |
| 386× | fma-def_binary64 |
| 378× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 415 |
| 1 | 64 | 388 |
| 2 | 167 | 385 |
| 3 | 484 | 384 |
| 4 | 1759 | 383 |
| 5 | 4487 | 383 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 -1 (*.f64 y z)) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
| Outputs |
|---|
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 y z)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
x |
(+.f64 (*.f64 -1 (*.f64 y z)) x) |
(fma.f64 -1 (*.f64 y z) x) |
(fma.f64 (neg.f64 y) z x) |
(fma.f64 z (neg.f64 y) x) |
(fma.f64 y (neg.f64 z) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 -1 (*.f64 y z) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x)) |
(-.f64 (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x) (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 y (*.f64 x -1/2)) z))) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x))) |
(fma.f64 -1 (*.f64 y z) (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 x (*.f64 y y)) x))) |
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y (*.f64 y x)) x)) (*.f64 y z)) |
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) (fma.f64 z (neg.f64 y) x)) |
(fma.f64 x (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2)) (fma.f64 z (neg.f64 y) x)) |
(-.f64 x (*.f64 y (-.f64 z (*.f64 y (*.f64 x (fma.f64 (*.f64 y y) 1/24 -1/2)))))) |
(+.f64 x (*.f64 y (-.f64 (*.f64 (*.f64 y x) (fma.f64 (*.f64 y y) 1/24 -1/2)) z))) |
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 y z)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 y z)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 (cos.f64 y) x) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 y z)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 y z)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 (cos.f64 y) x)) |
(fma.f64 -1 (*.f64 y z) (*.f64 (cos.f64 y) x)) |
(-.f64 (*.f64 (cos.f64 y) x) (*.f64 y z)) |
(fma.f64 y (neg.f64 z) (*.f64 (cos.f64 y) x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (*.f64 (cos.f64 y) x)) |
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 (cos.f64 y) x) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
Compiled 43 to 14 computations (67.4% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (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 | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1.0ms | y | @ | inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) |
| 1× | batch-egg-rewrite |
| 613× | pow1_binary64 |
| 565× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 551× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 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)))))))) |
Compiled 10440 to 3742 computations (64.2% saved)
22 alts after pruning (15 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 597 | 14 | 611 |
| Fresh | 12 | 1 | 13 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 7 | 9 |
| Total | 612 | 22 | 634 |
| Status | Error | Program |
|---|---|---|
| 35.9b | (-.f64 x (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y)))))) | |
| ▶ | 0.5b | (-.f64 (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) (*.f64 z (sin.f64 y))) |
| ▶ | 0.2b | (-.f64 (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) (*.f64 z (sin.f64 y))) |
| ▶ | 52.0b | (*.f64 y (neg.f64 z)) |
| 0.2b | (-.f64 (+.f64 x (*.f64 (+.f64 (cos.f64 y) -1) x)) (*.f64 z (sin.f64 y))) | |
| ✓ | 0.1b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 27.4b | (-.f64 x (*.f64 y z)) |
| ✓ | 13.8b | (-.f64 x (*.f64 z (sin.f64 y))) |
| 34.0b | (/.f64 1 (/.f64 (+.f64 (*.f64 z (sin.f64 y)) x) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| 39.4b | (-.f64 x (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| ▶ | 38.9b | (*.f64 z (neg.f64 (sin.f64 y))) |
| ▶ | 18.7b | (-.f64 (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) (*.f64 y z)) |
| ✓ | 0.2b | (-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) |
| 18.8b | (-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 y z)) | |
| ✓ | 35.9b | (-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 23.9b | (*.f64 (cos.f64 y) x) | |
| 37.3b | x | |
| 28.9b | (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) | |
| ✓ | 19.5b | (-.f64 (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 14.7b | (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3) | |
| ✓ | 0.2b | (-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 0.5b | (-.f64 (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) x) (+.f64 (cos.f64 y) 2)) (*.f64 z (sin.f64 y))) |
Compiled 501 to 335 computations (33.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) |
| ✓ | 0.3b | (+.f64 (+.f64 (cos.f64 y) -1) 1) |
| ✓ | 1.6b | (+.f64 (cos.f64 y) -1) |
Compiled 47 to 25 computations (46.8% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 160.0ms | y | @ | 0 | (+.f64 (+.f64 (cos.f64 y) -1) 1) |
| 1.0ms | y | @ | 0 | (+.f64 (cos.f64 y) -1) |
| 1.0ms | y | @ | 0 | (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) |
| 0.0ms | y | @ | inf | (+.f64 (+.f64 (cos.f64 y) -1) 1) |
| 0.0ms | y | @ | -inf | (+.f64 (+.f64 (cos.f64 y) -1) 1) |
| 1× | batch-egg-rewrite |
| 935× | pow1_binary64 |
| 871× | add-log-exp_binary64 |
| 871× | log1p-expm1-u_binary64 |
| 871× | expm1-log1p-u_binary64 |
| 98× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 193 | 15 |
| 2 | 2610 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (cos.f64 y) -1) |
(+.f64 (+.f64 (cos.f64 y) -1) 1) |
(*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (cos.f64 y) 2) (+.f64 (cos.f64 y) 1)) (/.f64 1 (+.f64 (cos.f64 y) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) (pow.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 2) (cbrt.f64 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 2) (*.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (cos.f64 y) -1)) (sqrt.f64 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (cos.f64 y) -1)) (*.f64 (sqrt.f64 (+.f64 (cos.f64 y) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (cos.f64 y) 3)) (/.f64 1 (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (*.f64 (cos.f64 y) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) (cos.f64 y) -1) (/.f64 1 (+.f64 (cos.f64 y) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (cos.f64 y)) 1) (-.f64 (sqrt.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (*.f64 (cos.f64 y) -1))) (+.f64 -1 (pow.f64 (cos.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 y) 1) (fma.f64 (cos.f64 y) (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (cos.f64 y) 3)) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (*.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (cos.f64 y) 3)) (+.f64 1 (-.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (cos.f64 y) (cos.f64 y) -1) (+.f64 (cos.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (pow.f64 (cos.f64 y) 3))) (neg.f64 (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (*.f64 (cos.f64 y) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (cos.f64 y) (cos.f64 y) -1)) (neg.f64 (+.f64 (cos.f64 y) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 y) 2)) (-.f64 -1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 (cos.f64 y) 3)) 1) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (*.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (cos.f64 y) (cos.f64 y) -1) 1) (+.f64 (cos.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (cos.f64 y) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 y) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (+.f64 (cos.f64 y) -2)) (/.f64 1 (+.f64 (cos.f64 y) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2)) (/.f64 1 (+.f64 (cos.f64 y) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1))) (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 y) -2) (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2)) (+.f64 (cos.f64 y) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2))) (neg.f64 (+.f64 (cos.f64 y) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (cos.f64 y) 3) 0) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 0 (*.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 2)) (-.f64 1 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 y) 2) 0) (-.f64 (cos.f64 y) 0))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 y) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (cos.f64 y) -1)) 2) (cbrt.f64 (+.f64 (cos.f64 y) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (cos.f64 y) -1)) (sqrt.f64 (+.f64 (cos.f64 y) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)) 0))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (+.f64 (cos.f64 y) -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) x) (*.f64 0 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) x) (*.f64 x 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) (*.f64 (+.f64 (cos.f64 y) -1) x)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) (*.f64 (+.f64 (cos.f64 y) -1) x)) (*.f64 x x)) (-.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) x) (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2)) x) (+.f64 (cos.f64 y) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3))) (+.f64 (pow.f64 (+.f64 (cos.f64 y) -1) 2) (-.f64 1 (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (cos.f64 y) (+.f64 (cos.f64 y) -2))) (+.f64 (cos.f64 y) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) x) 1)))) (#(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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(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 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (cos.f64 y) -1) x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 (cos.f64 y) -1) x))))) |
| 1× | egg-herbie |
| 804× | fma-def_binary64 |
| 784× | distribute-lft-out_binary64 |
| 780× | distribute-rgt-out_binary64 |
| 652× | associate-*l*_binary64 |
| 444× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 378 |
| 1 | 103 | 374 |
| 2 | 265 | 365 |
| 3 | 846 | 363 |
| 4 | 3685 | 363 |
| 5 | 6876 | 363 |
| 6 | 7425 | 363 |
| 7 | 7765 | 363 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (pow.f64 y 2)) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 (*.f64 1/40320 (pow.f64 y 8)) (*.f64 1/24 (pow.f64 y 4))))) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
(-.f64 (cos.f64 y) 1) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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) |
| Outputs |
|---|
(*.f64 -1/2 (pow.f64 y 2)) |
(*.f64 -1/2 (*.f64 y y)) |
(+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) |
(*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2)) |
(fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))) |
(fma.f64 -1/720 (pow.f64 y 6) (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (+.f64 (*.f64 1/40320 (pow.f64 y 8)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/40320 (pow.f64 y 8) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 1/40320 (pow.f64 y 8))))) |
(fma.f64 1/40320 (pow.f64 y 8) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2)))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 1/40320 (pow.f64 y 8)))) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
(-.f64 (cos.f64 y) 1) |
(+.f64 (cos.f64 y) -1) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 (*.f64 -1/2 (*.f64 y y)) 1) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1) |
(+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1)) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/2 (*.f64 y y) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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 (*.f64 y y) x) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) x) |
(fma.f64 y (*.f64 -1/2 (*.f64 y x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 x (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) 1) x) |
(fma.f64 (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))) 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))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2))) x) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y 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) |
Compiled 11 to 5 computations (54.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (neg.f64 (sin.f64 y))) |
Compiled 15 to 6 computations (60% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (*.f64 z (neg.f64 (sin.f64 y))) |
| 1.0ms | y | @ | -inf | (*.f64 z (neg.f64 (sin.f64 y))) |
| 1.0ms | y | @ | inf | (*.f64 z (neg.f64 (sin.f64 y))) |
| 1.0ms | y | @ | 0 | (*.f64 z (neg.f64 (sin.f64 y))) |
| 0.0ms | z | @ | inf | (*.f64 z (neg.f64 (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 495× | pow1_binary64 |
| 474× | add-sqr-sqrt_binary64 |
| 454× | add-log-exp_binary64 |
| 453× | log1p-expm1-u_binary64 |
| 453× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 122 | 6 |
| 2 | 1544 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (neg.f64 (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.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 neg.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 cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y)))))))) |
| 1× | egg-herbie |
| 694× | distribute-rgt-neg-in_binary64 |
| 572× | distribute-lft-neg-in_binary64 |
| 552× | fma-def_binary64 |
| 478× | fma-neg_binary64 |
| 437× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 247 |
| 1 | 78 | 241 |
| 2 | 218 | 228 |
| 3 | 636 | 226 |
| 4 | 2103 | 226 |
| 5 | 4329 | 226 |
| 6 | 6289 | 226 |
| 7 | 7844 | 226 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 y z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 y z)) |
(neg.f64 (*.f64 z y)) |
(*.f64 z (neg.f64 y)) |
(*.f64 y (neg.f64 z)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))) |
(fma.f64 -1 (*.f64 z y) (*.f64 1/6 (*.f64 z (pow.f64 y 3)))) |
(*.f64 z (+.f64 (neg.f64 y) (*.f64 1/6 (pow.f64 y 3)))) |
(*.f64 z (fma.f64 1/6 (pow.f64 y 3) (neg.f64 y))) |
(*.f64 z (-.f64 (*.f64 1/6 (pow.f64 y 3)) y)) |
(+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))) |
(fma.f64 -1 (*.f64 z y) (fma.f64 -1/120 (*.f64 z (pow.f64 y 5)) (*.f64 1/6 (*.f64 z (pow.f64 y 3))))) |
(-.f64 (*.f64 z (+.f64 (*.f64 -1/120 (pow.f64 y 5)) (*.f64 1/6 (pow.f64 y 3)))) (*.f64 z y)) |
(*.f64 z (-.f64 (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/120 (pow.f64 y 5))) y)) |
(+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (+.f64 (*.f64 -1 (*.f64 y z)) (+.f64 (*.f64 -1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))) |
(fma.f64 1/5040 (*.f64 z (pow.f64 y 7)) (fma.f64 -1 (*.f64 z y) (fma.f64 -1/120 (*.f64 z (pow.f64 y 5)) (*.f64 1/6 (*.f64 z (pow.f64 y 3)))))) |
(fma.f64 1/5040 (*.f64 z (pow.f64 y 7)) (-.f64 (*.f64 z (+.f64 (*.f64 -1/120 (pow.f64 y 5)) (*.f64 1/6 (pow.f64 y 3)))) (*.f64 z y))) |
(*.f64 z (+.f64 (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/120 (pow.f64 y 5))) (-.f64 (*.f64 1/5040 (pow.f64 y 7)) y))) |
(*.f64 z (-.f64 (fma.f64 1/5040 (pow.f64 y 7) (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/120 (pow.f64 y 5)))) y)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
(*.f64 -1 (*.f64 z (sin.f64 y))) |
(neg.f64 (*.f64 z (sin.f64 y))) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (sin.f64 y) (neg.f64 z)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 z (sin.f64 y)) | |
| ✓ | 0.1b | (*.f64 (+.f64 1 (cos.f64 y)) x) |
| 0.4b | (+.f64 1 (cos.f64 y)) | |
| ✓ | 0.5b | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
Compiled 54 to 28 computations (48.1% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
| 1.0ms | y | @ | inf | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
| 1.0ms | y | @ | 0 | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
| 1.0ms | y | @ | -inf | (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
| 1× | batch-egg-rewrite |
| 989× | pow1_binary64 |
| 917× | add-log-exp_binary64 |
| 916× | log1p-expm1-u_binary64 |
| 916× | expm1-log1p-u_binary64 |
| 106× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 209 | 18 |
| 2 | 2930 | 18 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) |
(*.f64 (+.f64 1 (cos.f64 y)) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 x (*.f64 (cos.f64 y) x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 (cos.f64 y) 0)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 2) (*.f64 x (+.f64 (cos.f64 y) 0))) (/.f64 (*.f64 x x) (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 (cos.f64 y) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 (cos.f64 y) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 (+.f64 1 (cos.f64 y)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (/.f64 1 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 (cos.f64 y) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) 2) (cbrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 (cos.f64 y) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) (sqrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3)) (/.f64 1 (-.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 y) 0) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) (sqrt.f64 x)) (-.f64 (sqrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x))) (+.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 x (+.f64 (cos.f64 y) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3)) (-.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3))) (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2)) (neg.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) (pow.f64 x 3)) (-.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2) (*.f64 (+.f64 1 (cos.f64 y)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 2)) (-.f64 x (+.f64 x (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 (cos.f64 y) 0))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 (cos.f64 y) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 (cos.f64 y) 0)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (pow.f64 (exp.f64 x) (+.f64 1 (cos.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 (cos.f64 y) 0)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 (cos.f64 y) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 x (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x (*.f64 (cos.f64 y) x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (cos.f64 y)) x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 1 (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -1 (+.f64 x (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 x (+.f64 x (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 x (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) 2) (cbrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 x (*.f64 (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) (sqrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) x))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (*.f64 (cos.f64 y) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) x) (+.f64 1 (*.f64 (cos.f64 y) (-.f64 (cos.f64 y) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) x) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1 (pow.f64 (cos.f64 y) 3))) (+.f64 1 (*.f64 (cos.f64 y) (-.f64 (cos.f64 y) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (sin.f64 y) (sin.f64 y))) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (*.f64 (cos.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (*.f64 (cos.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (*.f64 (cos.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (*.f64 (cos.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 (cos.f64 y)) (log.f64 x))))))) |
| 1× | egg-herbie |
| 524× | associate-+l+_binary64 |
| 465× | distribute-rgt-in_binary64 |
| 457× | associate-+r+_binary64 |
| 438× | distribute-lft-in_binary64 |
| 412× | distribute-neg-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 234 |
| 1 | 113 | 219 |
| 2 | 312 | 196 |
| 3 | 1375 | 195 |
| 4 | 6415 | 195 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 2 x) (*.f64 -1 x)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 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) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))))) |
| Outputs |
|---|
(+.f64 (*.f64 2 x) (*.f64 -1 x)) |
(*.f64 x 1) |
x |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)))) |
(+.f64 (*.f64 x 1) (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(fma.f64 x (*.f64 -1/2 (*.f64 y y)) x) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))))) |
(fma.f64 2 x (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))))) |
(+.f64 (+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) (*.f64 1/24 (*.f64 x (pow.f64 y 4)))) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 x (*.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)))))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 2 x (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (fma.f64 -1 x (*.f64 -1/2 (*.f64 x (*.f64 y y))))))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (+.f64 (+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) (*.f64 1/24 (*.f64 x (pow.f64 y 4))))) |
(-.f64 (*.f64 x (+.f64 (fma.f64 -1/720 (pow.f64 y 6) 2) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) x) |
(+.f64 x (*.f64 x (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y 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)) |
(*.f64 (cos.f64 y) x) |
(*.f64 x (cos.f64 y)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 x (cos.f64 y)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 x (cos.f64 y)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 x (cos.f64 y)) |
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 (+.f64 1 (cos.f64 y)))) x)) |
(*.f64 x (cos.f64 y)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))) |
(fma.f64 2 x (*.f64 -1/2 (*.f64 x (*.f64 y y)))) |
(*.f64 x (+.f64 2 (*.f64 -1/2 (*.f64 y y)))) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)))) |
(fma.f64 2 x (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (*.f64 -1/2 (*.f64 x (*.f64 y y))))) |
(fma.f64 2 x (*.f64 x (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 x (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 2))) |
(*.f64 x (+.f64 2 (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))))) |
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (*.f64 -1/2 (*.f64 (pow.f64 y 2) x))))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 2 x (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) (*.f64 -1/2 (*.f64 x (*.f64 y y)))))) |
(fma.f64 -1/720 (*.f64 x (pow.f64 y 6)) (fma.f64 2 x (*.f64 x (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 x (+.f64 (fma.f64 -1/720 (pow.f64 y 6) 2) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 x (+.f64 (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))) (fma.f64 -1/720 (pow.f64 y 6) 2))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (exp.f64 (cos.f64 y)) |
| ✓ | 0.1b | (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) |
| ✓ | 0.3b | (log.f64 (exp.f64 (cos.f64 y))) |
Compiled 34 to 9 computations (73.5% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (log.f64 (exp.f64 (cos.f64 y))) |
| 1.0ms | y | @ | 0 | (exp.f64 (cos.f64 y)) |
| 0.0ms | y | @ | 0 | (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) |
| 0.0ms | x | @ | -inf | (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) |
| 0.0ms | x | @ | 0 | (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) |
| 1× | batch-egg-rewrite |
| 531× | pow1_binary64 |
| 504× | add-sqr-sqrt_binary64 |
| 484× | log1p-expm1-u_binary64 |
| 484× | expm1-log1p-u_binary64 |
| 483× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 119 | 14 |
| 2 | 1330 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (cos.f64 y))) |
(*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) |
(exp.f64 (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) 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 (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 pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2)))) (#(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 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2) (cbrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) (sqrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (cos.f64 y)))))))) |
| 1× | egg-herbie |
| 1604× | fma-def_binary64 |
| 820× | unswap-sqr_binary64 |
| 612× | sqr-pow_binary64 |
| 454× | cube-prod_binary64 |
| 356× | pow-sqr_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 334 |
| 1 | 119 | 328 |
| 2 | 324 | 311 |
| 3 | 1061 | 307 |
| 4 | 1622 | 307 |
| 5 | 2083 | 307 |
| 6 | 2216 | 307 |
| 7 | 2342 | 307 |
| 8 | 2476 | 304 |
| 9 | 3991 | 304 |
| 10 | 4233 | 304 |
| 11 | 5933 | 304 |
| 12 | 6496 | 304 |
| 13 | 7149 | 304 |
| 14 | 7882 | 304 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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) |
(exp.f64 1) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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 (*.f64 y y) x) x) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) x) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 x) x) |
(fma.f64 y (*.f64 y (*.f64 -1/2 x)) x) |
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) x)) x)) |
(fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x)) |
(+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) 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 (pow.f64 y 6) x) (fma.f64 1/24 (*.f64 (pow.f64 y 4) x) (fma.f64 -1/2 (*.f64 (*.f64 y y) x) x))) |
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) x) (+.f64 x (*.f64 x (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(+.f64 x (*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 x (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 y 6) (*.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2))) x) |
(*.f64 x (fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.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) |
(exp.f64 1) |
(E.f64) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64)) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (E.f64))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y (E.f64))) (fma.f64 (*.f64 (pow.f64 y 4) 1/6) (E.f64) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/6)) (E.f64)) |
(*.f64 (E.f64) (fma.f64 y (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/2 y)) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 y 6) (E.f64)) (E.f64)))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 y 4) 1/6) (*.f64 (pow.f64 y 6) -31/720))) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720)) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(*.f64 (E.f64) (+.f64 (fma.f64 (pow.f64 y 6) -31/720 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/6)))) |
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 1)))) |
(*.f64 (E.f64) (fma.f64 y (fma.f64 1/6 (pow.f64 y 3) (*.f64 -1/2 y)) (fma.f64 (pow.f64 y 6) -31/720 1))) |
Compiled 7086 to 3521 computations (50.3% saved)
21 alts after pruning (11 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 405 | 3 | 408 |
| Fresh | 2 | 8 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 9 | 11 |
| Total | 409 | 21 | 430 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| ✓ | 27.4b | (-.f64 x (*.f64 y z)) |
| 37.3b | x | |
| 0.2b | (-.f64 (+.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) x) (*.f64 z (sin.f64 y))) | |
| ✓ | 13.8b | (-.f64 x (*.f64 z (sin.f64 y))) |
| 34.0b | (/.f64 1 (/.f64 (+.f64 (*.f64 z (sin.f64 y)) x) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) | |
| ✓ | 0.2b | (-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 18.7b | (-.f64 (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) (*.f64 y z)) | |
| 39.4b | (-.f64 x (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| ✓ | 38.9b | (*.f64 z (neg.f64 (sin.f64 y))) |
| ✓ | 18.7b | (-.f64 (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) (*.f64 y z)) |
| ✓ | 0.2b | (-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) |
| ✓ | 35.9b | (-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
| 23.9b | (*.f64 (cos.f64 y) x) | |
| 35.9b | (-.f64 x (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y)))))) | |
| 19.0b | (-.f64 (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) (*.f64 y z)) | |
| ✓ | 52.0b | (*.f64 y (neg.f64 z)) |
| 28.9b | (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) | |
| ✓ | 19.5b | (-.f64 (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
| 14.7b | (pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3) | |
| 0.5b | (-.f64 (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) x) (+.f64 (cos.f64 y) 2)) (*.f64 z (sin.f64 y))) |
Compiled 278 to 186 computations (33.1% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
(-.f64 x (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 y z)) |
(-.f64 (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) (*.f64 y z)) |
(-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 y z)) |
(-.f64 x (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z))) |
(-.f64 (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) (*.f64 y z)) |
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(-.f64 (+.f64 (*.f64 (+.f64 (cos.f64 y) -1) x) x) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) (*.f64 z (sin.f64 y))) |
(-.f64 (+.f64 x (*.f64 (+.f64 (cos.f64 y) -1) x)) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 z (sin.f64 y))) |
(-.f64 (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) (*.f64 z (sin.f64 y))) |
(pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3) |
(pow.f64 (cbrt.f64 (-.f64 x (*.f64 z (sin.f64 y)))) 3) |
(-.f64 x (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
(-.f64 x (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(-.f64 (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) (*.f64 y z)) |
(-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 y z)) |
(-.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) (*.f64 y z)) |
(-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 y z)) |
(/.f64 1 (/.f64 (+.f64 (*.f64 z (sin.f64 y)) x) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) |
(/.f64 1 (/.f64 (+.f64 x (*.f64 z (sin.f64 y))) (-.f64 (*.f64 x x) (pow.f64 (*.f64 z (sin.f64 y)) 2)))) |
(-.f64 (expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (log1p.f64 (expm1.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (log.f64 (exp.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) (*.f64 z (sin.f64 y))) |
(-.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)) (*.f64 z (sin.f64 y))) |
(-.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) 2) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (cos.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)) |
(-.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)) |
(-.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))) (*.f64 z (sin.f64 y))) |
(-.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (pow.f64 (sqrt.f64 (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 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) x) (+.f64 (cos.f64 y) 2)) (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.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))) |
(-.f64 x (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (sin.f64 y)))) (sqrt.f64 (*.f64 z (sin.f64 y)))))) |
| Outputs |
|---|
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
4 calls:
| 46.0ms | z |
| 45.0ms | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
| 44.0ms | x |
| 41.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
Compiled 563 to 218 computations (61.3% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
(-.f64 x (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 y z)) |
(-.f64 (*.f64 x (+.f64 (+.f64 (cos.f64 y) -1) 1)) (*.f64 y z)) |
(-.f64 (*.f64 x (-.f64 (+.f64 1 (cos.f64 y)) 1)) (*.f64 y z)) |
(-.f64 x (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 3) z)) (*.f64 y z))) |
(-.f64 (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) x) (*.f64 -1 x)) (*.f64 y z)) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(-.f64 x (*.f64 z (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 100.0ms | y |
| 44.0ms | z |
| 44.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 6.9b | 3 | x |
| 8.2b | 7 | y |
| 7.1b | 3 | z |
Compiled 111 to 57 computations (48.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 98.0ms | 5.364069274705737e+109 | 1.9691618565290194e+114 |
| 101.0ms | -7.076806874571052e-34 | -1.90177045450067e-35 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
(-.f64 x (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (neg.f64 (sin.f64 y))) |
| Outputs |
|---|
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (neg.f64 (sin.f64 y))) |
(*.f64 (cos.f64 y) x) |
(*.f64 z (neg.f64 (sin.f64 y))) |
3 calls:
| 97.0ms | y |
| 62.0ms | z |
| 31.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.5b | 3 | x |
| 9.3b | 7 | y |
| 13.1b | 5 | z |
Compiled 46 to 27 computations (41.3% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 255.0ms | 6.937114074321918e+167 | 2.1471348802717704e+178 |
| 182.0ms | 4.730321874199684e+105 | 3.3397597268094346e+106 |
| 107.0ms | 2.1029162195330391e+68 | 2.0946961841570885e+70 |
| 67.0ms | 9.761974989807316e-5 | 402.3546205012707 |
| 66.0ms | -3586941395517.6997 | -604415900.6623467 |
| 200.0ms | -1.9948804824620966e+185 | -2.3777378383070918e+173 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
(-.f64 x (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) x) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
(*.f64 (cos.f64 y) x) |
3 calls:
| 36.0ms | z |
| 30.0ms | x |
| 29.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 17.1b | 3 | x |
| 13.5b | 3 | y |
| 17.3b | 3 | z |
Compiled 41 to 24 computations (41.5% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 57.0ms | 9.761974989807316e-5 | 402.3546205012707 |
| 61.0ms | -3586941395517.6997 | -604415900.6623467 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
(-.f64 x (*.f64 y z)) |
(+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) |
| Outputs |
|---|
(-.f64 x (*.f64 y z)) |
3 calls:
| 25.0ms | z |
| 12.0ms | x |
| 9.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 27.4b | 1 | x |
| 27.4b | 1 | y |
| 27.4b | 1 | z |
Compiled 37 to 22 computations (40.5% saved)
| Inputs |
|---|
x |
x |
(*.f64 y (neg.f64 z)) |
| Outputs |
|---|
(*.f64 y (neg.f64 z)) |
x |
(*.f64 y (neg.f64 z)) |
3 calls:
| 43.0ms | x |
| 36.0ms | y |
| 22.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 33.6b | 5 | x |
| 34.7b | 5 | y |
| 33.2b | 3 | z |
Compiled 21 to 14 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 85.0ms | 6.348856230144987e+130 | 2.7823121331779835e+135 |
| 109.0ms | -6.035101181330591e+173 | -6.063278143017367e+171 |
Compiled 18 to 13 computations (27.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
x |
x |
| Outputs |
|---|
x |
3 calls:
| 29.0ms | z |
| 7.0ms | x |
| 7.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 37.3b | 1 | x |
| 37.3b | 1 | y |
| 37.3b | 1 | z |
Compiled 17 to 12 computations (29.4% saved)
| 1× | egg-herbie |
| 13× | *-commutative_binary64 |
| 10× | +-commutative_binary64 |
| 9× | sub-neg_binary64 |
| 5× | neg-sub0_binary64 |
| 5× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 214 |
| 1 | 87 | 214 |
| 2 | 103 | 214 |
| 3 | 111 | 214 |
| 4 | 114 | 214 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(if (<=.f64 x -4137105933704073/5846006549323611672814739330865132078623730171904) (*.f64 (cos.f64 y) x) (if (<=.f64 x 53640692747057366462821916424555670525430594746429308102589461892848396017421419998365688800878961307024359424) (-.f64 x (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x))) |
(if (<=.f64 y -199488048246209661150880939950986148655409910303615769931156589800569165267511227305356186196762171923991883975768748872970464225765233467134713353583197332175681001356556071634051530752) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y -7346055978020249/2048) (*.f64 (cos.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (if (<=.f64 y 210291621953303912051455409396368654733149135805245307403469078921216) (*.f64 (cos.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (cos.f64 y) x) (*.f64 z (neg.f64 (sin.f64 y))))))))) |
(if (<=.f64 y -7346055978020249/2048) (*.f64 (cos.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (*.f64 (cos.f64 y) x))) |
(-.f64 x (*.f64 y z)) |
(if (<=.f64 z -603510118133059079827313736746675124833252884738596071766339487407686530862891732255954670129017221234901502483079569631003611867612878582417617412601967082874729557320007680) (*.f64 y (neg.f64 z)) (if (<=.f64 z 63488562301449871493947412792703435520696805338496691620322182274542690047655483903054927191490054335237977691819666742870089400320) x (*.f64 y (neg.f64 z)))) |
x |
| Outputs |
|---|
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) |
(if (<=.f64 x -4137105933704073/5846006549323611672814739330865132078623730171904) (*.f64 (cos.f64 y) x) (if (<=.f64 x 53640692747057366462821916424555670525430594746429308102589461892848396017421419998365688800878961307024359424) (-.f64 x (*.f64 z (sin.f64 y))) (*.f64 (cos.f64 y) x))) |
(if (<=.f64 x -4137105933704073/5846006549323611672814739330865132078623730171904) (*.f64 x (cos.f64 y)) (if (<=.f64 x 53640692747057366462821916424555670525430594746429308102589461892848396017421419998365688800878961307024359424) (-.f64 x (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))) |
(if (<=.f64 y -199488048246209661150880939950986148655409910303615769931156589800569165267511227305356186196762171923991883975768748872970464225765233467134713353583197332175681001356556071634051530752) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y -7346055978020249/2048) (*.f64 (cos.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (if (<=.f64 y 210291621953303912051455409396368654733149135805245307403469078921216) (*.f64 (cos.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (cos.f64 y) x) (*.f64 z (neg.f64 (sin.f64 y))))))))) |
(if (<=.f64 y -199488048246209661150880939950986148655409910303615769931156589800569165267511227305356186196762171923991883975768748872970464225765233467134713353583197332175681001356556071634051530752) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y -7346055978020249/2048) (*.f64 x (cos.f64 y)) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (if (<=.f64 y 210291621953303912051455409396368654733149135805245307403469078921216) (*.f64 x (cos.f64 y)) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 z (neg.f64 (sin.f64 y))) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 x (cos.f64 y)) (*.f64 z (neg.f64 (sin.f64 y))))))))) |
(if (<=.f64 y -7346055978020249/2048) (*.f64 (cos.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (*.f64 (cos.f64 y) x))) |
(if (<=.f64 y -7346055978020249/2048) (*.f64 x (cos.f64 y)) (if (<=.f64 y 7203066171637159/73786976294838206464) (+.f64 x (*.f64 y (-.f64 (*.f64 x (*.f64 y -1/2)) z))) (*.f64 x (cos.f64 y)))) |
(-.f64 x (*.f64 y z)) |
(if (<=.f64 z -603510118133059079827313736746675124833252884738596071766339487407686530862891732255954670129017221234901502483079569631003611867612878582417617412601967082874729557320007680) (*.f64 y (neg.f64 z)) (if (<=.f64 z 63488562301449871493947412792703435520696805338496691620322182274542690047655483903054927191490054335237977691819666742870089400320) x (*.f64 y (neg.f64 z)))) |
x |
Compiled 164 to 90 computations (45.1% saved)
Compiled 146 to 63 computations (56.8% saved)
Loading profile data...