Time bar (total: 5.8s)
| 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.4s | 4408× | body | 2048 | valid |
| 943.0ms | 2044× | body | 1024 | valid |
| 371.0ms | 1055× | body | 512 | valid |
| 175.0ms | 503× | body | 256 | valid |
| 52.0ms | 246× | body | 128 | 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 5 to 4 computations (20% 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)) |
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.2b | (-.f64 1 (cos.f64 x)) |
Compiled 15 to 12 computations (20% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 3.5b | (-.f64 1 (cos.f64 x)) |
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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (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)))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 35 | 1 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 36 | 1 | 37 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
Compiled 422 to 262 computations (37.9% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
| 1× | batch-egg-rewrite |
| 635× | pow1_binary64 |
| 593× | add-log-exp_binary64 |
| 593× | log1p-expm1-u_binary64 |
| 593× | expm1-log1p-u_binary64 |
| 581× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 144 | 14 |
| 2 | 1624 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 x 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 (*.f64 x 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 (*.f64 x x) -1/24 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x 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 (*.f64 x 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 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x 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)))) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 17 | 1 | 18 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 17 | 2 | 19 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
| ▶ | 15.0b | (fma.f64 1/720 (pow.f64 x 6) (sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)))) |
Compiled 349 to 228 computations (34.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) |
| ✓ | 0.0b | (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) |
| ✓ | 15.0b | (sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) |
| 0.0ms | x | @ | 0 | (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))) |
| 0.0ms | x | @ | 0 | (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) |
| 1× | batch-egg-rewrite |
| 923× | pow1_binary64 |
| 858× | add-log-exp_binary64 |
| 858× | log1p-expm1-u_binary64 |
| 858× | expm1-log1p-u_binary64 |
| 838× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 47 |
| 1 | 247 | 42 |
| 2 | 2514 | 42 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))) |
(pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) |
(*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 2) (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) x) (*.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4) (pow.f64 x 8)))) (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4) (pow.f64 x 8))) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 x x) -1/24) (fma.f64 (*.f64 x x) -1/24 1/2)) (*.f64 1/2 (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 (*.f64 x x) -1/24)) (*.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (fma.f64 (*.f64 x x) -1/24 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) 2) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) 2) (*.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) (*.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2))) (sqrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)) 2)) (cbrt.f64 (fma.f64 (*.f64 x x) -1/24 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (fma.f64 (*.f64 x x) -1/24 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4) (pow.f64 x 8)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 4) (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2)) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) 3) (pow.f64 (pow.f64 x 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) (pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)))))))) |
| 1× | egg-herbie |
| 896× | fma-def_binary64 |
| 734× | distribute-lft-out_binary64 |
| 727× | distribute-rgt-out_binary64 |
| 532× | sqr-pow_binary64 |
| 413× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 491 |
| 1 | 65 | 489 |
| 2 | 137 | 477 |
| 3 | 387 | 477 |
| 4 | 1677 | 477 |
| 5 | 5034 | 477 |
| 6 | 5266 | 477 |
| 7 | 5627 | 477 |
| 8 | 6097 | 477 |
| 9 | 6585 | 477 |
| 10 | 7149 | 477 |
| 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))) |
1/4 |
(+.f64 1/4 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(*.f64 1/576 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(*.f64 1/576 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(*.f64 1/4 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(*.f64 1/576 (pow.f64 x 8)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/576 (pow.f64 x 8))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(*.f64 1/576 (pow.f64 x 8)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/576 (pow.f64 x 8))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (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 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
(*.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 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
(*.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 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 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 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))) |
1/4 |
(+.f64 1/4 (*.f64 -1/24 (pow.f64 x 2))) |
(+.f64 1/4 (*.f64 (*.f64 x x) -1/24)) |
(fma.f64 (*.f64 x x) -1/24 1/4) |
(fma.f64 x (*.f64 x -1/24) 1/4) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(*.f64 1/576 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/576) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576)) |
(fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576)) |
(fma.f64 x (*.f64 x -1/24) (*.f64 (pow.f64 x 4) 1/576)) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/576 -1/24))) |
(*.f64 x (fma.f64 x -1/24 (*.f64 1/576 (pow.f64 x 3)))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(*.f64 1/576 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/576) |
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4))) |
(fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576)) |
(fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576)) |
(fma.f64 x (*.f64 x -1/24) (*.f64 (pow.f64 x 4) 1/576)) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/576 -1/24))) |
(*.f64 x (fma.f64 x -1/24 (*.f64 1/576 (pow.f64 x 3)))) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(+.f64 1/4 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/576 (pow.f64 x 4)))) |
(+.f64 1/4 (fma.f64 -1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/576))) |
(+.f64 1/4 (fma.f64 (*.f64 x x) -1/24 (*.f64 (pow.f64 x 4) 1/576))) |
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/576 -1/24) 1/4) |
(*.f64 1/4 (pow.f64 x 4)) |
(*.f64 (pow.f64 x 4) 1/4) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/4 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/4)) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) 1/4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(*.f64 1/576 (pow.f64 x 8)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/576 (pow.f64 x 8))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8))) |
(*.f64 (pow.f64 x 6) (fma.f64 (*.f64 x x) 1/576 -1/24)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(*.f64 1/576 (pow.f64 x 8)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (*.f64 1/576 (pow.f64 x 8))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8))) |
(*.f64 (pow.f64 x 6) (fma.f64 (*.f64 x x) 1/576 -1/24)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 6)) (+.f64 (*.f64 1/576 (pow.f64 x 8)) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 1/576 (pow.f64 x 8) (*.f64 (pow.f64 x 4) 1/4))) |
(fma.f64 -1/24 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/4 (*.f64 1/576 (pow.f64 x 8)))) |
(fma.f64 -1/24 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
(fma.f64 (pow.f64 x 4) 1/4 (fma.f64 -1/24 (pow.f64 x 6) (*.f64 1/576 (pow.f64 x 8)))) |
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/576 1/4))) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 77 | 0 | 77 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 77 | 2 | 79 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
| ✓ | 15.0b | (fma.f64 1/720 (pow.f64 x 6) (sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (pow.f64 x 4)))) |
Compiled 1592 to 1119 computations (29.7% saved)
Total -29.2b remaining (-748083.7%)
Threshold costs -29.2b (-748083.7%)
| Inputs |
|---|
(fma.f64 1/720 (pow.f64 x 6) (sqrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/24 1/2) 2) (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 1 (cos.f64 x)) |
| Outputs |
|---|
(fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
| 3.0ms | 0.0b | x |
| 2.0ms | 0.0b | (-.f64 1 (cos.f64 x)) |
| 2.0ms | 0.0b | (cos.f64 x) |
Compiled 48 to 33 computations (31.3% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 21 |
| 1 | 12 | 21 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
| Outputs |
|---|
(fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2))) |
| 1× | done |
Compiled 32 to 20 computations (37.5% saved)
Loading profile data...