Time bar (total: 6.3s)
| 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.0s | 4424× | body | 2048 | valid |
| 770.0ms | 2082× | body | 1024 | valid |
| 275.0ms | 967× | body | 512 | valid |
| 95.0ms | 783× | 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 |
|---|---|---|
| ▶ | 30.2b | (-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 4.5b | (-.f64 1 (cos.f64 x)) | |
| ✓ | 4.5b | (-.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 | 1249 | 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 log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 603× | distribute-rgt-out_binary64 |
| 532× | 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 | 426 | 70 |
| 4 | 1906 | 70 |
| 5 | 4294 | 70 |
| 6 | 4668 | 70 |
| 7 | 5174 | 70 |
| 8 | 6164 | 70 |
| 9 | 7148 | 70 |
| 10 | 7583 | 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))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(*.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 1/720 (pow.f64 x 6) (*.f64 (*.f64 x 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 (*.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/40320 (pow.f64 x 8) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))) |
Compiled 390 to 242 computations (37.9% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 3 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 33 | 4 | 37 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| ▶ | 0.0b | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| ✓ | 30.2b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.5b | (*.f64 1/2 (*.f64 x x)) |
Compiled 33 to 22 computations (33.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| ✓ | 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 | 1145 | 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 log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 1105× | sqr-pow_binary64 |
| 618× | cube-prod_binary64 |
| 559× | fabs-mul_binary64 |
| 536× | pow-sqr_binary64 |
| 451× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 22 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 332 | 84 |
| 6 | 1265 | 84 |
| 7 | 2140 | 84 |
| 8 | 2304 | 84 |
| 9 | 2488 | 84 |
| 10 | 2696 | 84 |
| 11 | 2985 | 84 |
| 12 | 3376 | 84 |
| 13 | 3856 | 84 |
| 14 | 4419 | 84 |
| 15 | 5109 | 84 |
| 16 | 5946 | 84 |
| 17 | 6336 | 84 |
| 18 | 6626 | 84 |
| 19 | 6904 | 84 |
| 20 | 6980 | 84 |
| 21 | 7016 | 84 |
| 22 | 7957 | 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 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) | |
| 0.0b | (*.f64 (sin.f64 x) (sin.f64 x)) | |
| 0.0b | (+.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 (cos.f64 x))) |
Compiled 26 to 10 computations (61.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | -inf | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| 1.0ms | x | @ | 0 | (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
| 0.0ms | x | @ | 0 | (*.f64 (sin.f64 x) (sin.f64 x)) |
| 0.0ms | x | @ | 0 | (+.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 993× | pow1_binary64 |
| 931× | add-log-exp_binary64 |
| 930× | log1p-expm1-u_binary64 |
| 930× | expm1-log1p-u_binary64 |
| 95× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 26 |
| 1 | 179 | 18 |
| 2 | 2598 | 18 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (sin.f64 x)) |
(+.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 (pow.f64 (cbrt.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 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 1 (/.f64 (+.f64 1 (cos.f64 x)) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.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 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (*.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.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 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 (neg.f64 (cos.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (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 (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (-.f64 (+.f64 1 (pow.f64 (cos.f64 x) 2)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (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 (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 1 (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (neg.f64 (cos.f64 x)) -1)))))) (#(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 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 (+.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))))))) |
((#(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 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 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 (exp.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (cos.f64 0) 2) (/.f64 (cos.f64 (+.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (cos.f64 0) (cos.f64 (+.f64 x x)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (pow.f64 (cos.f64 x) 2) 3)) (+.f64 1 (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (pow.f64 (cos.f64 x) 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 (*.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (*.f64 (cos.f64 (+.f64 x x)) 1/2)) (*.f64 1/2 (*.f64 (cos.f64 (+.f64 x x)) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (*.f64 (*.f64 (cos.f64 (+.f64 x x)) 1/2) (*.f64 (cos.f64 (+.f64 x x)) 1/2))) (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 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 2)) 3)))) (#(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 (pow.f64 (sin.f64 x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.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 (exp.f64 (log1p.f64 (+.f64 1 (cos.f64 x)))) 1)))) (#(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 (-.f64 (+.f64 1 (pow.f64 (cos.f64 x) 2)) (cos.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 (+.f64 1 (pow.f64 (cos.f64 x) 2)) (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)) (pow.f64 (sin.f64 x) 2)))))) (#(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 (+.f64 1 (pow.f64 (cos.f64 x) 3)) (-.f64 (+.f64 1 (pow.f64 (cos.f64 x) 2)) (cos.f64 x)))))) (#(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 (+.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 x) 2)) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 x) 2) 1) (-.f64 (cos.f64 x) 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 (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 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 log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.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 exp.f64 (log1p.f64 (cos.f64 x))))))) |
| 1× | egg-herbie |
| 883× | distribute-rgt-out_binary64 |
| 842× | fma-def_binary64 |
| 700× | associate-*l*_binary64 |
| 652× | distribute-lft-in_binary64 |
| 500× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 364 |
| 1 | 125 | 362 |
| 2 | 294 | 360 |
| 3 | 949 | 334 |
| 4 | 4070 | 334 |
| 5 | 6350 | 334 |
| 6 | 7793 | 334 |
| 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) |
| 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 x (*.f64 x (fma.f64 x (*.f64 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 -1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6)))) |
(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/720 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2) (*.f64 -1/40320 (pow.f64 x 8)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (*.f64 1/720 (pow.f64 x 6)))) |
(/.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))) |
(+.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 x x (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/315 -1/3) (*.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 (pow.f64 x 8) -1/315 (*.f64 x x)))) |
(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 (*.f64 x x) -1/2))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 2)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) -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 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 4) 1/24)) (fma.f64 (pow.f64 x 6) -1/720 2)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) -1/2) (fma.f64 (pow.f64 x 6) -1/720 2)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -1/720 (fma.f64 (pow.f64 x 4) 1/24 2))) |
(+.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)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) | |
| ✓ | 0.0b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
Compiled 31 to 16 computations (48.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| 1.0ms | x | @ | inf | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| 0.0ms | x | @ | -inf | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| 1× | batch-egg-rewrite |
| 722× | pow1_binary64 |
| 672× | add-log-exp_binary64 |
| 672× | log1p-expm1-u_binary64 |
| 672× | expm1-log1p-u_binary64 |
| 659× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 163 | 14 |
| 2 | 1852 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| Outputs |
|---|
((#(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 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (fma.f64 (*.f64 x 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 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x (fma.f64 (*.f64 x 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 (*.f64 x x) -1/24 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))))))))) |
| 1× | egg-herbie |
| 1075× | sqr-pow_binary64 |
| 538× | fma-def_binary64 |
| 520× | pow-sqr_binary64 |
| 444× | cube-prod_binary64 |
| 415× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 147 |
| 1 | 22 | 147 |
| 2 | 44 | 147 |
| 3 | 110 | 147 |
| 4 | 355 | 147 |
| 5 | 1353 | 147 |
| 6 | 2566 | 147 |
| 7 | 3028 | 147 |
| 8 | 3197 | 147 |
| 9 | 3396 | 147 |
| 10 | 3669 | 147 |
| 11 | 4028 | 147 |
| 12 | 4479 | 147 |
| 13 | 5003 | 147 |
| 14 | 5635 | 147 |
| 15 | 6388 | 147 |
| 16 | 6696 | 147 |
| 17 | 6920 | 147 |
| 18 | 7118 | 147 |
| 19 | 7172 | 147 |
| 20 | 7194 | 147 |
| 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 -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/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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.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 1/2 (*.f64 x x))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(*.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 1/2 (*.f64 x x))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
(+.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 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))) |
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))) |
Compiled 2141 to 1263 computations (41% saved)
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 160 | 4 | 164 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 1 | 3 |
| Total | 162 | 6 | 168 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 0.0b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| ▶ | 0.1b | (+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
| ▶ | 30.3b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ✓ | 0.1b | (*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
| ✓ | 0.5b | (*.f64 1/2 (*.f64 x x)) |
Compiled 61 to 42 computations (31.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 4.5b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) | |
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| ✓ | 4.5b | (-.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 | 2308 | 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 log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 (pow.f64 (cbrt.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)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1105× | sqr-pow_binary64 |
| 618× | cube-prod_binary64 |
| 559× | fabs-mul_binary64 |
| 536× | pow-sqr_binary64 |
| 451× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 22 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 332 | 84 |
| 6 | 1265 | 84 |
| 7 | 2140 | 84 |
| 8 | 2304 | 84 |
| 9 | 2488 | 84 |
| 10 | 2696 | 84 |
| 11 | 2985 | 84 |
| 12 | 3376 | 84 |
| 13 | 3856 | 84 |
| 14 | 4419 | 84 |
| 15 | 5109 | 84 |
| 16 | 5946 | 84 |
| 17 | 6336 | 84 |
| 18 | 6626 | 84 |
| 19 | 6904 | 84 |
| 20 | 6980 | 84 |
| 21 | 7016 | 84 |
| 22 | 7957 | 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 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (*.f64 x -1/24) | |
| 0.1b | (*.f64 x (*.f64 x -1/24)) | |
| 0.1b | (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) | |
| 0.0b | (*.f64 (*.f64 x x) 1/2) | |
| ✓ | 0.0b | (*.f64 (*.f64 x x) 1/2) |
| ✓ | 0.1b | (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) |
| ✓ | 0.1b | (*.f64 x (*.f64 x -1/24)) |
| ✓ | 0.4b | (*.f64 x -1/24) |
Compiled 44 to 22 computations (50% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x -1/24) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) |
| 0.0ms | x | @ | -inf | (*.f64 x -1/24) |
| 0.0ms | x | @ | inf | (*.f64 x -1/24) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) |
| 1× | batch-egg-rewrite |
| 829× | pow1_binary64 |
| 769× | add-log-exp_binary64 |
| 769× | log1p-expm1-u_binary64 |
| 769× | expm1-log1p-u_binary64 |
| 753× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 31 |
| 1 | 187 | 25 |
| 2 | 2173 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x -1/24) |
(*.f64 x (*.f64 x -1/24)) |
(*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) |
(*.f64 (*.f64 x x) 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 log1p.f64 (expm1.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 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 (exp.f64 x) (*.f64 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 log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24)))))))) |
((#(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 (*.f64 x (cbrt.f64 (*.f64 x -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 log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(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 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/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 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (*.f64 x 1/2))))))) (#(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 log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 1366× | sqr-pow_binary64 |
| 697× | pow-sqr_binary64 |
| 494× | cube-prod_binary64 |
| 453× | associate-*l*_binary64 |
| 397× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 300 |
| 1 | 23 | 300 |
| 2 | 42 | 300 |
| 3 | 99 | 300 |
| 4 | 311 | 300 |
| 5 | 1216 | 300 |
| 6 | 1956 | 300 |
| 7 | 2080 | 300 |
| 8 | 2249 | 300 |
| 9 | 2448 | 300 |
| 10 | 2719 | 300 |
| 11 | 3076 | 300 |
| 12 | 3527 | 300 |
| 13 | 4051 | 300 |
| 14 | 4677 | 300 |
| 15 | 5426 | 300 |
| 16 | 5738 | 300 |
| 17 | 5960 | 300 |
| 18 | 6154 | 300 |
| 19 | 6208 | 300 |
| 20 | 6230 | 300 |
| 21 | 7064 | 300 |
| 22 | 7977 | 300 |
| 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/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)) |
(*.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/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/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/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 x (*.f64 -1/24 x)) |
(*.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/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) 1/2) |
(*.f64 x (*.f64 x 1/2)) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) | |
| 0.0b | (pow.f64 (sin.f64 x) 2) | |
| 0.0b | (+.f64 1 (cos.f64 x)) | |
| 0.0b | (+.f64 1 (cos.f64 x)) | |
| ✓ | 0.0b | (pow.f64 (sin.f64 x) 2) |
| ✓ | 0.0b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
Compiled 25 to 14 computations (44% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| 0.0ms | x | @ | 0 | (pow.f64 (sin.f64 x) 2) |
| 0.0ms | x | @ | inf | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| 0.0ms | x | @ | -inf | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| 0.0ms | x | @ | inf | (pow.f64 (sin.f64 x) 2) |
| 1× | batch-egg-rewrite |
| 895× | pow1_binary64 |
| 832× | add-log-exp_binary64 |
| 831× | log1p-expm1-u_binary64 |
| 831× | expm1-log1p-u_binary64 |
| 814× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 190 | 12 |
| 2 | 2350 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
(pow.f64 (sin.f64 x) 2) |
| 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 (pow.f64 (cbrt.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 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 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.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 (pow.f64 (sin.f64 x) 4)) (*.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (/.f64 1 (+.f64 1 (cos.f64 x)))))))) (#(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 (neg.f64 (pow.f64 (sin.f64 x) 2)) (/.f64 1 (neg.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) 1) (/.f64 (sin.f64 x) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) 1) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (sin.f64 x) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 x))) 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (cbrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (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 (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (pow.f64 (sin.f64 x) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sqrt.f64 (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (+.f64 1 (-.f64 (pow.f64 (cos.f64 x) 2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (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 (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 1 (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (neg.f64 (+.f64 1 (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 cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3) (pow.f64 (+.f64 1 (cos.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))))))) |
((#(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 1 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (sin.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1/2 (*.f64 1/2 (cos.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 x) (sin.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (cbrt.f64 (pow.f64 (sin.f64 x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (*.f64 (cbrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 x) 4)) (pow.f64 (cbrt.f64 (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 x)) (*.f64 (sqrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (pow.f64 (cbrt.f64 (sin.f64 x)) 2)) (cbrt.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (cos.f64 (-.f64 x x)) (cos.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (pow.f64 (cos.f64 x) 2) 3)) (+.f64 1 (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (pow.f64 (cos.f64 x) 2)))))) (#(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 cbrt.f64 (pow.f64 (pow.f64 (sin.f64 x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sin.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (sin.f64 x)))))))) |
| 1× | egg-herbie |
| 933× | distribute-rgt-out_binary64 |
| 734× | associate-/l/_binary64 |
| 628× | fma-def_binary64 |
| 582× | associate-*l*_binary64 |
| 560× | distribute-lft-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 184 |
| 1 | 97 | 184 |
| 2 | 222 | 184 |
| 3 | 712 | 172 |
| 4 | 3307 | 172 |
| 5 | 5396 | 172 |
| 6 | 6812 | 172 |
| 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 (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)))) |
| 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 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
(*.f64 (*.f64 x 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/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x)))) |
(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)))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1)) |
(*.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 x x (*.f64 (pow.f64 x 4) -1/3)) |
(fma.f64 (pow.f64 x 4) -1/3 (*.f64 x x)) |
(+.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 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 (pow.f64 x 4) -1/3))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 6) 2/45))) |
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (*.f64 x x))) |
(+.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 x x (fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (*.f64 (pow.f64 x 8) -1/315)))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) | |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
Compiled 19 to 12 computations (36.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | inf | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | 0 | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 709× | pow1_binary64 |
| 657× | add-log-exp_binary64 |
| 657× | log1p-expm1-u_binary64 |
| 657× | expm1-log1p-u_binary64 |
| 645× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 149 | 11 |
| 2 | 1777 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 (sin.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))))))) |
| 1× | egg-herbie |
| 604× | distribute-rgt-out_binary64 |
| 532× | sqr-pow_binary64 |
| 480× | associate-+l+_binary64 |
| 478× | distribute-lft-out_binary64 |
| 413× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 222 |
| 1 | 66 | 222 |
| 2 | 140 | 222 |
| 3 | 431 | 222 |
| 4 | 1891 | 222 |
| 5 | 4303 | 222 |
| 6 | 4678 | 222 |
| 7 | 5184 | 222 |
| 8 | 6174 | 222 |
| 9 | 7158 | 222 |
| 10 | 7593 | 222 |
| 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 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 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 (*.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/40320 (pow.f64 x 8) (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) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x)))) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
Compiled 3571 to 2291 computations (35.8% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 259 | 2 | 261 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 3 | 5 |
| Total | 261 | 6 | 267 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (*.f64 x (*.f64 1/2 x)) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.0b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
| ✓ | 30.3b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ▶ | 0.1b | (+.f64 (*.f64 (*.f64 x x) (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)) (*.f64 (*.f64 x x) 1/2)) |
Compiled 70 to 48 computations (31.4% saved)
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (*.f64 x -1/24) | |
| 0.1b | (*.f64 x (*.f64 x -1/24)) | |
| 0.0b | (*.f64 (*.f64 x x) 1/2) | |
| 0.0b | (*.f64 (*.f64 x x) (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)) | |
| 0.0b | (*.f64 (*.f64 x x) 1/2) | |
| 0.1b | (*.f64 x (*.f64 x -1/24)) | |
| 0.4b | (*.f64 x -1/24) | |
| ✓ | 4.6b | (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
Compiled 69 to 43 computations (37.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
| 1× | batch-egg-rewrite |
| 832× | pow1_binary64 |
| 781× | add-log-exp_binary64 |
| 781× | log1p-expm1-u_binary64 |
| 781× | expm1-log1p-u_binary64 |
| 769× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 177 | 7 |
| 2 | 2302 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 x (*.f64 x -1/24) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 x (*.f64 x -1/24) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -1/24)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/24) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x (*.f64 x -1/24) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/24) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/24 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x -1/24) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (*.f64 x -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) -1/24)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x -1/24)) 2) (*.f64 (cbrt.f64 (*.f64 x -1/24)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 2) (cbrt.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x -1/24)) (*.f64 (sqrt.f64 (*.f64 x -1/24)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) (+.f64 (*.f64 x (*.f64 x -1/24)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 x (*.f64 x -1/24)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1) (-.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (*.f64 x -1/24)) 2)) (cbrt.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (*.f64 x -1/24))) (sqrt.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x -1/24) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x -1/24) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) (+.f64 (*.f64 x (*.f64 x -1/24)) 2)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x (*.f64 x -1/24)) 2) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) (+.f64 (*.f64 x (*.f64 x -1/24)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) (-.f64 1 (*.f64 (fma.f64 x (*.f64 x -1/24) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) -1) (+.f64 (*.f64 x (*.f64 x -1/24)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) -1) (-.f64 (fma.f64 x (*.f64 x -1/24) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) (+.f64 (*.f64 x (*.f64 x -1/24)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 x (*.f64 x -1/24)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x (*.f64 x -1/24) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 x (*.f64 x -1/24) -1) (fma.f64 x (*.f64 x -1/24) -1)) (fma.f64 x (*.f64 x -1/24) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 x (*.f64 x -1/24) -1) (fma.f64 x (*.f64 x -1/24) -1))) (-.f64 1 (fma.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 (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 pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/24) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/24) 1)) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/24) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24)))))))) |
| 1× | egg-herbie |
| 1106× | sqr-pow_binary64 |
| 618× | cube-prod_binary64 |
| 552× | fabs-mul_binary64 |
| 536× | pow-sqr_binary64 |
| 445× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 23 | 84 |
| 3 | 44 | 84 |
| 4 | 107 | 84 |
| 5 | 336 | 84 |
| 6 | 1237 | 84 |
| 7 | 2113 | 84 |
| 8 | 2277 | 84 |
| 9 | 2461 | 84 |
| 10 | 2669 | 84 |
| 11 | 2960 | 84 |
| 12 | 3353 | 84 |
| 13 | 3833 | 84 |
| 14 | 4396 | 84 |
| 15 | 5078 | 84 |
| 16 | 5915 | 84 |
| 17 | 6307 | 84 |
| 18 | 6593 | 84 |
| 19 | 6867 | 84 |
| 20 | 6939 | 84 |
| 21 | 6975 | 84 |
| 22 | 7916 | 84 |
| 1× | node limit |
| Inputs |
|---|
(*.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 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)) |
Compiled 11 to 7 computations (36.4% saved)
Compiled 1998 to 1232 computations (38.3% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 90 | 0 | 90 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 90 | 6 | 96 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (*.f64 x (*.f64 1/2 x)) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.0b | (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
| ✓ | 30.3b | (-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 x x) (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)) (*.f64 (*.f64 x x) 1/2)) |
Compiled 70 to 48 computations (31.4% saved)
| Inputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 (*.f64 x x) (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)) (*.f64 (*.f64 x x) 1/2)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x))) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
Compiled 67 to 41 computations (38.8% saved)
| Inputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 (*.f64 x x) (-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)) (*.f64 (*.f64 x x) 1/2)) |
| Outputs |
|---|
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
Compiled 51 to 30 computations (41.2% saved)
Total -29.8b remaining (-5768%)
Threshold costs -29.8b (-5768%)
| Inputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
| Outputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
Compiled 17 to 12 computations (29.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× | saturated |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 1/2 x)) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 x (*.f64 x 1/2)) |
| 1× | done |
Compiled 58 to 36 computations (37.9% saved)
Loading profile data...