Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 10 to 8 computations (20% saved)
| 681.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 702× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 290× | exp-prod_binary64 |
| 264× | *-commutative_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 | 434 | 13 |
| 8 | 1195 | 13 |
| 9 | 3176 | 13 |
| 10 | 4367 | 13 |
| 11 | 5548 | 13 |
| 12 | 7298 | 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 |
| 702× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 290× | exp-prod_binary64 |
| 264× | *-commutative_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 | 434 | 13 |
| 8 | 1195 | 13 |
| 9 | 3176 | 13 |
| 10 | 4367 | 13 |
| 11 | 5548 | 13 |
| 12 | 7298 | 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 (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)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.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.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 91× | add-sqr-sqrt_binary64 |
| 91× | add-sqr-sqrt_binary64 |
| 87× | add-log-exp_binary64 |
| 87× | add-log-exp_binary64 |
| 85× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 176 | 18 |
| 2 | 2839 | 18 |
| 0 | 8 | 9 |
| 1 | 176 | 9 |
| 2 | 2839 | 9 |
| 0 | 8 | 9 |
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2150 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(/.f64 2 (+.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 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))))))))) |
((#(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 |
| 643× | fma-def_binary64 |
| 488× | associate-*l*_binary64 |
| 407× | associate-/l*_binary64 |
| 394× | distribute-rgt-in_binary64 |
| 393× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 94 | 566 |
| 1 | 223 | 550 |
| 2 | 836 | 413 |
| 3 | 4593 | 335 |
| 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)))) |
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))) |
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 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))))) |
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 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))))) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(*.f64 1 (*.f64 2 (cosh.f64 x))) |
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 2 (cosh.f64 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)))))) |
(/.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)))) |
(pow.f64 (*.f64 2 (cosh.f64 x)) 1) |
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x)))) |
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x)))) |
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) |
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x)))) |
(exp.f64 (log.f64 (*.f64 2 (cosh.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) |
(+.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)) |
(+.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 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1)) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.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 (+.f64 2 (*.f64 x x)) (*.f64 (pow.f64 x 4) 1/12)) |
(+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 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 (pow.f64 x 4) 1/12)))) |
(+.f64 2 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) |
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 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))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 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))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 1 (*.f64 2 (cosh.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 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)))))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (*.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 -1 (exp.f64 (*.f64 x -2))))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (exp.f64 (*.f64 x -3))) (+.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (*.f64 x -2)))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) 2) (expm1.f64 (*.f64 x -2)))) |
(/.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)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(pow.f64 (*.f64 2 (cosh.f64 x)) 1) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(*.f64 2 (cosh.f64 x)) |
Compiled 690 to 468 computations (32.2% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 4 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 52 | 4 | 56 |
| Status | Error | Program |
|---|---|---|
| ▶ | 15.3b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ▶ | 31.6b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 31.1b | 1 |
Compiled 23 to 18 computations (21.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ✓ | 0.0b | (*.f64 -1/2 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 671× | pow1_binary64 |
| 628× | add-log-exp_binary64 |
| 627× | log1p-expm1-u_binary64 |
| 627× | expm1-log1p-u_binary64 |
| 616× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 145 | 15 |
| 2 | 1761 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 -1/2 x) x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x 1))))) |
| 1× | egg-herbie |
| 698× | associate-/l*_binary64 |
| 458× | fma-neg_binary64 |
| 383× | associate-*l*_binary64 |
| 339× | associate-*r*_binary64 |
| 273× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 101 | 759 |
| 1 | 237 | 691 |
| 2 | 717 | 679 |
| 3 | 3778 | 679 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(*.f64 -1/2 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(*.f64 -1/2 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(-.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))) |
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))) |
(-.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1) |
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(*.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) |
(*.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(*.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2)))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))) |
(*.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))))) |
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4))))) |
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))) |
(/.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1)) |
(pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3) |
(pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3) |
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2) |
(sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2)) |
(log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1) |
(fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1) |
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1) |
(fma.f64 (*.f64 -1/2 x) x 1) |
| Outputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(-.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(*.f64 -1/2 (*.f64 x x)) |
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1) |
(*.f64 -1/2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3) |
(*.f64 -1/2 (*.f64 x x)) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(*.f64 -1/2 (*.f64 x x)) |
(pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3) |
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) |
(cbrt.f64 (*.f64 -1/8 (pow.f64 x 6))) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))) |
(*.f64 -1/2 (*.f64 x x)) |
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) |
(cbrt.f64 (*.f64 -1/8 (pow.f64 x 6))) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(-.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(*.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2)) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2)))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2))))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1))) |
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1))) |
(*.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2))))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1))) |
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1))) |
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4))))) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2))))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1))) |
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1))) |
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2))))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1))) |
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1))) |
(/.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(/.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))) |
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2))))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1))) |
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1))) |
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1))) |
(/.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))))) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1)) |
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1)) |
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1)) |
(pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2)) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3)) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1) |
(fma.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) 1) |
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 (*.f64 -1/2 x) x 1) |
(fma.f64 -1/2 (*.f64 x x) 1) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cosh.f64 x) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 1 (cosh.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | 0 | (cosh.f64 x) |
| 0.0ms | x | @ | inf | (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 | 9 |
| 1 | 102 | 9 |
| 2 | 1198 | 9 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
(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)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (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 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cosh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.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 (pow.f64 (cosh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cosh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 x))))))) |
| 1× | egg-herbie |
| 607× | unswap-sqr_binary64 |
| 551× | associate-/r*_binary64 |
| 479× | associate-*l/_binary64 |
| 412× | associate-*r/_binary64 |
| 354× | associate-/l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 119 | 824 |
| 1 | 282 | 742 |
| 2 | 1238 | 469 |
| 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/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2)) |
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x)))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1)) |
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1)) |
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2) |
(pow.f64 (cosh.f64 x) -1) |
(pow.f64 (/.f64 1 (cosh.f64 x)) 1) |
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3) |
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
(sqrt.f64 (pow.f64 (cosh.f64 x) -2)) |
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) |
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) |
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))) |
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))) |
(-.f64 (+.f64 1 (cosh.f64 x)) 1) |
(*.f64 1 (cosh.f64 x)) |
(*.f64 (cosh.f64 x) 1) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x))) |
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x))) |
(*.f64 (*.f64 2 (cosh.f64 x)) 1/2) |
(/.f64 1 (/.f64 1 (cosh.f64 x))) |
(/.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
(/.f64 (cosh.f64 x) 1) |
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(/.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2)) |
(/.f64 (*.f64 2 (cosh.f64 x)) 2) |
(/.f64 (neg.f64 (cosh.f64 x)) -1) |
(/.f64 (neg.f64 (*.f64 2 (cosh.f64 x))) -2) |
(pow.f64 (cosh.f64 x) 1) |
(pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3) |
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) 2) |
(sqrt.f64 (pow.f64 (cosh.f64 x) 2)) |
(log.f64 (exp.f64 (cosh.f64 x))) |
(cbrt.f64 (pow.f64 (cosh.f64 x) 3)) |
(expm1.f64 (log1p.f64 (cosh.f64 x))) |
(log1p.f64 (expm1.f64 (cosh.f64 x))) |
(exp.f64 (log.f64 (cosh.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) |
(+.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)))) |
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 5/24 (pow.f64 x 4))) |
(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 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.f64 x)) |
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) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (*.f64 (pow.f64 x 4) 1/24)) |
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (*.f64 x x) 1/2 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/720)))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (fma.f64 (pow.f64 x 6) 1/720 (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (cosh.f64 x))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (cosh.f64 x))) |
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (cosh.f64 x) -1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (/.f64 1 (cosh.f64 x)) 1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(sqrt.f64 (pow.f64 (cosh.f64 x) -2)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(-.f64 (+.f64 1 (cosh.f64 x)) 1) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 1 (cosh.f64 x)) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 (cosh.f64 x) 1) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(*.f64 (*.f64 2 (cosh.f64 x)) 1/2) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 1 (/.f64 1 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 (cosh.f64 x) 1) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2)) |
(/.f64 (*.f64 2 (cosh.f64 x)) 2) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 (neg.f64 (cosh.f64 x)) -1) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(/.f64 (neg.f64 (*.f64 2 (cosh.f64 x))) -2) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(pow.f64 (cosh.f64 x) 1) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) 2) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(sqrt.f64 (pow.f64 (cosh.f64 x) 2)) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(log.f64 (exp.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(cbrt.f64 (pow.f64 (cosh.f64 x) 3)) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(expm1.f64 (log1p.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(log1p.f64 (expm1.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
(exp.f64 (log.f64 (cosh.f64 x))) |
(+.f64 1 (-.f64 (cosh.f64 x) 1)) |
(+.f64 (cosh.f64 x) 0) |
(cosh.f64 x) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
Compiled 18 to 9 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 700× | pow1_binary64 |
| 657× | add-log-exp_binary64 |
| 656× | log1p-expm1-u_binary64 |
| 656× | expm1-log1p-u_binary64 |
| 644× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 137 | 8 |
| 2 | 1784 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (+.f64 2 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (fma.f64 x x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2)))))))) |
| 1× | egg-herbie |
| 880× | fma-def_binary64 |
| 617× | associate-/l*_binary64 |
| 429× | log-prod_binary64 |
| 387× | associate-*l*_binary64 |
| 354× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 91 | 542 |
| 1 | 228 | 481 |
| 2 | 733 | 418 |
| 3 | 3659 | 413 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2)))) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 6))))) |
(/.f64 2 (pow.f64 x 2)) |
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8))))) |
(/.f64 2 (pow.f64 x 2)) |
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8))))) |
(-.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1) |
(*.f64 2 (/.f64 1 (fma.f64 x x 2))) |
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(*.f64 1 (/.f64 2 (fma.f64 x x 2))) |
(*.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2)))) |
(*.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2)))) |
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2)))) |
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2) |
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x))))) |
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x))) |
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3) |
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3) |
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) |
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1) |
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2))) |
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2)))) |
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2)))) |
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2)))) |
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 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/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2)))) |
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 1/4 (pow.f64 x 4)))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 1/4 x) x -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 6))))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/8 (pow.f64 x 6) 1))) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))) |
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) |
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))) (/.f64 -16 (pow.f64 x 8)))) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))) |
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) |
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))) (/.f64 -16 (pow.f64 x 8)))) |
(-.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 2 (/.f64 1 (fma.f64 x x 2))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 1 (/.f64 2 (fma.f64 x x 2))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x))))) |
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) -2)))) |
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (fma.f64 (*.f64 x x) -2 (pow.f64 x 4)))) |
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (fma.f64 (*.f64 x x) (fma.f64 x x -2) 4)) |
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x))) |
(/.f64 (fma.f64 x (*.f64 x -2) 4) (-.f64 4 (pow.f64 x 4))) |
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2))) |
(fabs.f64 (/.f64 2 (fma.f64 x x 2))) |
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3)) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2)))) |
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1)) |
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0) |
(/.f64 2 (fma.f64 x x 2)) |
Compiled 2081 to 1490 computations (28.4% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 189 | 2 | 191 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 189 | 6 | 195 |
| Status | Error | Program |
|---|---|---|
| ▶ | 46.9b | (/.f64 (/.f64 2 x) x) |
| ✓ | 15.3b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 46.5b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ✓ | 31.6b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 31.1b | 1 |
Compiled 35 to 26 computations (25.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (/.f64 2 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 491× | pow1_binary64 |
| 479× | add-sqr-sqrt_binary64 |
| 458× | add-log-exp_binary64 |
| 458× | log1p-expm1-u_binary64 |
| 458× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 108 | 7 |
| 2 | 1297 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 614× | log-prod_binary64 |
| 557× | associate-/r*_binary64 |
| 323× | associate-*l*_binary64 |
| 305× | associate-*r*_binary64 |
| 299× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 233 |
| 1 | 125 | 233 |
| 2 | 406 | 233 |
| 3 | 2601 | 233 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (pow.f64 x -2) 2) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x)))) |
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
| Outputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (pow.f64 x -2) 2) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(sqrt.f64 (*.f64 4 (pow.f64 x -4))) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 (/.f64 2 x) x) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (/.f64 2 x) x) |
| 0.0ms | x | @ | -inf | (/.f64 (/.f64 2 x) x) |
| 0.0ms | x | @ | inf | (/.f64 (/.f64 2 x) x) |
| 1× | batch-egg-rewrite |
| 581× | pow1_binary64 |
| 544× | add-log-exp_binary64 |
| 544× | log1p-expm1-u_binary64 |
| 544× | expm1-log1p-u_binary64 |
| 534× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 112 | 7 |
| 2 | 1475 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 2 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (/.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 426× | log-prod_binary64 |
| 355× | log-div_binary64 |
| 345× | fma-def_binary64 |
| 309× | distribute-rgt-in_binary64 |
| 279× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 95 | 350 |
| 1 | 244 | 350 |
| 2 | 796 | 350 |
| 3 | 3529 | 350 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x))) |
(*.f64 2 (/.f64 (/.f64 1 x) x)) |
(*.f64 2 (/.f64 1 (*.f64 x x))) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x))) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x))) |
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x))) |
(*.f64 (/.f64 1 x) (/.f64 2 x)) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x)) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x)) |
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x))) |
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x))) |
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x))) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x))) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (*.f64 x (*.f64 x 1/2)) -1) |
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x))) |
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2)) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x)))) |
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
| Outputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (/.f64 (/.f64 1 x) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (/.f64 1 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 1 x) (/.f64 2 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (cbrt.f64 (/.f64 2 (*.f64 x x)))) (pow.f64 (cbrt.f64 x) 2)) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2))) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 x (*.f64 x 1/2)) -1) |
(/.f64 2 (*.f64 x x)) |
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2)) |
(/.f64 2 (*.f64 x x)) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3)) |
(/.f64 2 (*.f64 x x)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
Compiled 576 to 384 computations (33.3% saved)
8 alts after pruning (3 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 2 | 63 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 61 | 8 | 69 |
| Status | Error | Program |
|---|---|---|
| ✓ | 46.9b | (/.f64 (/.f64 2 x) x) |
| ✓ | 15.3b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 46.5b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ▶ | 32.3b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 31.6b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ▶ | 46.9b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 31.1b | 1 |
Compiled 53 to 40 computations (24.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
Compiled 17 to 12 computations (29.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 642× | pow1_binary64 |
| 597× | add-log-exp_binary64 |
| 597× | log1p-expm1-u_binary64 |
| 597× | expm1-log1p-u_binary64 |
| 586× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 7 |
| 1 | 149 | 7 |
| 2 | 1771 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 (neg.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (*.f64 x 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 x (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))))))) |
| 1× | egg-herbie |
| 763× | log-prod_binary64 |
| 422× | associate-*l*_binary64 |
| 412× | associate-*r*_binary64 |
| 303× | fma-def_binary64 |
| 289× | times-frac_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 99 | 350 |
| 1 | 232 | 350 |
| 2 | 715 | 350 |
| 3 | 4533 | 350 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (*.f64 (neg.f64 x) (neg.f64 x))) |
(/.f64 2 (/.f64 x (/.f64 1 x))) |
(/.f64 (/.f64 2 x) x) |
(/.f64 1 (*.f64 (*.f64 x 1/2) x)) |
(/.f64 1 (*.f64 x (*.f64 x 1/2))) |
(/.f64 1 (/.f64 (*.f64 x x) 2)) |
(/.f64 1 (/.f64 x (/.f64 2 x))) |
(/.f64 (/.f64 1 x) (*.f64 x 1/2)) |
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x)))) |
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x)))) |
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2))) |
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x))) |
(/.f64 -2 (neg.f64 (*.f64 x x))) |
(/.f64 -2 (*.f64 (neg.f64 x) x)) |
(/.f64 -2 (*.f64 x (neg.f64 x))) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x)) |
(/.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x)) |
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3) |
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2)) |
(log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2)))) |
(cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3)) |
(cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3))) |
(cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x))) |
(cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3))) |
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2)))) |
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2)))) |
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))) |
| Outputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 (neg.f64 x) (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (/.f64 x (/.f64 1 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 2 x) x) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (*.f64 (*.f64 x 1/2) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (*.f64 x (*.f64 x 1/2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (/.f64 (*.f64 x x) 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (/.f64 x (/.f64 2 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 1 x) (*.f64 x 1/2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -2 (neg.f64 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -2 (*.f64 (neg.f64 x) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -2 (*.f64 x (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (/.f64 2 (*.f64 x x)) | |
| ✓ | 0.7b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
Compiled 28 to 16 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 1× | batch-egg-rewrite |
| 863× | pow1_binary64 |
| 812× | add-log-exp_binary64 |
| 811× | log1p-expm1-u_binary64 |
| 811× | expm1-log1p-u_binary64 |
| 798× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 184 | 7 |
| 2 | 2532 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 2 (pow.f64 x -2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 2 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (neg.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1))))) |
| 1× | egg-herbie |
| 536× | div-sub_binary64 |
| 388× | unswap-sqr_binary64 |
| 371× | log-prod_binary64 |
| 266× | fma-def_binary64 |
| 264× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 134 | 752 |
| 1 | 323 | 730 |
| 2 | 904 | 716 |
| 3 | 4514 | 716 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (pow.f64 x 2)) |
(+.f64 1 (fma.f64 2 (pow.f64 x -2) -1)) |
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)) |
(+.f64 (/.f64 2 (*.f64 x x)) 0) |
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1)) |
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))) |
(*.f64 (pow.f64 x -2) 2) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1)) |
(/.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1))) |
(/.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1))) |
(/.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x)))) |
(/.f64 -2 (*.f64 x (neg.f64 x))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)))) |
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2)) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)) |
(/.f64 (/.f64 2 x) x) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1)))) |
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1))) |
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2)) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2))) |
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3))) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1) |
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1) |
| Outputs |
|---|
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 1 (fma.f64 2 (pow.f64 x -2) -1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 (/.f64 2 (*.f64 x x)) 0) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 1 (/.f64 2 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x)))))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2)))) |
(*.f64 (pow.f64 x -2) 2) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x)))))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 -2 (*.f64 x (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x)))))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x)))))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 2 x) x) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x)))))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1)))) |
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)))) |
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) -2) 1)) |
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (+.f64 (/.f64 2 (*.f64 x x)) -2) 1)) |
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1))) |
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 2 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 (neg.f64 (*.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (*.f64 x x)) -2))) (+.f64 2 (/.f64 -2 (*.f64 x x)))) |
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2)) |
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)))) |
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (pow.f64 x 4))) |
(/.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2))) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3) |
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3))) |
(cbrt.f64 (*.f64 8 (pow.f64 (/.f64 1 x) 6))) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3))) |
(cbrt.f64 (*.f64 8 (pow.f64 (/.f64 1 x) 6))) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
Compiled 1501 to 1156 computations (23% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 132 | 0 | 132 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 132 | 8 | 140 |
| Status | Error | Program |
|---|---|---|
| ✓ | 46.9b | (/.f64 (/.f64 2 x) x) |
| ✓ | 15.3b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 46.5b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ✓ | 32.3b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 31.6b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ✓ | 46.9b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 31.1b | 1 |
Compiled 53 to 40 computations (24.5% saved)
| Inputs |
|---|
1 |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
5 calls:
| 5.0ms | x |
| 3.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2.0ms | (+.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 2 (+.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 88 to 61 computations (30.7% saved)
| Inputs |
|---|
1 |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
1 calls:
| 14.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.1b | 3 | x |
Compiled 44 to 28 computations (36.4% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 28.0ms | 926469.748887731 | 225775761996459.44 |
| 18.0ms | -1075901689414.2296 | -44.67193968812822 |
| 42.0ms | 304× | body | 256 | valid |
Compiled 393 to 314 computations (20.1% saved)
| Inputs |
|---|
1 |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(/.f64 2 (+.f64 2 (*.f64 x x))) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.3b | 1 | x |
Compiled 35 to 22 computations (37.1% saved)
| Inputs |
|---|
1 |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| Outputs |
|---|
(/.f64 2 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
1 calls:
| 45.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.3b | 3 | x |
Compiled 28 to 18 computations (35.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 1.2158291216509898 | 8.256553625253845 |
| 17.0ms | -44.67193968812822 | -2.59541282204558e-6 |
| 26.0ms | 240× | body | 256 | valid |
Compiled 253 to 190 computations (24.9% saved)
Total -46.5b remaining (-299.9%)
Threshold costs -46.5b (-299.9%)
| Inputs |
|---|
1 |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
| Outputs |
|---|
(/.f64 2 (*.f64 x x)) |
1 |
(/.f64 2 (*.f64 x x)) |
1 calls:
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.5b | 3 | x |
Compiled 21 to 14 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 1.2158291216509898 | 8.256553625253845 |
| 25.0ms | -44.67193968812822 | -2.59541282204558e-6 |
| 33.0ms | 240× | body | 256 | valid |
Compiled 163 to 130 computations (20.2% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 128 |
| 1 | 43 | 128 |
| 2 | 44 | 128 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
(if (<=.f64 x -14200) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x)))) |
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x)))) |
1 |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
(if (<=.f64 x -14200) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1))) |
(if (<=.f64 x -14200) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x)))) |
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 (*.f64 x x) -1/2)) (/.f64 2 (*.f64 x x)))) |
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x)))) |
1 |
Compiled 95 to 65 computations (31.6% saved)
| 1× | egg-herbie |
| 643× | fma-def_binary64 |
| 488× | associate-*l*_binary64 |
| 407× | associate-/l*_binary64 |
| 394× | distribute-rgt-in_binary64 |
| 393× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 94 | 566 |
| 1 | 223 | 550 |
| 2 | 836 | 413 |
| 3 | 4593 | 335 |
| 1× | node limit |
Compiled 56 to 45 computations (19.6% saved)
Compiled 90 to 57 computations (36.7% saved)
Loading profile data...