Time bar (total: 2.4s)
| 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)
| 694.0ms | 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 |
|---|---|---|
| ▶ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| ✓ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 24 to 8 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 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)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 49 | 4 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 50 | 4 | 54 |
| Status | Error | Program |
|---|---|---|
| ▶ | 14.1b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ▶ | 31.0b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 30.6b | 1 |
Compiled 23 to 18 computations (21.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 -1/2 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 -1/2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/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 |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 1 (cosh.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 1 (cosh.f64 x)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (cosh.f64 x)) |
| 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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 2 (*.f64 x x)) |
| ✓ | 0.4b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
Compiled 18 to 9 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (+.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (+.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 | 32 |
| 1 | 157 | 24 |
| 2 | 2039 | 24 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (+.f64 2 (*.f64 x x))) |
(+.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)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (-.f64 2 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x 2)) (sqrt.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x 2)) (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2) (cbrt.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (pow.f64 x 4)) (/.f64 1 (-.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 8 (pow.f64 x 6)) (/.f64 1 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 2 (*.f64 x x)) (-.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))) (+.f64 8 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 4 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (pow.f64 x 4))) (neg.f64 (-.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 8 (pow.f64 x 6))) (neg.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) 4) (-.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 2))))) |
| 1× | egg-herbie |
| 794× | associate-/r* |
| 672× | unswap-sqr |
| 632× | associate-+l- |
| 610× | associate-+r- |
| 532× | +-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 158 | 1594 |
| 1 | 365 | 1536 |
| 2 | 1549 | 1504 |
| 3 | 6213 | 1504 |
| 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))))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (pow.f64 x 2)) |
(-.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)))) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x 2))) 1) |
(-.f64 (/.f64 4 (-.f64 2 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 2 (*.f64 x x)))) |
(*.f64 (fma.f64 x x 2) 1) |
(*.f64 1 (fma.f64 x x 2)) |
(*.f64 (sqrt.f64 (fma.f64 x x 2)) (sqrt.f64 (fma.f64 x x 2))) |
(*.f64 (cbrt.f64 (fma.f64 x x 2)) (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2) (cbrt.f64 (fma.f64 x x 2))) |
(*.f64 (-.f64 4 (pow.f64 x 4)) (/.f64 1 (-.f64 2 (*.f64 x x)))) |
(*.f64 (+.f64 8 (pow.f64 x 6)) (/.f64 1 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))) |
(/.f64 1 (/.f64 (-.f64 2 (*.f64 x x)) (-.f64 4 (pow.f64 x 4)))) |
(/.f64 1 (/.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))) (+.f64 8 (pow.f64 x 6)))) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))) |
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 4 (*.f64 2 (*.f64 x x))))) |
(/.f64 (neg.f64 (-.f64 4 (pow.f64 x 4))) (neg.f64 (-.f64 2 (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 8 (pow.f64 x 6))) (neg.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))) |
(/.f64 (-.f64 (pow.f64 x 4) 4) (-.f64 (*.f64 x x) 2)) |
(pow.f64 (fma.f64 x x 2) 1) |
(pow.f64 (sqrt.f64 (fma.f64 x x 2)) 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x 2)) 3) |
(pow.f64 (pow.f64 (fma.f64 x x 2) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 x x 2) 2)) |
(log.f64 (exp.f64 (fma.f64 x x 2))) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 2)))) |
(cbrt.f64 (pow.f64 (fma.f64 x x 2) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 x x 2))) |
(exp.f64 (log.f64 (fma.f64 x x 2))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x 2)) 1)) |
(log1p.f64 (expm1.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(fma.f64 1 (*.f64 x x) 2) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 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)))) |
(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/4 (pow.f64 x 4) (fma.f64 -1/8 (pow.f64 x 6) (*.f64 -1/2 (*.f64 x x))))) |
(+.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 2 (pow.f64 x 2)) |
(/.f64 2 (*.f64 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 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 2 (*.f64 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 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (/.f64 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 2 (*.f64 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 (/.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 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 2 (*.f64 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 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8))))) |
(+.f64 (/.f64 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 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 16 (pow.f64 x 8)))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(+.f64 2 (pow.f64 x 2)) |
(fma.f64 x x 2) |
(-.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 2 (/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))) |
(*.f64 -2 (/.f64 (fma.f64 x x -2) (-.f64 4 (pow.f64 x 4)))) |
(*.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 (*.f64 x x) (fma.f64 x x -2)))) |
(/.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)) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x 2))) 1) |
(fma.f64 x x 2) |
(-.f64 (/.f64 4 (-.f64 2 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 2 (*.f64 x x)))) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(*.f64 (fma.f64 x x 2) 1) |
(fma.f64 x x 2) |
(*.f64 1 (fma.f64 x x 2)) |
(fma.f64 x x 2) |
(*.f64 (sqrt.f64 (fma.f64 x x 2)) (sqrt.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(*.f64 (cbrt.f64 (fma.f64 x x 2)) (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2)) |
(fma.f64 x x 2) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2) (cbrt.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(*.f64 (-.f64 4 (pow.f64 x 4)) (/.f64 1 (-.f64 2 (*.f64 x x)))) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(*.f64 (+.f64 8 (pow.f64 x 6)) (/.f64 1 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2)))) |
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 1 (/.f64 (-.f64 2 (*.f64 x x)) (-.f64 4 (pow.f64 x 4)))) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(/.f64 1 (/.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))) (+.f64 8 (pow.f64 x 6)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2)))) |
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2)))) |
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 4 (*.f64 2 (*.f64 x x))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2)))) |
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 (neg.f64 (-.f64 4 (pow.f64 x 4))) (neg.f64 (-.f64 2 (*.f64 x x)))) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(/.f64 (neg.f64 (+.f64 8 (pow.f64 x 6))) (neg.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2)))) |
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) |
(/.f64 (-.f64 (pow.f64 x 4) 4) (-.f64 (*.f64 x x) 2)) |
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)) |
(pow.f64 (fma.f64 x x 2) 1) |
(fma.f64 x x 2) |
(pow.f64 (sqrt.f64 (fma.f64 x x 2)) 2) |
(fma.f64 x x 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x 2)) 3) |
(fma.f64 x x 2) |
(pow.f64 (pow.f64 (fma.f64 x x 2) 3) 1/3) |
(fma.f64 x x 2) |
(sqrt.f64 (pow.f64 (fma.f64 x x 2) 2)) |
(fma.f64 x x 2) |
(log.f64 (exp.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 2)))) |
(fma.f64 x x 2) |
(cbrt.f64 (pow.f64 (fma.f64 x x 2) 3)) |
(fma.f64 x x 2) |
(expm1.f64 (log1p.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(exp.f64 (log.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x 2)) 1)) |
(fma.f64 x x 2) |
(log1p.f64 (expm1.f64 (fma.f64 x x 2))) |
(fma.f64 x x 2) |
(fma.f64 x x 2) |
(fma.f64 1 (*.f64 x x) 2) |
(fma.f64 x x 2) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 2) |
Compiled 1613 to 1158 computations (28.2% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 146 | 1 | 147 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 146 | 5 | 151 |
| Status | Error | Program |
|---|---|---|
| ✓ | 14.1b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ▶ | 45.9b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ✓ | 31.0b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 30.6b | 1 |
Compiled 29 to 22 computations (24.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (/.f64 2 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 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)) |
Compiled 186 to 129 computations (30.6% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 2 | 24 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 22 | 7 | 29 |
| Status | Error | Program |
|---|---|---|
| ✓ | 14.1b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 45.9b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ▶ | 33.5b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 31.0b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ▶ | 46.2b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 30.6b | 1 |
Compiled 47 to 36 computations (23.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
Compiled 17 to 12 computations (29.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 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 |
|---|---|---|
| 0.5b | (/.f64 2 (*.f64 x x)) | |
| ✓ | 1.8b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
Compiled 28 to 16 computations (42.9% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| 1× | batch-egg-rewrite |
| 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 (3 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 136 | 2 | 138 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 136 | 9 | 145 |
| Status | Error | Program |
|---|---|---|
| 46.2b | (/.f64 (/.f64 2 x) x) | |
| 45.9b | (/.f64 2 (/.f64 x (/.f64 1 x))) | |
| ✓ | 14.1b | (/.f64 2 (+.f64 2 (*.f64 x x))) |
| ✓ | 45.9b | (/.f64 2 (*.f64 x x)) |
| ✓ | 0.0b | (/.f64 1 (cosh.f64 x)) |
| ✓ | 33.5b | (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| ✓ | 31.0b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| ✓ | 46.2b | (*.f64 (/.f64 2 x) (/.f64 1 x)) |
| 30.6b | 1 |
Compiled 61 to 46 computations (24.6% 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 2 (/.f64 x (/.f64 1 x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(/.f64 1 (cosh.f64 x)) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 1 (cosh.f64 x)) |
3 calls:
| 6.0ms | x |
| 3.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 79 to 54 computations (31.6% 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 2 (/.f64 x (/.f64 1 x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) |
1 calls:
| 14.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.8b | 3 | x |
Compiled 51 to 33 computations (35.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 38.0ms | 1.7501427039274028e-6 | 3087.9381171339805 |
| 17.0ms | -982.7266498769322 | -0.005665755189545006 |
| 51.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))) |
(/.f64 2 (/.f64 x (/.f64 1 x))) |
| Outputs |
|---|
(/.f64 2 (+.f64 2 (*.f64 x x))) |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.1b | 1 | x |
Compiled 42 to 27 computations (35.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))) |
| Outputs |
|---|
(/.f64 2 (*.f64 x x)) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (*.f64 x x)) |
1 calls:
| 43.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.1b | 3 | x |
Compiled 28 to 18 computations (35.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 18.0ms | 1.7501427039274028e-6 | 3087.9381171339805 |
| 16.0ms | -982.7266498769322 | -0.005665755189545006 |
| 30.0ms | 288× | body | 256 | valid |
Compiled 301 to 226 computations (24.9% saved)
Total -47.8b remaining (-333.4%)
Threshold costs -47.8b (-333.4%)
| 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:
| 12.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 14.3b | 3 | x |
Compiled 21 to 14 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 1.7501427039274028e-6 | 3087.9381171339805 |
| 20.0ms | -982.7266498769322 | -0.005665755189545006 |
| 33.0ms | 288× | body | 256 | valid |
Compiled 193 to 154 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 | 34 | 196 |
| 1 | 52 | 196 |
| 2 | 53 | 196 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 (cosh.f64 x)) |
(if (<=.f64 x -5/4) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/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 -5/4) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1))) |
(if (or (<=.f64 x -5/4) (not (<=.f64 x 5404319552844595/4503599627370496))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (+.f64 1 (*.f64 (*.f64 x x) -1/2))) |
(/.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...