Time bar (total: 4.8s)
| 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)
| 1.3s | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 1198× | fma-def |
| 778× | sqr-pow |
| 712× | fabs-mul |
| 684× | *-commutative |
| 530× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 25 |
| 1 | 17 | 25 |
| 2 | 22 | 25 |
| 3 | 29 | 25 |
| 4 | 49 | 25 |
| 5 | 91 | 25 |
| 6 | 196 | 25 |
| 7 | 417 | 25 |
| 8 | 989 | 25 |
| 9 | 2380 | 25 |
| 10 | 3382 | 25 |
| 11 | 4575 | 25 |
| 12 | 6270 | 25 |
| 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 |
| 1198× | fma-def |
| 778× | sqr-pow |
| 712× | fabs-mul |
| 684× | *-commutative |
| 530× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 25 |
| 1 | 17 | 25 |
| 2 | 22 | 25 |
| 3 | 29 | 25 |
| 4 | 49 | 25 |
| 5 | 91 | 25 |
| 6 | 196 | 25 |
| 7 | 417 | 25 |
| 8 | 989 | 25 |
| 9 | 2380 | 25 |
| 10 | 3382 | 25 |
| 11 | 4575 | 25 |
| 12 | 6270 | 25 |
| 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 |
|---|---|---|
| ▶ | 100.0% | (/.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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| ✓ | 100.0% | (/.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 | |
|---|---|---|---|---|
| 2.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)))) |
| 0.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 |
| 222× | add-sqr-sqrt |
| 222× | add-sqr-sqrt |
| 210× | add-exp-log |
| 210× | pow1 |
| 210× | *-un-lft-identity |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 1 | 216 | 34 |
| 2 | 3273 | 34 |
| 0 | 10 | 17 |
| 1 | 216 | 17 |
| 2 | 3273 | 17 |
| 0 | 10 | 17 |
| 0 | 8 | 11 |
| 1 | 169 | 11 |
| 2 | 2616 | 11 |
| 0 | 8 | 11 |
| 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 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (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 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 exp.f64 (log.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 *.f64 1 (*.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 (*.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 2 (cosh.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 /.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 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 exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 1420× | associate-*r* |
| 1162× | associate-+r+ |
| 996× | associate-*l* |
| 988× | associate-+l+ |
| 846× | associate-/l* |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 96 | 998 |
| 1 | 227 | 966 |
| 2 | 902 | 692 |
| 3 | 5000 | 692 |
| 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 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.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))))) |
(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))))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(*.f64 1 (*.f64 2 (cosh.f64 x))) |
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.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 2 (cosh.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)))) |
(/.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)))))) |
(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)))) |
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))) |
(log1p.f64 (expm1.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))))) |
(+.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 (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 (pow.f64 x 4) 1/12 (*.f64 x x))) |
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 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 (pow.f64 x 4) 1/12 (*.f64 x x)))) |
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 2))) |
(+.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 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.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 (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)) |
(*.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)) |
(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)) |
(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)) |
(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)) |
(*.f64 1 (*.f64 2 (cosh.f64 x))) |
(*.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 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 2 (cosh.f64 x)) |
(*.f64 2 (cosh.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)))) |
(*.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 (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 (exp.f64 (*.f64 3 x)) (exp.f64 (*.f64 x -3))) (+.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (*.f64 x -2)))) |
(pow.f64 (*.f64 2 (cosh.f64 x)) 1) |
(*.f64 2 (cosh.f64 x)) |
(log.f64 (exp.f64 (*.f64 2 (cosh.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 2 (cosh.f64 x)) |
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 2 (cosh.f64 x)) |
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 2 (cosh.f64 x)) |
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 2 (cosh.f64 x)) |
Compiled 654 to 443 computations (32.3% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 5 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 49 | 5 | 54 |
| Status | Error | Program |
|---|---|---|
| ▶ | 75.3% | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 100.0% | (/.f64 1 (cosh.f64 x)) |
| ▶ | 53.0% | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ▶ | 99.6% | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 53.6% | 1 |
Compiled 32 to 26 computations (18.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 100.0% | (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
| ✓ | 100.0% | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 100.0% | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
Compiled 30 to 20 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 28.0ms | x | @ | inf | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 2.0ms | x | @ | -inf | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 0.0ms | x | @ | 0 | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| 0.0ms | x | @ | 0 | (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
| 0.0ms | x | @ | -inf | (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
| 1× | batch-egg-rewrite |
| 1714× | add-sqr-sqrt |
| 1692× | *-un-lft-identity |
| 1570× | add-cube-cbrt |
| 1554× | add-cbrt-cube |
| 182× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 37 |
| 1 | 200 | 37 |
| 2 | 2257 | 37 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)))) (#(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 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x 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 exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 (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 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)))) (#(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 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.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 exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2) (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 2) (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))))) |
| 1× | egg-herbie |
| 1488× | associate-+r+ |
| 1322× | associate-+l+ |
| 746× | unswap-sqr |
| 690× | associate-*r/ |
| 522× | fma-def |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 149 | 2998 |
| 1 | 329 | 2974 |
| 2 | 1137 | 1550 |
| 3 | 5811 | 1550 |
| 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 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))) |
(exp.f64 1) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (exp.f64 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 x 4) (exp.f64 1))) (exp.f64 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (+.f64 (*.f64 -151/720 (*.f64 (pow.f64 x 6) (exp.f64 1))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 x 4) (exp.f64 1))) (exp.f64 1)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(+.f64 0 (/.f64 1 (cosh.f64 x))) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1) |
(*.f64 2 (/.f64 1/2 (cosh.f64 x))) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) |
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2) |
(*.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
(/.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x))) |
(/.f64 -2 (*.f64 (cosh.f64 x) -2)) |
(/.f64 (/.f64 2 (cosh.f64 x)) 2) |
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) |
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x))) |
(/.f64 -1 (neg.f64 (cosh.f64 x))) |
(pow.f64 (cosh.f64 x) -1) |
(pow.f64 (/.f64 1 (cosh.f64 x)) 1) |
(pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2) |
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3) |
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2))) |
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) |
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1)) |
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))) |
(+.f64 0 (/.f64 1 (cosh.f64 x))) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1) |
(*.f64 2 (/.f64 1/2 (cosh.f64 x))) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) |
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2) |
(*.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2))) |
(pow.f64 (cosh.f64 x) -1) |
(pow.f64 (/.f64 1 (cosh.f64 x)) 1) |
(pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2) |
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3) |
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2))) |
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) |
(log.f64 (+.f64 1 (expm1.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)))) |
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1)) |
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))) |
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) 1) |
(*.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1) |
(*.f64 1 (exp.f64 (/.f64 1 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(*.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2) (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1) |
(pow.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2) |
(pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 3) |
(pow.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3) 1/3) |
(pow.f64 (exp.f64 2) (/.f64 1/2 (cosh.f64 x))) |
(pow.f64 (exp.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(pow.f64 (exp.f64 1) (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(sqrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 2)) |
(log.f64 (exp.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(log.f64 (+.f64 1 (expm1.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(cbrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3)) |
(expm1.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(log1p.f64 (expm1.f64 (exp.f64 (/.f64 1 (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 1 (fma.f64 5/24 (pow.f64 x 4) (*.f64 (*.f64 -1/2 x) x))) |
(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 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 x (*.f64 -1/2 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)) |
(/.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 -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 1 (fma.f64 5/24 (pow.f64 x 4) (*.f64 (*.f64 -1/2 x) x))) |
(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 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 x (*.f64 -1/2 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)) |
(/.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)) |
(exp.f64 1) |
(E.f64) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (exp.f64 1)) |
(fma.f64 -1/2 (*.f64 (*.f64 x x) (E.f64)) (E.f64)) |
(*.f64 (fma.f64 -1/2 (*.f64 x x) 1) (E.f64)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 x 4) (exp.f64 1))) (exp.f64 1))) |
(fma.f64 -1/2 (*.f64 (*.f64 x x) (E.f64)) (fma.f64 1/3 (*.f64 (pow.f64 x 4) (E.f64)) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/3)) (E.f64)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 2) (exp.f64 1))) (+.f64 (*.f64 -151/720 (*.f64 (pow.f64 x 6) (exp.f64 1))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 x 4) (exp.f64 1))) (exp.f64 1)))) |
(fma.f64 -1/2 (*.f64 (*.f64 x x) (E.f64)) (fma.f64 -151/720 (*.f64 (pow.f64 x 6) (E.f64)) (fma.f64 1/3 (*.f64 (pow.f64 x 4) (E.f64)) (E.f64)))) |
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 x 6) -151/720) (*.f64 (pow.f64 x 4) 1/3))) (*.f64 (fma.f64 -1/2 (*.f64 x x) 1) (E.f64))) |
(fma.f64 (E.f64) (fma.f64 (pow.f64 x 6) -151/720 (*.f64 (pow.f64 x 4) 1/3)) (*.f64 (fma.f64 -1/2 (*.f64 x x) 1) (E.f64))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(+.f64 0 (/.f64 1 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 2 (/.f64 1/2 (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 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 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 -2 (*.f64 (cosh.f64 x) -2)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 (/.f64 2 (cosh.f64 x)) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 -1 (neg.f64 (cosh.f64 x))) |
(/.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 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2) |
(/.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 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2))) |
(sqrt.f64 (pow.f64 (cosh.f64 x) -2)) |
(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)) |
(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)) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1)) |
(/.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)) |
(+.f64 0 (/.f64 1 (cosh.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 2 (/.f64 1/2 (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 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 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 -2 (/.f64 1 (*.f64 (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 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2) |
(/.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 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2))) |
(sqrt.f64 (pow.f64 (cosh.f64 x) -2)) |
(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)) |
(log.f64 (+.f64 1 (expm1.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)) |
(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)) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1)) |
(/.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)) |
(-.f64 (exp.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) 1) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(*.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(*.f64 1 (exp.f64 (/.f64 1 (cosh.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(*.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(*.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2)) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2) (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 1) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (sqrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 2) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))) 3) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3) 1/3) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 2) (/.f64 1/2 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 1) (/.f64 1 (cosh.f64 x))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(pow.f64 (exp.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(sqrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 2)) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(log.f64 (exp.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(log.f64 (+.f64 1 (expm1.f64 (exp.f64 (/.f64 1 (cosh.f64 x)))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(cbrt.f64 (pow.f64 (exp.f64 (/.f64 1 (cosh.f64 x))) 3)) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(expm1.f64 (log1p.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
(log1p.f64 (expm1.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))) |
(exp.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(exp.f64 (/.f64 1 (cosh.f64 x))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 -1/2 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1076× | add-sqr-sqrt |
| 1058× | *-un-lft-identity |
| 1006× | pow1 |
| 986× | add-cube-cbrt |
| 978× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 122 | 13 |
| 2 | 1409 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 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 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(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 (pow.f64 (*.f64 -1/2 (*.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 (pow.f64 (*.f64 -1/2 (*.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 exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1470× | distribute-rgt-in |
| 1446× | distribute-lft-in |
| 1164× | log-prod |
| 760× | associate-*r* |
| 704× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 299 |
| 1 | 93 | 299 |
| 2 | 347 | 299 |
| 3 | 1912 | 299 |
| 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)) |
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 -1/2 (*.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 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) |
| Outputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(pow.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1/3) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(cbrt.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 x (*.f64 -1/2 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 1 (cosh.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (cosh.f64 x)) |
| 1× | batch-egg-rewrite |
| 1290× | add-sqr-sqrt |
| 1272× | *-un-lft-identity |
| 1180× | add-cube-cbrt |
| 1166× | add-cbrt-cube |
| 1156× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 140 | 11 |
| 2 | 1630 | 11 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3)))) (#(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 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 exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 1416× | associate-/r* |
| 1090× | associate-*r* |
| 870× | associate-*l* |
| 710× | distribute-lft-neg-out |
| 678× | distribute-rgt-neg-out |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 851 |
| 1 | 178 | 847 |
| 2 | 592 | 487 |
| 3 | 3111 | 481 |
| 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))) |
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2)) |
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x)))) |
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x)))) |
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2) |
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1)) |
(pow.f64 (cosh.f64 x) -1) |
(pow.f64 (/.f64 1 (cosh.f64 x)) 1) |
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2) |
(pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3) |
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3) |
(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)))) |
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))) |
(log1p.f64 (expm1.f64 (/.f64 1 (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))))) |
(+.f64 (fma.f64 -61/720 (pow.f64 x 6) (*.f64 x (*.f64 -1/2 x))) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(/.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)) |
(-.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 (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 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.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 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2) |
(/.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)) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1)) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x))) |
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (cbrt.f64 (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 (cosh.f64 x) -1/2) 2) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3) |
(/.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)) |
(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)) |
(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)) |
(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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 99.0% | (/.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 | @ | 0 | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 1624× | add-sqr-sqrt |
| 1596× | *-un-lft-identity |
| 1500× | add-cube-cbrt |
| 1490× | add-cbrt-cube |
| 154× | pow1 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 157 | 15 |
| 2 | 2039 | 15 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (+.f64 2 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.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 (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 (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 (/.f64 1 (fma.f64 x x 2)) 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 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))))) (#(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 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)))) (#(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 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)))) (#(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 log.f64 (+.f64 1 (expm1.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 exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2)))))))) |
| 1× | egg-herbie |
| 1628× | associate-/l* |
| 1470× | associate-/r* |
| 1322× | associate-*r* |
| 1102× | associate-*l* |
| 888× | associate-+r+ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 98 | 848 |
| 1 | 237 | 840 |
| 2 | 841 | 836 |
| 3 | 4306 | 836 |
| 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 (exp.f64 (log1p.f64 (/.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 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.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 (/.f64 1 (fma.f64 x x 2)) 2) |
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2)))) |
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x))) |
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))) |
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) |
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3) |
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3) |
(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)))) |
(log.f64 (+.f64 1 (expm1.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)))) |
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2)))) |
(exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))) 1)) |
(log1p.f64 (expm1.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)) |
(+.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))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/8 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/8 (pow.f64 x 6)))) |
(/.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 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) (/.f64 8 (pow.f64 x 6))) |
(-.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 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 6))) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.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 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) (/.f64 8 (pow.f64 x 6))) |
(-.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 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 6))) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -16 (pow.f64 x 8)))) |
(-.f64 (exp.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2)))) 1) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 2 (/.f64 1 (fma.f64 x x 2))) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 1 (/.f64 2 (fma.f64 x x 2))) |
(/.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 (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 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 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2)))) |
(/.f64 2 (fma.f64 x x 2)) |
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x))) |
(/.f64 (*.f64 2 (-.f64 2 (*.f64 x x))) (-.f64 4 (pow.f64 x 4))) |
(/.f64 2 (/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))) |
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))) |
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (*.f64 x (*.f64 x (fma.f64 x x -2))))) |
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 (*.f64 2 (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) (+.f64 (pow.f64 x 6) 8)) |
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3) |
(/.f64 2 (fma.f64 x x 2)) |
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1) |
(/.f64 2 (fma.f64 x x 2)) |
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2))) |
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2)))) |
(/.f64 2 (fma.f64 x x 2)) |
(log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))) |
(/.f64 2 (fma.f64 x x 2)) |
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3)) |
(/.f64 2 (fma.f64 x x 2)) |
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2)))) |
(/.f64 2 (fma.f64 x x 2)) |
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2)))) |
(/.f64 2 (fma.f64 x x 2)) |
(exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))) 1)) |
(/.f64 2 (fma.f64 x x 2)) |
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2)))) |
(/.f64 2 (fma.f64 x x 2)) |
Compiled 2033 to 1427 computations (29.8% saved)
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 192 | 3 | 195 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 2 | 3 |
| Total | 193 | 7 | 200 |
| Status | Error | Program |
|---|---|---|
| ▶ | 100.0% | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| ▶ | 23.3% | (/.f64 (/.f64 2 x) x) |
| ✓ | 75.3% | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 24.2% | (/.f64 2 (*.f64 x x)) |
| ✓ | 100.0% | (/.f64 1 (cosh.f64 x)) |
| ✓ | 53.0% | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 53.6% | 1 |
Compiled 41 to 31 computations (24.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 98.9% | (/.f64 2 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.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 |
| 1198× | add-sqr-sqrt |
| 1176× | *-un-lft-identity |
| 1120× | pow1 |
| 1100× | add-cube-cbrt |
| 1092× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 128 | 13 |
| 2 | 1563 | 13 |
| 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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 x (neg.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 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (pow.f64 (/.f64 2 (*.f64 x x)) 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 (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 exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1406× | distribute-rgt-in |
| 1398× | associate-/r* |
| 1372× | distribute-lft-in |
| 992× | associate-+r+ |
| 956× | associate-+l+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 485 |
| 1 | 134 | 485 |
| 2 | 448 | 485 |
| 3 | 2605 | 485 |
| 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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 2 x) (/.f64 1 x)) |
(*.f64 (pow.f64 x -2) 2) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 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 (pow.f64 (/.f64 2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x)))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(log1p.f64 (expm1.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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 (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 2 x) (/.f64 1 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 -2 (/.f64 1 (*.f64 x (neg.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 (/.f64 (sqrt.f64 2) x) 2) |
(/.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 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(/.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))) |
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2))) |
(/.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)) |
(exp.f64 (log.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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 99.8% | (/.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 |
| 1378× | add-sqr-sqrt |
| 1356× | *-un-lft-identity |
| 1274× | add-cube-cbrt |
| 1260× | add-cbrt-cube |
| 1248× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 132 | 13 |
| 2 | 1713 | 13 |
| 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 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (/.f64 1 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 (/.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 (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 1 x) (/.f64 2 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 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.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 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 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 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 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 (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 (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 *.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 pow.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 2 x)) -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 exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 2 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1518× | associate-+r+ |
| 1368× | associate-+l+ |
| 882× | distribute-rgt-in |
| 850× | distribute-lft-in |
| 736× | associate-*r/ |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 97 | 744 |
| 1 | 255 | 726 |
| 2 | 879 | 726 |
| 3 | 3763 | 726 |
| 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 1 (*.f64 x x))) |
(*.f64 2 (/.f64 (/.f64 1 x) x)) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(*.f64 (/.f64 2 (*.f64 x x)) 1) |
(*.f64 1 (/.f64 2 (*.f64 x 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 (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 1 x) (/.f64 2 x)) |
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x))) |
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x))) |
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x))) |
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x))) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 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 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 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 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(pow.f64 (/.f64 x (/.f64 2 x)) -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)))) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(exp.f64 (*.f64 (log.f64 (/.f64 2 (*.f64 x x))) 1)) |
(log1p.f64 (expm1.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 1 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (/.f64 (/.f64 1 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 (/.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 (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 1 x) (/.f64 2 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.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 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x))) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 2 (*.f64 (cbrt.f64 x) x))) |
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)) |
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x)))) |
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x))) |
(/.f64 2 (*.f64 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 2 (*.f64 (cbrt.f64 x) x))) |
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)) |
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x)))) |
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x)) |
(/.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 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 2 (*.f64 (cbrt.f64 x) x))) |
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)) |
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 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 (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)) |
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x)))) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2))) |
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))) |
(pow.f64 (/.f64 2 (*.f64 x x)) 1) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 x (/.f64 2 x)) -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)) |
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 (/.f64 2 (*.f64 x x))) 1)) |
(/.f64 2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x)))) |
(/.f64 2 (*.f64 x x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (cosh.f64 x)) |
| ✓ | 100.0% | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
Compiled 13 to 6 computations (53.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| 2.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| 2.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (cosh.f64 x)) |
| 0.0ms | x | @ | inf | (sqrt.f64 (cosh.f64 x)) |
| 1× | batch-egg-rewrite |
| 1500× | add-sqr-sqrt |
| 1472× | *-un-lft-identity |
| 1374× | add-cube-cbrt |
| 1360× | add-cbrt-cube |
| 1348× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 167 | 20 |
| 2 | 1933 | 20 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
(sqrt.f64 (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 (/.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 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (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 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -1 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) 1/4) (pow.f64 (cosh.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) 1/2) (pow.f64 (cbrt.f64 (cosh.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cosh.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cosh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 1258× | unswap-sqr |
| 1182× | times-frac |
| 986× | associate-/l* |
| 860× | *-commutative |
| 726× | associate-/r* |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 131 | 2011 |
| 1 | 280 | 1559 |
| 2 | 743 | 1141 |
| 3 | 2160 | 1045 |
| 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 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
1 |
(+.f64 1 (*.f64 1/4 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 19/5760 (pow.f64 x 6))))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1) |
(*.f64 (/.f64 1 (cosh.f64 x)) 1) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2)) |
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.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 (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2)) |
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2)) |
(/.f64 1 (cosh.f64 x)) |
(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)))) |
(exp.f64 (*.f64 -1 (log.f64 (cosh.f64 x)))) |
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1)) |
(exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1)) |
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))) |
(-.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) 1) |
(*.f64 (sqrt.f64 (cosh.f64 x)) 1) |
(*.f64 1 (sqrt.f64 (cosh.f64 x))) |
(*.f64 (pow.f64 (cosh.f64 x) 1/4) (pow.f64 (cosh.f64 x) 1/4)) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (sqrt.f64 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (cosh.f64 x))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) 1/2) (pow.f64 (cbrt.f64 (cosh.f64 x)) 1/2)) |
(/.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 2)) |
(pow.f64 (cosh.f64 x) 1/2) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) 1) |
(pow.f64 (pow.f64 (cosh.f64 x) 1/4) 2) |
(pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) 3) |
(pow.f64 (pow.f64 (cosh.f64 x) 3/2) 1/3) |
(fabs.f64 (sqrt.f64 (cosh.f64 x))) |
(log.f64 (exp.f64 (sqrt.f64 (cosh.f64 x)))) |
(cbrt.f64 (pow.f64 (cosh.f64 x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (cosh.f64 x)))) |
(exp.f64 (log.f64 (sqrt.f64 (cosh.f64 x)))) |
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) 1/2)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (cosh.f64 x))) 1)) |
(log1p.f64 (expm1.f64 (sqrt.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)))) |
(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))))) |
(+.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 (fma.f64 -61/720 (pow.f64 x 6) (*.f64 -1/2 (*.f64 x x))) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
1 |
(+.f64 1 (*.f64 1/4 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/4)) |
(fma.f64 (*.f64 x x) 1/4 1) |
(fma.f64 x (*.f64 x 1/4) 1) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/4 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/96))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/96 (*.f64 x (*.f64 x 1/4)))) |
(fma.f64 x (*.f64 x 1/4) (fma.f64 (pow.f64 x 4) -1/96 1)) |
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 19/5760 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 19/5760)))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/4 (fma.f64 (pow.f64 x 4) -1/96 (*.f64 (pow.f64 x 6) 19/5760)))) |
(+.f64 (fma.f64 x (*.f64 x 1/4) 1) (fma.f64 (pow.f64 x 4) -1/96 (*.f64 (pow.f64 x 6) 19/5760))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/96 (fma.f64 x (*.f64 x 1/4) (*.f64 (pow.f64 x 6) 19/5760)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) (sqrt.f64 1/2)) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) |
(*.f64 (sqrt.f64 1/2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) |
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.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 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 1 (/.f64 1 (cosh.f64 x))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2)) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1)) |
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) |
(/.f64 (*.f64 1 (/.f64 1 (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))) |
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3) |
(*.f64 (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2)) |
(pow.f64 (pow.f64 (cosh.f64 x) 1/4) -4) |
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2)) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(sqrt.f64 (pow.f64 (cosh.f64 x) -2)) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(exp.f64 (*.f64 -1 (log.f64 (cosh.f64 x)))) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1)) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1)) |
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 1 (cosh.f64 x)) |
(-.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(*.f64 (sqrt.f64 (cosh.f64 x)) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(*.f64 1 (sqrt.f64 (cosh.f64 x))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(*.f64 (pow.f64 (cosh.f64 x) 1/4) (pow.f64 (cosh.f64 x) 1/4)) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (sqrt.f64 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x))) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (cbrt.f64 (sqrt.f64 (cosh.f64 x)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (cosh.f64 x))) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3/2) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (cosh.f64 x))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) 1/2) (pow.f64 (cbrt.f64 (cosh.f64 x)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (cosh.f64 x))) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(*.f64 (cbrt.f64 (cosh.f64 x)) (sqrt.f64 (cbrt.f64 (cosh.f64 x)))) |
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3/2) |
(/.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 2)) |
(pow.f64 (cosh.f64 x) 1/2) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(pow.f64 (pow.f64 (cosh.f64 x) 1/4) 2) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) 3) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(pow.f64 (pow.f64 (cosh.f64 x) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (cosh.f64 x) 3/2)) |
(fabs.f64 (sqrt.f64 (cosh.f64 x))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(log.f64 (exp.f64 (sqrt.f64 (cosh.f64 x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(cbrt.f64 (pow.f64 (cosh.f64 x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (cosh.f64 x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(exp.f64 (log.f64 (sqrt.f64 (cosh.f64 x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) 1/2)) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (cosh.f64 x))) 1)) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (cosh.f64 x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (cosh.f64 x))) -1) |
(+.f64 (sqrt.f64 (cosh.f64 x)) 0) |
(sqrt.f64 (cosh.f64 x)) |
Compiled 1464 to 966 computations (34% saved)
9 alts after pruning (3 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 148 | 2 | 150 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 148 | 9 | 157 |
| Status | Error | Program |
|---|---|---|
| ✓ | 100.0% | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| ✓ | 23.3% | (/.f64 (/.f64 2 x) x) |
| ✓ | 75.3% | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 24.2% | (/.f64 2 (*.f64 x x)) |
| ✓ | 100.0% | (/.f64 1 (cosh.f64 x)) |
| ▶ | 47.5% | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 53.0% | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ▶ | 23.3% | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 53.6% | 1 |
Compiled 59 to 45 computations (23.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 99.6% | (*.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 |
| 1504× | add-sqr-sqrt |
| 1480× | *-un-lft-identity |
| 1386× | add-cube-cbrt |
| 1368× | add-cbrt-cube |
| 1352× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 170 | 13 |
| 2 | 1994 | 13 |
| 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 x (/.f64 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 (*.f64 x 1/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 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))))) (#(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 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (neg.f64 (*.f64 x x)))))) (#(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 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))))) (#(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 /.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) 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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.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 pow.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)))) (#(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 expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2)))))))) |
| 1× | egg-herbie |
| 1148× | associate-/r/ |
| 954× | distribute-lft-in |
| 948× | distribute-rgt-in |
| 866× | associate-*r* |
| 678× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 94 | 628 |
| 1 | 212 | 628 |
| 2 | 676 | 628 |
| 3 | 3309 | 628 |
| 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 x (/.f64 2 x))) |
(/.f64 1 (*.f64 x (*.f64 x 1/2))) |
(/.f64 1 (/.f64 (*.f64 x x) 2)) |
(/.f64 1 (*.f64 (*.f64 x 1/2) x)) |
(/.f64 (/.f64 1 x) (*.f64 x 1/2)) |
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x)))) |
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x)))) |
(/.f64 -2 (*.f64 x (neg.f64 x))) |
(/.f64 -2 (*.f64 (neg.f64 x) x)) |
(/.f64 -2 (neg.f64 (*.f64 x x))) |
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x))) |
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2))) |
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x)) |
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.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) x) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3) |
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3) |
(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)) |
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2)))) |
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1)) |
(log1p.f64 (expm1.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 x (/.f64 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 (*.f64 x 1/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 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x)))) |
(/.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 -2 (*.f64 x (neg.f64 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 (neg.f64 (*.f64 x x))) |
(/.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 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2))) |
(/.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)) |
(/.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) 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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.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)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(pow.f64 (/.f64 (sqrt.f64 2) 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 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3) |
(/.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)) |
(expm1.f64 (log1p.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)) |
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1)) |
(/.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)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 98.9% | (/.f64 2 (*.f64 x x)) | |
| ✓ | 96.4% | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
Compiled 28 to 16 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.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 |
| 1950× | add-sqr-sqrt |
| 1924× | *-un-lft-identity |
| 1812× | add-cube-cbrt |
| 1802× | add-cbrt-cube |
| 196× | pow1 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 1 | 204 | 13 |
| 2 | 2779 | 13 |
| 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 (pow.f64 x -2)) 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 (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 1 (*.f64 2 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(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 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (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 (pow.f64 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 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) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 2))))))) (#(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 (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 (*.f64 2 (pow.f64 x -2)) 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 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 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (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 (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) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x 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) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(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 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 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2)))))) (#(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 (pow.f64 x -2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (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 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (*.f64 x x) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x 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 exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))))) (#(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 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -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))))) |
| 1× | egg-herbie |
| 1054× | associate-+r- |
| 902× | associate--l+ |
| 818× | associate-+l- |
| 728× | associate-*r* |
| 726× | associate-*l* |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 141 | 1740 |
| 1 | 338 | 1634 |
| 2 | 1037 | 1622 |
| 3 | 4978 | 1622 |
| 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 (pow.f64 x -2)) 0) |
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1) |
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1)) |
(*.f64 1 (*.f64 2 (pow.f64 x -2))) |
(*.f64 2 (pow.f64 x -2)) |
(*.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(*.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 (pow.f64 x -2)))) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 2))) |
(*.f64 (pow.f64 x -2) 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 (pow.f64 x -2)) 2)))) |
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 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 (*.f64 2 (pow.f64 x -2)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -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 (/.f64 2 x) x) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 -1 (neg.f64 (*.f64 (*.f64 x x) 1/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 (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 -2 (*.f64 x (neg.f64 x))) |
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x))) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 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))) |
(/.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 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 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 (pow.f64 x -2)) 2)))) |
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2))))) |
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3))) |
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2)))) |
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2)))) |
(fma.f64 1 (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) |
(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) |
| 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 1 (fma.f64 2 (pow.f64 x -2) -1)) |
(/.f64 2 (*.f64 x x)) |
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)) |
(/.f64 2 (*.f64 x x)) |
(+.f64 (*.f64 2 (pow.f64 x -2)) 0) |
(/.f64 2 (*.f64 x x)) |
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(/.f64 2 (*.f64 x x)) |
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1) |
(/.f64 2 (*.f64 x x)) |
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 1 (*.f64 2 (pow.f64 x -2))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x -2)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.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 (pow.f64 x -2)))) |
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4)))) |
(*.f64 (/.f64 2 x) (/.f64 1 x)) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 2))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2)) |
(*.f64 (pow.f64 x -2) 2) |
(/.f64 2 (*.f64 x 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 -2 (/.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 2 (*.f64 x x)) |
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1)) |
(*.f64 (+.f64 1 (hypot.f64 1 (/.f64 (sqrt.f64 2) x))) (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)) |
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1) |
(/.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 1 (/.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2)) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 x x) 1/2) 1)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x)))) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 x) x) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) 2)) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 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 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2)) |
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2))) |
(/.f64 2 (*.f64 x 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 -2 (*.f64 x (neg.f64 x))) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x))) |
(/.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)))) |
(/.f64 (/.f64 (/.f64 2 x) 1) x) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(/.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) |
(/.f64 2 (*.f64 (cbrt.f64 x) (*.f64 x (cbrt.f64 (*.f64 x x))))) |
(/.f64 2 (*.f64 x (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x)))) |
(/.f64 2 (*.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) 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))) |
(/.f64 (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 -2 (pow.f64 x -2) 1) 1) (+.f64 (/.f64 (/.f64 -2 x) x) 2)) |
(/.f64 (*.f64 (/.f64 2 (*.f64 x x)) (+.f64 2 (/.f64 -2 (*.f64 x x)))) (+.f64 2 (/.f64 -2 (*.f64 x 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1) (neg.f64 (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 (*.f64 x x)) -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 -2 (/.f64 -2 (*.f64 x x))) 1)) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2))) |
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2)))) |
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 2 x)) (neg.f64 x)) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 (sqrt.f64 2) x) 2) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1) |
(/.f64 2 (*.f64 x x)) |
(pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3) |
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3))) |
(cbrt.f64 (/.f64 8 (pow.f64 x 6))) |
(sqrt.f64 (/.f64 4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2))) |
(/.f64 2 (*.f64 x x)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2))))) |
(/.f64 2 (*.f64 x x)) |
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3))) |
(cbrt.f64 (/.f64 8 (pow.f64 x 6))) |
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1)) |
(/.f64 2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2)))) |
(/.f64 2 (*.f64 x x)) |
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1) |
(/.f64 2 (*.f64 x x)) |
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1) |
(*.f64 (+.f64 1 (hypot.f64 1 (/.f64 (sqrt.f64 2) x))) (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -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) |
(/.f64 2 (*.f64 x x)) |
Compiled 1618 to 1275 computations (21.2% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 138 | 0 | 138 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 138 | 9 | 147 |
| Status | Error | Program |
|---|---|---|
| ✓ | 100.0% | (pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
| ✓ | 23.3% | (/.f64 (/.f64 2 x) x) |
| ✓ | 75.3% | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 24.2% | (/.f64 2 (*.f64 x x)) |
| ✓ | 100.0% | (/.f64 1 (cosh.f64 x)) |
| ✓ | 47.5% | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 53.0% | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ✓ | 23.3% | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 53.6% | 1 |
Compiled 59 to 45 computations (23.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) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2) |
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
3 calls:
| 13.0ms | x |
| 5.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 5.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 100.0% | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 85 to 58 computations (31.8% 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:
| 29.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 98.7% | 3 | x |
Compiled 44 to 28 computations (36.4% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 34.0ms | 1.9154401432336339 | 8076264085.156064 |
| 28.0ms | -31212080538.18788 | -2125.1354775279196 |
| 56.0ms | 288× | body | 256 | valid |
Compiled 373 to 298 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:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 75.3% | 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:
| 24.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 75.3% | 3 | x |
Compiled 28 to 18 computations (35.7% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 0.12770043154131372 | 1.9154401432336339 |
| 28.0ms | -125.38543017943186 | -0.0006427635473563804 |
| 40.0ms | 240× | body | 256 | valid |
Compiled 253 to 190 computations (24.9% saved)
Total -46.1b remaining (-286.3%)
Threshold costs -46.10b (-286.3%)
| 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:
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 74.9% | 3 | x |
Compiled 21 to 14 computations (33.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 0.12770043154131372 | 1.9154401432336339 |
| 30.0ms | -125.38543017943186 | -0.0006427635473563804 |
| 43.0ms | 240× | body | 256 | valid |
Compiled 163 to 130 computations (20.2% saved)
| 1× | egg-herbie |
| 8× | +-commutative |
| 6× | if-if-or-not |
| 2× | sub-neg |
| 2× | 1-exp |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 196 |
| 1 | 58 | 196 |
| 2 | 59 | 196 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
(if (<=.f64 x -14200000) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 135000000) (/.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 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x)))) |
(if (<=.f64 x -799388933858263/562949953421312) (/.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 -14200000) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 135000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1))) |
(if (or (<=.f64 x -14200000) (not (<=.f64 x 135000000))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (/.f64 2 (+.f64 2 (*.f64 x x)))) |
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x)))) |
(if (or (<=.f64 x -5/4) (not (<=.f64 x 5404319552844595/4503599627370496))) (/.f64 2 (*.f64 x x)) (+.f64 1 (*.f64 (*.f64 x x) -1/2))) |
(if (<=.f64 x -799388933858263/562949953421312) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x)))) |
(if (or (<=.f64 x -799388933858263/562949953421312) (not (<=.f64 x 3152519739159347/2251799813685248))) (/.f64 2 (*.f64 x x)) 1) |
1 |
Compiled 79 to 58 computations (26.6% saved)
| 1× | egg-herbie |
| 1420× | associate-*r* |
| 1162× | associate-+r+ |
| 996× | associate-*l* |
| 988× | associate-+l+ |
| 846× | associate-/l* |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 96 | 998 |
| 1 | 227 | 966 |
| 2 | 902 | 692 |
| 3 | 5000 | 692 |
| 1× | node limit |
Compiled 53 to 27 computations (49.1% saved)
Compiled 74 to 50 computations (32.4% saved)
Loading profile data...