Time bar (total: 2.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 100% | 0% | 0% | 2 |
Compiled 10 to 8 computations (20% saved)
| 764.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 700× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 311× | fabs-div_binary64 |
| 290× | exp-prod_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 419 | 13 |
| 8 | 1133 | 13 |
| 9 | 3111 | 13 |
| 10 | 4302 | 13 |
| 11 | 5484 | 13 |
| 12 | 7191 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
| 700× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 311× | fabs-div_binary64 |
| 290× | exp-prod_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 419 | 13 |
| 8 | 1133 | 13 |
| 9 | 3111 | 13 |
| 10 | 4302 | 13 |
| 11 | 5484 | 13 |
| 12 | 7191 | 13 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% 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 |
|---|---|---|
| ▶ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | |
| ✓ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 24 to 8 computations (66.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 91× | add-sqr-sqrt_binary64 |
| 87× | add-log-exp_binary64 |
| 85× | *-un-lft-identity_binary64 |
| 85× | add-exp-log_binary64 |
| 85× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 9 |
| 1 | 176 | 9 |
| 2 | 2824 | 9 |
| 0 | 8 | 9 |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 2 (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 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))))))) |
| 1× | egg-herbie |
| 722× | fma-def_binary64 |
| 400× | associate-/l/_binary64 |
| 362× | *-commutative_binary64 |
| 326× | distribute-lft-out_binary64 |
| 301× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 156 |
| 1 | 66 | 154 |
| 2 | 132 | 152 |
| 3 | 355 | 150 |
| 4 | 1205 | 150 |
| 5 | 3121 | 150 |
| 6 | 4299 | 150 |
| 7 | 7047 | 150 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
| Outputs |
|---|
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 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1)) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 214 to 158 computations (26.2% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 4 | 20 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 17 | 4 | 21 |
| Status | Error | Program |
|---|---|---|
| ▶ | 32.4b | (fma.f64 -1/2 (*.f64 x x) 1) |
| 31.8b | 1 | |
| ▶ | 0.0b | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| ▶ | 0.0b | (*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
Compiled 34 to 28 computations (17.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) | |
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
Compiled 24 to 16 computations (33.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | 0 | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1× | batch-egg-rewrite |
| 603× | pow1_binary64 |
| 559× | add-log-exp_binary64 |
| 558× | log1p-expm1-u_binary64 |
| 558× | expm1-log1p-u_binary64 |
| 547× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 132 | 6 |
| 2 | 1583 | 6 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 713× | fma-def_binary64 |
| 391× | *-commutative_binary64 |
| 372× | associate-/l/_binary64 |
| 345× | fma-neg_binary64 |
| 326× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 156 |
| 1 | 56 | 154 |
| 2 | 120 | 152 |
| 3 | 331 | 150 |
| 4 | 1128 | 150 |
| 5 | 2950 | 150 |
| 6 | 3717 | 150 |
| 7 | 4649 | 150 |
| 8 | 7728 | 150 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
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) |
(fma.f64 x (*.f64 -1/2 x) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 x (*.f64 -1/2 x) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -1/2 (*.f64 x x) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) | |
| 0.0b | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) | |
| ✓ | 0.0b | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
Compiled 37 to 25 computations (32.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 1× | batch-egg-rewrite |
| 688× | pow1_binary64 |
| 640× | add-log-exp_binary64 |
| 639× | log1p-expm1-u_binary64 |
| 639× | expm1-log1p-u_binary64 |
| 624× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 6 |
| 1 | 173 | 6 |
| 2 | 1858 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (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 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 2) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 2)) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 713× | fma-def_binary64 |
| 391× | *-commutative_binary64 |
| 372× | associate-/l/_binary64 |
| 345× | fma-neg_binary64 |
| 326× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 156 |
| 1 | 56 | 154 |
| 2 | 120 | 152 |
| 3 | 331 | 150 |
| 4 | 1128 | 150 |
| 5 | 2950 | 150 |
| 6 | 3717 | 150 |
| 7 | 4649 | 150 |
| 8 | 7728 | 150 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
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) |
(fma.f64 x (*.f64 -1/2 x) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 x (*.f64 -1/2 x) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -1/2 (*.f64 x x) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 13 to 7 computations (46.2% saved)
Compiled 1579 to 1123 computations (28.9% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 119 | 3 | 122 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 0 | 2 |
| Total | 123 | 3 | 126 |
| Status | Error | Program |
|---|---|---|
| 31.8b | 1 | |
| ▶ | 0.0b | (cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
| ▶ | 0.0b | (/.f64 1 (cosh.f64 x)) |
Compiled 15 to 13 computations (13.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 1 (cosh.f64 x)) | |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (cosh.f64 x)) |
| 1× | batch-egg-rewrite |
| 461× | pow1_binary64 |
| 448× | add-sqr-sqrt_binary64 |
| 438× | *-un-lft-identity_binary64 |
| 428× | add-log-exp_binary64 |
| 426× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 102 | 6 |
| 2 | 1198 | 6 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -1/2) 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 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 713× | fma-def_binary64 |
| 391× | *-commutative_binary64 |
| 372× | associate-/l/_binary64 |
| 345× | fma-neg_binary64 |
| 326× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 156 |
| 1 | 56 | 154 |
| 2 | 120 | 152 |
| 3 | 331 | 150 |
| 4 | 1128 | 150 |
| 5 | 2950 | 150 |
| 6 | 3717 | 150 |
| 7 | 4649 | 150 |
| 8 | 7728 | 150 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
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) |
(fma.f64 x (*.f64 -1/2 x) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 x (*.f64 -1/2 x) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -1/2 (*.f64 x x) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 (/.f64 1 (cosh.f64 x)) 3) | |
| 0.0b | (/.f64 1 (cosh.f64 x)) | |
| 0.0b | (cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) | |
| ✓ | 0.0b | (cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
| 0.0b | (/.f64 1 (cosh.f64 x)) | |
| ✓ | 0.0b | (pow.f64 (/.f64 1 (cosh.f64 x)) 3) |
Compiled 23 to 15 computations (34.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (pow.f64 (/.f64 1 (cosh.f64 x)) 3) |
| 2.0ms | x | @ | inf | (pow.f64 (/.f64 1 (cosh.f64 x)) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (/.f64 1 (cosh.f64 x)) 3) |
| 0.0ms | x | @ | -inf | (cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
| 1× | batch-egg-rewrite |
| 634× | pow1_binary64 |
| 600× | add-log-exp_binary64 |
| 598× | log1p-expm1-u_binary64 |
| 598× | expm1-log1p-u_binary64 |
| 584× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 172 | 12 |
| 2 | 1744 | 12 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 1 (cosh.f64 x)) 3) |
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cosh.f64 x) -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cosh.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -2) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -3/2) (pow.f64 (cosh.f64 x) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) 3) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 3) (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cosh.f64 x) -2) 1) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cosh.f64 x) -2) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cosh.f64 x) -2) (pow.f64 (cosh.f64 x) -1/2)) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (cosh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (cosh.f64 x) 3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cosh.f64 x) -2) (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (pow.f64 (neg.f64 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (pow.f64 (cosh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (pow.f64 (cosh.f64 x) -2)) (neg.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cosh.f64 x) -2) 1) (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cosh.f64 x) -2) -1) (neg.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cosh.f64 x) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cosh.f64 x) -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cosh.f64 x) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cosh.f64 x) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cosh.f64 x) -3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (pow.f64 (cosh.f64 x) -2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cosh.f64 x) -2) 1/3) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cosh.f64 x) -3/2) 1/3) (pow.f64 (pow.f64 (cosh.f64 x) -3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (neg.f64 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cosh.f64 x) -1/2) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (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 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -1/2) 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 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 706× | times-frac_binary64 |
| 448× | associate-/r*_binary64 |
| 432× | fma-def_binary64 |
| 420× | distribute-rgt-out_binary64 |
| 376× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 336 |
| 1 | 88 | 332 |
| 2 | 218 | 326 |
| 3 | 679 | 324 |
| 4 | 2268 | 324 |
| 5 | 4921 | 324 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4)))) |
(+.f64 (*.f64 -241/240 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4))))) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -3/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -3/2 (*.f64 x x))) |
(fma.f64 -3/2 (*.f64 x x) 1) |
(+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4)))) |
(fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) 1)) |
(+.f64 (*.f64 -241/240 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (*.f64 11/8 (pow.f64 x 4))))) |
(fma.f64 -241/240 (pow.f64 x 6) (+.f64 1 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4))))) |
(+.f64 (fma.f64 -3/2 (*.f64 x x) (*.f64 11/8 (pow.f64 x 4))) (fma.f64 -241/240 (pow.f64 x 6) 1)) |
(fma.f64 -241/240 (pow.f64 x 6) (fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) 1))) |
(fma.f64 -3/2 (*.f64 x x) (fma.f64 11/8 (pow.f64 x 4) (fma.f64 -241/240 (pow.f64 x 6) 1))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 11/8 -3/2) (fma.f64 -241/240 (pow.f64 x 6) 1)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(/.f64 8 (pow.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 3)) |
(/.f64 8 (pow.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24))) |
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) 5/24))) |
(fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24)))) |
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (fma.f64 (pow.f64 x 4) 5/24 (*.f64 (pow.f64 x 6) -61/720)))) |
(+.f64 (*.f64 (pow.f64 x 6) -61/720) (fma.f64 (pow.f64 x 4) 5/24 (fma.f64 x (*.f64 x -1/2) 1))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 (pow.f64 x 6) -61/720 1)) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 1273 to 859 computations (32.5% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 132 | 1 | 133 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 133 | 3 | 136 |
| Status | Error | Program |
|---|---|---|
| 31.8b | 1 | |
| ▶ | 0.0b | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
Compiled 14 to 12 computations (14.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) | |
| 0.0b | (pow.f64 (cosh.f64 x) -1/2) | |
| ✓ | 0.0b | (pow.f64 (cosh.f64 x) -1/2) |
| ✓ | 0.0b | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
Compiled 16 to 10 computations (37.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 57.0ms | x | @ | inf | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
| 33.0ms | x | @ | -inf | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
| 4.0ms | x | @ | 0 | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
| 0.0ms | x | @ | 0 | (pow.f64 (cosh.f64 x) -1/2) |
| 0.0ms | x | @ | inf | (pow.f64 (cosh.f64 x) -1/2) |
| 1× | batch-egg-rewrite |
| 629× | pow1_binary64 |
| 586× | add-log-exp_binary64 |
| 585× | log1p-expm1-u_binary64 |
| 585× | expm1-log1p-u_binary64 |
| 571× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 155 | 12 |
| 2 | 1660 | 12 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
(pow.f64 (cosh.f64 x) -1/2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)) (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/4) (*.f64 (pow.f64 (cosh.f64 x) -1/4) (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/4)) (pow.f64 (cosh.f64 x) -1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cosh.f64 x) -1/2) (cbrt.f64 (/.f64 1 (cosh.f64 x)))) (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(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 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cosh.f64 x) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/4) (pow.f64 (cosh.f64 x) -1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) (sqrt.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1/2) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1/2) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cosh.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -1/2 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 652× | distribute-lft-out_binary64 |
| 404× | fma-def_binary64 |
| 356× | associate-/l/_binary64 |
| 331× | *-commutative_binary64 |
| 313× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 368 |
| 1 | 89 | 364 |
| 2 | 199 | 360 |
| 3 | 565 | 356 |
| 4 | 1963 | 356 |
| 5 | 3628 | 356 |
| 6 | 4652 | 356 |
| 7 | 5834 | 356 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
1 |
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 7/96 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -139/5760 (pow.f64 x 6)) (*.f64 7/96 (pow.f64 x 4))))) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
| Outputs |
|---|
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 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1)) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
1 |
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) -1/4)) |
(fma.f64 (*.f64 x x) -1/4 1) |
(fma.f64 x (*.f64 x -1/4) 1) |
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 7/96 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (*.f64 (pow.f64 x 4) 7/96))) |
(+.f64 1 (fma.f64 (*.f64 x x) -1/4 (*.f64 (pow.f64 x 4) 7/96))) |
(fma.f64 (*.f64 x x) -1/4 (fma.f64 (pow.f64 x 4) 7/96 1)) |
(fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 4) 7/96 1)) |
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -139/5760 (pow.f64 x 6)) (*.f64 7/96 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -139/5760 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 7/96)))) |
(+.f64 1 (fma.f64 (*.f64 x x) -1/4 (fma.f64 (pow.f64 x 4) 7/96 (*.f64 (pow.f64 x 6) -139/5760)))) |
(+.f64 1 (fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 6) -139/5760 (*.f64 (pow.f64 x 4) 7/96)))) |
(fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 6) -139/5760 (fma.f64 (pow.f64 x 4) 7/96 1))) |
(fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 4) 7/96 (fma.f64 (pow.f64 x 6) -139/5760 1))) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) (sqrt.f64 2)) |
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (sqrt.f64 2)) |
Compiled 548 to 385 computations (29.7% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 1 | 53 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 53 | 3 | 56 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| 31.8b | 1 |
Compiled 14 to 12 computations (14.3% saved)
| Inputs |
|---|
1 |
1 |
1 |
(/.f64 1 (cosh.f64 x)) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
5 calls:
| 6.0ms | x |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 92 to 68 computations (26.1% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
| Inputs |
|---|
1 |
1 |
1 |
| Outputs |
|---|
1 |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 31.8b | 1 | x |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 7 | 7 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
1 |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
1 |
| 1× | fuel |
Compiled 13 to 11 computations (15.4% saved)
Loading profile data...