Time bar (total: 21.2s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 50% | 50% | 0 |
| 0% | 50% | 50% | 1 |
| 0% | 50% | 50% | 2 |
| 37.5% | 12.5% | 50% | 3 |
| 43.7% | 6.2% | 50% | 4 |
| 46.8% | 3.1% | 50% | 5 |
| 48.4% | 1.6% | 50% | 6 |
| 49.2% | 0.8% | 50% | 7 |
| 49.6% | 0.4% | 50% | 8 |
| 49.8% | 0.2% | 50% | 9 |
| 49.9% | 0.1% | 50% | 10 |
| 49.9% | 0% | 50% | 11 |
| 49.9% | 0% | 50% | 12 |
Compiled 15 to 10 computations (33.3% saved)
| 14.0s | 4370× | body | 2048 | valid |
| 2.5s | 2065× | body | 1024 | valid |
| 423.0ms | 993× | body | 512 | valid |
| 194.0ms | 828× | body | 256 | valid |
| 2× | egg-herbie |
| 577× | fma-def_binary64 |
| 278× | fma-neg_binary64 |
| 236× | times-frac_binary64 |
| 190× | associate-/r*_binary64 |
| 175× | div-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 11 | 11 |
| 2 | 18 | 11 |
| 3 | 29 | 11 |
| 4 | 56 | 11 |
| 5 | 86 | 11 |
| 6 | 150 | 11 |
| 7 | 239 | 11 |
| 8 | 403 | 11 |
| 9 | 740 | 11 |
| 10 | 1674 | 11 |
| 11 | 2870 | 11 |
| 12 | 3517 | 11 |
| 13 | 3580 | 11 |
| 14 | 3618 | 11 |
| 15 | 3628 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 577× | fma-def_binary64 |
| 278× | fma-neg_binary64 |
| 236× | times-frac_binary64 |
| 190× | associate-/r*_binary64 |
| 175× | div-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 11 | 11 |
| 2 | 18 | 11 |
| 3 | 29 | 11 |
| 4 | 56 | 11 |
| 5 | 86 | 11 |
| 6 | 150 | 11 |
| 7 | 239 | 11 |
| 8 | 403 | 11 |
| 9 | 740 | 11 |
| 10 | 1674 | 11 |
| 11 | 2870 | 11 |
| 12 | 3517 | 11 |
| 13 | 3580 | 11 |
| 14 | 3618 | 11 |
| 15 | 3628 | 11 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 8 to 5 computations (37.5% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 28.9b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 8 to 5 computations (37.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ✓ | 3.1b | (-.f64 x (sin.f64 x)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 2.0ms | x | @ | inf | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (-.f64 x (sin.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 1.0ms | x | @ | inf | (-.f64 x (sin.f64 x)) |
| 1× | batch-egg-rewrite |
| 924× | pow1_binary64 |
| 864× | add-log-exp_binary64 |
| 864× | log1p-expm1-u_binary64 |
| 864× | expm1-log1p-u_binary64 |
| 845× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 140 | 17 |
| 2 | 2190 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (sin.f64 x)) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sin.f64 x)) 1 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (cbrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))) (-.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))) (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (sin.f64 x)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))) (neg.f64 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (sin.f64 x)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x))) (*.f64 x (neg.f64 (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x)))) (-.f64 x (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (sin.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 x (tan.f64 x)) (neg.f64 (/.f64 (sin.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 x (tan.f64 x)) (/.f64 (sin.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (*.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (-.f64 x (sin.f64 x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (-.f64 x (sin.f64 x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 x (sin.f64 x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))))) |
| 1× | egg-herbie |
| 766× | distribute-rgt-out_binary64 |
| 740× | distribute-lft-out_binary64 |
| 663× | fma-def_binary64 |
| 638× | associate-*l*_binary64 |
| 493× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 314 |
| 1 | 132 | 296 |
| 2 | 302 | 296 |
| 3 | 872 | 284 |
| 4 | 3807 | 284 |
| 5 | 6577 | 284 |
| 6 | 7472 | 284 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) |
(fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))) |
(fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/5040 (pow.f64 x 7)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (*.f64 -1/120 (pow.f64 x 5))))) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
x |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(+.f64 (*.f64 -1 (sin.f64 x)) x) |
(fma.f64 -1 (sin.f64 x) x) |
(-.f64 x (sin.f64 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 -143/604800 (pow.f64 x 8) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -143/604800 (pow.f64 x 8))))) |
(fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -143/604800 (pow.f64 x 8)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
Compiled 1218 to 470 computations (61.4% saved)
13 alts after pruning (12 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 79 | 12 | 91 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 79 | 13 | 92 |
| Status | Error | Program |
|---|---|---|
| ✓ | 28.9b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ▶ | 0.7b | (*.f64 1/6 (*.f64 x x)) |
| ▶ | 11.2b | (/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
| ▶ | 28.9b | (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
| 28.9b | (*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) | |
| 28.9b | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) | |
| 10.8b | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) (tan.f64 x)) | |
| ▶ | 0.3b | (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
| 0.3b | (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) | |
| ▶ | 10.9b | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
| 29.4b | (/.f64 (exp.f64 (log.f64 (-.f64 x (sin.f64 x)))) (tan.f64 x)) | |
| 0.4b | (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) | |
| 28.9b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 320 to 231 computations (27.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 -143/604800 (pow.f64 x 8)) |
| ✓ | 0.0b | (*.f64 -11/15120 (pow.f64 x 6)) |
| ✓ | 0.1b | (*.f64 -23/360 (pow.f64 x 4)) |
| ✓ | 0.2b | (*.f64 1/6 (pow.f64 x 2)) |
Compiled 93 to 75 computations (19.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 -23/360 (pow.f64 x 4)) |
| 1.0ms | x | @ | -inf | (*.f64 -143/604800 (pow.f64 x 8)) |
| 1.0ms | x | @ | 0 | (*.f64 -143/604800 (pow.f64 x 8)) |
| 1.0ms | x | @ | 0 | (*.f64 -11/15120 (pow.f64 x 6)) |
| 1.0ms | x | @ | 0 | (*.f64 1/6 (pow.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 619× | log-prod_binary64 |
| 381× | pow2_binary64 |
| 310× | pow-prod-down_binary64 |
| 263× | expm1-udef_binary64 |
| 263× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 28 |
| 1 | 374 | 28 |
| 2 | 3738 | 28 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 -23/360 (pow.f64 x 4)) |
(*.f64 -11/15120 (pow.f64 x 6)) |
(*.f64 -143/604800 (pow.f64 x 8)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/6 (*.f64 x x))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) -23/360)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) -23/360))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) -23/360))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) -23/360))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -23/360 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 529/129600) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -23/360 (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 529/129600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) -23/360))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -23/360 (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -11/15120 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 121/228614400 (pow.f64 x 12)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -11/15120 (pow.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 -11/15120)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 121/228614400 (pow.f64 x 12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -11/15120 (pow.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 6 (log.f64 x) (log.f64 -11/15120)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 6 (log.f64 x) (log.f64 -11/15120)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -143/604800 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -143/604800) (pow.f64 x 8))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -143/604800) (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -143/604800) (pow.f64 x 8)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -143/604800) (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -143/604800 (pow.f64 x 8)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -143/604800 (pow.f64 x 8)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 20449/365783040000 (pow.f64 x 16)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -143/604800 (pow.f64 x 8)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -143/604800 (pow.f64 x 8))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) (sqrt.f64 -143/604800)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 20449/365783040000 (pow.f64 x 16)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -143/604800) (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -143/604800 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -143/604800 (pow.f64 x 8)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -143/604800 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -143/604800 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 8 (log.f64 x) (log.f64 -143/604800)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 8 (log.f64 x) (log.f64 -143/604800)) 1)))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 1/6 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 1/6 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 1/6 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 1/6 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 432× | pow1_binary64 |
| 421× | add-sqr-sqrt_binary64 |
| 411× | *-un-lft-identity_binary64 |
| 402× | add-log-exp_binary64 |
| 402× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 102 | 7 |
| 2 | 1148 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/36 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 441× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 23 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 331 | 84 |
| 6 | 1250 | 84 |
| 7 | 2123 | 84 |
| 8 | 2287 | 84 |
| 9 | 2471 | 84 |
| 10 | 2679 | 84 |
| 11 | 2976 | 84 |
| 12 | 3371 | 84 |
| 13 | 3852 | 84 |
| 14 | 4418 | 84 |
| 15 | 5102 | 84 |
| 16 | 5935 | 84 |
| 17 | 6327 | 84 |
| 18 | 6619 | 84 |
| 19 | 6895 | 84 |
| 20 | 6969 | 84 |
| 21 | 7003 | 84 |
| 22 | 7944 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/6 (pow.f64 x 3)) |
| ✓ | 10.6b | (/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
Compiled 22 to 15 computations (31.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
| 0.0ms | x | @ | -inf | (*.f64 1/6 (pow.f64 x 3)) |
| 0.0ms | x | @ | inf | (*.f64 1/6 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 879× | pow1_binary64 |
| 827× | add-log-exp_binary64 |
| 827× | log1p-expm1-u_binary64 |
| 827× | expm1-log1p-u_binary64 |
| 810× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 179 | 19 |
| 2 | 2200 | 19 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 1/6 (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (/.f64 1 (/.f64 (tan.f64 x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) (*.f64 1/6 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (pow.f64 x 3)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))) (pow.f64 (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))) 2) (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (cbrt.f64 1/6)) 2) (*.f64 (*.f64 x (cbrt.f64 1/6)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))) (sqrt.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (*.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x 3) -1/6) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (*.f64 1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x 3) 1) (/.f64 1/6 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/6 (tan.f64 x)) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 x (cbrt.f64 1/6)) 2) 1) (/.f64 (*.f64 x (cbrt.f64 1/6)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) 1) (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/6 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (pow.f64 x 3) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x 3) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 1/6 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 1/6 (pow.f64 x 3)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 x (cbrt.f64 1/6)) 2) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/6 (sqrt.f64 (tan.f64 x))) (/.f64 (pow.f64 x 3) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x 3) (sqrt.f64 (tan.f64 x))) (/.f64 1/6 (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 1/6 (pow.f64 x 3)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (*.f64 x (cbrt.f64 1/6)) 2) (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 x (cbrt.f64 1/6)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/6 (pow.f64 x 3)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (cbrt.f64 1/6)) (cbrt.f64 (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 6 (/.f64 (tan.f64 x) (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 1/6 (pow.f64 x 3)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 1/6 (pow.f64 x 3)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (/.f64 (pow.f64 x 3) (tan.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (pow.f64 x 3)))))))) |
| 1× | egg-herbie |
| 747× | unswap-sqr_binary64 |
| 724× | distribute-lft-out_binary64 |
| 644× | associate-*l*_binary64 |
| 584× | distribute-rgt-out_binary64 |
| 540× | associate-*r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 206 |
| 1 | 75 | 206 |
| 2 | 193 | 206 |
| 3 | 669 | 206 |
| 4 | 3687 | 206 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -1/270 (pow.f64 x 6)))) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -1/2835 (pow.f64 x 8)) (*.f64 -1/270 (pow.f64 x 6))))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 -1/18 (pow.f64 x 4) (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -1/18 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/18) 1/6))) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -1/270 (pow.f64 x 6)))) |
(fma.f64 -1/18 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (*.f64 -1/270 (pow.f64 x 6)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -1/18 (pow.f64 x 4) (*.f64 -1/270 (pow.f64 x 6)))) |
(+.f64 (*.f64 -1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -1/2835 (pow.f64 x 8)) (*.f64 -1/270 (pow.f64 x 6))))) |
(fma.f64 -1/18 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (fma.f64 -1/2835 (pow.f64 x 8) (*.f64 -1/270 (pow.f64 x 6))))) |
(fma.f64 -1/18 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (fma.f64 -1/270 (pow.f64 x 6) (*.f64 -1/2835 (pow.f64 x 8))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -1/18 (pow.f64 x 4) (fma.f64 -1/270 (pow.f64 x 6) (*.f64 -1/2835 (pow.f64 x 8))))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
(*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) |
(*.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3)))) |
(*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3))) |
(/.f64 1/6 (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) (cos.f64 x))) |
(/.f64 (cos.f64 x) (/.f64 (/.f64 (sin.f64 x) (pow.f64 x 3)) 1/6)) |
(*.f64 (pow.f64 x 3) (*.f64 (/.f64 1/6 (sin.f64 x)) (cos.f64 x))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) |
| ✓ | 0.0b | (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
| 3.1b | (-.f64 x (sin.f64 x)) |
Compiled 27 to 8 computations (70.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
| 2.0ms | x | @ | -inf | (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
| 1.0ms | x | @ | 0 | (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
| 1.0ms | x | @ | inf | (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) |
| 0.0ms | x | @ | -inf | (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) |
| 1× | batch-egg-rewrite |
| 432× | log-prod_binary64 |
| 402× | prod-diff_binary64 |
| 334× | exp-prod_binary64 |
| 268× | pow-prod-down_binary64 |
| 239× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 25 |
| 1 | 179 | 22 |
| 2 | 2513 | 22 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
(/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 x (tan.f64 x)) (/.f64 (sin.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -2)) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) -2) (/.f64 (-.f64 x (sin.f64 x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (/.f64 (-.f64 x (sin.f64 x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 (tan.f64 x))) (neg.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) -2) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (/.f64 (tan.f64 x) (cbrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (/.f64 (tan.f64 x) (sqrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 x (sin.f64 x))) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (*.f64 (tan.f64 x) (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (*.f64 (tan.f64 x) (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 x (sin.f64 x)) (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 x (sin.f64 x)) 1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (tan.f64 x)) (/.f64 1 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) -2) (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 x (sin.f64 x)) (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (cbrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) -1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (-.f64 x (sin.f64 x))) 1) (log.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (-.f64 x (sin.f64 x))) (*.f64 (log.f64 (tan.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (-.f64 x (sin.f64 x))) 1) (*.f64 (log.f64 (tan.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) -1/2) (log.f64 (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tan.f64 x) (/.f64 1 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) (cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 2)) (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 2)) (*.f64 (cbrt.f64 (tan.f64 x)) (/.f64 1 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (/.f64 1 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (tan.f64 x)) (/.f64 1 (neg.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 x (sin.f64 x))) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 2)) 1) (/.f64 (cbrt.f64 (tan.f64 x)) (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 x)) 1) (/.f64 (sqrt.f64 (tan.f64 x)) (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) -2) (/.f64 (tan.f64 x) (cbrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 2)) (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2)) (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (tan.f64 x)) (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2)) (/.f64 (sqrt.f64 (tan.f64 x)) (cbrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 x (sin.f64 x)) -1/2) (/.f64 (tan.f64 x) (sqrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 2)) (sqrt.f64 (-.f64 x (sin.f64 x)))) (/.f64 (cbrt.f64 (tan.f64 x)) (sqrt.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 x) (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))) (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (tan.f64 x) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))) (+.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (-.f64 x (sin.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 2)) (cbrt.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))) (sqrt.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (tan.f64 x) (neg.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (-.f64 x (sin.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 x)) 1) (log.f64 (-.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (tan.f64 x)) (*.f64 (log.f64 (-.f64 x (sin.f64 x))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (tan.f64 x)) 1) (*.f64 (log.f64 (-.f64 x (sin.f64 x))) 1))))))) |
| 1× | egg-herbie |
| 763× | associate-/l*_binary64 |
| 586× | associate-/r*_binary64 |
| 370× | fma-def_binary64 |
| 310× | fma-neg_binary64 |
| 309× | associate-*l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 89 | 574 |
| 1 | 257 | 562 |
| 2 | 825 | 550 |
| 3 | 3092 | 490 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (cos.f64 x)) (*.f64 -1 (/.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) x)))) |
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2))) (+.f64 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2)) (*.f64 -1 (*.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) (sin.f64 x))))) (pow.f64 x 2))) (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (cos.f64 x)) (*.f64 -1 (/.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) x))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x) (+.f64 (*.f64 -1 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x)) (*.f64 -1 (cos.f64 x))))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2))) (+.f64 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2)) (*.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) (sin.f64 x)))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x)) (+.f64 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x) (*.f64 -1 (cos.f64 x)))))) |
(/.f64 6 (pow.f64 x 2)) |
(+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 23/10 (+.f64 (*.f64 1271/1400 (pow.f64 x 2)) (*.f64 6 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 23/10 (+.f64 (*.f64 46187/126000 (pow.f64 x 4)) (+.f64 (*.f64 1271/1400 (pow.f64 x 2)) (*.f64 6 (/.f64 1 (pow.f64 x 2)))))) |
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (cos.f64 x) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))) |
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (cos.f64 x) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 1/6 (*.f64 x x))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 1/6 (*.f64 x x)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -143/604800 (pow.f64 x 8))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (cos.f64 x)) (*.f64 -1 (/.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) x)))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2))) (+.f64 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2)) (*.f64 -1 (*.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) (sin.f64 x))))) (pow.f64 x 2))) (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (cos.f64 x)) (*.f64 -1 (/.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) x))))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x) (+.f64 (*.f64 -1 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x)) (*.f64 -1 (cos.f64 x))))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (+.f64 (*.f64 -1 (/.f64 (+.f64 (*.f64 -1 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2))) (+.f64 (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) 2)) (*.f64 (+.f64 (*.f64 (cos.f64 x) (sin.f64 x)) (*.f64 -1 (*.f64 (cos.f64 x) (sin.f64 x)))) (sin.f64 x)))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x)) (+.f64 (/.f64 (*.f64 (cos.f64 x) (sin.f64 x)) x) (*.f64 -1 (cos.f64 x)))))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 23/10 (/.f64 6 (*.f64 x x))) |
(+.f64 23/10 (+.f64 (*.f64 1271/1400 (pow.f64 x 2)) (*.f64 6 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 23/10 (fma.f64 1271/1400 (*.f64 x x) (/.f64 6 (*.f64 x x)))) |
(+.f64 23/10 (fma.f64 (*.f64 x x) 1271/1400 (/.f64 6 (*.f64 x x)))) |
(+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) |
(+.f64 23/10 (+.f64 (*.f64 46187/126000 (pow.f64 x 4)) (+.f64 (*.f64 1271/1400 (pow.f64 x 2)) (*.f64 6 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 23/10 (fma.f64 46187/126000 (pow.f64 x 4) (fma.f64 1271/1400 (*.f64 x x) (/.f64 6 (*.f64 x x))))) |
(+.f64 23/10 (fma.f64 (pow.f64 x 4) 46187/126000 (fma.f64 (*.f64 x x) 1271/1400 (/.f64 6 (*.f64 x x))))) |
(+.f64 (fma.f64 x (*.f64 x 1271/1400) (/.f64 6 (*.f64 x x))) (fma.f64 (pow.f64 x 4) 46187/126000 23/10)) |
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) |
(/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x)))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x))))) |
(*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)))) |
(+.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3)))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 3))))) |
(+.f64 (*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (/.f64 (pow.f64 (/.f64 (sin.f64 x) x) 3) (cos.f64 x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (cos.f64 x) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))) |
(+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (pow.f64 x 4) (cos.f64 x)))) (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x))))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x)))) (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (pow.f64 x 4) (cos.f64 x)))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (/.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (cos.f64 x)) (pow.f64 x 4)) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 3)))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 x 4)) (*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x x)))))) |
(/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) |
(/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x)))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x))))) |
(*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)))) |
(+.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3)))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 3))))) |
(+.f64 (*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (/.f64 (pow.f64 (/.f64 (sin.f64 x) x) 3) (cos.f64 x))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (cos.f64 x) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (cos.f64 x) (pow.f64 x 2))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))) |
(+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (pow.f64 x 4) (cos.f64 x)))) (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (cos.f64 x))))) |
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (*.f64 (cos.f64 x) (pow.f64 x 3))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 x (cos.f64 x)))) (+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (/.f64 (pow.f64 (sin.f64 x) 4) (*.f64 (pow.f64 x 4) (cos.f64 x)))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (+.f64 (/.f64 (/.f64 (pow.f64 (sin.f64 x) 4) (cos.f64 x)) (pow.f64 x 4)) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 x 3)))))) |
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 x 4)) (*.f64 (+.f64 (/.f64 (sin.f64 x) x) 1) (/.f64 (sin.f64 x) (*.f64 x x)))))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 -1/120 (pow.f64 x 5)) |
| 0.1b | (*.f64 1/6 (pow.f64 x 3)) | |
| ✓ | 10.6b | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
Compiled 49 to 37 computations (24.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
| 0.0ms | x | @ | 0 | (*.f64 -1/120 (pow.f64 x 5)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/120 (pow.f64 x 5)) |
| 1× | batch-egg-rewrite |
| 624× | log-prod_binary64 |
| 354× | pow2_binary64 |
| 318× | fma-def_binary64 |
| 244× | expm1-udef_binary64 |
| 244× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 26 |
| 1 | 295 | 26 |
| 2 | 3633 | 26 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
(*.f64 -1/120 (pow.f64 x 5)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 2)) (*.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) 2) (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (*.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) (sqrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 2)) 1) (/.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) 1) (/.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) -2) (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 2)) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 3) (pow.f64 (tan.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (tan.f64 x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/120 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) -1/120)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) -1/120))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/120 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/120 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 1/14400) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/120 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/120) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 15) -1/1728000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 1/14400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/120 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 15) -1/1728000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/120 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/120 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log.f64 -1/120)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 -1/120)) 1)))))) |
| 1× | egg-herbie |
| 772× | unswap-sqr_binary64 |
| 742× | distribute-lft-out_binary64 |
| 719× | associate-*l*_binary64 |
| 627× | distribute-rgt-out_binary64 |
| 604× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 308 |
| 1 | 92 | 308 |
| 2 | 236 | 308 |
| 3 | 809 | 260 |
| 4 | 4306 | 260 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -1/1080 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -19/113400 (pow.f64 x 8)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -1/1080 (pow.f64 x 6))))) |
(*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -1/1080 (pow.f64 x 6)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -1/1080 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -1/1080 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -19/113400 (pow.f64 x 8)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -1/1080 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -19/113400 (pow.f64 x 8) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -1/1080 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -1/1080 (pow.f64 x 6) (*.f64 -19/113400 (pow.f64 x 8))))) |
(fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -1/1080 (pow.f64 x 6) (fma.f64 -19/113400 (pow.f64 x 8) (*.f64 1/6 (*.f64 x x))))) |
(*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x))) |
(*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5)))) |
(*.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5))) |
(/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x)) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
(*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x))) |
(*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5)))) |
(*.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5))) |
(/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x)) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 3)) (sin.f64 x))) (*.f64 -1/120 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 5)) (sin.f64 x)))) |
(fma.f64 1/6 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 3))) (*.f64 -1/120 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (pow.f64 x 5))))) |
(fma.f64 -1/120 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 5)) (*.f64 1/6 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 3) (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 (*.f64 (pow.f64 x 5) (*.f64 -1/120 (cos.f64 x))) (sin.f64 x))) |
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (+.f64 (*.f64 -1/120 (pow.f64 x 5)) (*.f64 1/6 (pow.f64 x 3)))) |
Compiled 7246 to 4445 computations (38.7% saved)
20 alts after pruning (18 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 404 | 14 | 418 |
| Fresh | 3 | 4 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 3 | 2 | 5 |
| Total | 411 | 20 | 431 |
| Status | Error | Program |
|---|---|---|
| 1.3b | (pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) | |
| 33.7b | (*.f64 (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (cbrt.f64 (tan.f64 x)))) | |
| ▶ | 0.4b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| ▶ | 0.7b | (*.f64 x (*.f64 1/6 x)) |
| ▶ | 28.9b | (*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| 15.9b | (sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) | |
| ✓ | 28.9b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ✓ | 0.7b | (*.f64 1/6 (*.f64 x x)) |
| 0.8b | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) | |
| 28.9b | (/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) | |
| 1.3b | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) | |
| ▶ | 0.3b | (+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
| 29.1b | (-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) | |
| 1.2b | (pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) | |
| ▶ | 28.9b | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| 1.2b | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) | |
| 1.5b | (pow.f64 (/.f64 6 (*.f64 x x)) -1) | |
| 0.3b | (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) | |
| 29.4b | (/.f64 (exp.f64 (log.f64 (-.f64 x (sin.f64 x)))) (tan.f64 x)) | |
| 28.9b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 444 to 327 computations (26.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 -143/604800 (pow.f64 x 8)) | |
| 0.0b | (*.f64 -11/15120 (pow.f64 x 6)) | |
| 0.1b | (*.f64 -23/360 (pow.f64 x 4)) | |
| 0.2b | (*.f64 1/6 (*.f64 x x)) |
Compiled 102 to 76 computations (25.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (*.f64 1/6 x)) |
| ✓ | 0.3b | (*.f64 1/6 x) |
Compiled 11 to 7 computations (36.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 1/6 x) |
| 0.0ms | x | @ | inf | (*.f64 1/6 x) |
| 0.0ms | x | @ | -inf | (*.f64 1/6 x) |
| 0.0ms | x | @ | 0 | (*.f64 x (*.f64 1/6 x)) |
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 1/6 x)) |
| 1× | batch-egg-rewrite |
| 446× | pow1_binary64 |
| 432× | add-sqr-sqrt_binary64 |
| 423× | *-un-lft-identity_binary64 |
| 413× | add-log-exp_binary64 |
| 413× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 1 | 101 | 11 |
| 2 | 1133 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 x) |
(*.f64 x (*.f64 1/6 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) 1/6))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 1/6)) (cbrt.f64 (pow.f64 (exp.f64 x) 1/6)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x))) (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 441× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 23 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 331 | 84 |
| 6 | 1250 | 84 |
| 7 | 2123 | 84 |
| 8 | 2287 | 84 |
| 9 | 2471 | 84 |
| 10 | 2679 | 84 |
| 11 | 2976 | 84 |
| 12 | 3371 | 84 |
| 13 | 3852 | 84 |
| 14 | 4418 | 84 |
| 15 | 5102 | 84 |
| 16 | 5935 | 84 |
| 17 | 6327 | 84 |
| 18 | 6619 | 84 |
| 19 | 6895 | 84 |
| 20 | 6969 | 84 |
| 21 | 7003 | 84 |
| 22 | 7944 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| ✓ | 0.3b | (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) |
Compiled 31 to 16 computations (48.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) |
| 0.0ms | x | @ | -inf | (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) |
| 0.0ms | x | @ | 0 | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| 1× | batch-egg-rewrite |
| 722× | pow1_binary64 |
| 673× | add-log-exp_binary64 |
| 673× | log1p-expm1-u_binary64 |
| 673× | expm1-log1p-u_binary64 |
| 660× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 25 |
| 1 | 163 | 25 |
| 2 | 1856 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x -23/360))) (*.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -23/360 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 (*.f64 x x) -23/360 1/6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -23/360 1/6) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -23/360))) (*.f64 (*.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -23/360 1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (fma.f64 (*.f64 x x) -23/360 1/6) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 (*.f64 x x) -23/360 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 (*.f64 x x) -23/360 1/6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))))))))) |
| 1× | egg-herbie |
| 957× | sqr-pow_binary64 |
| 803× | unswap-sqr_binary64 |
| 635× | cube-prod_binary64 |
| 536× | fabs-mul_binary64 |
| 385× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 264 |
| 1 | 38 | 264 |
| 2 | 76 | 264 |
| 3 | 181 | 264 |
| 4 | 601 | 264 |
| 5 | 1169 | 264 |
| 6 | 2602 | 264 |
| 7 | 2721 | 264 |
| 8 | 2895 | 264 |
| 9 | 3110 | 264 |
| 10 | 3395 | 264 |
| 11 | 3769 | 264 |
| 12 | 4217 | 264 |
| 13 | 4769 | 264 |
| 14 | 5459 | 264 |
| 15 | 5920 | 264 |
| 16 | 6227 | 264 |
| 17 | 6495 | 264 |
| 18 | 6703 | 264 |
| 19 | 6889 | 264 |
| 20 | 7672 | 264 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 x) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 -23/360 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 -23/360 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 1/6 x) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(*.f64 -23/360 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(*.f64 -23/360 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 x) (*.f64 -23/360 (pow.f64 x 3))) |
(fma.f64 1/6 x (*.f64 -23/360 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| ✓ | 0.0b | (/.f64 x (sin.f64 x)) |
| ✓ | 3.1b | (+.f64 (/.f64 x (sin.f64 x)) -1) |
Compiled 26 to 10 computations (61.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| 1.0ms | x | @ | -inf | (/.f64 x (sin.f64 x)) |
| 1.0ms | x | @ | 0 | (+.f64 (/.f64 x (sin.f64 x)) -1) |
| 1.0ms | x | @ | inf | (+.f64 (/.f64 x (sin.f64 x)) -1) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 x (sin.f64 x)) -1) |
| 1× | batch-egg-rewrite |
| 446× | log-prod_binary64 |
| 351× | prod-exp_binary64 |
| 339× | exp-prod_binary64 |
| 310× | prod-diff_binary64 |
| 294× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 29 |
| 1 | 175 | 29 |
| 2 | 2466 | 29 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(/.f64 x (sin.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (+.f64 (/.f64 x (sin.f64 x)) 1)) (/.f64 1 (+.f64 (/.f64 x (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 x (sin.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (pow.f64 (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 2) (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (sqrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3)) (/.f64 1 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1) (/.f64 1 (+.f64 (/.f64 x (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) 1) (-.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x)))) (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 x (sin.f64 x)) 1) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3)) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3)) (+.f64 1 (-.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (/.f64 -1 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1) (+.f64 (/.f64 x (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3))) (neg.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1)) (neg.f64 (+.f64 (/.f64 x (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (/.f64 x (sin.f64 x)) 2)) (-.f64 -1 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x)))) (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (/.f64 x (sin.f64 x)) 1) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))) 2)) (cbrt.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))) (sqrt.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log.f64 (/.f64 x (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (/.f64 1 (sin.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (sin.f64 x)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 x (sin.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2) (cbrt.f64 (/.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) (sqrt.f64 (/.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) (/.f64 1 (neg.f64 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (sin.f64 x)) x -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (sin.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (sin.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) -2) (/.f64 x (cbrt.f64 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (/.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (sin.f64 x) -1/2) (/.f64 x (sqrt.f64 (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (sin.f64 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (sin.f64 x))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 x (sin.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (sin.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (sin.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2) (cbrt.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) (sqrt.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) -2) (/.f64 x (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) -1/2) (/.f64 x (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (sin.f64 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sin.f64 x) x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sin.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (sin.f64 x) x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 x (sin.f64 x)))) 2)) (cbrt.f64 (log.f64 (/.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 x (sin.f64 x))))) (sqrt.f64 (log.f64 (/.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sin.f64 x) x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 x (sin.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 x (sin.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sin.f64 x) x) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sin.f64 x) x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 x (sin.f64 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 x (sin.f64 x))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (*.f64 (log.f64 (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (sin.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (neg.f64 (log.f64 (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (log.f64 (sin.f64 x))) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 1) (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (cos.f64 x))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (cos.f64 x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2) (-.f64 (pow.f64 (neg.f64 (cos.f64 x)) 2) (*.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2) (pow.f64 (neg.f64 (cos.f64 x)) 2)) (-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3)) (cos.f64 x)) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1) (cos.f64 x)) (+.f64 (/.f64 x (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 x) (+.f64 -1 (pow.f64 (/.f64 (sin.f64 x) x) -3))) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) (-.f64 1 (/.f64 -1 (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 x) (+.f64 (pow.f64 (/.f64 x (sin.f64 x)) 2) -1)) (+.f64 (/.f64 x (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))) 2)) (cbrt.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))))) (sqrt.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (+.f64 (/.f64 x (sin.f64 x)) -1) (cos.f64 x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1) (log.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) (*.f64 (log.f64 (cos.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1) (*.f64 (log.f64 (cos.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 x)) 1) (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 x)) (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 x)) 1) (*.f64 (log.f64 (+.f64 (/.f64 x (sin.f64 x)) -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (/.f64 1 (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (sin.f64 x)) (cos.f64 x) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (cos.f64 x) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) (/.f64 x (sin.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) -1 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (*.f64 (cbrt.f64 (cos.f64 x)) (/.f64 x (sin.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (*.f64 (cbrt.f64 (cos.f64 x)) -1) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2) (*.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 x (sin.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (*.f64 (sqrt.f64 (cos.f64 x)) -1) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) (*.f64 (sqrt.f64 (/.f64 x (sin.f64 x))) (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 1 (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) 2) (cbrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 (cos.f64 x))) 2) (cbrt.f64 (neg.f64 (cos.f64 x))) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (cos.f64 x))) (sqrt.f64 (neg.f64 (cos.f64 x))) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 x) x) (/.f64 1 (sin.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (cbrt.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (/.f64 x (sin.f64 x)) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 x) (pow.f64 (cbrt.f64 (/.f64 x (sin.f64 x))) 2)) (cbrt.f64 (/.f64 x (sin.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 x) (sqrt.f64 (/.f64 x (sin.f64 x)))) (sqrt.f64 (/.f64 x (sin.f64 x))) (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (cbrt.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (sqrt.f64 (cos.f64 x))) (sqrt.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) |
| 1× | egg-herbie |
| 899× | distribute-rgt-out_binary64 |
| 744× | fma-def_binary64 |
| 563× | associate-*l*_binary64 |
| 522× | distribute-lft-in_binary64 |
| 431× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 384 |
| 1 | 123 | 370 |
| 2 | 280 | 370 |
| 3 | 849 | 358 |
| 4 | 3683 | 358 |
| 5 | 5743 | 358 |
| 6 | 7270 | 358 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 31/15120 (pow.f64 x 6)))) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 127/604800 (pow.f64 x 8)) (*.f64 31/15120 (pow.f64 x 6))))) |
(/.f64 x (sin.f64 x)) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(/.f64 x (sin.f64 x)) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
1 |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 31/15120 (pow.f64 x 6))))) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 7/360 (pow.f64 x 4) (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 7/360 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x 7/360) 1/6)) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 31/15120 (pow.f64 x 6)))) |
(fma.f64 7/360 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (*.f64 31/15120 (pow.f64 x 6)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 7/360 (pow.f64 x 4) (*.f64 31/15120 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 7/360) 1/6) (*.f64 31/15120 (pow.f64 x 6))) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 127/604800 (pow.f64 x 8)) (*.f64 31/15120 (pow.f64 x 6))))) |
(fma.f64 7/360 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (fma.f64 127/604800 (pow.f64 x 8) (*.f64 31/15120 (pow.f64 x 6))))) |
(fma.f64 7/360 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (fma.f64 31/15120 (pow.f64 x 6) (*.f64 127/604800 (pow.f64 x 8))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 7/360 (pow.f64 x 4) (fma.f64 31/15120 (pow.f64 x 6) (*.f64 127/604800 (pow.f64 x 8))))) |
(/.f64 x (sin.f64 x)) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(/.f64 x (sin.f64 x)) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
(-.f64 (/.f64 x (sin.f64 x)) 1) |
(+.f64 (/.f64 x (sin.f64 x)) -1) |
1 |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 1) |
(fma.f64 1/6 (*.f64 x x) 1) |
(fma.f64 x (*.f64 1/6 x) 1) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(fma.f64 7/360 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) 1)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 7/360 (pow.f64 x 4) 1)) |
(+.f64 (*.f64 7/360 (pow.f64 x 4)) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 31/15120 (pow.f64 x 6))))) |
(fma.f64 7/360 (pow.f64 x 4) (+.f64 (fma.f64 1/6 (*.f64 x x) 1) (*.f64 31/15120 (pow.f64 x 6)))) |
(fma.f64 7/360 (pow.f64 x 4) (fma.f64 1/6 (*.f64 x x) (fma.f64 31/15120 (pow.f64 x 6) 1))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 7/360 (pow.f64 x 4) (fma.f64 31/15120 (pow.f64 x 6) 1))) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 (pow.f64 x 4) -23/360)) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -23/360))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 (pow.f64 x 4) -23/360 (*.f64 (pow.f64 x 6) -11/15120))) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -23/360)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 (pow.f64 x 8) -143/604800 (fma.f64 (pow.f64 x 4) -23/360 (*.f64 (pow.f64 x 6) -11/15120)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (pow.f64 x 8) -143/604800))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) |
(*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) |
(*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x)) |
(-.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
| ✓ | 0.0b | (*.f64 (cos.f64 x) x) |
| ✓ | 3.3b | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
Compiled 34 to 11 computations (67.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| 1.0ms | x | @ | -inf | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| 1.0ms | x | @ | -inf | (*.f64 (cos.f64 x) x) |
| 1.0ms | x | @ | inf | (+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
| 1.0ms | x | @ | -inf | (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
| 1× | batch-egg-rewrite |
| 981× | pow1_binary64 |
| 912× | add-log-exp_binary64 |
| 912× | log1p-expm1-u_binary64 |
| 912× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 1 | 192 | 33 |
| 2 | 2925 | 33 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(*.f64 (cos.f64 x) x) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 2) (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 1 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) (cbrt.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2)) (cbrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) (sqrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3)) (/.f64 1 (-.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (sqrt.f64 (cos.f64 x))) (-.f64 (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x))) (+.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3)) (-.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3)) (+.f64 (pow.f64 (cos.f64 x) 2) (-.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3))) (neg.f64 (-.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2)) (neg.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) (pow.f64 (cos.f64 x) 3)) (-.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (/.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (sin.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 2)) (-.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (exp.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) -1 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 x)) (/.f64 1 (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (cos.f64 x)) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 (cos.f64 x)) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 x (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 x (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (pow.f64 (exp.f64 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (cos.f64 x) (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (/.f64 1 (/.f64 (sin.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (*.f64 x (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 x)) (/.f64 1 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cos.f64 x)) (/.f64 1 (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (pow.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2) (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) 2) (*.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) (*.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) (/.f64 1 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sin.f64 x)) (*.f64 x (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (cos.f64 x) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 x) 1) (/.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) 1) (/.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 (cos.f64 x) (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 x) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 x (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 (*.f64 x (cos.f64 x)) (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) 2) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (/.f64 (sqrt.f64 (*.f64 x (cos.f64 x))) (cbrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sqrt.f64 (sin.f64 x))) (/.f64 (cos.f64 x) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 x) (sqrt.f64 (sin.f64 x))) (/.f64 x (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (sin.f64 x))) (/.f64 (*.f64 x (cos.f64 x)) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) 2) (sqrt.f64 (sin.f64 x))) (/.f64 (cbrt.f64 (*.f64 x (cos.f64 x))) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x))))))) |
| 1× | egg-herbie |
| 936× | distribute-lft-out_binary64 |
| 905× | fma-def_binary64 |
| 381× | unswap-sqr_binary64 |
| 378× | associate-/r*_binary64 |
| 336× | associate-+l+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 188 |
| 1 | 141 | 186 |
| 2 | 334 | 184 |
| 3 | 1052 | 184 |
| 4 | 2734 | 184 |
| 5 | 4621 | 184 |
| 6 | 5481 | 184 |
| 7 | 6522 | 184 |
| 8 | 7632 | 184 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/24 (pow.f64 x 5)) (+.f64 (*.f64 -1/2 (pow.f64 x 3)) x)) |
(+.f64 (*.f64 1/24 (pow.f64 x 5)) (+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 -1/720 (pow.f64 x 7)) x))) |
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 -1/45 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -1/45 (pow.f64 x 4)) (*.f64 -2/945 (pow.f64 x 6))))) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 1/6 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -23/360) 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))) |
(fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 -143/604800 (pow.f64 x 8) (*.f64 1/6 (*.f64 x x))))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -143/604800 (pow.f64 x 8)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) x) |
(fma.f64 -1/2 (pow.f64 x 3) x) |
(+.f64 (*.f64 1/24 (pow.f64 x 5)) (+.f64 (*.f64 -1/2 (pow.f64 x 3)) x)) |
(fma.f64 1/24 (pow.f64 x 5) (fma.f64 -1/2 (pow.f64 x 3) x)) |
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 1/24 (pow.f64 x 5) x)) |
(+.f64 (*.f64 1/24 (pow.f64 x 5)) (+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 -1/720 (pow.f64 x 7)) x))) |
(fma.f64 1/24 (pow.f64 x 5) (fma.f64 -1/2 (pow.f64 x 3) (fma.f64 -1/720 (pow.f64 x 7) x))) |
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 1/24 (pow.f64 x 5) (fma.f64 -1/720 (pow.f64 x 7) x))) |
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 -1/720 (pow.f64 x 7) (fma.f64 1/24 (pow.f64 x 5) x))) |
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(fma.f64 -1/3 (*.f64 x x) 1) |
(fma.f64 (*.f64 x x) -1/3 1) |
(fma.f64 x (*.f64 x -1/3) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 -1/45 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/3 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) -1/45)) |
(fma.f64 (*.f64 x x) -1/3 (fma.f64 (pow.f64 x 4) -1/45 1)) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 4) -1/45 1)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -1/45 (pow.f64 x 4)) (*.f64 -2/945 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/3 (*.f64 x x) 1) (fma.f64 -1/45 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -2/945))) |
(+.f64 (fma.f64 (*.f64 x x) -1/3 1) (fma.f64 (pow.f64 x 4) -1/45 (*.f64 (pow.f64 x 6) -2/945))) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 4) -1/45 (fma.f64 (pow.f64 x 6) -2/945 1))) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 6) -2/945 (fma.f64 (pow.f64 x 4) -1/45 1))) |
(fma.f64 (pow.f64 x 4) -1/45 (fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 6) -2/945 1))) |
Compiled 7901 to 4189 computations (47% saved)
22 alts after pruning (17 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 453 | 7 | 460 |
| Fresh | 3 | 10 | 13 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 5 | 6 |
| Total | 458 | 22 | 480 |
| Status | Error | Program |
|---|---|---|
| 1.2b | (pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) | |
| ▶ | 28.9b | (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
| ▶ | 0.3b | (fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
| 1.3b | (pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) | |
| 33.7b | (*.f64 (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (cbrt.f64 (tan.f64 x)))) | |
| ✓ | 0.7b | (*.f64 x (*.f64 1/6 x)) |
| 0.4b | (*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) | |
| 29.4b | (/.f64 (exp.f64 (log.f64 (-.f64 x (sin.f64 x)))) (tan.f64 x)) | |
| ▶ | 28.2b | (*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| ✓ | 28.9b | (*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| 15.9b | (sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) | |
| ✓ | 28.9b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ✓ | 0.7b | (*.f64 1/6 (*.f64 x x)) |
| 0.8b | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) | |
| 28.9b | (/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) | |
| 29.1b | (-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) | |
| ✓ | 0.3b | (+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
| ▶ | 1.2b | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
| 1.5b | (pow.f64 (/.f64 6 (*.f64 x x)) -1) | |
| 29.0b | (-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) | |
| ▶ | 1.3b | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| 28.9b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 456 to 337 computations (26.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
| ✓ | 0.6b | (*.f64 x -23/360) |
Compiled 46 to 28 computations (39.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x -23/360) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
| 0.0ms | x | @ | -inf | (*.f64 x -23/360) |
| 1× | batch-egg-rewrite |
| 735× | pow1_binary64 |
| 685× | add-log-exp_binary64 |
| 685× | log1p-expm1-u_binary64 |
| 685× | expm1-log1p-u_binary64 |
| 670× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 164 | 18 |
| 2 | 1885 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x -23/360) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x -23/360)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x -23/360) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x -23/360) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x -23/360)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x -23/360)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 529/129600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) -23/360))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x -23/360) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x -23/360)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x -23/360)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x -23/360))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -23/360))) (*.f64 (*.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -23/360) 1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (fma.f64 x (*.f64 x -23/360) 1/6) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -23/360) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -23/360) 1/6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -23/360) 1/6) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)))))))) |
| 1× | egg-herbie |
| 1076× | sqr-pow_binary64 |
| 670× | fma-def_binary64 |
| 511× | pow-sqr_binary64 |
| 446× | cube-prod_binary64 |
| 439× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 195 |
| 1 | 24 | 195 |
| 2 | 47 | 195 |
| 3 | 116 | 195 |
| 4 | 375 | 195 |
| 5 | 1458 | 195 |
| 6 | 2772 | 195 |
| 7 | 3304 | 195 |
| 8 | 3494 | 195 |
| 9 | 3705 | 195 |
| 10 | 3986 | 195 |
| 11 | 4351 | 195 |
| 12 | 4837 | 195 |
| 13 | 5366 | 195 |
| 14 | 5996 | 195 |
| 15 | 6747 | 195 |
| 16 | 7061 | 195 |
| 17 | 7285 | 195 |
| 18 | 7487 | 195 |
| 19 | 7545 | 195 |
| 20 | 7567 | 195 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 -23/360 x) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(*.f64 -23/360 (pow.f64 x 4)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 x (*.f64 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 -23/360 (*.f64 x x) 1/6)) |
(*.f64 x (*.f64 x (fma.f64 -23/360 (*.f64 x x) 1/6))) |
(*.f64 x (fma.f64 -23/360 (pow.f64 x 3) (*.f64 x 1/6))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| 0.3b | (*.f64 1/6 x) | |
| ✓ | 6.6b | (-.f64 (+.f64 1 (*.f64 1/6 x)) 1) |
Compiled 28 to 22 computations (21.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (*.f64 1/6 x)) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (*.f64 1/6 x)) 1) |
| 0.0ms | x | @ | -inf | (*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (*.f64 1/6 x)) 1) |
| 0.0ms | x | @ | inf | (*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| 1× | batch-egg-rewrite |
| 837× | pow1_binary64 |
| 786× | add-log-exp_binary64 |
| 786× | log1p-expm1-u_binary64 |
| 786× | expm1-log1p-u_binary64 |
| 774× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 23 |
| 1 | 176 | 11 |
| 2 | 2418 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/6 x)) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 1/6 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 1/6 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/6 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/6 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 1/6 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/6 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/6 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 x)) (pow.f64 (cbrt.f64 (*.f64 1/6 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/6 x)) 2) (cbrt.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/6 x)) (sqrt.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1) (/.f64 1 (+.f64 (*.f64 1/6 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 1/6 x 1)) 1) (-.f64 (sqrt.f64 (fma.f64 1/6 x 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2)) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/6 x) 2) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (-.f64 1 (*.f64 (fma.f64 1/6 x 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1) (+.f64 (*.f64 1/6 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1) (-.f64 (fma.f64 1/6 x 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1)) (neg.f64 (+.f64 (*.f64 1/6 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 1/6 x -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 1/6 x -1) (fma.f64 1/6 x -1)) (fma.f64 1/6 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 1/6 x -1) (fma.f64 1/6 x -1))) (-.f64 1 (fma.f64 1/6 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/216 (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/36 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/6) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/216 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/6 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/6 x 1)) 2) (cbrt.f64 (fma.f64 1/6 x 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/6 x 1)) (sqrt.f64 (fma.f64 1/6 x 1)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (fma.f64 1/6 x -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (fma.f64 1/6 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 1/6 x 1) x) (*.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 1/6 x 1)) (*.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1) x) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1) x) (+.f64 (*.f64 1/6 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (fma.f64 1/6 x 1) 3) -1)) (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) (+.f64 (*.f64 1/6 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (fma.f64 1/6 x 1) 2) -1)) (+.f64 (*.f64 1/6 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 1/6 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 1/6 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 1/6 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 1/6 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 1/6 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 1/6) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 1/6 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 1/216 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 1/216 (pow.f64 x 3)) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 1/6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 1/6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 1/6 x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 553× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 443× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 132 |
| 1 | 14 | 132 |
| 2 | 23 | 132 |
| 3 | 42 | 132 |
| 4 | 102 | 132 |
| 5 | 321 | 132 |
| 6 | 1252 | 132 |
| 7 | 2126 | 132 |
| 8 | 2290 | 132 |
| 9 | 2474 | 132 |
| 10 | 2682 | 132 |
| 11 | 2978 | 132 |
| 12 | 3371 | 132 |
| 13 | 3852 | 132 |
| 14 | 4418 | 132 |
| 15 | 5106 | 132 |
| 16 | 5941 | 132 |
| 17 | 6333 | 132 |
| 18 | 6623 | 132 |
| 19 | 6895 | 132 |
| 20 | 6967 | 132 |
| 21 | 7003 | 132 |
| 22 | 7944 | 132 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 6 (*.f64 x x)) |
| ✓ | 0.9b | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
Compiled 29 to 17 computations (41.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
| 0.0ms | x | @ | inf | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
| 0.0ms | x | @ | 0 | (/.f64 6 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 6 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
| 1× | batch-egg-rewrite |
| 963× | pow1_binary64 |
| 912× | add-log-exp_binary64 |
| 912× | log1p-expm1-u_binary64 |
| 912× | expm1-log1p-u_binary64 |
| 99× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 202 | 18 |
| 2 | 2475 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(/.f64 6 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10))) (cbrt.f64 (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -2)) (/.f64 1 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -1/2) (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) -1) (pow.f64 (sqrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 12167/1000 (*.f64 216 (pow.f64 (pow.f64 x -2) 3)))) (+.f64 529/100 (-.f64 (/.f64 36 (pow.f64 x 4)) (*.f64 69/5 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 529/100 (/.f64 36 (pow.f64 x 4)))) (+.f64 23/10 (*.f64 -6 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (fma.f64 6 (pow.f64 x -2) 23/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 6 (pow.f64 x -2) 23/10) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -1/2) (sqrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) 2)) (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 6 (pow.f64 x -2) 23/10) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 6 (pow.f64 x -2) 23/10))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 6 (pow.f64 x -2) 23/10)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 6 (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 6 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 6 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 6 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 6 (pow.f64 x -2))) (cbrt.f64 (/.f64 36 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 36 (pow.f64 x 4))) (cbrt.f64 (*.f64 6 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 6) x) (/.f64 (sqrt.f64 6) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -6 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 6 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 6 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 6 (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 6) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 216 (pow.f64 (pow.f64 x -2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/6) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 36 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 6) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 6 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 216 (pow.f64 (pow.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 6 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 6 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 6 (pow.f64 x -2)))))))) |
| 1× | egg-herbie |
| 611× | times-frac_binary64 |
| 478× | distribute-lft-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 402× | associate-/l/_binary64 |
| 401× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 270 |
| 1 | 101 | 270 |
| 2 | 248 | 270 |
| 3 | 725 | 270 |
| 4 | 3121 | 270 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 529/21600 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -12167/1296000 (pow.f64 x 8)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 529/21600 (pow.f64 x 6))))) |
10/23 |
(-.f64 10/23 (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 2160000/279841 (/.f64 1 (pow.f64 x 6))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2))))) |
10/23 |
(-.f64 10/23 (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 2160000/279841 (/.f64 1 (pow.f64 x 6))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2))))) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 -23/360 (pow.f64 x 4) (*.f64 1/6 (*.f64 x x))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 529/21600 (pow.f64 x 6)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 529/21600 (pow.f64 x 6)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 529/21600 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (*.f64 529/21600 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -12167/1296000 (pow.f64 x 8)) (+.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 529/21600 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -12167/1296000 (pow.f64 x 8) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 529/21600 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (fma.f64 529/21600 (pow.f64 x 6) (*.f64 -12167/1296000 (pow.f64 x 8))))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -12167/1296000 -23/360) (fma.f64 529/21600 (pow.f64 x 6) (*.f64 1/6 (*.f64 x x)))) |
10/23 |
(-.f64 10/23 (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 10/23 (/.f64 600/529 (*.f64 x x))) |
(+.f64 10/23 (/.f64 -600/529 (*.f64 x x))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 10/23 (-.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 600/529 (*.f64 x x)))) |
(+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 10/23 (/.f64 -600/529 (*.f64 x x)))) |
(+.f64 10/23 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 -600/529 (*.f64 x x)))) |
(+.f64 (+.f64 10/23 (/.f64 -600/529 (*.f64 x x))) (/.f64 36000/12167 (pow.f64 x 4))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 2160000/279841 (/.f64 1 (pow.f64 x 6))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 10/23 (-.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 (/.f64 600/529 (*.f64 x x)) (/.f64 2160000/279841 (pow.f64 x 6))))) |
(+.f64 (/.f64 -600/529 (*.f64 x x)) (+.f64 (+.f64 10/23 (/.f64 36000/12167 (pow.f64 x 4))) (/.f64 -2160000/279841 (pow.f64 x 6)))) |
(+.f64 10/23 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 (/.f64 -600/529 (*.f64 x x)) (/.f64 -2160000/279841 (pow.f64 x 6))))) |
(+.f64 10/23 (-.f64 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 -600/529 (*.f64 x x))) (/.f64 2160000/279841 (pow.f64 x 6)))) |
10/23 |
(-.f64 10/23 (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 10/23 (/.f64 600/529 (*.f64 x x))) |
(+.f64 10/23 (/.f64 -600/529 (*.f64 x x))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 10/23 (-.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 600/529 (*.f64 x x)))) |
(+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 10/23 (/.f64 -600/529 (*.f64 x x)))) |
(+.f64 10/23 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 -600/529 (*.f64 x x)))) |
(+.f64 (+.f64 10/23 (/.f64 -600/529 (*.f64 x x))) (/.f64 36000/12167 (pow.f64 x 4))) |
(-.f64 (+.f64 10/23 (*.f64 36000/12167 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 2160000/279841 (/.f64 1 (pow.f64 x 6))) (*.f64 600/529 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 10/23 (-.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 (/.f64 600/529 (*.f64 x x)) (/.f64 2160000/279841 (pow.f64 x 6))))) |
(+.f64 (/.f64 -600/529 (*.f64 x x)) (+.f64 (+.f64 10/23 (/.f64 36000/12167 (pow.f64 x 4))) (/.f64 -2160000/279841 (pow.f64 x 6)))) |
(+.f64 10/23 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (+.f64 (/.f64 -600/529 (*.f64 x x)) (/.f64 -2160000/279841 (pow.f64 x 6))))) |
(+.f64 10/23 (-.f64 (+.f64 (/.f64 36000/12167 (pow.f64 x 4)) (/.f64 -600/529 (*.f64 x x))) (/.f64 2160000/279841 (pow.f64 x 6)))) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
(/.f64 6 (pow.f64 x 2)) |
(/.f64 6 (*.f64 x x)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (*.f64 1/6 (*.f64 x x)) | |
| ✓ | 0.4b | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| ✓ | 30.9b | (cbrt.f64 (*.f64 1/6 (*.f64 x x))) |
Compiled 26 to 14 computations (46.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (*.f64 1/6 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| 1.0ms | x | @ | inf | (cbrt.f64 (*.f64 1/6 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 603× | pow1_binary64 |
| 569× | add-log-exp_binary64 |
| 569× | log1p-expm1-u_binary64 |
| 569× | expm1-log1p-u_binary64 |
| 555× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 170 | 16 |
| 2 | 1652 | 16 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 1/6 (*.f64 x x))) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/6) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) (cbrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) (pow.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))) (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (cbrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 1/3) (pow.f64 (*.f64 x (sqrt.f64 1/6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/6 x) 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 1/6 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 1/6) (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (cbrt.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/6)) (*.f64 x (sqrt.f64 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 1/6) 3) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4)))) 3) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) 3) (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) 1) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) (cbrt.f64 1/6)) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) (cbrt.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))))) (cbrt.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 1/36 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (sqrt.f64 1/6)))) (cbrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/6 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/6 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/36 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 x (sin.f64 x)) | |
| ✓ | 0.0b | (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
| ✓ | 3.1b | (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
Compiled 31 to 7 computations (77.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 943× | pow1_binary64 |
| 877× | add-log-exp_binary64 |
| 876× | log1p-expm1-u_binary64 |
| 876× | expm1-log1p-u_binary64 |
| 96× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 181 | 25 |
| 2 | 2819 | 25 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
(*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (cos.f64 x) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2) (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) (/.f64 (pow.f64 (cos.f64 x) 2) (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 0) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (/.f64 1 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) 2) (cbrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) (sqrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3)) (/.f64 1 (-.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (sqrt.f64 (cos.f64 x))) (-.f64 (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3)) (-.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3)) (+.f64 (pow.f64 (cos.f64 x) 2) (-.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3))) (neg.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2)) (neg.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) (pow.f64 (cos.f64 x) 3)) (-.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2) (*.f64 (/.f64 x (sin.f64 x)) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2)) (-.f64 (cos.f64 x) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 x (sin.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (sin.f64 x)) (cos.f64 x) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) (/.f64 x (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) 2) (cbrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 (cos.f64 x)) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (cos.f64 x) (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cos.f64 x) (/.f64 (sin.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (cos.f64 x)) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x (cos.f64 x))) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (cos.f64 x)) 1) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (cos.f64 x)) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (cos.f64 x)) (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) (cos.f64 x)) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 x) (neg.f64 x)) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 x)) (/.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 614× | distribute-lft-out_binary64 |
| 599× | distribute-rgt-out_binary64 |
| 536× | fma-def_binary64 |
| 488× | distribute-rgt-in_binary64 |
| 480× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 338 |
| 1 | 99 | 324 |
| 2 | 225 | 322 |
| 3 | 680 | 310 |
| 4 | 2943 | 310 |
| 5 | 5624 | 310 |
| 6 | 7719 | 310 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 -1/45 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -1/45 (pow.f64 x 4)) (*.f64 -2/945 (pow.f64 x 6))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -143/604800 (pow.f64 x 8))))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -143/604800 -23/360) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 1/6 (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -143/604800 -23/360) (fma.f64 1/6 (*.f64 x x) (*.f64 -11/15120 (pow.f64 x 6)))) |
(fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 -143/604800 (pow.f64 x 8) (*.f64 1/6 (*.f64 x x))))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(-.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (cos.f64 x)) |
(-.f64 (*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) (cos.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
1 |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) 1) |
(fma.f64 -1/3 (*.f64 x x) 1) |
(fma.f64 (*.f64 x x) -1/3 1) |
(fma.f64 x (*.f64 x -1/3) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (*.f64 -1/45 (pow.f64 x 4)))) |
(+.f64 (fma.f64 -1/3 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) -1/45)) |
(fma.f64 (*.f64 x x) -1/3 (fma.f64 (pow.f64 x 4) -1/45 1)) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 4) -1/45 1)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/45 -1/3) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -1/45 (pow.f64 x 4)) (*.f64 -2/945 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/3 (*.f64 x x) 1) (fma.f64 -1/45 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -2/945))) |
(+.f64 (fma.f64 (*.f64 x x) -1/3 1) (fma.f64 (pow.f64 x 4) -1/45 (*.f64 (pow.f64 x 6) -2/945))) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 6) -2/945 (fma.f64 (pow.f64 x 4) -1/45 1))) |
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 4) -1/45 (fma.f64 (pow.f64 x 6) -2/945 1))) |
(fma.f64 (pow.f64 x 6) -2/945 (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/45 -1/3) 1)) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) |
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) |
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x))) |
Compiled 5370 to 3219 computations (40.1% saved)
22 alts after pruning (14 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 381 | 6 | 387 |
| Fresh | 4 | 8 | 12 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 8 | 9 |
| Total | 387 | 22 | 409 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.2b | (pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
| 29.1b | (-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) | |
| 1.2b | (pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) | |
| ✓ | 0.7b | (*.f64 x (*.f64 1/6 x)) |
| 0.3b | (fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) | |
| 1.7b | (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) 2)) (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10))) | |
| 1.5b | (pow.f64 (/.f64 6 (*.f64 x x)) -1) | |
| 29.0b | (-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) | |
| 33.6b | (*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) | |
| 0.4b | (*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) | |
| 29.4b | (/.f64 (exp.f64 (log.f64 (-.f64 x (sin.f64 x)))) (tan.f64 x)) | |
| ✓ | 28.2b | (*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
| ✓ | 28.9b | (*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
| ✓ | 28.9b | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| ✓ | 0.7b | (*.f64 1/6 (*.f64 x x)) |
| 61.3b | 10/23 | |
| 0.8b | (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) | |
| 28.9b | (/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) | |
| ✓ | 0.3b | (+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
| 1.2b | (pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) | |
| ✓ | 1.3b | (pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
| 28.9b | (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
Compiled 250 to 185 computations (26% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) |
(sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) |
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) |
(pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
(+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (exp.f64 (log.f64 (-.f64 x (sin.f64 x)))) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3) |
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))) (tan.f64 x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10)) 2)) (cbrt.f64 (fma.f64 6 (pow.f64 x -2) 23/10))) |
(*.f64 (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 (sqrt.f64 1/6) (pow.f64 x 3/2)) (cbrt.f64 (tan.f64 x)))) |
| Outputs |
|---|
(+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
3 calls:
| 19.0ms | x |
| 4.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 469 to 293 computations (37.5% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) |
(sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) |
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) |
(pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
(+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
3 calls:
| 15.0ms | x |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 340 to 201 computations (40.9% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) |
(sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) |
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) |
(pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
(+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
| Outputs |
|---|
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
3 calls:
| 14.0ms | x |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 325 to 193 computations (40.6% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) |
(sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) |
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) |
(pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1) |
(+.f64 (*.f64 (/.f64 x (sin.f64 x)) (cos.f64 x)) (neg.f64 (cos.f64 x))) |
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x))) |
(/.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5))) (tan.f64 x)) |
| Outputs |
|---|
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
3 calls:
| 18.0ms | x |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 0.3b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 310 to 184 computations (40.6% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(pow.f64 (+.f64 23/10 (*.f64 (/.f64 6 x) (/.f64 1 x))) -1) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))) 1) |
(sqrt.f64 (*.f64 1/36 (pow.f64 x 4))) |
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) |
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3) |
(/.f64 (*.f64 1/6 (pow.f64 x 3)) (tan.f64 x)) |
(*.f64 (*.f64 (*.f64 1/6 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1)) |
(/.f64 1 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x)))) |
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x)))) |
(pow.f64 (+.f64 23/10 (*.f64 6 (/.f64 1 (pow.f64 x 2)))) -1) |
(pow.f64 (+.f64 (/.f64 6 (*.f64 x x)) (fma.f64 (*.f64 x x) 1271/1400 23/10)) -1) |
| Outputs |
|---|
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
3 calls:
| 13.0ms | x |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 3.0ms | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 1 | x |
| 0.4b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
| 0.4b | 1 | (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) |
Compiled 244 to 153 computations (37.3% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(pow.f64 (/.f64 6 (*.f64 x x)) -1) |
(pow.f64 (+.f64 23/10 (/.f64 6 (*.f64 x x))) -1) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6))) |
| Outputs |
|---|
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
1 calls:
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 1 | x |
Compiled 89 to 58 computations (34.8% saved)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 1/6 x))) 1) |
(*.f64 x (-.f64 (+.f64 1 (*.f64 1/6 x)) 1)) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
(-.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1) |
| Outputs |
|---|
(*.f64 1/6 (*.f64 x x)) |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.7b | 1 | x |
Compiled 50 to 35 computations (30% saved)
Total -60.6b remaining (-8245.5%)
Threshold costs -60.6b (-8245.5%)
| Inputs |
|---|
10/23 |
(*.f64 x (*.f64 1/6 x)) |
| Outputs |
|---|
(*.f64 x (*.f64 1/6 x)) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.7b | 1 | x |
Compiled 9 to 6 computations (33.3% saved)
| 1× | egg-herbie |
| 13× | *-commutative_binary64 |
| 6× | +-commutative_binary64 |
| 1× | +-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 153 |
| 1 | 59 | 153 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
10/23 |
| Outputs |
|---|
(+.f64 (+.f64 0 (*.f64 1/6 (*.f64 x x))) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 x x)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6))) |
(fma.f64 (pow.f64 x 6) -11/15120 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6))) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) (*.f64 x x)) (*.f64 1/6 (*.f64 x x)))) |
(fma.f64 (pow.f64 x 6) -11/15120 (+.f64 (*.f64 1/6 (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -23/360))))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6)) |
(*.f64 x (+.f64 (*.f64 (*.f64 x (*.f64 x -23/360)) x) (*.f64 1/6 x))) |
(*.f64 x (+.f64 (*.f64 x (*.f64 x (*.f64 x -23/360))) (*.f64 1/6 x))) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
10/23 |
Compiled 116 to 78 computations (32.8% saved)
Compiled 108 to 65 computations (39.8% saved)
Loading profile data...