Time bar (total: 8.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 49.6% | 50.4% | 0 |
| 49.6% | 0% | 50.4% | 1 |
Compiled 12 to 9 computations (25% saved)
| 3.7s | 4403× | body | 2048 | valid |
| 1.0s | 2067× | body | 1024 | valid |
| 253.0ms | 1035× | body | 512 | valid |
| 116.0ms | 751× | body | 256 | valid |
| 2× | egg-herbie |
| 8× | sub-neg_binary64 |
| 6× | fma-def_binary64 |
| 4× | +-commutative_binary64 |
| 3× | associate-+l-_binary64 |
| 3× | associate--r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 9 | 6 |
| 2 | 13 | 6 |
| 3 | 19 | 6 |
| 4 | 26 | 6 |
| 5 | 36 | 6 |
| 6 | 47 | 6 |
| 7 | 59 | 6 |
| 8 | 62 | 6 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
| 8× | sub-neg_binary64 |
| 6× | fma-def_binary64 |
| 4× | +-commutative_binary64 |
| 3× | associate-+l-_binary64 |
| 3× | associate--r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 9 | 6 |
| 2 | 13 | 6 |
| 3 | 19 | 6 |
| 4 | 26 | 6 |
| 5 | 36 | 6 |
| 6 | 47 | 6 |
| 7 | 59 | 6 |
| 8 | 62 | 6 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% 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 |
|---|---|---|
| ▶ | 29.6b | (-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 2.9b | (-.f64 1 (cos.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | -inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 517× | pow1_binary64 |
| 503× | add-sqr-sqrt_binary64 |
| 481× | add-log-exp_binary64 |
| 481× | log1p-expm1-u_binary64 |
| 481× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 102 | 6 |
| 2 | 1250 | 6 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (*.f64 (cos.f64 x) (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 601× | distribute-rgt-out_binary64 |
| 520× | sqr-pow_binary64 |
| 482× | associate-+l+_binary64 |
| 478× | distribute-lft-out_binary64 |
| 413× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 70 |
| 1 | 56 | 70 |
| 2 | 128 | 70 |
| 3 | 425 | 70 |
| 4 | 2012 | 70 |
| 5 | 4417 | 70 |
| 6 | 4794 | 70 |
| 7 | 5300 | 70 |
| 8 | 6290 | 70 |
| 9 | 7274 | 70 |
| 10 | 7713 | 70 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
Compiled 390 to 244 computations (37.4% saved)
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 30 | 6 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 30 | 7 | 37 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.6b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.0b | (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
| ▶ | 29.7b | (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
| ▶ | 0.1b | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| ▶ | 0.1b | (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| ▶ | 0.3b | (*.f64 1/2 (*.f64 x x)) |
| 0.0b | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
Compiled 125 to 90 computations (28% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| ✓ | 0.0b | (+.f64 1 (cos.f64 x)) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (sin.f64 x)) |
| ✓ | 0.0b | (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
Compiled 34 to 16 computations (52.9% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 1 (+.f64 1 (cos.f64 x))) |
| 1× | batch-egg-rewrite |
| 454× | log-prod_binary64 |
| 368× | prod-diff_binary64 |
| 340× | exp-prod_binary64 |
| 287× | pow-prod-down_binary64 |
| 241× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 1 | 202 | 27 |
| 2 | 2817 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(*.f64 (sin.f64 x) (sin.f64 x)) |
(+.f64 1 (cos.f64 x)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 -1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 2))) (cbrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (sqrt.f64 (cos.f64 x))) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/2 (+.f64 1 (cos.f64 x))) (/.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sin.f64 x) (/.f64 (+.f64 1 (cos.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 4) (/.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 (+.f64 x x))) (*.f64 (+.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (+.f64 -1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 1) (*.f64 2 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 (+.f64 x x))) -1) (*.f64 2 (+.f64 -1 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 1 (cos.f64 (+.f64 x x)))) (*.f64 (+.f64 -1 (neg.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (sqrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (sin.f64 x) 2) 1) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 (+.f64 x x))) (/.f64 1 (+.f64 1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (pow.f64 (sin.f64 x) 2)) (+.f64 -1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (sin.f64 x) 2) -1) (+.f64 -1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (-.f64 1 (cos.f64 (+.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (sin.f64 x) 6) (pow.f64 (+.f64 1 (cos.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) 2)) (cbrt.f64 (log1p.f64 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log1p.f64 (neg.f64 (cos.f64 x))))) (sqrt.f64 (log1p.f64 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (sin.f64 x) 6) (pow.f64 (+.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (neg.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (neg.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (neg.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (neg.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 -1/2 (cos.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (/.f64 (cos.f64 (+.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (-.f64 1 (cos.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 (+.f64 x x)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 1) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/8 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 3)) (+.f64 1/4 (+.f64 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 2) (*.f64 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 4)) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) 2)) (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 6)) (+.f64 1 (+.f64 (pow.f64 (cos.f64 x) 4) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (*.f64 2 (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 x) 3) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 x)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 x)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 2) (log.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (-.f64 1 (cos.f64 (+.f64 x x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2 (log.f64 (sin.f64 x)))) 2)) (cbrt.f64 (*.f64 2 (log.f64 (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2 (log.f64 (sin.f64 x))))) (sqrt.f64 (*.f64 2 (log.f64 (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (sin.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (sin.f64 x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (sin.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sin.f64 x)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sin.f64 x)) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (sin.f64 x))) 1) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (/.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) (/.f64 1 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) (cbrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (sqrt.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (sin.f64 x) 2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1) (+.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2) (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) (pow.f64 (+.f64 1 (cos.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (neg.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (sin.f64 x) 2)) (-.f64 (cos.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log1p.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1) (+.f64 1 (pow.f64 (cos.f64 x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 (sin.f64 x) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log1p.f64 (cos.f64 x))) 2)) (cbrt.f64 (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log1p.f64 (cos.f64 x)))) (sqrt.f64 (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (cos.f64 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (cos.f64 x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (pow.f64 (cos.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 2)) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 (cos.f64 x)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (+.f64 1 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2)) (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) (pow.f64 (+.f64 1 (cos.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -1 (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) -2) (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (pow.f64 (cos.f64 x) 3))) (fma.f64 (cos.f64 x) (-.f64 (cos.f64 x) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (neg.f64 (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) 3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (log1p.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (+.f64 -1 (neg.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))) 2)) (cbrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (neg.f64 (log1p.f64 (cos.f64 x))))) (sqrt.f64 (neg.f64 (log1p.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (+.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 x)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (cos.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log1p.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (neg.f64 (log1p.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (neg.f64 (log1p.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -1/2 (log1p.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (cos.f64 x)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (cos.f64 x)) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log1p.f64 (cos.f64 x))) 1) 1)))))) |
| 1× | egg-herbie |
| 890× | distribute-lft-out_binary64 |
| 720× | associate-/l/_binary64 |
| 671× | associate-*l/_binary64 |
| 406× | associate-+l+_binary64 |
| 362× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 450 |
| 1 | 155 | 446 |
| 2 | 367 | 442 |
| 3 | 1167 | 418 |
| 4 | 1930 | 418 |
| 5 | 3506 | 418 |
| 6 | 4448 | 418 |
| 7 | 6190 | 418 |
| 8 | 7466 | 418 |
| 9 | 7948 | 418 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(pow.f64 x 2) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
(+.f64 (cos.f64 x) 1) |
1/2 |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 1/48 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 17/5760 (pow.f64 x 6)) (*.f64 1/48 (pow.f64 x 4))))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8))))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 -1/3 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 (pow.f64 x 4) -1/3 (*.f64 x x)) |
(fma.f64 x x (*.f64 (pow.f64 x 4) -1/3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 6) 2/45))) |
(fma.f64 x x (fma.f64 (pow.f64 x 6) 2/45 (*.f64 (pow.f64 x 4) -1/3))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 8) -1/315 (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 (pow.f64 x 8) -1/315)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 (pow.f64 x 8) -1/315 (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (fma.f64 (pow.f64 x 8) -1/315 (*.f64 (pow.f64 x 6) 2/45)))) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
(pow.f64 (sin.f64 x) 2) |
2 |
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 2 (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 2) |
(fma.f64 x (*.f64 x -1/2) 2) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 2 (fma.f64 (pow.f64 x 4) 1/24 (*.f64 x (*.f64 x -1/2)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 2)) |
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 x (*.f64 x -1/2) 2)) |
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6))))) |
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/720)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720))) |
(+.f64 2 (fma.f64 (pow.f64 x 4) 1/24 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 6) -1/720)))) |
(+.f64 (fma.f64 x (*.f64 x -1/2) 2) (fma.f64 (pow.f64 x 6) -1/720 (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 2 (fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720)))) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
(+.f64 (cos.f64 x) 1) |
(+.f64 1 (cos.f64 x)) |
1/2 |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) 1/2) |
(fma.f64 1/8 (*.f64 x x) 1/2) |
(fma.f64 (*.f64 x x) 1/8 1/2) |
(fma.f64 x (*.f64 x 1/8) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 1/48 (pow.f64 x 4)))) |
(+.f64 (fma.f64 1/8 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/48)) |
(fma.f64 (*.f64 x x) 1/8 (fma.f64 (pow.f64 x 4) 1/48 1/2)) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) 1/48 1/2)) |
(fma.f64 (pow.f64 x 4) 1/48 (fma.f64 (*.f64 x x) 1/8 1/2)) |
(fma.f64 (pow.f64 x 4) 1/48 (fma.f64 x (*.f64 x 1/8) 1/2)) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 17/5760 (pow.f64 x 6)) (*.f64 1/48 (pow.f64 x 4))))) |
(+.f64 (fma.f64 1/8 (*.f64 x x) 1/2) (fma.f64 17/5760 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/48))) |
(+.f64 (fma.f64 (*.f64 x x) 1/8 1/2) (fma.f64 (pow.f64 x 4) 1/48 (*.f64 (pow.f64 x 6) 17/5760))) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 4) 1/48 (fma.f64 (pow.f64 x 6) 17/5760 1/2))) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 6) 17/5760 (fma.f64 (pow.f64 x 4) 1/48 1/2))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
(/.f64 1 (+.f64 (cos.f64 x) 1)) |
(/.f64 1 (+.f64 1 (cos.f64 x))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 1/2 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 432× | pow1_binary64 |
| 420× | add-sqr-sqrt_binary64 |
| 411× | *-un-lft-identity_binary64 |
| 401× | add-log-exp_binary64 |
| 401× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 102 | 7 |
| 2 | 1147 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 456× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 22 | 84 |
| 3 | 44 | 84 |
| 4 | 106 | 84 |
| 5 | 334 | 84 |
| 6 | 1259 | 84 |
| 7 | 2136 | 84 |
| 8 | 2300 | 84 |
| 9 | 2484 | 84 |
| 10 | 2692 | 84 |
| 11 | 2991 | 84 |
| 12 | 3384 | 84 |
| 13 | 3865 | 84 |
| 14 | 4433 | 84 |
| 15 | 5121 | 84 |
| 16 | 5954 | 84 |
| 17 | 6346 | 84 |
| 18 | 6636 | 84 |
| 19 | 6910 | 84 |
| 20 | 6982 | 84 |
| 21 | 7018 | 84 |
| 22 | 7959 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| ✓ | 0.3b | (*.f64 x -1/24) |
Compiled 26 to 15 computations (42.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 1.0ms | x | @ | 0 | (*.f64 x -1/24) |
| 0.0ms | x | @ | -inf | (*.f64 x -1/24) |
| 1× | batch-egg-rewrite |
| 735× | pow1_binary64 |
| 684× | add-log-exp_binary64 |
| 684× | log1p-expm1-u_binary64 |
| 684× | expm1-log1p-u_binary64 |
| 669× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 164 | 18 |
| 2 | 1884 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x -1/24) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x -1/24) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x -1/24) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x -1/24))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 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 -1/24) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)))))))) |
| 1× | egg-herbie |
| 1076× | sqr-pow_binary64 |
| 670× | fma-def_binary64 |
| 511× | pow-sqr_binary64 |
| 446× | cube-prod_binary64 |
| 427× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 195 |
| 1 | 24 | 195 |
| 2 | 46 | 195 |
| 3 | 115 | 195 |
| 4 | 367 | 195 |
| 5 | 1445 | 195 |
| 6 | 2770 | 195 |
| 7 | 3302 | 195 |
| 8 | 3493 | 195 |
| 9 | 3704 | 195 |
| 10 | 3983 | 195 |
| 11 | 4350 | 195 |
| 12 | 4833 | 195 |
| 13 | 5366 | 195 |
| 14 | 5990 | 195 |
| 15 | 6743 | 195 |
| 16 | 7055 | 195 |
| 17 | 7279 | 195 |
| 18 | 7475 | 195 |
| 19 | 7531 | 195 |
| 20 | 7553 | 195 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 x 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (pow.f64 x 2)) |
| ✓ | 0.1b | (*.f64 -1/24 (pow.f64 x 4)) |
Compiled 33 to 26 computations (21.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (*.f64 1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | -inf | (*.f64 1/2 (pow.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 764× | pow1_binary64 |
| 712× | add-log-exp_binary64 |
| 712× | log1p-expm1-u_binary64 |
| 712× | expm1-log1p-u_binary64 |
| 698× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 14 |
| 1 | 207 | 14 |
| 2 | 2059 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/24 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/2)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 2.9b | (-.f64 1 (cos.f64 x)) | |
| ✓ | 2.9b | (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
Compiled 20 to 12 computations (40% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | -inf | (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
| 1.0ms | x | @ | inf | (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
| 1× | batch-egg-rewrite |
| 592× | pow1_binary64 |
| 549× | log1p-expm1-u_binary64 |
| 549× | expm1-log1p-u_binary64 |
| 548× | add-log-exp_binary64 |
| 537× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 6 |
| 1 | 124 | 6 |
| 2 | 1448 | 6 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) (/.f64 (pow.f64 (cos.f64 x) 3) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 599× | distribute-rgt-out_binary64 |
| 520× | sqr-pow_binary64 |
| 481× | associate-+l+_binary64 |
| 478× | distribute-lft-out_binary64 |
| 413× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 118 |
| 1 | 62 | 118 |
| 2 | 136 | 118 |
| 3 | 440 | 118 |
| 4 | 1998 | 118 |
| 5 | 4415 | 118 |
| 6 | 4800 | 118 |
| 7 | 5317 | 118 |
| 8 | 6315 | 118 |
| 9 | 7299 | 118 |
| 10 | 7739 | 118 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)))) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
(-.f64 1 (cos.f64 x)) |
Compiled 5163 to 3109 computations (39.8% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 372 | 4 | 376 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 4 | 1 | 5 |
| Total | 378 | 5 | 383 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.6b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.3b | (*.f64 x (*.f64 x 1/2)) |
| ▶ | 29.8b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ▶ | 0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 0.1b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
Compiled 45 to 31 computations (31.1% saved)
Compiled 11 to 7 computations (36.4% saved)
Compiled 19 to 12 computations (36.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| ✓ | 0.1b | (*.f64 x (*.f64 x -1/24)) |
| ✓ | 0.1b | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 0.3b | (*.f64 x -1/24) |
Compiled 44 to 22 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 x -1/24)) |
| 0.0ms | x | @ | 0 | (*.f64 x (*.f64 x -1/24)) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 651× | pow1_binary64 |
| 604× | add-log-exp_binary64 |
| 604× | log1p-expm1-u_binary64 |
| 604× | expm1-log1p-u_binary64 |
| 589× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 145 | 14 |
| 2 | 1748 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
(*.f64 x (*.f64 x -1/24)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x (*.f64 x -1/24)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x -1/24) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x -1/24) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24)))))))) |
| 1× | egg-herbie |
| 1319× | sqr-pow_binary64 |
| 659× | pow-sqr_binary64 |
| 493× | cube-prod_binary64 |
| 406× | fabs-mul_binary64 |
| 405× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 168 |
| 1 | 18 | 168 |
| 2 | 36 | 168 |
| 3 | 87 | 168 |
| 4 | 292 | 168 |
| 5 | 1152 | 168 |
| 6 | 1887 | 168 |
| 7 | 2011 | 168 |
| 8 | 2180 | 168 |
| 9 | 2379 | 168 |
| 10 | 2652 | 168 |
| 11 | 3011 | 168 |
| 12 | 3464 | 168 |
| 13 | 3993 | 168 |
| 14 | 4621 | 168 |
| 15 | 5370 | 168 |
| 16 | 5682 | 168 |
| 17 | 5904 | 168 |
| 18 | 6106 | 168 |
| 19 | 6162 | 168 |
| 20 | 6186 | 168 |
| 21 | 7020 | 168 |
| 22 | 7933 | 168 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| ✓ | 2.9b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
Compiled 28 to 16 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| 1× | batch-egg-rewrite |
| 816× | pow1_binary64 |
| 767× | add-log-exp_binary64 |
| 766× | log1p-expm1-u_binary64 |
| 766× | expm1-log1p-u_binary64 |
| 754× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 178 | 7 |
| 2 | 2396 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 1/2 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 1/2 (*.f64 x x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/2 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 1/2 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/2 (*.f64 x x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (cbrt.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/2)) (*.f64 x (sqrt.f64 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) (+.f64 (*.f64 1/2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 1/2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 1/2))) 1) (-.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) (+.f64 (*.f64 1/2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) (+.f64 (*.f64 1/2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) (-.f64 1 (*.f64 (fma.f64 1/2 (*.f64 x x) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) -1) (+.f64 (*.f64 1/2 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) -1) (-.f64 (fma.f64 1/2 (*.f64 x x) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) (+.f64 (*.f64 1/2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 1/2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 1/2 (*.f64 x x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 1/2 (*.f64 x x) -1) (fma.f64 1/2 (*.f64 x x) -1)) (fma.f64 1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 1/2 (*.f64 x x) -1) (fma.f64 1/2 (*.f64 x x) -1))) (-.f64 1 (fma.f64 1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) 1/8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/2 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) 1) 2)) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 1/2))) -1))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 456× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 22 | 84 |
| 3 | 44 | 84 |
| 4 | 106 | 84 |
| 5 | 334 | 84 |
| 6 | 1259 | 84 |
| 7 | 2136 | 84 |
| 8 | 2300 | 84 |
| 9 | 2484 | 84 |
| 10 | 2692 | 84 |
| 11 | 2991 | 84 |
| 12 | 3384 | 84 |
| 13 | 3865 | 84 |
| 14 | 4433 | 84 |
| 15 | 5121 | 84 |
| 16 | 5954 | 84 |
| 17 | 6346 | 84 |
| 18 | 6636 | 84 |
| 19 | 6910 | 84 |
| 20 | 6982 | 84 |
| 21 | 7018 | 84 |
| 22 | 7959 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
Compiled 1778 to 1118 computations (37.1% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 119 | 1 | 120 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 119 | 6 | 125 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.6b | (-.f64 1 (cos.f64 x)) |
| ✓ | 0.3b | (*.f64 x (*.f64 x 1/2)) |
| ✓ | 29.8b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ✓ | 0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
| ▶ | 29.8b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)) |
Compiled 65 to 44 computations (32.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 x (*.f64 x -1/24)) | |
| 0.1b | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) | |
| 0.3b | (*.f64 x -1/24) | |
| 2.9b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
Compiled 65 to 37 computations (43.1% saved)
Compiled 1908 to 1195 computations (37.4% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 88 | 0 | 88 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 88 | 6 | 94 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.6b | (-.f64 1 (cos.f64 x)) |
| ✓ | 0.3b | (*.f64 x (*.f64 x 1/2)) |
| ✓ | 29.8b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ✓ | 0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
| ✓ | 29.8b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)) |
Compiled 65 to 44 computations (32.3% saved)
| Inputs |
|---|
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
5 calls:
| 8.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0b | 1 | (cos.f64 x) |
| 0b | 1 | (cos.f64 x) |
Compiled 132 to 79 computations (40.2% saved)
| Inputs |
|---|
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| Outputs |
|---|
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
3 calls:
| 5.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.1b | 1 | (cos.f64 x) |
Compiled 78 to 46 computations (41% saved)
Total -29.5b remaining (-10145.2%)
Threshold costs -29.5b (-10145.2%)
| Inputs |
|---|
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| Outputs |
|---|
(*.f64 x (*.f64 x 1/2)) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
Compiled 22 to 14 computations (36.4% saved)
| 1× | egg-herbie |
| 7× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 40 |
| 1 | 25 | 40 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x 1/2)) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 x 1/2)) |
Compiled 30 to 19 computations (36.7% saved)
| 1× | egg-herbie |
| 890× | distribute-lft-out_binary64 |
| 720× | associate-/l/_binary64 |
| 671× | associate-*l/_binary64 |
| 406× | associate-+l+_binary64 |
| 362× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 450 |
| 1 | 155 | 446 |
| 2 | 367 | 442 |
| 3 | 1167 | 418 |
| 4 | 1930 | 418 |
| 5 | 3506 | 418 |
| 6 | 4448 | 418 |
| 7 | 6190 | 418 |
| 8 | 7466 | 418 |
| 9 | 7948 | 418 |
| 1× | node limit |
Compiled 61 to 43 computations (29.5% saved)
Compiled 28 to 17 computations (39.3% saved)
Loading profile data...