Time bar (total: 4.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 0% | 99.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 37.4% | 62.4% | 0.1% | 8 |
| 37.4% | 62.4% | 0.1% | 9 |
| 56.2% | 43.7% | 0.1% | 10 |
| 65.5% | 34.3% | 0.1% | 11 |
| 65.5% | 34.3% | 0.1% | 12 |
| 76.5% | 23.4% | 0.1% | 13 |
| 81.9% | 17.9% | 0.1% | 14 |
Compiled 13 to 9 computations (30.8% saved)
| 1.2s | 2063× | body | 1024 | valid |
| 744.0ms | 4614× | body | 128 | valid |
| 476.0ms | 1050× | body | 512 | valid |
| 147.0ms | 522× | body | 256 | valid |
| 6.0ms | 7× | body | 2048 | valid |
| 2× | egg-herbie |
| 16× | fma-def_binary64 |
| 8× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 48 |
| 1 | 38 | 48 |
| 2 | 50 | 48 |
| 0 | 3 | 3 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
2 |
| Outputs |
|---|
0 |
1 |
2 |
| Inputs |
|---|
(+.f64 (*.f64 x (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))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(+.f64 (*.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x))) |
(fma.f64 y (sin.f64 x) (*.f64 z (cos.f64 x))) |
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) |
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) |
(fma.f64 x (cos.f64 y) (*.f64 (sin.f64 y) z)) |
(+.f64 (*.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z))) |
(fma.f64 x (sin.f64 z) (*.f64 y (cos.f64 z))) |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
| 4× | fma-def_binary64 |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 16 | 12 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
| Outputs |
|---|
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
Compiled 42 to 23 computations (45.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cos.f64 y) |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| ✓ | 0.1b | (*.f64 z (cos.f64 y)) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | x | @ | -inf | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 1.0ms | y | @ | 0 | (*.f64 z (cos.f64 y)) |
| 1.0ms | x | @ | 0 | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 1.0ms | z | @ | inf | (*.f64 z (cos.f64 y)) |
| 1× | batch-egg-rewrite |
| 757× | pow1_binary64 |
| 689× | add-log-exp_binary64 |
| 689× | log1p-expm1-u_binary64 |
| 689× | expm1-log1p-u_binary64 |
| 81× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 156 | 21 |
| 2 | 1853 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 z (cos.f64 y)) |
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
(cos.f64 y) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 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 log.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x 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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.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 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (sin.f64 y)) 1) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 expm1.f64 (log1p.f64 (cos.f64 y))))))) |
| 1× | egg-herbie |
| 1873× | fma-def_binary64 |
| 398× | *-commutative_binary64 |
| 336× | distribute-lft-out_binary64 |
| 226× | unswap-sqr_binary64 |
| 170× | associate-+l+_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 588 |
| 1 | 122 | 580 |
| 2 | 325 | 569 |
| 3 | 1062 | 567 |
| 4 | 1747 | 567 |
| 5 | 2737 | 567 |
| 6 | 2871 | 567 |
| 7 | 3026 | 567 |
| 8 | 3194 | 561 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
z |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(*.f64 (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 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
| Outputs |
|---|
(*.f64 (cos.f64 y) 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) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) z) |
(fma.f64 y (*.f64 z (*.f64 y -1/2)) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))) |
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)) |
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(*.f64 z (fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))) |
(+.f64 z (*.f64 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/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))) |
(*.f64 z (fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) (fma.f64 -1/720 (pow.f64 y 6) 1))) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z)) |
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z)) |
(fma.f64 y (fma.f64 z (*.f64 y -1/2) x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z))) |
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 y x z))) |
(fma.f64 y (fma.f64 z (*.f64 y -1/2) x) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z)) |
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 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 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))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))) |
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))) |
(fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) (fma.f64 -1/720 (pow.f64 y 6) 1)) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 70 | 7 | 77 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 70 | 8 | 78 |
| Status | Error | Program |
|---|---|---|
| 38.7b | (/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) | |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)) | |
| 44.0b | (-.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) | |
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) | |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 38.5b | (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3)) | |
| ▶ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
| 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))) |
Compiled 1286 to 559 computations (56.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
| ✓ | 0.1b | (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
| ✓ | 0.3b | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| ✓ | 0.4b | (pow.f64 (cos.f64 y) 3) |
21 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 | x | @ | 0 | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
| 0.0ms | y | @ | 0 | (cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
| 1× | batch-egg-rewrite |
| 857× | log1p-expm1-u_binary64 |
| 857× | expm1-log1p-u_binary64 |
| 102× | add-sqr-sqrt_binary64 |
| 98× | pow1_binary64 |
| 97× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 27 |
| 1 | 225 | 27 |
| 2 | 2360 | 27 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cos.f64 y) 3) |
(cbrt.f64 (pow.f64 (cos.f64 y) 3)) |
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))) |
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (expm1.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 exp.f64 (log.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 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 -.f64 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (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 exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (sin.f64 y)) 1) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z)))))))) |
| 1× | egg-herbie |
| 462× | *-commutative_binary64 |
| 434× | distribute-lft-out_binary64 |
| 432× | sqr-pow_binary64 |
| 302× | fma-def_binary64 |
| 231× | pow-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 712 |
| 1 | 149 | 702 |
| 2 | 396 | 687 |
| 3 | 1296 | 685 |
| 4 | 2131 | 685 |
| 5 | 3277 | 685 |
| 6 | 3385 | 685 |
| 7 | 3543 | 685 |
| 8 | 3717 | 685 |
| 9 | 3948 | 685 |
| 10 | 4269 | 685 |
| 11 | 4668 | 685 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(*.f64 (cos.f64 y) 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)) |
(*.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 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -3/2 (*.f64 y y))) |
(fma.f64 -3/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))) |
(+.f64 1 (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y)))) |
(+.f64 (*.f64 7/8 (pow.f64 y 4)) (fma.f64 -3/2 (*.f64 y y) 1)) |
(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))) |
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 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) 1)) |
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) |
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))) |
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))) |
(+.f64 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) 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))) |
(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 (*.f64 y y) -1/2 1) z) |
(*.f64 (fma.f64 y (*.f64 y -1/2) 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 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)) |
(*.f64 z (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) 1))) |
(*.f64 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) 1)) z) |
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) 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))))) |
(*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 (fma.f64 y (*.f64 y -1/2) 1)))) |
(*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)))) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 z (cos.f64 y)) |
(*.f64 (cos.f64 y) z) |
(*.f64 (cos.f64 y) z) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
z |
(+.f64 (*.f64 y x) z) |
(fma.f64 y x z) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z)) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 y x z)) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z)) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) (fma.f64 y x z)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))) |
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))) |
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z))) |
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z))) |
(fma.f64 y x (fma.f64 (*.f64 y y) (*.f64 -1/2 z) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z))) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(*.f64 (sin.f64 y) x) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.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)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.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)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)) |
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 110 | 3 | 113 |
| Fresh | 0 | 6 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 111 | 10 | 121 |
| Status | Error | Program |
|---|---|---|
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3))) 1)))) | |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)) | |
| 38.7b | (/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) | |
| ▶ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) |
| 44.0b | (-.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) | |
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) | |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.3b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) | |
| 38.5b | (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3)) | |
| 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))) |
Compiled 1921 to 895 computations (53.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2)))) |
| ✓ | 0.2b | (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2)) |
| ✓ | 0.2b | (pow.f64 (cos.f64 y) 2) |
| ✓ | 0.3b | (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))) |
| 0.0ms | y | @ | -inf | (pow.f64 (cos.f64 y) 2) |
| 0.0ms | y | @ | inf | (pow.f64 (cos.f64 y) 2) |
| 0.0ms | y | @ | 0 | (pow.f64 (cos.f64 y) 2) |
| 0.0ms | y | @ | inf | (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))) |
| 1× | batch-egg-rewrite |
| 668× | pow1_binary64 |
| 616× | add-log-exp_binary64 |
| 616× | log1p-expm1-u_binary64 |
| 616× | expm1-log1p-u_binary64 |
| 77× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 183 | 21 |
| 2 | 1781 | 21 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))) |
(pow.f64 (cos.f64 y) 2) |
(*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2)) |
(*.f64 z (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (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 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(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 (sqrt.f64 (pow.f64 (cos.f64 y) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (cos.f64 y) 3)) 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) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x 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 fabs.f64 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 1/2 (cos.f64 (*.f64 2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cos.f64 y) 3)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (cbrt.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 (+.f64 y y)) (cos.f64 (-.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (cos.f64 y) 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.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 exp.f64 (log.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 expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 996× | fma-def_binary64 |
| 693× | associate-*l*_binary64 |
| 496× | associate-*r*_binary64 |
| 297× | unswap-sqr_binary64 |
| 247× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 414 |
| 1 | 146 | 401 |
| 2 | 374 | 384 |
| 3 | 1181 | 382 |
| 4 | 4398 | 382 |
| 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) |
1 |
(+.f64 (*.f64 -1 (pow.f64 y 2)) 1) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
1 |
(+.f64 1 (*.f64 -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))))) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 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) |
(+.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))) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
(cos.f64 y) |
1 |
(+.f64 (*.f64 -1 (pow.f64 y 2)) 1) |
(fma.f64 -1 (*.f64 y y) 1) |
(-.f64 1 (*.f64 y y)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4)))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (*.f64 (pow.f64 y 4) 1/3)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 1) (*.f64 y y)) |
(-.f64 (*.f64 (pow.f64 y 4) 1/3) (fma.f64 y y -1)) |
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4))))) |
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (fma.f64 -2/45 (pow.f64 y 6) (*.f64 (pow.f64 y 4) 1/3))) |
(+.f64 (fma.f64 (pow.f64 y 6) -2/45 (*.f64 (pow.f64 y 4) 1/3)) (-.f64 1 (*.f64 y y))) |
(-.f64 (fma.f64 (pow.f64 y 6) -2/45 (fma.f64 (pow.f64 y 4) 1/3 1)) (*.f64 y y)) |
(-.f64 (fma.f64 (pow.f64 y 4) 1/3 (fma.f64 (pow.f64 y 6) -2/45 1)) (*.f64 y y)) |
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 (*.f64 y y) -3/2)) |
(fma.f64 (*.f64 y y) -3/2 1) |
(fma.f64 y (*.f64 y -3/2) 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 (*.f64 y y) -3/2))) |
(+.f64 1 (fma.f64 (*.f64 y y) -3/2 (*.f64 (pow.f64 y 4) 7/8))) |
(fma.f64 y (*.f64 y -3/2) (fma.f64 (pow.f64 y 4) 7/8 1)) |
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 7/8) -3/2) 1) |
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))) |
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) (*.f64 (*.f64 y y) -3/2)))) |
(+.f64 1 (fma.f64 (pow.f64 y 6) -61/240 (fma.f64 (*.f64 y y) -3/2 (*.f64 (pow.f64 y 4) 7/8)))) |
(fma.f64 (pow.f64 y 6) -61/240 (fma.f64 y (*.f64 y -3/2) (fma.f64 (pow.f64 y 4) 7/8 1))) |
(fma.f64 y (*.f64 y -3/2) (fma.f64 (pow.f64 y 4) 7/8 (fma.f64 (pow.f64 y 6) -61/240 1))) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 3) |
(pow.f64 (cos.f64 y) 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) |
(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 (*.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 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) 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 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) |
10 alts after pruning (8 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 97 | 0 | 97 |
| Fresh | 0 | 8 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 97 | 10 | 107 |
| Status | Error | Program |
|---|---|---|
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3))) 1)))) | |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)) | |
| 38.7b | (/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) | |
| ✓ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) |
| 44.0b | (-.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) | |
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) | |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.3b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) | |
| 38.5b | (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3)) | |
| ▶ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))) |
Compiled 1818 to 950 computations (47.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))) |
| ✓ | 0.3b | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))) |
| ✓ | 0.6b | (+.f64 1 (expm1.f64 (cos.f64 y))) |
| ✓ | 0.7b | (expm1.f64 (cos.f64 y)) |
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 27.0ms | y | @ | -inf | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))) |
| 26.0ms | z | @ | 0 | (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))) |
| 25.0ms | y | @ | inf | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))) |
| 2.0ms | y | @ | -inf | (expm1.f64 (cos.f64 y)) |
| 1.0ms | y | @ | 0 | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))) |
| 1× | batch-egg-rewrite |
| 760× | pow1_binary64 |
| 701× | log1p-expm1-u_binary64 |
| 701× | expm1-log1p-u_binary64 |
| 78× | add-sqr-sqrt_binary64 |
| 76× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 179 | 19 |
| 2 | 1910 | 19 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (cos.f64 y)) |
(+.f64 1 (expm1.f64 (cos.f64 y))) |
(log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))) |
(*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (expm1.f64 (cos.f64 y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (expm1.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 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2) (cbrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) (sqrt.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 1) (-.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1) (+.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2) (+.f64 1 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2) 1) (+.f64 (exp.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2) (cbrt.f64 (exp.f64 (cos.f64 y))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) (sqrt.f64 (exp.f64 (cos.f64 y))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (cos.f64 y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (expm1.f64 (cos.f64 y)))) (/.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2) (-.f64 1 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (cos.f64 y)) 1)))) (#(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 *.f64 (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3)) (/.f64 1 (+.f64 1 (*.f64 (expm1.f64 (cos.f64 y)) (-.f64 (expm1.f64 (cos.f64 y)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (expm1.f64 (cos.f64 y)) (-.f64 (expm1.f64 (cos.f64 y)) 1))) (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (expm1.f64 (cos.f64 y))) (-.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3)) (+.f64 1 (*.f64 (expm1.f64 (cos.f64 y)) (-.f64 (expm1.f64 (cos.f64 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3)) (+.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2) (-.f64 1 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 2)) (-.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3))) (neg.f64 (+.f64 1 (*.f64 (expm1.f64 (cos.f64 y)) (-.f64 (expm1.f64 (cos.f64 y)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (expm1.f64 (cos.f64 y)) 2) 1) (-.f64 (expm1.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (cos.f64 y))))) (#(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 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(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 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 log.f64 (+.f64 1 (expm1.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 exp.f64 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (expm1.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (cos.f64 y))) 2) (cbrt.f64 (expm1.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (expm1.f64 (cos.f64 y))) (sqrt.f64 (expm1.f64 (cos.f64 y))) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (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 (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 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 3))) (log.f64 (+.f64 1 (*.f64 (expm1.f64 (cos.f64 y)) (-.f64 (expm1.f64 (cos.f64 y)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (pow.f64 (expm1.f64 (cos.f64 y)) 2))) (log.f64 (-.f64 1 (expm1.f64 (cos.f64 y)))))))) (#(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 exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (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 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z))))))) |
| 1× | egg-herbie |
| 651× | fma-neg_binary64 |
| 449× | cancel-sign-sub-inv_binary64 |
| 412× | fma-def_binary64 |
| 326× | distribute-rgt-neg-in_binary64 |
| 302× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 506 |
| 1 | 196 | 489 |
| 2 | 476 | 459 |
| 3 | 1449 | 455 |
| 4 | 2196 | 453 |
| 5 | 3412 | 453 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (E.f64) 1) |
(-.f64 (+.f64 (E.f64) (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2)))) 1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4))))) 1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (+.f64 (*.f64 -31/720 (*.f64 (E.f64) (pow.f64 y 6))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)))))) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(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)))) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
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)) |
| Outputs |
|---|
(-.f64 (E.f64) 1) |
(+.f64 (E.f64) -1) |
(expm1.f64 1) |
(-.f64 (+.f64 (E.f64) (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2)))) 1) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64)) -1) |
(+.f64 (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)) -1) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64) -1) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) 1) -1) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4))))) 1) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (E.f64))) -1) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/6 (pow.f64 y 4)))) (expm1.f64 1)) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))) (expm1.f64 1)) |
(-.f64 (+.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 (E.f64) (pow.f64 y 2))) (+.f64 (*.f64 -31/720 (*.f64 (E.f64) (pow.f64 y 6))) (*.f64 1/6 (*.f64 (E.f64) (pow.f64 y 4)))))) 1) |
(+.f64 (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 y 6) (E.f64)) (*.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64))))) -1) |
(+.f64 (fma.f64 -1/2 (*.f64 y (*.f64 y (E.f64))) (*.f64 (E.f64) (+.f64 (*.f64 1/6 (pow.f64 y 4)) (*.f64 -31/720 (pow.f64 y 6))))) (expm1.f64 1)) |
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64) (fma.f64 (E.f64) (fma.f64 1/6 (pow.f64 y 4) (*.f64 -31/720 (pow.f64 y 6))) -1)) |
(+.f64 (*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))) (fma.f64 -31/720 (pow.f64 y 6) 1))) -1) |
(fma.f64 (E.f64) (+.f64 (fma.f64 -31/720 (pow.f64 y 6) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4)))) -1) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(-.f64 (exp.f64 (cos.f64 y)) 1) |
(expm1.f64 (cos.f64 y)) |
(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 (E.f64) (fma.f64 -1/2 (*.f64 y y) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (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))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 -1/2 (*.f64 y y)) (*.f64 1/6 (pow.f64 y 4)))) (E.f64)) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))) (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))) (+.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 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)) (*.f64 (E.f64) (+.f64 (*.f64 1/6 (pow.f64 y 4)) (*.f64 -31/720 (pow.f64 y 6))))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))) (*.f64 (E.f64) (fma.f64 -31/720 (pow.f64 y 6) 1))) |
(*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))) (fma.f64 -31/720 (pow.f64 y 6) 1))) |
(*.f64 (E.f64) (+.f64 (fma.f64 -31/720 (pow.f64 y 6) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/6 (pow.f64 y 4))))) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
(exp.f64 (cos.f64 y)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 y y))) |
(fma.f64 -1/2 (*.f64 y y) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))) |
(+.f64 1 (fma.f64 (pow.f64 y 4) 1/24 (*.f64 -1/2 (*.f64 y y)))) |
(fma.f64 -1/2 (*.f64 y y) (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 (pow.f64 y 4) 1/24 (*.f64 -1/2 (*.f64 y y))) (fma.f64 (pow.f64 y 6) -1/720 1)) |
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (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) |
(*.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) |
(+.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 (pow.f64 y 4) 1/24 1))) |
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1)) 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 (pow.f64 y 4) 1/24 (*.f64 -1/2 (*.f64 y y)))))) |
(*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/24 1)))) |
(*.f64 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) |
11 alts after pruning (8 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 131 | 1 | 132 |
| Fresh | 0 | 7 | 7 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 131 | 11 | 142 |
| Status | Error | Program |
|---|---|---|
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (-.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3))) 1)))) | |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)) | |
| ✓ | 0.1b | (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) |
| 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (log.f64 (exp.f64 (exp.f64 (cos.f64 y))))))) | |
| 38.7b | (/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) | |
| ✓ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (*.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) |
| 44.0b | (-.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) | |
| 0.4b | (fma.f64 x (sin.f64 y) (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) | |
| 0.3b | (fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) | |
| 38.5b | (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3)) | |
| ✓ | 0.2b | (fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))) |
Compiled 2309 to 1165 computations (49.5% saved)
Total -56.3b remaining (-44511.3%)
Threshold costs -56.3b (-44511.3%)
Compiled 615 to 246 computations (60% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 9 | 12 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| Outputs |
|---|
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) |
| 1× | fuel |
Compiled 195 to 80 computations (59% saved)
Loading profile data...