Time bar (total: 4.5s)
| 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% | 1.6% | 48.5% | 9 |
| 50.4% | 1.2% | 48.5% | 10 |
| 50.4% | 1.2% | 48.5% | 11 |
| 50.4% | 1.1% | 48.6% | 12 |
Compiled 15 to 8 computations (46.7% saved)
| 1.9s | 4028× | body | 1024 | valid |
| 592.0ms | 2096× | body | 512 | valid |
| 333.0ms | 404× | body | 2048 | valid |
| 256.0ms | 1728× | body | 256 | valid |
| 1.0ms | 7× | body | 256 | invalid |
| 2× | egg-herbie |
| 720× | fma-def_binary64 |
| 478× | fma-neg_binary64 |
| 463× | times-frac_binary64 |
| 381× | associate-/r/_binary64 |
| 306× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 1 | 20 | 22 |
| 2 | 35 | 22 |
| 3 | 59 | 22 |
| 4 | 133 | 22 |
| 5 | 336 | 22 |
| 6 | 891 | 22 |
| 7 | 2601 | 22 |
| 8 | 6641 | 22 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 15 to 8 computations (46.7% saved)
| 1× | egg-herbie |
| 720× | fma-def_binary64 |
| 478× | fma-neg_binary64 |
| 463× | times-frac_binary64 |
| 381× | associate-/r/_binary64 |
| 306× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 1 | 20 | 22 |
| 2 | 35 | 22 |
| 3 | 59 | 22 |
| 4 | 133 | 22 |
| 5 | 336 | 22 |
| 6 | 891 | 22 |
| 7 | 2601 | 22 |
| 8 | 6641 | 22 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 7 computations (50% 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 |
|---|---|---|
| ▶ | 57.7b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 7 computations (50% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| ✓ | 2.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 5.3b | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 34 to 7 computations (79.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | 0 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | 0 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 3× | egg-rewrite-iter-limit |
| 3× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 99× | add-sqr-sqrt_binary64 |
| 99× | add-sqr-sqrt_binary64 |
| 95× | *-un-lft-identity_binary64 |
| 95× | pow1_binary64 |
| 95× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 186 | 18 |
| 2 | 3652 | 18 |
| 0 | 6 | 6 |
| 1 | 130 | 6 |
| 2 | 2188 | 6 |
| 0 | 6 | 6 |
| 0 | 8 | 3 |
| 1 | 186 | 3 |
| 2 | 3652 | 3 |
| 0 | 8 | 3 |
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2150 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (tanh.f64 x)) (cbrt.f64 (tanh.f64 x))) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (tanh.f64 x) (tanh.f64 x)) (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x tanh.f64 x))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 686× | fma-def_binary64 |
| 528× | fma-neg_binary64 |
| 514× | unswap-sqr_binary64 |
| 469× | associate-*l*_binary64 |
| 380× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 447 |
| 1 | 150 | 441 |
| 2 | 350 | 437 |
| 3 | 995 | 437 |
| 4 | 3266 | 437 |
| 5 | 5399 | 437 |
| 6 | 7520 | 437 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 x x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x)) |
(fma.f64 1/3 (pow.f64 x 3) (+.f64 x x)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5))) |
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/60 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))) |
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x)))) |
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (+.f64 x x)))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(fma.f64 (pow.f64 x 3) -1/3 x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x)) |
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 5) 2/15 x))) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 7) -17/315 x))) |
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 7) -17/315 (fma.f64 (pow.f64 x 3) -1/3 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (*.f64 x x)) |
(fma.f64 x x 2) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2)) |
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))) |
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x 2))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 968 to 399 computations (58.8% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 63 | 4 | 67 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 64 | 4 | 68 |
| Status | Error | Program |
|---|---|---|
| ▶ | 2.0b | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| ▶ | 3.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 3.3b | x | |
| ▶ | 0.0b | (tanh.f64 x) |
Compiled 25 to 19 computations (24% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 4 to 2 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (tanh.f64 x) |
| 1.0ms | x | @ | inf | (tanh.f64 x) |
| 0.0ms | x | @ | 0 | (tanh.f64 x) |
| 1× | batch-egg-rewrite |
| 465× | pow1_binary64 |
| 459× | add-sqr-sqrt_binary64 |
| 450× | *-un-lft-identity_binary64 |
| 437× | add-log-exp_binary64 |
| 435× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 75 | 3 |
| 2 | 1079 | 3 |
| 1× | node limit |
| Inputs |
|---|
(tanh.f64 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (tanh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))) (/.f64 (exp.f64 (*.f64 x -2)) (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 2) x) (+.f64 1 (pow.f64 (exp.f64 2) x))) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) (*.f64 2 (cosh.f64 x))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (/.f64 1 (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x 2)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (exp.f64 (*.f64 x -2))) (-.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) (expm1.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (exp.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (exp.f64 (*.f64 x -2)))) (neg.f64 (+.f64 1 (exp.f64 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 x 2))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (neg.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tanh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tanh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (tanh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (tanh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (tanh.f64 x))))))) |
| 1× | egg-herbie |
| 871× | div-sub_binary64 |
| 830× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 590× | fma-neg_binary64 |
| 303× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 222 |
| 1 | 65 | 222 |
| 2 | 140 | 222 |
| 3 | 333 | 222 |
| 4 | 688 | 222 |
| 5 | 1579 | 222 |
| 6 | 2473 | 222 |
| 7 | 3981 | 222 |
| 8 | 6252 | 222 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cosh.f64 x) |
| ✓ | 0.0b | (sinh.f64 x) |
| ✓ | 0.0b | (/.f64 1 (*.f64 2 (cosh.f64 x))) |
| ✓ | 2.0b | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
Compiled 33 to 20 computations (39.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| 2.0ms | x | @ | inf | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| 2.0ms | x | @ | -inf | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 1 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 1 (*.f64 2 (cosh.f64 x))) |
| 1× | batch-egg-rewrite |
| 977× | pow1_binary64 |
| 904× | add-log-exp_binary64 |
| 903× | log1p-expm1-u_binary64 |
| 903× | expm1-log1p-u_binary64 |
| 103× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 26 |
| 1 | 211 | 20 |
| 2 | 2628 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
(/.f64 1 (*.f64 2 (cosh.f64 x))) |
(sinh.f64 x) |
(cosh.f64 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 (*.f64 2 (cosh.f64 x)) (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sinh.f64 x) (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (*.f64 4 (pow.f64 (sinh.f64 x) 2))) (/.f64 (*.f64 2 (cosh.f64 x)) (cbrt.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (/.f64 (*.f64 2 (cosh.f64 x)) (sqrt.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) -1) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) 1) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 2 (sinh.f64 x))) (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (*.f64 2 (sinh.f64 x))) (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (*.f64 2 (cosh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3) (pow.f64 (*.f64 2 (sinh.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/2 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) (cbrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2))) (cbrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) (sqrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (pow.f64 (cosh.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) -1) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1) (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/2 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.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 (*.f64 (cosh.f64 x) -2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cosh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 x))))))) |
| 1× | egg-herbie |
| 981× | fma-def_binary64 |
| 645× | associate-*l*_binary64 |
| 512× | associate-*r*_binary64 |
| 508× | unswap-sqr_binary64 |
| 491× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 66 | 684 |
| 1 | 168 | 680 |
| 2 | 415 | 658 |
| 3 | 1239 | 656 |
| 4 | 4449 | 656 |
| 5 | 6988 | 656 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
1/2 |
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))) |
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
1/2 |
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2))) |
(+.f64 1/2 (*.f64 -1/4 (*.f64 x x))) |
(fma.f64 -1/4 (*.f64 x x) 1/2) |
(fma.f64 x (*.f64 x -1/4) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))) |
(+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4)))) |
(fma.f64 x (*.f64 x -1/4) (fma.f64 5/48 (pow.f64 x 4) 1/2)) |
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))) |
(fma.f64 -61/1440 (pow.f64 x 6) (+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))) (fma.f64 -61/1440 (pow.f64 x 6) 1/2)) |
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 x (*.f64 x -1/4) (fma.f64 5/48 (pow.f64 x 4) 1/2))) |
(fma.f64 x (*.f64 x -1/4) (fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 5/48 (pow.f64 x 4) 1/2))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(fma.f64 1/6 (pow.f64 x 3) x) |
(fma.f64 (pow.f64 x 3) 1/6 x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 x)) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 1/120 (pow.f64 x 5) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 7) 1/5040 (fma.f64 (pow.f64 x 5) 1/120 x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 (fma.f64 (pow.f64 x 7) 1/5040 x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 7) 1/5040 (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 (pow.f64 x 7) 1/5040 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 x x))) |
(fma.f64 1/2 (*.f64 x x) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 1/2 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) 1/24)) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) 1/24 1)) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(+.f64 1 (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 1/2 (*.f64 x x) 1) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720))) |
(+.f64 1 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) (fma.f64 (pow.f64 x 6) 1/720 1)) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| ✓ | 0.1b | (*.f64 -1/3 (pow.f64 x 3)) |
Compiled 19 to 14 computations (26.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 -1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (*.f64 -1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 1.0ms | x | @ | -inf | (*.f64 -1/3 (pow.f64 x 3)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 1× | batch-egg-rewrite |
| 744× | pow1_binary64 |
| 701× | add-log-exp_binary64 |
| 701× | log1p-expm1-u_binary64 |
| 701× | expm1-log1p-u_binary64 |
| 687× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 159 | 15 |
| 2 | 1912 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/3 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/3 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/3 (pow.f64 x 3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/3 (pow.f64 x 3) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 6) 1/9) (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/3 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) 2) (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27)) (/.f64 1 (+.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x (-.f64 x (*.f64 -1/3 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x (-.f64 x (*.f64 -1/3 (pow.f64 x 3))))) (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27)) (+.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x (-.f64 x (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 -1/3 (*.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x x)) (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (*.f64 (pow.f64 (pow.f64 x 3) 3) -1/27))) (neg.f64 (+.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x (-.f64 x (*.f64 -1/3 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 -1/3 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/9)) (-.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/3 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/3 (pow.f64 x 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/3 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 2) (*.f64 x (cbrt.f64 -1/3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 -1/3 (pow.f64 x 3))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 471× | fabs-mul_binary64 |
| 438× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 1 | 15 | 15 |
| 2 | 32 | 15 |
| 3 | 56 | 15 |
| 4 | 114 | 15 |
| 5 | 326 | 15 |
| 6 | 1180 | 15 |
| 7 | 1869 | 15 |
| 8 | 1956 | 15 |
| 9 | 2089 | 15 |
| 10 | 2247 | 15 |
| 11 | 2486 | 15 |
| 12 | 2808 | 15 |
| 13 | 3231 | 15 |
| 14 | 3733 | 15 |
| 15 | 4335 | 15 |
| 16 | 5057 | 15 |
| 17 | 5378 | 15 |
| 18 | 5664 | 15 |
| 19 | 5886 | 15 |
| 20 | 6064 | 15 |
| 21 | 6144 | 15 |
| 22 | 7084 | 15 |
| 1× | node limit |
| Inputs |
|---|
x |
(*.f64 -1/3 (pow.f64 x 3)) |
(*.f64 -1/3 (pow.f64 x 3)) |
| Outputs |
|---|
x |
(*.f64 -1/3 (pow.f64 x 3)) |
(*.f64 -1/3 (pow.f64 x 3)) |
Compiled 2825 to 1930 computations (31.7% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 219 | 1 | 220 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 1 | 2 |
| Total | 220 | 4 | 224 |
| Status | Error | Program |
|---|---|---|
| ▶ | 2.0b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 3.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 3.3b | x | |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 19 to 13 computations (31.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cosh.f64 x) | |
| 0.0b | (sinh.f64 x) | |
| ✓ | 2.0b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
Compiled 11 to 4 computations (63.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| 0.0ms | x | @ | -inf | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| 1× | batch-egg-rewrite |
| 625× | pow1_binary64 |
| 581× | add-log-exp_binary64 |
| 580× | log1p-expm1-u_binary64 |
| 580× | expm1-log1p-u_binary64 |
| 568× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 1 | 110 | 8 |
| 2 | 1519 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (sinh.f64 x) (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (sinh.f64 x) (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 2) (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) (sqrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sinh.f64 x)) (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) 1) (/.f64 (cbrt.f64 (sinh.f64 x)) (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sinh.f64 x)) 1) (/.f64 (sqrt.f64 (sinh.f64 x)) (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (/.f64 (sinh.f64 x) (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (/.f64 (sqrt.f64 (sinh.f64 x)) (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 (sinh.f64 x) (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (sqrt.f64 (cosh.f64 x))) (/.f64 (cbrt.f64 (sinh.f64 x)) (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sinh.f64 x) (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (cosh.f64 x) (sinh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (sinh.f64 x) (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (sinh.f64 x) (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (sinh.f64 x) (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 871× | div-sub_binary64 |
| 830× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 590× | fma-neg_binary64 |
| 303× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 222 |
| 1 | 65 | 222 |
| 2 | 140 | 222 |
| 3 | 333 | 222 |
| 4 | 688 | 222 |
| 5 | 1579 | 222 |
| 6 | 2473 | 222 |
| 7 | 3981 | 222 |
| 8 | 6252 | 222 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 1024 to 495 computations (51.7% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 0 | 100 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 100 | 4 | 104 |
| Status | Error | Program |
|---|---|---|
| ✓ | 2.0b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 3.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 3.3b | x | |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 19 to 13 computations (31.6% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 2.0b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 3.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 3.3b | x | |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 19 to 13 computations (31.6% saved)
Total -58.9b remaining (-188480.9%)
Threshold costs -58.9b (-188480.9%)
| Inputs |
|---|
x |
(tanh.f64 x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(tanh.f64 x) |
2 calls:
| 5.0ms | x |
| 2.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 56 to 31 computations (44.6% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 4 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(tanh.f64 x) |
x |
| Outputs |
|---|
(tanh.f64 x) |
x |
Compiled 5 to 3 computations (40% saved)
Compiled 4 to 2 computations (50% saved)
Loading profile data...