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 | 4047× | body | 1024 | valid |
| 526.0ms | 2011× | body | 512 | valid |
| 257.0ms | 393× | body | 2048 | valid |
| 236.0ms | 1805× | body | 256 | valid |
| 0.0ms | 3× | 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 |
|---|---|---|
| ▶ | 58.5b | (/.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.5b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 4.9b | (-.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 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (+.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.5b | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| 3.3b | x | |
| ▶ | 43.1b | (/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ▶ | 0.0b | (tanh.f64 x) |
Compiled 40 to 29 computations (27.5% 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 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sinh.f64 x) |
| ✓ | 0.0b | (/.f64 1 (*.f64 2 (cosh.f64 x))) |
| ✓ | 2.5b | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
Compiled 33 to 20 computations (39.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
| 3.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.0ms | x | @ | 0 | (*.f64 (*.f64 2 (sinh.f64 x)) (/.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 | 23 |
| 1 | 211 | 17 |
| 2 | 2628 | 17 |
| 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) |
| 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))))))) |
| 1× | egg-herbie |
| 723× | distribute-lft-out_binary64 |
| 677× | fma-def_binary64 |
| 508× | unswap-sqr_binary64 |
| 466× | associate-*l*_binary64 |
| 386× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 528 |
| 1 | 134 | 526 |
| 2 | 330 | 514 |
| 3 | 975 | 514 |
| 4 | 3199 | 514 |
| 5 | 5113 | 514 |
| 6 | 7238 | 514 |
| 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)))) |
| 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)))) |
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)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/48 -1/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))) |
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/48 -1/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)) |
(+.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))) |
(*.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))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) |
| ✓ | 0.1b | (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))) |
| ✓ | 2.5b | (/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 40.6b | (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) |
Compiled 82 to 41 computations (50% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | x | @ | 0 | (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))) |
| 4× | egg-rewrite |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 661× | pow1_binary64 |
| 649× | pow1_binary64 |
| 620× | add-log-exp_binary64 |
| 618× | log1p-expm1-u_binary64 |
| 618× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 24 |
| 1 | 276 | 24 |
| 2 | 4412 | 24 |
| 0 | 8 | 6 |
| 1 | 163 | 6 |
| 2 | 1816 | 6 |
| 0 | 13 | 14 |
| 1 | 276 | 14 |
| 2 | 4412 | 14 |
| 0 | 13 | 14 |
| 0 | 7 | 9 |
| 1 | 147 | 9 |
| 2 | 1759 | 9 |
| 0 | 6 | 9 |
| 1 | 127 | 9 |
| 2 | 1509 | 9 |
| 1× | node limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | node limit |
| 1× | unsound |
| Inputs |
|---|
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) |
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))) |
(*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.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 (exp.f64 x) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(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 (sqrt.f64 2) (sqrt.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2))) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sinh.f64 x) 4)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) 1/3) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2)) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (sinh.f64 x))) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sinh.f64 x) 4) 2)))) (#(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 pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.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 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))) (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 8 (pow.f64 (sinh.f64 x) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 8 (pow.f64 (sinh.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (sinh.f64 x))) 3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sinh.f64 x) 4) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 4) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 2))))))) |
| 1× | egg-herbie |
| 553× | distribute-lft-out_binary64 |
| 504× | unswap-sqr_binary64 |
| 404× | times-frac_binary64 |
| 398× | fma-def_binary64 |
| 376× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 81 | 708 |
| 1 | 209 | 708 |
| 2 | 499 | 708 |
| 3 | 1607 | 708 |
| 4 | 2744 | 708 |
| 5 | 6977 | 708 |
| 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) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 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) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(*.f64 8 (pow.f64 x 3)) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (*.f64 8 (pow.f64 x 3))) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (*.f64 13/15 (pow.f64 x 7)))) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (+.f64 (*.f64 13/15 (pow.f64 x 7)) (*.f64 41/378 (pow.f64 x 9))))) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(*.f64 4 (pow.f64 x 2)) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4))) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 8/45 (pow.f64 x 6)))) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 4/315 (pow.f64 x 8)) (*.f64 8/45 (pow.f64 x 6))))) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
| 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 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 2 x))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (+.f64 x x))) |
(+.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 2 x (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/2520 (pow.f64 x 7))))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 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 7) -17/315 (fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 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))) |
(/.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.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) (/.f64 1 (exp.f64 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) (/.f64 1 (exp.f64 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) (/.f64 1 (exp.f64 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) (/.f64 1 (exp.f64 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 8 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) 8) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (*.f64 8 (pow.f64 x 3))) |
(fma.f64 4 (pow.f64 x 5) (*.f64 (pow.f64 x 3) 8)) |
(fma.f64 (pow.f64 x 3) 8 (*.f64 (pow.f64 x 5) 4)) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (*.f64 13/15 (pow.f64 x 7)))) |
(fma.f64 4 (pow.f64 x 5) (fma.f64 8 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 13/15))) |
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 3) 8 (*.f64 (pow.f64 x 7) 13/15))) |
(fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 5) 4 (*.f64 (pow.f64 x 7) 13/15))) |
(+.f64 (*.f64 4 (pow.f64 x 5)) (+.f64 (*.f64 8 (pow.f64 x 3)) (+.f64 (*.f64 13/15 (pow.f64 x 7)) (*.f64 41/378 (pow.f64 x 9))))) |
(fma.f64 4 (pow.f64 x 5) (fma.f64 8 (pow.f64 x 3) (fma.f64 13/15 (pow.f64 x 7) (*.f64 41/378 (pow.f64 x 9))))) |
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 7) 13/15 (*.f64 41/378 (pow.f64 x 9))))) |
(fma.f64 (pow.f64 x 3) 8 (fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 7) 13/15 (*.f64 41/378 (pow.f64 x 9))))) |
(fma.f64 (pow.f64 x 5) 4 (fma.f64 (pow.f64 x 7) 13/15 (fma.f64 41/378 (pow.f64 x 9) (*.f64 (pow.f64 x 3) 8)))) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) |
(*.f64 4 (pow.f64 x 2)) |
(*.f64 4 (*.f64 x x)) |
(*.f64 x (*.f64 x 4)) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4))) |
(fma.f64 4 (*.f64 x x) (*.f64 4/3 (pow.f64 x 4))) |
(fma.f64 x (*.f64 x 4) (*.f64 4/3 (pow.f64 x 4))) |
(fma.f64 4/3 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 8/45 (pow.f64 x 6)))) |
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (*.f64 8/45 (pow.f64 x 6)))) |
(fma.f64 x (*.f64 x 4) (fma.f64 4/3 (pow.f64 x 4) (*.f64 8/45 (pow.f64 x 6)))) |
(fma.f64 4/3 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 8/45 (pow.f64 x 6)))) |
(fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 x (*.f64 x 4)))) |
(+.f64 (*.f64 4 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 4/315 (pow.f64 x 8)) (*.f64 8/45 (pow.f64 x 6))))) |
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 4/315 (pow.f64 x 8) (*.f64 8/45 (pow.f64 x 6))))) |
(fma.f64 4 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 4/315 (pow.f64 x 8))))) |
(fma.f64 x (*.f64 x 4) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (*.f64 4/315 (pow.f64 x 8))))) |
(fma.f64 x (*.f64 x 4) (fma.f64 8/45 (pow.f64 x 6) (fma.f64 4/315 (pow.f64 x 8) (*.f64 4/3 (pow.f64 x 4))))) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 2) |
(pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
Compiled 3673 to 2096 computations (42.9% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 247 | 3 | 250 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 1 | 2 |
| Total | 250 | 4 | 254 |
| Status | Error | Program |
|---|---|---|
| ▶ | 2.5b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ▶ | 40.4b | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
| 3.3b | x | |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 17 to 12 computations (29.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (tanh.f64 x) | |
| ✓ | 0.0b | (pow.f64 (tanh.f64 x) 3) |
| ✓ | 40.4b | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
Compiled 14 to 8 computations (42.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (pow.f64 (tanh.f64 x) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (tanh.f64 x) 3) |
| 0.0ms | x | @ | 0 | (pow.f64 (tanh.f64 x) 3) |
| 0.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
| 1× | batch-egg-rewrite |
| 637× | pow1_binary64 |
| 606× | add-log-exp_binary64 |
| 604× | log1p-expm1-u_binary64 |
| 604× | expm1-log1p-u_binary64 |
| 592× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 142 | 9 |
| 2 | 1579 | 9 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
(pow.f64 (tanh.f64 x) 3) |
| 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 (pow.f64 (exp.f64 -2) x))) (/.f64 (pow.f64 (exp.f64 -2) x) (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(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 (cbrt.f64 (tanh.f64 x)) (pow.f64 (pow.f64 (tanh.f64 x) 2) 1/3))))) (#(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 (pow.f64 (exp.f64 -2) x)) (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(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 (pow.f64 (pow.f64 (tanh.f64 x) 2) 1/3) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (tanh.f64 x) 3/2) 1/3) (pow.f64 (pow.f64 (tanh.f64 x) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) (-.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(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 (pow.f64 (exp.f64 -2) x)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(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 (pow.f64 (exp.f64 -2) x))) (neg.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x))))))) (#(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 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 (+.f64 1 (pow.f64 (tanh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (tanh.f64 x) (pow.f64 (tanh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (tanh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 2) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) (*.f64 (cbrt.f64 (tanh.f64 x)) (pow.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (tanh.f64 x)) (*.f64 (sqrt.f64 (tanh.f64 x)) (pow.f64 (tanh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tanh.f64 x) 3/2) (pow.f64 (tanh.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (tanh.f64 x)) 2) 3) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (tanh.f64 x)) 3) (pow.f64 (sqrt.f64 (tanh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) 1) (tanh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (pow.f64 (cbrt.f64 (tanh.f64 x)) 2)) (cbrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (sqrt.f64 (tanh.f64 x))) (sqrt.f64 (tanh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) 3) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 -2) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (expm1.f64 (*.f64 x 2)) 3) (pow.f64 (+.f64 1 (pow.f64 (exp.f64 2) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) (pow.f64 (*.f64 2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (exp.f64 -2) x)) (pow.f64 (tanh.f64 x) 2)) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (expm1.f64 (*.f64 x 2)) (pow.f64 (tanh.f64 x) 2)) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (pow.f64 (tanh.f64 x) 2)) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (-.f64 1 (pow.f64 (exp.f64 -2) x))) (+.f64 1 (pow.f64 (exp.f64 -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (expm1.f64 (*.f64 x 2))) (+.f64 1 (pow.f64 (exp.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (tanh.f64 x) 2) (*.f64 2 (sinh.f64 x))) (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tanh.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (tanh.f64 x) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (tanh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (tanh.f64 x)))))))) |
| 1× | egg-herbie |
| 729× | distribute-rgt-in_binary64 |
| 696× | distribute-lft-in_binary64 |
| 439× | fma-def_binary64 |
| 389× | associate-/r/_binary64 |
| 342× | associate-/l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 504 |
| 1 | 115 | 501 |
| 2 | 314 | 501 |
| 3 | 1020 | 477 |
| 4 | 3065 | 477 |
| 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))) |
(pow.f64 x 3) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (pow.f64 x 3)) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3))) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 -88/189 (pow.f64 x 9)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3)))) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
| 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)))) |
(pow.f64 x 3) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (pow.f64 x 3)) |
(fma.f64 -1 (pow.f64 x 5) (pow.f64 x 3)) |
(-.f64 (pow.f64 x 3) (pow.f64 x 5)) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3))) |
(fma.f64 -1 (pow.f64 x 5) (fma.f64 11/15 (pow.f64 x 7) (pow.f64 x 3))) |
(-.f64 (fma.f64 (pow.f64 x 7) 11/15 (pow.f64 x 3)) (pow.f64 x 5)) |
(+.f64 (*.f64 -1 (pow.f64 x 5)) (+.f64 (*.f64 -88/189 (pow.f64 x 9)) (+.f64 (*.f64 11/15 (pow.f64 x 7)) (pow.f64 x 3)))) |
(fma.f64 -1 (pow.f64 x 5) (fma.f64 -88/189 (pow.f64 x 9) (fma.f64 11/15 (pow.f64 x 7) (pow.f64 x 3)))) |
(-.f64 (fma.f64 -88/189 (pow.f64 x 9) (fma.f64 (pow.f64 x 7) 11/15 (pow.f64 x 3))) (pow.f64 x 5)) |
(-.f64 (fma.f64 (pow.f64 x 7) 11/15 (fma.f64 -88/189 (pow.f64 x 9) (pow.f64 x 3))) (pow.f64 x 5)) |
(fma.f64 (pow.f64 x 7) 11/15 (-.f64 (fma.f64 -88/189 (pow.f64 x 9) (pow.f64 x 3)) (pow.f64 x 5))) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3) (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3) (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(pow.f64 (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) 3) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sinh.f64 x) | |
| ✓ | 2.5b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
Compiled 11 to 4 computations (63.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| 0.0ms | x | @ | 0 | (/.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 2124 to 1296 computations (39% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 190 | 1 | 191 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 191 | 4 | 195 |
| Status | Error | Program |
|---|---|---|
| 3.3b | x | |
| ✓ | 2.5b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 40.4b | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 17 to 12 computations (29.4% 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 |
|---|---|---|
| 3.3b | x | |
| ✓ | 2.5b | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 40.4b | (cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
| ✓ | 0.0b | (tanh.f64 x) |
Compiled 17 to 12 computations (29.4% saved)
| Inputs |
|---|
x |
x |
x |
(tanh.f64 x) |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(*.f64 (*.f64 2 (sinh.f64 x)) (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
(cbrt.f64 (pow.f64 (tanh.f64 x) 3)) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(tanh.f64 x) |
2 calls:
| 6.0ms | x |
| 4.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 78 to 39 computations (50% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
| Inputs |
|---|
x |
x |
x |
| Outputs |
|---|
x |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 3.3b | 1 | x |
Compiled 6 to 2 computations (66.7% 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...