Time bar (total: 9.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50.4% | 0.4% | 49.2% | 10 |
| 50.4% | 0.2% | 49.4% | 11 |
| 50.4% | 0.1% | 49.5% | 12 |
| 50.4% | 0% | 49.6% | 13 |
| 50.4% | 0% | 49.6% | 14 |
Compiled 10 to 8 computations (20% saved)
| 6.7s | 4370× | body | 2048 | valid |
| 1.5s | 2034× | body | 1024 | valid |
| 462.0ms | 985× | body | 512 | valid |
| 147.0ms | 498× | body | 256 | valid |
| 59.0ms | 369× | body | 128 | valid |
| 0.0ms | 2× | body | 128 | invalid |
Compiled 20 to 16 computations (20% saved)
| 2× | egg-herbie |
| 624× | fma-def_binary64 |
| 581× | fma-neg_binary64 |
| 548× | unswap-sqr_binary64 |
| 284× | cancel-sign-sub-inv_binary64 |
| 199× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 272 | 13 |
| 6 | 697 | 13 |
| 7 | 1699 | 13 |
| 8 | 3110 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 624× | fma-def_binary64 |
| 581× | fma-neg_binary64 |
| 548× | unswap-sqr_binary64 |
| 284× | cancel-sign-sub-inv_binary64 |
| 199× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 36 | 13 |
| 3 | 60 | 13 |
| 4 | 122 | 13 |
| 5 | 272 | 13 |
| 6 | 697 | 13 |
| 7 | 1699 | 13 |
| 8 | 3110 | 13 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 28.5b | (+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
| 28.6b | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
Compiled 53 to 38 computations (28.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 (neg.f64 x)) -2) |
| ✓ | 4.5b | (+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
| 1.0ms | x | @ | -inf | (+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
| 1.0ms | x | @ | 0 | (+.f64 (exp.f64 (neg.f64 x)) -2) |
| 1.0ms | x | @ | inf | (+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
| 0.0ms | x | @ | inf | (+.f64 (exp.f64 (neg.f64 x)) -2) |
| 1× | batch-egg-rewrite |
| 799× | log1p-expm1-u_binary64 |
| 799× | expm1-log1p-u_binary64 |
| 94× | add-sqr-sqrt_binary64 |
| 90× | add-log-exp_binary64 |
| 89× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 179 | 15 |
| 2 | 2613 | 15 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) (/.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) 2) (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (+.f64 (exp.f64 x) -2) (-.f64 (+.f64 (exp.f64 x) -2) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2)) (/.f64 1 (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (+.f64 (exp.f64 x) -2) (-.f64 (+.f64 (exp.f64 x) -2) (exp.f64 x)))) (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (+.f64 (exp.f64 x) -2) (-.f64 (+.f64 (exp.f64 x) -2) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2)) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (+.f64 (exp.f64 x) -2) (-.f64 (+.f64 (exp.f64 x) -2) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2))) (neg.f64 (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2 (cosh.f64 x)) 3) -8) (+.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (-.f64 4 (*.f64 (*.f64 2 (cosh.f64 x)) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (-.f64 (+.f64 (exp.f64 x) -2) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) 4) (-.f64 (*.f64 2 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 x) -2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (exp.f64 x) 2)) (/.f64 4 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -8 (pow.f64 (exp.f64 x) 3)) (/.f64 1 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 2) 4) (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (/.f64 1 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 2) 4) (*.f64 (exp.f64 x) -2)) (+.f64 -8 (pow.f64 (exp.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) 2) (fma.f64 (exp.f64 x) (exp.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (pow.f64 (exp.f64 x) 3)) (-.f64 (+.f64 (pow.f64 (exp.f64 x) 2) 4) (*.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (pow.f64 (exp.f64 x) 3)) (+.f64 4 (-.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (+.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -8 (pow.f64 (exp.f64 x) 3))) (neg.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 2) 4) (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4)) (neg.f64 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (pow.f64 (exp.f64 x) 2)) (-.f64 -2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (exp.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -2))))))) |
| 1× | egg-herbie |
| 749× | unswap-sqr_binary64 |
| 623× | fma-neg_binary64 |
| 554× | associate-*l*_binary64 |
| 507× | fma-def_binary64 |
| 411× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 268 |
| 1 | 120 | 260 |
| 2 | 265 | 260 |
| 3 | 832 | 260 |
| 4 | 3789 | 259 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
-1 |
(neg.f64 (+.f64 1 x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
-1 |
(neg.f64 (+.f64 1 x)) |
(neg.f64 (+.f64 x 1)) |
(-.f64 -1 x) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 x)) |
(-.f64 (*.f64 (*.f64 x x) 1/2) (+.f64 x 1)) |
(fma.f64 (*.f64 x x) 1/2 (-.f64 -1 x)) |
(-.f64 (fma.f64 x (*.f64 x 1/2) -1) x) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (*.f64 (*.f64 x x) 1/2) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (fma.f64 (*.f64 x x) 1/2 -1) (fma.f64 1/6 (pow.f64 x 3) x)) |
(-.f64 (fma.f64 x (*.f64 x 1/2) -1) (fma.f64 1/6 (pow.f64 x 3) x)) |
(fma.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x -1/6)) (-.f64 -1 x)) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) -2) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 88 | 2 | 90 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 90 | 2 | 92 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
| 28.6b | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
Compiled 1276 to 803 computations (37.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/20160 (pow.f64 x 8)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 1/20160 (pow.f64 x 8)) |
| 1.0ms | x | @ | -inf | (*.f64 1/20160 (pow.f64 x 8)) |
| 1.0ms | x | @ | inf | (*.f64 1/20160 (pow.f64 x 8)) |
| 1× | batch-egg-rewrite |
| 509× | pow1_binary64 |
| 476× | add-log-exp_binary64 |
| 476× | log1p-expm1-u_binary64 |
| 476× | expm1-log1p-u_binary64 |
| 466× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 127 | 7 |
| 2 | 1349 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/20160 (pow.f64 x 8)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/20160 (pow.f64 x 8))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/20160 (pow.f64 x 8))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/20160) (pow.f64 x 4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 16) 1/406425600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/20160) (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/20160 (pow.f64 x 8)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 0 | 11 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 11 | 2 | 13 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
| ▶ | 28.6b | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
Compiled 264 to 202 computations (23.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 3.5b | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
| ✓ | 3.5b | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | -inf | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
| 4.0ms | x | @ | inf | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 4.0ms | x | @ | inf | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
| 4.0ms | x | @ | -inf | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | 0 | (+.f64 -2 (*.f64 2 (cosh.f64 x))) |
| 1× | batch-egg-rewrite |
| 826× | pow1_binary64 |
| 767× | log1p-expm1-u_binary64 |
| 767× | expm1-log1p-u_binary64 |
| 87× | add-sqr-sqrt_binary64 |
| 83× | add-log-exp_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 178 | 14 |
| 2 | 2082 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 -2 (*.f64 2 (cosh.f64 x))) |
(log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))) (/.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2)) (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (/.f64 1 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (/.f64 1 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x)))) (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x))) (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (+.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (-.f64 4 (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (+.f64 -2 (*.f64 -2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8))) (neg.f64 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4))) (neg.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) 4) (-.f64 (*.f64 2 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2 (cosh.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (cosh.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cosh.f64 x) 2 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (cosh.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (cbrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 (cosh.f64 x) -2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -2 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (cosh.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 2 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))) (/.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2)) (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (/.f64 1 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (/.f64 1 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x)))) (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x))) (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8)) (+.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (-.f64 4 (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (+.f64 -2 (*.f64 -2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -8 (*.f64 (pow.f64 (cosh.f64 x) 3) 8))) (neg.f64 (+.f64 4 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 (pow.f64 (cosh.f64 x) 2) 4))) (neg.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4) 4) (-.f64 (*.f64 2 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (cosh.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cosh.f64 x) 2 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (cosh.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 (cosh.f64 x) 2) 4)) (cbrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 (cosh.f64 x) -2))))))) |
| 1× | egg-herbie |
| 505× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 374× | distribute-lft-out_binary64 |
| 312× | associate-*l*_binary64 |
| 304× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 324 |
| 1 | 69 | 324 |
| 2 | 149 | 324 |
| 3 | 399 | 324 |
| 4 | 1745 | 324 |
| 5 | 4145 | 324 |
| 6 | 4705 | 324 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(pow.f64 x 2) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) -2) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 49 | 0 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 49 | 2 | 51 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
| ✓ | 28.6b | (log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) |
Compiled 701 to 540 computations (23% saved)
Total 0.2b remaining (31.4%)
Threshold costs 0.2b (31.4%)
Compiled 560 to 450 computations (19.6% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 31 |
| 1 | 25 | 31 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
| Outputs |
|---|
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
| 1× | done |
Compiled 72 to 58 computations (19.4% saved)
Loading profile data...