Time bar (total: 10.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 37.4% | 62.4% | 0.1% | 8 |
| 37.4% | 62.4% | 0.1% | 9 |
| 56.2% | 43.7% | 0.1% | 10 |
| 65.5% | 34.3% | 0.1% | 11 |
| 65.5% | 34.3% | 0.1% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 1.6s | 6152× | body | 256 | valid |
| 977.0ms | 1392× | body | 1024 | valid |
| 343.0ms | 705× | body | 512 | valid |
| 8.0ms | 7× | body | 2048 | valid |
| 2× | egg-herbie |
| 24× | fma-def_binary64 |
| 20× | +-commutative_binary64 |
| 12× | associate-+r+_binary64 |
| 12× | associate-+l+_binary64 |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 56 |
| 1 | 42 | 48 |
| 2 | 78 | 48 |
| 3 | 102 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 x (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y)))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y))) |
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(fma.f64 z (cos.f64 x) (+.f64 y (sin.f64 x))) |
(+.f64 (sin.f64 x) (fma.f64 z (cos.f64 x) y)) |
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(+.f64 z (+.f64 (sin.f64 y) (*.f64 x (cos.f64 y)))) |
(fma.f64 x (cos.f64 y) (+.f64 (sin.f64 y) z)) |
(+.f64 (sin.f64 y) (fma.f64 x (cos.f64 y) z)) |
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
(+.f64 x (+.f64 (sin.f64 z) (*.f64 y (cos.f64 z)))) |
(fma.f64 y (cos.f64 z) (+.f64 x (sin.f64 z))) |
(+.f64 x (fma.f64 y (cos.f64 z) (sin.f64 z))) |
Compiled 15 to 11 computations (26.7% saved)
| 1× | egg-herbie |
| 6× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 14 | 12 |
| 2 | 23 | 12 |
| 3 | 29 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
Compiled 20 to 9 computations (55% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| ▶ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 23 to 15 computations (34.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (sin.f64 y)) |
| ✓ | 0.0b | (cos.f64 y) |
| ✓ | 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 27 to 8 computations (70.4% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | z | @ | inf | (*.f64 z (cos.f64 y)) |
| 0.0ms | z | @ | -inf | (*.f64 z (cos.f64 y)) |
| 0.0ms | x | @ | 0 | (+.f64 x (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 890× | pow1_binary64 |
| 820× | add-log-exp_binary64 |
| 820× | log1p-expm1-u_binary64 |
| 820× | expm1-log1p-u_binary64 |
| 801× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 166 | 15 |
| 2 | 2201 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (cos.f64 y)) |
(cos.f64 y) |
(+.f64 x (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.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))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (+.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (sin.f64 y))) 2) (cbrt.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (sin.f64 y))) (sqrt.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (fma.f64 x x (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (/.f64 1 (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) x))) (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (sin.f64 y)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (fma.f64 x x (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 x x) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (fma.f64 x x (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x))))) |
| 1× | egg-herbie |
| 1427× | fma-def_binary64 |
| 747× | sqr-pow_binary64 |
| 538× | cube-prod_binary64 |
| 389× | pow-sqr_binary64 |
| 345× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 333 |
| 1 | 122 | 327 |
| 2 | 315 | 316 |
| 3 | 1036 | 314 |
| 4 | 2465 | 314 |
| 5 | 3284 | 314 |
| 6 | 3414 | 314 |
| 7 | 3595 | 314 |
| 8 | 3780 | 314 |
| 9 | 4025 | 314 |
| 10 | 4908 | 314 |
| 11 | 5327 | 314 |
| 12 | 5840 | 314 |
| 13 | 6453 | 314 |
| 14 | 7265 | 314 |
| 15 | 7713 | 314 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
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))))) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 z (*.f64 y (fma.f64 1/24 (pow.f64 y 3) (*.f64 y -1/2))) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) 1)))) |
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 -1/2 (*.f64 y y)))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 y (fma.f64 1/24 (pow.f64 y 3) (*.f64 y -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/24 (pow.f64 y 4) (*.f64 -1/2 (*.f64 y y))) (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 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) 1))) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y x)) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| 0.0b | (+.f64 x (sin.f64 y)) | |
| ✓ | 0.1b | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
Compiled 22 to 7 computations (68.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 1.0ms | y | @ | inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 1.0ms | x | @ | 0 | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 0.0ms | y | @ | -inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 0.0ms | z | @ | -inf | (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| 1× | batch-egg-rewrite |
| 909× | pow1_binary64 |
| 838× | add-log-exp_binary64 |
| 838× | log1p-expm1-u_binary64 |
| 838× | expm1-log1p-u_binary64 |
| 818× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 167 | 12 |
| 2 | 2222 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (+.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (+.f64 x (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (+.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (pow.f64 (+.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))))))) |
| 1× | egg-herbie |
| 980× | fma-def_binary64 |
| 646× | associate-*l*_binary64 |
| 536× | unswap-sqr_binary64 |
| 497× | distribute-lft-out_binary64 |
| 412× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 393 |
| 1 | 59 | 393 |
| 2 | 152 | 393 |
| 3 | 455 | 390 |
| 4 | 1232 | 388 |
| 5 | 3644 | 388 |
| 6 | 5623 | 388 |
| 7 | 6858 | 388 |
| 8 | 7119 | 388 |
| 9 | 7430 | 388 |
| 10 | 7813 | 388 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x)))) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(+.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 z x) |
(+.f64 x z) |
(+.f64 y (+.f64 z x)) |
(+.f64 (+.f64 y z) x) |
(+.f64 y (+.f64 x z)) |
(+.f64 x (+.f64 y z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (+.f64 y z) x)) |
(+.f64 (+.f64 x z) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)) |
(+.f64 y (fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 x z))) |
(+.f64 (+.f64 y x) (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(+.f64 x (fma.f64 (fma.f64 y (*.f64 z -1/2) 1) y z)) |
(fma.f64 (fma.f64 y (*.f64 z -1/2) 1) y (+.f64 x z)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (+.f64 y z) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 x z) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))) |
(+.f64 (+.f64 x z) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 y (*.f64 y -1/2)) y))) |
(+.f64 z (fma.f64 (*.f64 y y) (fma.f64 y -1/6 (*.f64 z -1/2)) (+.f64 y x))) |
(+.f64 y (+.f64 x (fma.f64 (*.f64 y y) (fma.f64 y -1/6 (*.f64 z -1/2)) z))) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(fma.f64 (cos.f64 y) z (sin.f64 y)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
x |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x)) |
(+.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) x) |
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x)) |
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x)) |
Compiled 2534 to 883 computations (65.2% saved)
16 alts after pruning (16 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 171 | 16 | 187 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 173 | 16 | 189 |
| Status | Error | Program |
|---|---|---|
| 21.1b | (+.f64 y (+.f64 z x)) | |
| 31.6b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) | |
| 9.2b | (fma.f64 z (cos.f64 y) x) | |
| ▶ | 28.2b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| 9.2b | (+.f64 x (*.f64 z (cos.f64 y))) | |
| 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) | |
| 18.6b | (+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| ▶ | 0.2b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
| 0.6b | (+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) | |
| ▶ | 17.3b | (+.f64 z x) |
| 36.9b | (*.f64 (cos.f64 y) z) | |
| ▶ | 26.0b | (+.f64 (sin.f64 y) x) |
| 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) | |
| 34.9b | x | |
| ▶ | 0.1b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
| 13.5b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
Compiled 358 to 257 computations (28.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (exp.f64 (cos.f64 y)) |
| ✓ | 0.1b | (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) |
| ✓ | 0.3b | (log.f64 (exp.f64 (cos.f64 y))) |
Compiled 38 to 10 computations (73.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | (exp.f64 (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (log.f64 (exp.f64 (cos.f64 y))) |
| 1.0ms | y | @ | 0 | (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) |
| 1.0ms | y | @ | -inf | (exp.f64 (cos.f64 y)) |
| 0.0ms | y | @ | inf | (exp.f64 (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 531× | pow1_binary64 |
| 504× | add-sqr-sqrt_binary64 |
| 484× | log1p-expm1-u_binary64 |
| 484× | expm1-log1p-u_binary64 |
| 483× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 119 | 14 |
| 2 | 1330 | 14 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (cos.f64 y))) |
(*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) |
(exp.f64 (cos.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2) (cbrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) (sqrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (cos.f64 y)))))))) |
| 1× | egg-herbie |
| 1628× | fma-def_binary64 |
| 820× | unswap-sqr_binary64 |
| 612× | sqr-pow_binary64 |
| 356× | pow-sqr_binary64 |
| 355× | cube-prod_binary64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 338 |
| 1 | 125 | 330 |
| 2 | 339 | 311 |
| 3 | 1102 | 305 |
| 4 | 2575 | 305 |
| 5 | 3032 | 305 |
| 6 | 3165 | 305 |
| 7 | 3291 | 305 |
| 8 | 3425 | 305 |
| 9 | 3600 | 304 |
| 10 | 4446 | 304 |
| 11 | 6146 | 304 |
| 12 | 6707 | 304 |
| 13 | 7360 | 304 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(exp.f64 1) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1) |
(fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) z) |
(fma.f64 y (*.f64 y (*.f64 -1/2 z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1) z) |
(fma.f64 z (*.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2)) z) |
(fma.f64 (*.f64 y y) (*.f64 z (fma.f64 y (*.f64 y 1/24) -1/2)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) z) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(exp.f64 1) |
(E.f64) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64)) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/6)) (E.f64)) |
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 1))) |
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 -1/2 (*.f64 y y) 1))) |
(*.f64 (E.f64) (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/6) -1/2) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1)))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 y 6) (E.f64)) (E.f64)))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 y 4) 1/6) (*.f64 (pow.f64 y 6) -31/720))) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720)) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720))) (E.f64)) |
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 (fma.f64 -1/2 (*.f64 y y) 1)))) |
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 1)))) |
Compiled 8 to 4 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (sin.f64 y) x) |
Compiled 11 to 5 computations (54.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (+.f64 (sin.f64 y) x) |
| 0.0ms | y | @ | -inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | x | @ | -inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | x | @ | inf | (+.f64 (sin.f64 y) x) |
| 0.0ms | y | @ | inf | (+.f64 (sin.f64 y) x) |
| 1× | batch-egg-rewrite |
| 612× | pow1_binary64 |
| 569× | add-log-exp_binary64 |
| 569× | log1p-expm1-u_binary64 |
| 569× | expm1-log1p-u_binary64 |
| 556× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 108 | 6 |
| 2 | 1511 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (sin.f64 y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (sin.f64 y) x)) (/.f64 (*.f64 x x) (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x (-.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))) (neg.f64 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 678× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 39 |
| 1 | 44 | 39 |
| 2 | 99 | 39 |
| 3 | 248 | 39 |
| 4 | 448 | 39 |
| 5 | 965 | 39 |
| 6 | 1427 | 39 |
| 7 | 2081 | 39 |
| 8 | 2189 | 39 |
| 9 | 2351 | 39 |
| 10 | 2564 | 39 |
| 11 | 2894 | 39 |
| 12 | 3350 | 39 |
| 13 | 3949 | 39 |
| 14 | 4700 | 39 |
| 15 | 5630 | 39 |
| 16 | 6140 | 39 |
| 17 | 6628 | 39 |
| 18 | 7026 | 39 |
| 19 | 7346 | 39 |
| 20 | 7508 | 39 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(sin.f64 y) |
x |
x |
| Outputs |
|---|
x |
(+.f64 y x) |
(+.f64 x y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y)) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(fma.f64 1/120 (pow.f64 y 5) (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) x))) |
(+.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(sin.f64 y) |
x |
x |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.0b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| ✓ | 0.1b | (*.f64 (cos.f64 y) z) |
Compiled 20 to 7 computations (65% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (*.f64 (cos.f64 y) z) |
| 0.0ms | z | @ | 0 | (*.f64 (cos.f64 y) z) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| 0.0ms | z | @ | -inf | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| 1× | batch-egg-rewrite |
| 803× | pow1_binary64 |
| 742× | add-log-exp_binary64 |
| 742× | log1p-expm1-u_binary64 |
| 742× | expm1-log1p-u_binary64 |
| 725× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 148 | 15 |
| 2 | 2001 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (cos.f64 y) z (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2)) (/.f64 1 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3)) (+.f64 (pow.f64 (sin.f64 y) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (cos.f64 y) (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2)) (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (sin.f64 y) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (sin.f64 y) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (sin.f64 y) 2))) (neg.f64 (-.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (sin.f64 y) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)) (sin.f64 y)))))) |
| 1× | egg-herbie |
| 765× | fma-def_binary64 |
| 745× | distribute-rgt-out_binary64 |
| 687× | associate-*l*_binary64 |
| 565× | distribute-lft-out_binary64 |
| 527× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 171 |
| 1 | 86 | 167 |
| 2 | 240 | 159 |
| 3 | 835 | 155 |
| 4 | 3973 | 155 |
| 5 | 6847 | 155 |
| 6 | 7098 | 155 |
| 7 | 7367 | 155 |
| 8 | 7637 | 155 |
| 9 | 7989 | 155 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
z |
(+.f64 y z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) z) |
(*.f64 z (fma.f64 y (*.f64 -1/2 y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (+.f64 (*.f64 y (*.f64 -1/2 y)) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (*.f64 -1/2 y) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))))) |
(fma.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
z |
(+.f64 y z) |
(+.f64 z y) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y) |
(fma.f64 z (fma.f64 y (*.f64 -1/2 y) 1) y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y))) |
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y)) |
(+.f64 z (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) y)) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (*.f64 z (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 | |
|---|---|---|---|---|
| 3.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 | y | @ | inf | (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)) |
| 1.0ms | z | @ | inf | (*.f64 z (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 z (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) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 767× | fma-def_binary64 |
| 630× | distribute-rgt-out_binary64 |
| 621× | distribute-rgt-in_binary64 |
| 573× | associate-*l*_binary64 |
| 556× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 380 |
| 1 | 116 | 344 |
| 2 | 297 | 333 |
| 3 | 926 | 331 |
| 4 | 3444 | 331 |
| 5 | 5862 | 331 |
| 6 | 6219 | 331 |
| 7 | 6472 | 331 |
| 8 | 6719 | 331 |
| 9 | 7029 | 331 |
| 10 | 7414 | 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) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -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 -1/2 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/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 -1/720 (pow.f64 y 6) 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)) |
(+.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))) |
(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) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(*.f64 (fma.f64 y (*.f64 -1/2 y) 1) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) z) |
(fma.f64 z (*.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) z) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
Compiled 4503 to 1949 computations (56.7% saved)
20 alts after pruning (17 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 306 | 13 | 319 |
| Fresh | 7 | 4 | 11 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 3 | 4 |
| Total | 315 | 20 | 335 |
| Status | Error | Program |
|---|---|---|
| ▶ | 38.4b | (+.f64 y x) |
| ✓ | 17.3b | (+.f64 z x) |
| 13.6b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) 3))) | |
| 28.4b | (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 3) z) (sin.f64 y)) | |
| ✓ | 26.0b | (+.f64 (sin.f64 y) x) |
| 36.7b | (+.f64 (*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z) (sin.f64 y)) | |
| 28.8b | (+.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3) (sin.f64 y)) | |
| 34.9b | x | |
| 28.3b | (+.f64 (*.f64 (log.f64 (exp.f64 (cos.f64 y))) z) (sin.f64 y)) | |
| ▶ | 9.2b | (fma.f64 z (cos.f64 y) x) |
| ✓ | 28.2b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| ▶ | 9.2b | (+.f64 x (*.f64 z (cos.f64 y))) |
| 36.9b | (*.f64 (cos.f64 y) z) | |
| 31.0b | (-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) | |
| 18.6b | (+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| 43.5b | (+.f64 z y) | |
| ▶ | 47.2b | (+.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) (sin.f64 y)) |
| ▶ | 28.3b | (+.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) (sin.f64 y)) |
| 53.8b | (sin.f64 y) | |
| 28.3b | (+.f64 (*.f64 (-.f64 (+.f64 1 (cos.f64 y)) 1) z) (sin.f64 y)) |
Compiled 383 to 287 computations (25.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (fma.f64 z (cos.f64 y) x) |
Compiled 13 to 5 computations (61.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | z | @ | 0 | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | y | @ | 0 | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | y | @ | inf | (fma.f64 z (cos.f64 y) x) |
| 1.0ms | z | @ | inf | (fma.f64 z (cos.f64 y) x) |
| 1× | batch-egg-rewrite |
| 566× | pow1_binary64 |
| 516× | add-log-exp_binary64 |
| 516× | log1p-expm1-u_binary64 |
| 516× | expm1-log1p-u_binary64 |
| 503× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 117 | 7 |
| 2 | 1377 | 7 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 z (cos.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) (sqrt.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 z (cos.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (*.f64 x x)) (-.f64 (*.f64 z (cos.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) x))))))) |
| 1× | egg-herbie |
| 763× | distribute-lft-out_binary64 |
| 691× | fma-def_binary64 |
| 525× | distribute-rgt-out_binary64 |
| 429× | *-commutative_binary64 |
| 400× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 279 |
| 1 | 78 | 279 |
| 2 | 212 | 270 |
| 3 | 668 | 267 |
| 4 | 2577 | 267 |
| 5 | 4707 | 267 |
| 6 | 4997 | 267 |
| 7 | 5302 | 267 |
| 8 | 5939 | 267 |
| 9 | 6268 | 267 |
| 10 | 6613 | 267 |
| 11 | 7957 | 267 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 z x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z x)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x)))) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(*.f64 z (cos.f64 y)) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
x |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
x |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 z x) |
(+.f64 x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z x)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 x z)) |
(+.f64 x (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z x) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) x))) |
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) x) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)) |
(fma.f64 (fma.f64 1/24 (pow.f64 y 4) 1) z (fma.f64 z (*.f64 y (*.f64 y -1/2)) x)) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) x) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) x)))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) x)))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (fma.f64 1/24 (pow.f64 y 4) 1) z x)) |
(fma.f64 y (*.f64 y (*.f64 z -1/2)) (fma.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 1)) x)) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 (cos.f64 y) z) x) |
(fma.f64 (cos.f64 y) z x) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
x |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
(+.f64 (*.f64 z (cos.f64 y)) x) |
(fma.f64 (cos.f64 y) z x) |
Compiled 8 to 4 computations (50% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| 0.1b | (*.f64 z (cos.f64 y)) |
Compiled 18 to 6 computations (66.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.1b | (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| ✓ | 0.3b | (pow.f64 (cos.f64 y) 3) |
Compiled 36 to 20 computations (44.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | -inf | (pow.f64 (cos.f64 y) 3) |
| 1.0ms | y | @ | 0 | (pow.f64 (cos.f64 y) 3) |
| 0.0ms | y | @ | 0 | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| 0.0ms | y | @ | 0 | (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) |
| 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 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 3) (pow.f64 (sqrt.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3) (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 787× | fma-def_binary64 |
| 629× | distribute-rgt-in_binary64 |
| 629× | distribute-rgt-out_binary64 |
| 574× | associate-*l*_binary64 |
| 556× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 316 |
| 1 | 108 | 308 |
| 2 | 283 | 293 |
| 3 | 898 | 291 |
| 4 | 3428 | 291 |
| 5 | 5814 | 291 |
| 6 | 6154 | 291 |
| 7 | 6384 | 291 |
| 8 | 6601 | 291 |
| 9 | 6874 | 291 |
| 10 | 7211 | 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) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -3/2 (*.f64 y y))) |
(fma.f64 -3/2 (*.f64 y y) 1) |
(fma.f64 y (*.f64 -3/2 y) 1) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y)))) |
(+.f64 (fma.f64 -3/2 (*.f64 y y) 1) (*.f64 7/8 (pow.f64 y 4))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1)) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y))))) |
(+.f64 (fma.f64 -61/240 (pow.f64 y 6) (*.f64 7/8 (pow.f64 y 4))) (fma.f64 -3/2 (*.f64 y y) 1)) |
(fma.f64 -61/240 (pow.f64 y 6) (fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) (fma.f64 -61/240 (pow.f64 y 6) 1))) |
(fma.f64 -3/2 (*.f64 y y) (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) 1))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -1/2)) |
(fma.f64 (*.f64 y y) -1/2 1) |
(fma.f64 y (*.f64 y -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 1 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24))) |
(fma.f64 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 y (*.f64 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 (fma.f64 (pow.f64 y 6) -1/720 1))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z) |
(*.f64 (fma.f64 y (*.f64 y -1/2) 1) z) |
(fma.f64 y (*.f64 y (*.f64 -1/2 z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1))) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) z) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 4) 1/24)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))) |
(+.f64 z (*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 4) 1/24))))) |
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (*.f64 (pow.f64 y 4) 1/24))) z) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1))) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.0b | (sqrt.f64 (*.f64 (cos.f64 y) z)) |
| 0.1b | (*.f64 (cos.f64 y) z) | |
| ✓ | 0.3b | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
Compiled 36 to 13 computations (63.9% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 44.0ms | y | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
| 3.0ms | z | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
| 3.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
| 2.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
| 1.0ms | z | @ | inf | (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 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 | 14 |
| 1 | 163 | 14 |
| 2 | 1592 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) |
(sqrt.f64 (*.f64 (cos.f64 y) z)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))) (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) z) 1/4) (*.f64 (pow.f64 (*.f64 (cos.f64 y) z) 1/4) (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 z) (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (*.f64 (cos.f64 y) z) 1/4)) (pow.f64 (*.f64 (cos.f64 y) z) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (cbrt.f64 (*.f64 (cos.f64 y) z))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (cos.f64 y))) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 y) z) 1/4) (pow.f64 (*.f64 (cos.f64 y) z) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)))))))) |
| 1× | egg-herbie |
| 407× | *-commutative_binary64 |
| 389× | distribute-rgt-in_binary64 |
| 382× | distribute-lft-in_binary64 |
| 314× | distribute-lft-out_binary64 |
| 307× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 357 |
| 1 | 145 | 353 |
| 2 | 412 | 305 |
| 3 | 1797 | 278 |
| 4 | 5206 | 277 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(sqrt.f64 z) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))) |
(+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (*.f64 -1/4 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 z 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) z)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z (*.f64 (pow.f64 y 4) (fma.f64 z 5/48 (*.f64 z -1/16)))) |
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z)) |
(*.f64 z (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 z 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (fma.f64 z 5/48 (*.f64 z -1/16)) z)) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(sqrt.f64 z) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)))) |
(fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 z))) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z))))) |
(+.f64 (sqrt.f64 z) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z))))) |
(+.f64 (fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 1/2 (pow.f64 y 4)) (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))))) |
(fma.f64 (*.f64 (pow.f64 y 4) (fma.f64 z 1/24 (*.f64 z -1/16))) (*.f64 1/2 (sqrt.f64 (/.f64 1 z))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (*.f64 z -1/48) (sqrt.f64 (/.f64 1 z)))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 (*.f64 z -1/48) (*.f64 (pow.f64 y 4) (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (*.f64 -1/4 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 z -1/720) (*.f64 1/4 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)))))) (+.f64 (sqrt.f64 z) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)))))) |
(fma.f64 1/2 (*.f64 (fma.f64 z -1/720 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) 1/4)) (*.f64 (pow.f64 y 6) (sqrt.f64 (/.f64 1 z)))) (+.f64 (fma.f64 -1/4 (*.f64 y (*.f64 y (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 1/2 (pow.f64 y 4)) (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)))))) |
(fma.f64 (pow.f64 y 6) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (fma.f64 (fma.f64 z 1/24 (*.f64 z -1/16)) 1/4 (*.f64 z -1/720)))) (fma.f64 (*.f64 (pow.f64 y 4) (fma.f64 z 1/24 (*.f64 z -1/16))) (*.f64 1/2 (sqrt.f64 (/.f64 1 z))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)))) |
(+.f64 (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 z))) (+.f64 (*.f64 (pow.f64 y 4) (*.f64 z -1/48)) (*.f64 (pow.f64 y 6) (fma.f64 z -1/720 (*.f64 -1/4 (*.f64 z 1/48))))))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
Compiled 3983 to 2003 computations (49.7% saved)
21 alts after pruning (16 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 291 | 12 | 303 |
| Fresh | 8 | 4 | 12 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 5 | 7 |
| Total | 302 | 21 | 323 |
| Status | Error | Program |
|---|---|---|
| ▶ | 43.5b | (+.f64 z y) |
| 47.0b | (+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) | |
| ▶ | 9.3b | (+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
| ✓ | 38.4b | (+.f64 y x) |
| ✓ | 17.3b | (+.f64 z x) |
| 19.5b | (+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) | |
| 9.7b | (+.f64 x (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) | |
| ▶ | 9.2b | (+.f64 x (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
| ▶ | 36.5b | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
| 13.6b | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) 3))) | |
| 9.2b | (+.f64 x (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) | |
| 27.7b | (+.f64 x (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| 34.9b | x | |
| ✓ | 28.2b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| ✓ | 9.2b | (+.f64 x (*.f64 z (cos.f64 y))) |
| 36.7b | (+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y)) | |
| ✓ | 26.0b | (+.f64 (sin.f64 y) x) |
| 36.9b | (*.f64 (cos.f64 y) z) | |
| 9.3b | (+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) | |
| ▶ | 31.0b | (-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
| 53.8b | (sin.f64 y) |
Compiled 390 to 285 computations (26.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| 0.1b | (exp.f64 (cos.f64 y)) | |
| 0.1b | (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))) | |
| 0.3b | (log.f64 (exp.f64 (cos.f64 y))) |
Compiled 29 to 8 computations (72.4% saved)
Compiled 8 to 4 computations (50% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 (sin.f64 y) x) | |
| ✓ | 0.2b | (+.f64 1 (+.f64 (sin.f64 y) x)) |
| ✓ | 2.0b | (-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
Compiled 26 to 12 computations (53.8% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
| 0.0ms | y | @ | 0 | (+.f64 1 (+.f64 (sin.f64 y) x)) |
| 0.0ms | y | @ | inf | (+.f64 1 (+.f64 (sin.f64 y) x)) |
| 0.0ms | x | @ | 0 | (+.f64 1 (+.f64 (sin.f64 y) x)) |
| 0.0ms | x | @ | -inf | (+.f64 1 (+.f64 (sin.f64 y) x)) |
| 1× | batch-egg-rewrite |
| 844× | prod-diff_binary64 |
| 562× | unpow-prod-down_binary64 |
| 455× | fma-def_binary64 |
| 357× | log-prod_binary64 |
| 257× | fma-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 185 | 15 |
| 2 | 2778 | 15 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
(+.f64 1 (+.f64 (sin.f64 y) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (+.f64 (sin.f64 y) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (+.f64 (sin.f64 y) x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sin.f64 y) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (sin.f64 y) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (sin.f64 y)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (pow.f64 (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (pow.f64 (/.f64 1 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (+.f64 (sin.f64 y) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x)))) (pow.f64 (/.f64 1 (+.f64 (+.f64 (sin.f64 y) x) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (pow.f64 (/.f64 1 (-.f64 (sin.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (+.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 (sin.f64 y) x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 (sin.f64 y) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) 1) (pow.f64 (expm1.f64 (*.f64 1/2 (log1p.f64 (+.f64 (sin.f64 y) x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 (sin.f64 y) x))) 2) 3) (cbrt.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3/2) 1/3) (pow.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2)) 1/3) (cbrt.f64 (cbrt.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) (sqrt.f64 (+.f64 (sin.f64 y) x))) 1/3) (cbrt.f64 (sqrt.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2)) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (sin.f64 y) x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 (sin.f64 y) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (-.f64 1 (*.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x)))) (+.f64 (+.f64 (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (-.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (neg.f64 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))) (neg.f64 (-.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x))))) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x))))) (neg.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (+.f64 (sin.f64 y) x) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 (+.f64 (sin.f64 y) x) -1) 2) (+.f64 (+.f64 (sin.f64 y) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (+.f64 (sin.f64 y) x) -1) 2)) (-.f64 1 (+.f64 (+.f64 (sin.f64 y) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 2)) (-.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2)) (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (sin.f64 y) x) (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (+.f64 (sin.f64 y) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (sin.f64 y))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (sin.f64 y)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (sin.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (*.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (+.f64 (sin.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (sin.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (sin.f64 y) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (+.f64 (sin.f64 y) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (+.f64 (sin.f64 y) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sin.f64 y)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sin.f64 y) x) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (sin.f64 y)) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (*.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) (/.f64 1 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (+.f64 (sin.f64 y) x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2)) (/.f64 1 (-.f64 1 (+.f64 (sin.f64 y) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (+.f64 (sin.f64 y) x) -1)) 2) (cbrt.f64 (+.f64 (+.f64 (sin.f64 y) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (sin.f64 y))) 2) (cbrt.f64 (+.f64 1 (sin.f64 y))) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (+.f64 (sin.f64 y) x) -1)) (sqrt.f64 (+.f64 (+.f64 (sin.f64 y) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (sin.f64 y))) (sqrt.f64 (+.f64 1 (sin.f64 y))) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (+.f64 (sin.f64 y) x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) 1) (-.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) 1) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (+.f64 (sin.f64 y) x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (+.f64 (sin.f64 y) x))) (/.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) (-.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2) (pow.f64 (*.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (*.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) (pow.f64 (*.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) (/.f64 1 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) (pow.f64 (/.f64 1 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2)) (/.f64 1 (-.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2)) (pow.f64 (/.f64 1 (-.f64 1 (+.f64 (sin.f64 y) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (+.f64 1 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))) 2) 3) (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3/2) 1/3) (pow.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2)) 1/3) (cbrt.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))) 1/3) (cbrt.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1) (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (+.f64 (sin.f64 y) x)) (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) (+.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) (-.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2)) (-.f64 1 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3))) (neg.f64 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2))) (neg.f64 (-.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (sin.f64 y)) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (+.f64 1 (sin.f64 y)) 2) (-.f64 (*.f64 x x) (*.f64 (+.f64 1 (sin.f64 y)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (sin.f64 y) x) 2) 1) (+.f64 (+.f64 (sin.f64 y) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 (sin.f64 y)) 2) (*.f64 x x)) (-.f64 (+.f64 1 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3)) 1) (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2)) 1) (-.f64 1 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (+.f64 (sin.f64 y) x) (+.f64 (+.f64 (sin.f64 y) x) -1) 1) (+.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (+.f64 (sin.f64 y) x)) (-.f64 1 (pow.f64 (+.f64 (sin.f64 y) x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (+.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (exp.f64 (+.f64 1 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (+.f64 1 (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 1 (sin.f64 y))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (+.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (+.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (+.f64 (sin.f64 y) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 y) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 1 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (+.f64 (sin.f64 y) x) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sin.f64 y)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) 1 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (+.f64 1 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sin.f64 y) x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (+.f64 1 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 1 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (sin.f64 y) x)) 2) (cbrt.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (cbrt.f64 (sin.f64 y)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 1 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (sin.f64 y) x)) (sqrt.f64 (+.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 (sin.f64 y)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 2) (+.f64 (+.f64 (sin.f64 y) x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (sin.f64 y)) (pow.f64 (sin.f64 y) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (+.f64 (sin.f64 y) x)))) (/.f64 1 (+.f64 (+.f64 (sin.f64 y) x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (+.f64 (sin.f64 y) x) 2) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (sin.f64 y)) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)) 2) (cbrt.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (sin.f64 y))) 2) (cbrt.f64 (+.f64 1 (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)) (sqrt.f64 (+.f64 (+.f64 (sin.f64 y) x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (sin.f64 y))) (sqrt.f64 (+.f64 1 (sin.f64 y))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 1 (+.f64 (sin.f64 y) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (+.f64 (sin.f64 y) x)))) 1))))) |
| 1× | egg-herbie |
| 780× | sqr-pow_binary64 |
| 706× | fma-def_binary64 |
| 684× | cube-prod_binary64 |
| 601× | fabs-mul_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 195 |
| 1 | 69 | 195 |
| 2 | 168 | 195 |
| 3 | 446 | 195 |
| 4 | 805 | 195 |
| 5 | 1417 | 195 |
| 6 | 2020 | 195 |
| 7 | 2691 | 195 |
| 8 | 2807 | 195 |
| 9 | 2976 | 195 |
| 10 | 3189 | 195 |
| 11 | 3519 | 195 |
| 12 | 3975 | 195 |
| 13 | 4574 | 195 |
| 14 | 5328 | 195 |
| 15 | 6260 | 195 |
| 16 | 6768 | 195 |
| 17 | 7258 | 195 |
| 18 | 7650 | 195 |
| 19 | 7974 | 195 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 y x) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 (sin.f64 y) x) |
(+.f64 1 x) |
(+.f64 1 (+.f64 y x)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 1 (+.f64 y x))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 1 (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))) |
(+.f64 1 (sin.f64 y)) |
x |
x |
| Outputs |
|---|
x |
(+.f64 y x) |
(+.f64 x y) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x)) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y)) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x))) |
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y)) |
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x))) |
(fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y))) |
(+.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y))) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(sin.f64 y) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
x |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (sin.f64 y)) |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 y x)) |
(+.f64 (+.f64 x y) 1) |
(+.f64 y (+.f64 x 1)) |
(+.f64 x (+.f64 y 1)) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 1 (+.f64 y x))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 x y) 1)) |
(+.f64 (+.f64 x y) (fma.f64 -1/6 (pow.f64 y 3) 1)) |
(+.f64 x (+.f64 y (fma.f64 -1/6 (pow.f64 y 3) 1))) |
(+.f64 y (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) 1))) |
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) (+.f64 y 1))) |
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 1 (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))) |
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x)) 1)) |
(+.f64 (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x)) (fma.f64 -1/6 (pow.f64 y 3) 1)) |
(+.f64 x (+.f64 (fma.f64 -1/6 (pow.f64 y 3) 1) (fma.f64 1/120 (pow.f64 y 5) y))) |
(+.f64 x (+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) 1)))) |
(+.f64 x (+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) 1)))) |
(+.f64 (+.f64 x y) (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) 1))) |
(+.f64 (fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y)) (fma.f64 1/120 (pow.f64 y 5) 1)) |
(+.f64 1 (sin.f64 y)) |
(+.f64 (sin.f64 y) 1) |
x |
x |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| 0.1b | (*.f64 z (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 33 to 15 computations (54.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cos.f64 y) | |
| ✓ | 0.0b | (sqrt.f64 (*.f64 z (cos.f64 y))) |
| 0.1b | (*.f64 z (cos.f64 y)) | |
| ✓ | 0.3b | (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2) |
Compiled 34 to 12 computations (64.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | inf | (sqrt.f64 (*.f64 z (cos.f64 y))) |
| 1.0ms | z | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2) |
| 0.0ms | z | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2) |
| 0.0ms | z | @ | inf | (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2) |
| 0.0ms | y | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 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 | 14 |
| 1 | 163 | 14 |
| 2 | 1592 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2) |
(sqrt.f64 (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/4) (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/4) (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 1/4)) (pow.f64 (*.f64 z (cos.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (cbrt.f64 (*.f64 z (cos.f64 y)))) (cbrt.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 z)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (cbrt.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/4) (pow.f64 (*.f64 z (cos.f64 y)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)) (sqrt.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 z (cos.f64 y))))))))) |
| 1× | egg-herbie |
| 398× | *-commutative_binary64 |
| 389× | distribute-rgt-in_binary64 |
| 382× | distribute-lft-in_binary64 |
| 316× | distribute-lft-out_binary64 |
| 307× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 293 |
| 1 | 144 | 289 |
| 2 | 411 | 241 |
| 3 | 1786 | 214 |
| 4 | 5193 | 213 |
| 1× | node limit |
| Inputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z))) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(sqrt.f64 z) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))) |
(+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (*.f64 -1/4 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))))) |
| Outputs |
|---|
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) |
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1)) |
(*.f64 z (fma.f64 (*.f64 -1/2 y) y 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 z 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) z)) |
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 4) (fma.f64 z 5/48 (*.f64 z -1/16)) z)) |
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z)) |
(*.f64 z (+.f64 (fma.f64 (*.f64 -1/2 y) y 1) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 (pow.f64 y 4) (-.f64 (+.f64 (*.f64 1/16 z) (*.f64 1/24 z)) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))) z))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 (pow.f64 y 4) (-.f64 (*.f64 z 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) z))) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (fma.f64 z 5/48 (*.f64 z -1/16)) z)) |
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(*.f64 z (cos.f64 y)) |
(sqrt.f64 z) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))) |
(+.f64 (sqrt.f64 z) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)))) |
(fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) |
(*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)) |
(+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z))))) |
(+.f64 (sqrt.f64 z) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z))))) |
(+.f64 (fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z))) 1/2))) |
(fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (fma.f64 z 1/24 (*.f64 z -1/16)) (sqrt.f64 (/.f64 1 z)))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 z) (*.f64 (pow.f64 y 4) (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 1/2 (*.f64 z -1/48))))) |
(fma.f64 (fma.f64 (*.f64 y y) -1/4 1) (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (pow.f64 y 4) (*.f64 1/2 (*.f64 z -1/48))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (*.f64 -1/4 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2))))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/24 z) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (pow.f64 y 4)) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (pow.f64 y 2) (sqrt.f64 z)))))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 z -1/720) (*.f64 1/4 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)))))) (+.f64 (sqrt.f64 z) (fma.f64 1/2 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z)))) (*.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)))))) |
(+.f64 (fma.f64 -1/4 (*.f64 (*.f64 y y) (sqrt.f64 z)) (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) (*.f64 (*.f64 (pow.f64 y 4) (sqrt.f64 (/.f64 1 z))) 1/2))) (fma.f64 1/2 (*.f64 (fma.f64 z -1/720 (*.f64 (-.f64 (*.f64 z 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 z)) 2)) 1/4)) (*.f64 (pow.f64 y 6) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))) |
(fma.f64 (pow.f64 y 6) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (fma.f64 (fma.f64 z 1/24 (*.f64 z -1/16)) 1/4 (*.f64 z -1/720)))) (fma.f64 1/2 (*.f64 (pow.f64 y 4) (*.f64 (fma.f64 z 1/24 (*.f64 z -1/16)) (sqrt.f64 (/.f64 1 z)))) (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)))) |
(+.f64 (*.f64 (sqrt.f64 z) (fma.f64 (*.f64 y y) -1/4 1)) (*.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 z))) (+.f64 (*.f64 (pow.f64 y 6) (fma.f64 z -1/720 (*.f64 -1/4 (*.f64 z 1/48)))) (*.f64 (pow.f64 y 4) (*.f64 z -1/48))))) |
Compiled 7586 to 4078 computations (46.2% saved)
22 alts after pruning (13 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 541 | 11 | 552 |
| Fresh | 9 | 2 | 11 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 8 | 9 |
| Total | 551 | 22 | 573 |
| Status | Error | Program |
|---|---|---|
| ✓ | 43.5b | (+.f64 z y) |
| ✓ | 9.3b | (+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
| ✓ | 38.4b | (+.f64 y x) |
| ✓ | 17.3b | (+.f64 z x) |
| ✓ | 36.5b | (+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
| 53.8b | (sin.f64 y) | |
| 9.2b | (+.f64 x (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) | |
| 36.9b | (*.f64 (cos.f64 y) z) | |
| 37.0b | (+.f64 x (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) | |
| 19.5b | (+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) | |
| 19.5b | (+.f64 x (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))) | |
| 19.5b | (+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) 3))) | |
| 27.7b | (+.f64 x (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) | |
| ✓ | 28.2b | (+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| ✓ | 9.2b | (+.f64 x (*.f64 z (cos.f64 y))) |
| 9.3b | (+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) | |
| 38.0b | (-.f64 (+.f64 x 1) 1) | |
| ✓ | 9.2b | (+.f64 x (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
| ✓ | 26.0b | (+.f64 (sin.f64 y) x) |
| 55.5b | (-.f64 (+.f64 (sin.f64 y) 1) 1) | |
| 9.7b | (+.f64 x (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)) | |
| 34.9b | x |
Compiled 217 to 159 computations (26.7% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(-.f64 (+.f64 (sin.f64 y) 1) 1) |
(+.f64 x (*.f64 z (cos.f64 y))) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(fma.f64 z (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (-.f64 (+.f64 1 (cos.f64 y)) 1) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 x (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
(+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
(+.f64 x (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)) |
(+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
(+.f64 x (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
(+.f64 x (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
(+.f64 x (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
(+.f64 x (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))) |
(+.f64 (*.f64 (log.f64 (exp.f64 (cos.f64 y))) z) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 3) z) (sin.f64 y)) |
(+.f64 (*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z) (sin.f64 y)) |
(+.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3) (sin.f64 y)) |
(+.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2) (sin.f64 y)) |
(+.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z) (sin.f64 y)) |
(+.f64 x (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))) |
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y)) |
(+.f64 x (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3))) |
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2))) |
(+.f64 x (*.f64 z (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) 3))) |
(+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2)) 3))) |
| Outputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
4 calls:
| 39.0ms | z |
| 30.0ms | x |
| 27.0ms | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 26.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 468 to 190 computations (59.4% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(-.f64 (+.f64 (sin.f64 y) 1) 1) |
(+.f64 x (*.f64 z (cos.f64 y))) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(fma.f64 z (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 (-.f64 (+.f64 1 (cos.f64 y)) 1) z) (sin.f64 y)) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (log.f64 (exp.f64 (cos.f64 y))))) |
| Outputs |
|---|
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
4 calls:
| 14.0ms | y |
| 14.0ms | z |
| 13.0ms | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | y |
| 0.1b | 1 | z |
| 0.1b | 1 | (+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
Compiled 162 to 74 computations (54.3% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(-.f64 (+.f64 (sin.f64 y) 1) 1) |
(+.f64 x (*.f64 z (cos.f64 y))) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(fma.f64 z (cos.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y)) |
| Outputs |
|---|
(+.f64 x (*.f64 z (cos.f64 y))) |
(+.f64 (sin.f64 y) x) |
(fma.f64 z (cos.f64 y) x) |
3 calls:
| 98.0ms | y |
| 59.0ms | x |
| 30.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 3.1b | 3 | x |
| 5.9b | 4 | y |
| 2.2b | 3 | z |
Compiled 109 to 48 computations (56% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 190.0ms | 4.013109801345175e-39 | 4.869241898997178e-34 |
| 91.0ms | -8.974192156555443e-13 | -3.285777771336574e-14 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(-.f64 (+.f64 (sin.f64 y) 1) 1) |
(+.f64 x (*.f64 z (cos.f64 y))) |
(-.f64 (+.f64 1 (+.f64 (sin.f64 y) x)) 1) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
(+.f64 x (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))) |
| Outputs |
|---|
(+.f64 x (*.f64 z (cos.f64 y))) |
(+.f64 (sin.f64 y) x) |
(+.f64 x (*.f64 z (cos.f64 y))) |
3 calls:
| 168.0ms | z |
| 115.0ms | y |
| 77.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 8.0b | 3 | x |
| 5.9b | 4 | y |
| 2.2b | 3 | z |
Compiled 97 to 46 computations (52.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 89.0ms | 4.013109801345175e-39 | 4.869241898997178e-34 |
| 125.0ms | -8.974192156555443e-13 | -3.285777771336574e-14 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (sin.f64 y) x) |
(-.f64 (+.f64 (sin.f64 y) 1) 1) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(+.f64 (sin.f64 y) x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 177.0ms | x |
| 62.0ms | z |
| 56.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 9.1b | 12 | x |
| 9.1b | 3 | y |
| 6.7b | 4 | z |
Compiled 63 to 28 computations (55.6% saved)
| 3× | binary-search |
| Time | Left | Right |
|---|---|---|
| 46.0ms | 425576.63372784475 | 4424379.401936617 |
| 115.0ms | -8.974192156555443e-13 | -3.285777771336574e-14 |
| 98.0ms | -6.592531959858113e+216 | -9.762145433240941e+204 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
| Outputs |
|---|
(*.f64 (cos.f64 y) z) |
(+.f64 z x) |
(*.f64 (cos.f64 y) z) |
3 calls:
| 59.0ms | x |
| 46.0ms | y |
| 20.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 12.9b | 5 | x |
| 13.0b | 7 | y |
| 12.9b | 3 | z |
Compiled 53 to 23 computations (56.6% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 71.0ms | 1.3442933524802597e+126 | 6.348856230144987e+130 |
| 56.0ms | -6.592531959858113e+216 | -9.762145433240941e+204 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(sin.f64 y) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(sin.f64 y) |
(+.f64 z x) |
(sin.f64 y) |
(+.f64 z x) |
3 calls:
| 92.0ms | x |
| 89.0ms | y |
| 13.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 15.5b | 3 | x |
| 14.2b | 6 | y |
| 17.3b | 1 | z |
Compiled 41 to 21 computations (48.8% saved)
| 5× | binary-search |
| Time | Left | Right |
|---|---|---|
| 83.0ms | 5.9822126053297135e+159 | 5.253468255859811e+165 |
| 75.0ms | 1.216054285511013e+146 | 1.6156261281667184e+146 |
| 116.0ms | 9.2124891195855e+94 | 1.3369582224799263e+96 |
| 127.0ms | 2.1029162195330391e+68 | 2.0946961841570885e+70 |
| 102.0ms | -6.237953476278223e+20 | -2951475126553852.0 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
(+.f64 y (+.f64 z x)) |
| Outputs |
|---|
(+.f64 z x) |
(+.f64 y (+.f64 z x)) |
(+.f64 z x) |
3 calls:
| 17.0ms | y |
| 16.0ms | x |
| 5.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 15.5b | 3 | x |
| 15.3b | 3 | y |
| 17.3b | 1 | z |
Compiled 37 to 20 computations (45.9% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 41.0ms | 7.318806627289397e+60 | 2.5221648677339053e+61 |
| 42.0ms | -6.237953476278223e+20 | -2951475126553852.0 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
(+.f64 z x) |
(-.f64 (+.f64 x 1) 1) |
| Outputs |
|---|
(+.f64 z x) |
3 calls:
| 21.0ms | x |
| 6.0ms | z |
| 5.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 17.3b | 1 | x |
| 17.3b | 1 | y |
| 17.3b | 1 | z |
Compiled 32 to 19 computations (40.6% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
(+.f64 z y) |
| Outputs |
|---|
x |
(+.f64 z y) |
x |
3 calls:
| 28.0ms | y |
| 24.0ms | z |
| 17.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 24.1b | 3 | x |
| 27.2b | 7 | y |
| 25.8b | 5 | z |
Compiled 24 to 14 computations (41.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 47.0ms | 3.553844872857042e+22 | 2.8112687655314453e+30 |
| 57.0ms | -2.7468294366694206e-111 | -1.1653272361369644e-113 |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
x |
x |
x |
(+.f64 y x) |
| Outputs |
|---|
x |
(+.f64 y x) |
x |
3 calls:
| 11.0ms | y |
| 11.0ms | x |
| 4.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 33.0b | 3 | x |
| 33.0b | 3 | y |
| 34.9b | 1 | z |
Compiled 21 to 13 computations (38.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 42.0ms | 7.318806627289397e+60 | 2.5221648677339053e+61 |
| 57.0ms | -4.456574292024145e+97 | -9.398961706106641e+93 |
Compiled 18 to 13 computations (27.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
x |
x |
x |
| Outputs |
|---|
x |
3 calls:
| 5.0ms | y |
| 4.0ms | x |
| 4.0ms | z |
| Error | Segments | Branch |
|---|---|---|
| 34.9b | 1 | x |
| 34.9b | 1 | y |
| 34.9b | 1 | z |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
| 7× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 287 |
| 1 | 76 | 287 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 (sin.f64 y) x) (fma.f64 z (cos.f64 y) x))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 (sin.f64 y) x) (+.f64 x (*.f64 z (cos.f64 y))))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 (cos.f64 y) z) (if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 z x) (if (<=.f64 z 7311350895211455/17179869184) (+.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z)))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 (cos.f64 y) z) (if (<=.f64 z 1344293352480259710811877053518413955049735751978877040042576135954354008946338555143873119540235015865919274409011545081118720) (+.f64 z x) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 y -623795347627822284800) (+.f64 z x) (if (<=.f64 y 210291621953303912051455409396368654733149135805245307403469078921216) (+.f64 y (+.f64 z x)) (if (<=.f64 y 92124891195854996505710170217588948462905317661279166194926961120150444327638443249946274562048) (sin.f64 y) (if (<=.f64 y 121605428551101292391618246022157149451296643969117466210141495207327839017874163891921130234548570367590384311419979573050711573407492167100792832) (+.f64 z x) (if (<=.f64 y 5982212605329713521121265968520999945381240062016245190399550890672677112462619649826248857620311091116855455846065694492054163521516120216020497898867261440000) (sin.f64 y) (+.f64 z x)))))) |
(if (<=.f64 y -623795347627822284800) (+.f64 z x) (if (<=.f64 y 7318806627289397120659855222103003771344810622380132544806912) (+.f64 y (+.f64 z x)) (+.f64 z x))) |
(+.f64 z x) |
(if (<=.f64 x -3718774772447389/1353842624082429130653522550851115089568572790710847937094960732721983060451965636249987502980536903367866802227247837807116288) x (if (<=.f64 x 35538448728570420264960) (+.f64 z y) x)) |
(if (<=.f64 y -44565742920241451327351187094288198635308296330168520547363015124095167979625837162276755358089216) x (if (<=.f64 y 7318806627289397120659855222103003771344810622380132544806912) (+.f64 y x) x)) |
x |
| Outputs |
|---|
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) |
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 (sin.f64 y) x) (fma.f64 z (cos.f64 y) x))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 x (sin.f64 y)) (fma.f64 z (cos.f64 y) x))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 (sin.f64 y) x) (+.f64 x (*.f64 z (cos.f64 y))))) |
(if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 x (*.f64 z (cos.f64 y))) (if (<=.f64 z 3075036437783337/766247770432944429179173513575154591809369561091801088) (+.f64 x (sin.f64 y)) (+.f64 x (*.f64 z (cos.f64 y))))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 (cos.f64 y) z) (if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 z x) (if (<=.f64 z 7311350895211455/17179869184) (+.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z)))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 z (cos.f64 y)) (if (<=.f64 z -8887609432672637/9903520314283042199192993792) (+.f64 z x) (if (<=.f64 z 7311350895211455/17179869184) (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 (cos.f64 y) z) (if (<=.f64 z 1344293352480259710811877053518413955049735751978877040042576135954354008946338555143873119540235015865919274409011545081118720) (+.f64 z x) (*.f64 (cos.f64 y) z))) |
(if (<=.f64 z -6592531959858112566735662956989506159437937843116164689489884622448530649076772171661906528232065561294116487811051339047209146064679462066999488656476027641696832446794389774810862221149588218025280438910838133227520) (*.f64 z (cos.f64 y)) (if (<=.f64 z 1344293352480259710811877053518413955049735751978877040042576135954354008946338555143873119540235015865919274409011545081118720) (+.f64 z x) (*.f64 z (cos.f64 y)))) |
(if (<=.f64 y -623795347627822284800) (+.f64 z x) (if (<=.f64 y 210291621953303912051455409396368654733149135805245307403469078921216) (+.f64 y (+.f64 z x)) (if (<=.f64 y 92124891195854996505710170217588948462905317661279166194926961120150444327638443249946274562048) (sin.f64 y) (if (<=.f64 y 121605428551101292391618246022157149451296643969117466210141495207327839017874163891921130234548570367590384311419979573050711573407492167100792832) (+.f64 z x) (if (<=.f64 y 5982212605329713521121265968520999945381240062016245190399550890672677112462619649826248857620311091116855455846065694492054163521516120216020497898867261440000) (sin.f64 y) (+.f64 z x)))))) |
(if (<=.f64 y -623795347627822284800) (+.f64 z x) (if (<=.f64 y 7318806627289397120659855222103003771344810622380132544806912) (+.f64 y (+.f64 z x)) (+.f64 z x))) |
(+.f64 z x) |
(if (<=.f64 x -3718774772447389/1353842624082429130653522550851115089568572790710847937094960732721983060451965636249987502980536903367866802227247837807116288) x (if (<=.f64 x 35538448728570420264960) (+.f64 z y) x)) |
(if (<=.f64 y -44565742920241451327351187094288198635308296330168520547363015124095167979625837162276755358089216) x (if (<=.f64 y 7318806627289397120659855222103003771344810622380132544806912) (+.f64 y x) x)) |
x |
Compiled 233 to 132 computations (43.3% saved)
| 1× | egg-herbie |
| 6× | fma-def_binary64 |
| 5× | +-commutative_binary64 |
| 3× | associate-+r+_binary64 |
| 3× | associate-+l+_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 14 | 12 |
| 2 | 23 | 12 |
| 3 | 29 | 12 |
| 1× | saturated |
Compiled 35 to 23 computations (34.3% saved)
Compiled 200 to 75 computations (62.5% saved)
Loading profile data...