Time bar (total: 2.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 10 to 8 computations (20% saved)
| 766.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 702× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 290× | exp-prod_binary64 |
| 264× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 434 | 13 |
| 8 | 1195 | 13 |
| 9 | 3176 | 13 |
| 10 | 4367 | 13 |
| 11 | 5548 | 13 |
| 12 | 7298 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
| 702× | fma-def_binary64 |
| 434× | unswap-sqr_binary64 |
| 345× | fma-neg_binary64 |
| 290× | exp-prod_binary64 |
| 264× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 434 | 13 |
| 8 | 1195 | 13 |
| 9 | 3176 | 13 |
| 10 | 4367 | 13 |
| 11 | 5548 | 13 |
| 12 | 7298 | 13 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| ✓ | 0.0b | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 24 to 8 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 91× | add-sqr-sqrt_binary64 |
| 91× | add-sqr-sqrt_binary64 |
| 87× | add-log-exp_binary64 |
| 87× | add-log-exp_binary64 |
| 85× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 176 | 18 |
| 2 | 2839 | 18 |
| 0 | 8 | 9 |
| 1 | 176 | 9 |
| 2 | 2839 | 9 |
| 0 | 8 | 9 |
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2150 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 629× | distribute-lft-out_binary64 |
| 423× | associate-/l/_binary64 |
| 388× | fma-def_binary64 |
| 380× | distribute-rgt-out_binary64 |
| 342× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 283 |
| 1 | 88 | 275 |
| 2 | 196 | 269 |
| 3 | 545 | 267 |
| 4 | 2008 | 267 |
| 5 | 3750 | 267 |
| 6 | 5278 | 267 |
| 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))) |
| 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 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) 1))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1)) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 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 (neg.f64 x)) (exp.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 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 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 (neg.f64 x)) (exp.f64 x))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (*.f64 x x)) |
(fma.f64 x x 2) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))) |
(+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) |
(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 x x (*.f64 (pow.f64 x 4) 1/12)))) |
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 2))) |
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 (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)) |
Compiled 456 to 313 computations (31.4% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 4 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 37 | 4 | 41 |
| Status | Error | Program |
|---|---|---|
| ▶ | 32.8b | (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
| 32.0b | 1 | |
| ▶ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ▶ | 0.5b | (/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
Compiled 32 to 28 computations (12.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 -1/2 (pow.f64 x 2)) |
| ✓ | 0.1b | (*.f64 5/24 (pow.f64 x 4)) |
| ✓ | 14.4b | (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
Compiled 47 to 38 computations (19.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
| 1.0ms | x | @ | inf | (*.f64 -1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 5/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 446× | log-prod_binary64 |
| 335× | exp-prod_binary64 |
| 304× | fma-def_binary64 |
| 298× | prod-exp_binary64 |
| 270× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 28 |
| 1 | 239 | 28 |
| 2 | 2732 | 28 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(*.f64 5/24 (pow.f64 x 4)) |
(*.f64 -1/2 (pow.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 25/576) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (pow.f64 x 8) 25/576)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))) (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (pow.f64 x 8) 25/576))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8)) (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8)) (fma.f64 (pow.f64 x 8) 25/576 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (pow.f64 x 8) 25/576)) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (pow.f64 x 8) 25/576))) (neg.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 25/576) (*.f64 (pow.f64 x 4) 1/4)) (-.f64 (*.f64 5/24 (pow.f64 x 4)) (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))) (fma.f64 (pow.f64 x 12) 125/13824 (*.f64 (pow.f64 x 6) -1/8))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (pow.f64 x 8) 25/576))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) (pow.f64 (exp.f64 5/24) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)) (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4)))) (pow.f64 (exp.f64 x) (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 5/24) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 x x)) 1 (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 5/24 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (pow.f64 x 4)) 1 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 5/24 (pow.f64 x 4)) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 5/24) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 5/24 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 25/576)) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 25/576)) (cbrt.f64 (*.f64 5/24 (pow.f64 x 4))) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 5/24)) (*.f64 (*.f64 x x) (sqrt.f64 5/24)) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (*.f64 x x)) (*.f64 x x) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/2 (*.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 5/24 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 5/24 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 25/576) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 5/24 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 5/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 125/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4)))) 2)) (cbrt.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4))))) (sqrt.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 25/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) 125/13824))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 5/24 (pow.f64 x 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (sqrt.f64 5/24))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 12) 125/13824)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 5/24 (pow.f64 x 4))) 3) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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 (pow.f64 x 4) 1/4) 1/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 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))) (sqrt.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) -1/8))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))) 3) 1/3)))))) |
| 1× | egg-herbie |
| 1319× | sqr-pow_binary64 |
| 659× | pow-sqr_binary64 |
| 493× | cube-prod_binary64 |
| 406× | fabs-mul_binary64 |
| 386× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 19 | 21 |
| 2 | 39 | 21 |
| 3 | 90 | 21 |
| 4 | 294 | 21 |
| 5 | 1173 | 21 |
| 6 | 1917 | 21 |
| 7 | 2041 | 21 |
| 8 | 2210 | 21 |
| 9 | 2409 | 21 |
| 10 | 2680 | 21 |
| 11 | 3037 | 21 |
| 12 | 3491 | 21 |
| 13 | 4022 | 21 |
| 14 | 4652 | 21 |
| 15 | 5403 | 21 |
| 16 | 5713 | 21 |
| 17 | 5939 | 21 |
| 18 | 6137 | 21 |
| 19 | 6195 | 21 |
| 20 | 6217 | 21 |
| 21 | 7051 | 21 |
| 22 | 7964 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 5/24 (pow.f64 x 4)) |
(*.f64 5/24 (pow.f64 x 4)) |
| Outputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(*.f64 5/24 (pow.f64 x 4)) |
(*.f64 5/24 (pow.f64 x 4)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) |
| ✓ | 0.0b | (cosh.f64 x) |
| ✓ | 0.0b | (/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
| ✓ | 1.2b | (log1p.f64 (*.f64 2 (cosh.f64 x))) |
Compiled 28 to 18 computations (35.7% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 28.0ms | x | @ | inf | (log1p.f64 (*.f64 2 (cosh.f64 x))) |
| 26.0ms | x | @ | -inf | (log1p.f64 (*.f64 2 (cosh.f64 x))) |
| 2.0ms | x | @ | 0 | (log1p.f64 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
| 1.0ms | x | @ | -inf | (/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
| 1× | batch-egg-rewrite |
| 684× | pow1_binary64 |
| 633× | add-log-exp_binary64 |
| 632× | expm1-log1p-u_binary64 |
| 631× | log1p-expm1-u_binary64 |
| 619× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 26 |
| 1 | 150 | 23 |
| 2 | 1813 | 23 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (*.f64 2 (cosh.f64 x))) |
(/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
(cosh.f64 x) |
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (*.f64 2 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) 2) (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1 (cosh.f64 x))) (sqrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) (/.f64 2 (cbrt.f64 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cosh.f64 x) -2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cosh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (*.f64 (cbrt.f64 (cosh.f64 x)) 2))))) (#(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 (sqrt.f64 (cosh.f64 x)) (*.f64 (sqrt.f64 (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) (+.f64 (*.f64 2 (cosh.f64 x)) 1)) (+.f64 1 (*.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) (+.f64 (*.f64 2 (cosh.f64 x)) 1)) 1) (+.f64 (+.f64 (*.f64 2 (cosh.f64 x)) 1) 1))))) (#(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 (*.f64 2 (cosh.f64 x)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 799× | fma-def_binary64 |
| 619× | distribute-rgt-out_binary64 |
| 524× | associate-*l*_binary64 |
| 518× | distribute-lft-out_binary64 |
| 431× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 589 |
| 1 | 145 | 579 |
| 2 | 351 | 563 |
| 3 | 1005 | 559 |
| 4 | 3677 | 559 |
| 5 | 5927 | 559 |
| 6 | 7540 | 559 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 3) |
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (log.f64 3)) |
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3))) |
(+.f64 (*.f64 13/3240 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
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 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
| Outputs |
|---|
(log.f64 3) |
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (log.f64 3)) |
(fma.f64 1/3 (*.f64 x x) (log.f64 3)) |
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3))) |
(fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3))) |
(+.f64 (*.f64 13/3240 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (+.f64 (*.f64 -1/36 (pow.f64 x 4)) (log.f64 3)))) |
(fma.f64 13/3240 (pow.f64 x 6) (fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3)))) |
(fma.f64 1/3 (*.f64 x x) (fma.f64 13/3240 (pow.f64 x 6) (fma.f64 -1/36 (pow.f64 x 4) (log.f64 3)))) |
(fma.f64 1/3 (*.f64 x x) (fma.f64 -1/36 (pow.f64 x 4) (fma.f64 13/3240 (pow.f64 x 6) (log.f64 3)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(log.f64 (+.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))) |
(log1p.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 5/24))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 1) (*.f64 (pow.f64 x 4) 5/24)) |
(fma.f64 (pow.f64 x 4) 5/24 (fma.f64 (*.f64 x x) -1/2 1)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 5/24)))) |
(+.f64 (fma.f64 (*.f64 x x) -1/2 1) (fma.f64 (pow.f64 x 4) 5/24 (*.f64 (pow.f64 x 6) -61/720))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) 5/24 (fma.f64 (pow.f64 x 6) -61/720 (*.f64 (*.f64 x x) -1/2)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 (fma.f64 (pow.f64 x 6) -61/720 1))) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2) (fma.f64 (pow.f64 x 6) -61/720 1)) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(fma.f64 (*.f64 x x) 1/2 1) |
(fma.f64 x (*.f64 x 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) 1/24 (*.f64 x (*.f64 x 1/2)))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 1)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/24 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/720)))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720))) |
(+.f64 1 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720)))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (pow.f64 x 6) 1/720 1))) |
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (pow.f64 x 6) 1/720 (fma.f64 (*.f64 x x) 1/2 1))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (*.f64 x x)) |
(fma.f64 x x 2) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))) |
(+.f64 (fma.f64 x x 2) (*.f64 (pow.f64 x 4) 1/12)) |
(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 x x (*.f64 (pow.f64 x 4) 1/12)))) |
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cosh.f64 x) | |
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
Compiled 15 to 9 computations (40% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 0.0ms | x | @ | -inf | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 0.0ms | x | @ | inf | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1× | batch-egg-rewrite |
| 603× | pow1_binary64 |
| 559× | add-log-exp_binary64 |
| 558× | log1p-expm1-u_binary64 |
| 558× | expm1-log1p-u_binary64 |
| 547× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 132 | 6 |
| 2 | 1613 | 6 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 713× | fma-def_binary64 |
| 406× | *-commutative_binary64 |
| 369× | associate-/l/_binary64 |
| 345× | fma-neg_binary64 |
| 326× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 156 |
| 1 | 56 | 154 |
| 2 | 120 | 152 |
| 3 | 332 | 150 |
| 4 | 1193 | 150 |
| 5 | 3031 | 150 |
| 6 | 3798 | 150 |
| 7 | 4734 | 150 |
| 8 | 7840 | 150 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(fma.f64 -1/2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -1/2 x) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 4280 to 3186 computations (25.6% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 302 | 4 | 306 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 0 | 2 |
| Total | 305 | 5 | 310 |
| Status | Error | Program |
|---|---|---|
| ▶ | 32.7b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 32.0b | 1 | |
| ▶ | 32.8b | (+.f64 1 (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))) |
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ▶ | 0.0b | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
Compiled 43 to 34 computations (20.9% 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 |
| 432× | pow1_binary64 |
| 420× | add-sqr-sqrt_binary64 |
| 411× | *-un-lft-identity_binary64 |
| 401× | add-log-exp_binary64 |
| 401× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 102 | 7 |
| 2 | 1148 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))))) (#(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 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x 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 log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1082× | sqr-pow_binary64 |
| 617× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
| 441× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 12 | 84 |
| 2 | 23 | 84 |
| 3 | 44 | 84 |
| 4 | 105 | 84 |
| 5 | 331 | 84 |
| 6 | 1250 | 84 |
| 7 | 2123 | 84 |
| 8 | 2287 | 84 |
| 9 | 2471 | 84 |
| 10 | 2679 | 84 |
| 11 | 2976 | 84 |
| 12 | 3371 | 84 |
| 13 | 3852 | 84 |
| 14 | 4418 | 84 |
| 15 | 5102 | 84 |
| 16 | 5935 | 84 |
| 17 | 6327 | 84 |
| 18 | 6619 | 84 |
| 19 | 6895 | 84 |
| 20 | 6969 | 84 |
| 21 | 7003 | 84 |
| 22 | 7944 | 84 |
| 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)) |
| 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)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 -1/2 (*.f64 x x)) | |
| 0.1b | (*.f64 5/24 (pow.f64 x 4)) | |
| ✓ | 14.4b | (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4))) |
Compiled 58 to 39 computations (32.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | inf | (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | -inf | (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 477× | fma-def_binary64 |
| 456× | log-prod_binary64 |
| 344× | exp-prod_binary64 |
| 297× | pow-prod-down_binary64 |
| 262× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 16 |
| 1 | 271 | 14 |
| 2 | 3130 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))) (/.f64 (*.f64 25/576 (pow.f64 x 8)) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4))) (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8)) (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8)) (fma.f64 25/576 (pow.f64 x 8) (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8))) (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8)))) (neg.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 0 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3)) (+.f64 0 (-.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2) (*.f64 0 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2)) (-.f64 0 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 25/576 (pow.f64 x 8)) (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 5/24 (pow.f64 x 4) (neg.f64 (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4))) (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) (pow.f64 (exp.f64 5/24) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 -1/2) x) x) (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4)))) (pow.f64 (pow.f64 (exp.f64 -1/2) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 5/24) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 5/24 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/2 x) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 5/24) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 x x)) 1 (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 5/24 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (pow.f64 x 4)) 1 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 5/24 (pow.f64 x 4)) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 5/24 (pow.f64 x 4))) (cbrt.f64 (*.f64 25/576 (pow.f64 x 8))) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 25/576 (pow.f64 x 8))) (cbrt.f64 (*.f64 5/24 (pow.f64 x 4))) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 5/24) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 5/24)) (*.f64 (*.f64 x x) (sqrt.f64 5/24)) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) (sqrt.f64 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 6) -1/8) (pow.f64 (*.f64 -1/2 (*.f64 x x)) -2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 125/13824 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/8)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 25/576 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 5/24) (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 (pow.f64 x 4) 1/4)) (/.f64 1 (neg.f64 (*.f64 -1/2 (*.f64 x x)))) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 25/576 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -5/24 (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (*.f64 x x)) (*.f64 x x) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 5/24 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) 1) x (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 5/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 5/24 (pow.f64 x 4))))))) |
| 1× | egg-herbie |
| 1057× | sqr-pow_binary64 |
| 538× | fma-def_binary64 |
| 506× | pow-sqr_binary64 |
| 443× | cube-prod_binary64 |
| 425× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 147 |
| 1 | 22 | 147 |
| 2 | 45 | 147 |
| 3 | 114 | 147 |
| 4 | 355 | 147 |
| 5 | 1427 | 147 |
| 6 | 2658 | 147 |
| 7 | 3120 | 147 |
| 8 | 3289 | 147 |
| 9 | 3488 | 147 |
| 10 | 3761 | 147 |
| 11 | 4118 | 147 |
| 12 | 4568 | 147 |
| 13 | 5099 | 147 |
| 14 | 5729 | 147 |
| 15 | 6484 | 147 |
| 16 | 6794 | 147 |
| 17 | 7018 | 147 |
| 18 | 7216 | 147 |
| 19 | 7270 | 147 |
| 20 | 7292 | 147 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(*.f64 5/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(*.f64 5/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
(*.f64 -1/2 (*.f64 x x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(*.f64 5/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(*.f64 5/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))) |
(fma.f64 5/24 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))) |
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 5/24 -1/2))) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2)) |
(*.f64 x (fma.f64 -1/2 x (*.f64 5/24 (pow.f64 x 3)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
| ✓ | 0.0b | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| ✓ | 0.0b | (/.f64 1 (exp.f64 x)) |
Compiled 26 to 14 computations (46.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
| 0.0ms | x | @ | 0 | (/.f64 1 (exp.f64 x)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (exp.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 1 (exp.f64 x)) |
| 1× | batch-egg-rewrite |
| 849× | pow1_binary64 |
| 794× | add-log-exp_binary64 |
| 793× | log1p-expm1-u_binary64 |
| 793× | expm1-log1p-u_binary64 |
| 776× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 28 |
| 1 | 175 | 20 |
| 2 | 2271 | 20 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (exp.f64 x)) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (neg.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (neg.f64 x))) (cbrt.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -2)) (cbrt.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -1/2) (pow.f64 (exp.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (exp.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) -1) (pow.f64 (sqrt.f64 (exp.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (neg.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 x)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) 2) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (neg.f64 (*.f64 2 (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 (/.f64 2 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3))) (+.f64 (pow.f64 (exp.f64 x) -2) (fma.f64 (exp.f64 x) (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 (pow.f64 (exp.f64 x) -2) (pow.f64 (exp.f64 x) 2))) (-.f64 (exp.f64 (neg.f64 x)) (exp.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 pow.f64 (pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 2 (cosh.f64 x)) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 (*.f64 2 (cosh.f64 x)) 2)))))) (#(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 (pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) -2) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) (/.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.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 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3)) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) -2) (fma.f64 (exp.f64 x) (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (exp.f64 x) -2) (pow.f64 (exp.f64 x) 2)) (/.f64 1 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) -2) (fma.f64 (exp.f64 x) (exp.f64 x) -1)) (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) (-.f64 (pow.f64 (exp.f64 x) -2) (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3)) (+.f64 (pow.f64 (exp.f64 x) -2) (fma.f64 (exp.f64 x) (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (exp.f64 x) -2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) -2) (pow.f64 (exp.f64 x) 2)) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (exp.f64 x) 3))) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) -2) (fma.f64 (exp.f64 x) (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 x) -2) (pow.f64 (exp.f64 x) 2))) (neg.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) -2)) (-.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 pow.f64 (pow.f64 (*.f64 2 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (cosh.f64 x)) 2))))) (#(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 (pow.f64 (*.f64 2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 (neg.f64 x)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -2)) (cbrt.f64 (exp.f64 (neg.f64 x))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 x) -1/2) (pow.f64 (exp.f64 x) -1/2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (exp.f64 (neg.f64 x))))))) |
| 1× | egg-herbie |
| 735× | fma-def_binary64 |
| 604× | fma-neg_binary64 |
| 585× | cancel-sign-sub-inv_binary64 |
| 512× | associate-*l*_binary64 |
| 467× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 139 |
| 1 | 102 | 129 |
| 2 | 264 | 119 |
| 3 | 829 | 113 |
| 4 | 3634 | 113 |
| 5 | 6770 | 113 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1 x)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
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))))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1 x)) |
(+.f64 1 (neg.f64 x)) |
(-.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x))) |
(+.f64 1 (-.f64 (*.f64 1/2 (*.f64 x x)) x)) |
(-.f64 (fma.f64 1/2 (*.f64 x x) 1) x) |
(fma.f64 x (fma.f64 x 1/2 -1) 1) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))) |
(fma.f64 -1/6 (pow.f64 x 3) (+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))) |
(+.f64 (-.f64 (*.f64 1/2 (*.f64 x x)) x) (fma.f64 -1/6 (pow.f64 x 3) 1)) |
(-.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) 1)) x) |
(fma.f64 x (fma.f64 x 1/2 -1) (fma.f64 -1/6 (pow.f64 x 3) 1)) |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) 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 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1)) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 2 (*.f64 x x)) |
(fma.f64 x x 2) |
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 2 (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))) |
(+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2)) |
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))) |
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12)))) |
(+.f64 2 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) |
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2))) |
Compiled 3856 to 2754 computations (28.6% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 239 | 0 | 239 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 239 | 5 | 244 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.7b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 32.0b | 1 | |
| ✓ | 32.8b | (+.f64 1 (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))) |
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 0.0b | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
Compiled 43 to 34 computations (20.9% saved)
Compiled 1 to 1 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 32.7b | (+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| 32.0b | 1 | |
| ✓ | 32.8b | (+.f64 1 (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))) |
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 0.0b | (/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
Compiled 43 to 34 computations (20.9% saved)
| Inputs |
|---|
1 |
1 |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
(+.f64 1 (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(/.f64 2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
5 calls:
| 48.0ms | x |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 103 to 77 computations (25.2% saved)
| Inputs |
|---|
1 |
1 |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
(+.f64 1 (+.f64 (+.f64 0 (*.f64 -1/2 (*.f64 x x))) (*.f64 5/24 (pow.f64 x 4)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
5 calls:
| 5.0ms | x |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0b | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 73 to 55 computations (24.7% saved)
Total -0.7b remaining (-2.3%)
Threshold costs -0.7b (-2.3%)
| Inputs |
|---|
1 |
1 |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
| Outputs |
|---|
1 |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 32.0b | 1 | x |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 24 |
| 1 | 15 | 24 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
1 |
| Outputs |
|---|
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
1 |
Compiled 19 to 15 computations (21.1% saved)
Compiled 17 to 13 computations (23.5% saved)
Loading profile data...