Time bar (total: 1.2s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 100% | 0% | 0% | 2 |
Compiled 10 to 8 computations (20% saved)
| 792.0ms | 8256× | body | 128 | valid |
Compiled 20 to 16 computations (20% saved)
| 2× | egg-herbie |
| 434× | unswap-sqr_binary64 |
| 366× | fma-def_binary64 |
| 257× | associate-/l*_binary64 |
| 247× | *-commutative_binary64 |
| 242× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 419 | 13 |
| 8 | 1133 | 13 |
| 9 | 3111 | 13 |
| 10 | 4302 | 13 |
| 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 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 434× | unswap-sqr_binary64 |
| 366× | fma-def_binary64 |
| 257× | associate-/l*_binary64 |
| 247× | *-commutative_binary64 |
| 242× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 15 | 13 |
| 2 | 21 | 13 |
| 3 | 28 | 13 |
| 4 | 47 | 13 |
| 5 | 87 | 13 |
| 6 | 184 | 13 |
| 7 | 419 | 13 |
| 8 | 1133 | 13 |
| 9 | 3111 | 13 |
| 10 | 4302 | 13 |
| 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)))) |
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 27 to 21 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)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.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 | 2824 | 18 |
| 0 | 8 | 9 |
| 1 | 176 | 9 |
| 2 | 2824 | 9 |
| 0 | 8 | 9 |
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2129 | 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 exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.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 exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 981× | fma-neg_binary64 |
| 391× | distribute-rgt-neg-in_binary64 |
| 370× | fma-def_binary64 |
| 346× | distribute-lft-neg-in_binary64 |
| 330× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 187 |
| 1 | 89 | 183 |
| 2 | 217 | 177 |
| 3 | 655 | 175 |
| 4 | 2761 | 175 |
| 1× | node limit |
| Inputs |
|---|
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
2 |
(+.f64 2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2)))) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
| Outputs |
|---|
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(-.f64 1 (*.f64 1/2 (*.f64 x x))) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 -1/2 (*.f64 x x))) |
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 1/2 (*.f64 x x) (*.f64 61/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 (pow.f64 x 6) -61/720) (fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 5/24 (pow.f64 x 4) 1))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 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 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (*.f64 x x))) |
(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 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) |
(fma.f64 (pow.f64 x 4) 1/12 (+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 6) 1/360)))) |
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x (fma.f64 (pow.f64 x 6) 1/360 2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2))) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 1 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 1 | 41 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
Compiled 474 to 332 computations (30% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| ✓ | 0.0b | (cosh.f64 x) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1.0ms | x | @ | -inf | (cosh.f64 x) |
| 1.0ms | x | @ | inf | (cosh.f64 x) |
| 1.0ms | x | @ | inf | (/.f64 2 (*.f64 2 (cosh.f64 x))) |
| 1.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 |
| 66× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 132 | 9 |
| 2 | 1583 | 9 |
| 1× | node limit |
| Inputs |
|---|
(cosh.f64 x) |
(/.f64 2 (*.f64 2 (cosh.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cosh.f64 x) 2) 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 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cosh.f64 x) 2) 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 (cosh.f64 x) 2)) 2) (/.f64 2 (cbrt.f64 (*.f64 (cosh.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 (cosh.f64 x) 2)) (/.f64 2 (sqrt.f64 (*.f64 (cosh.f64 x) 2))))))) (#(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 log.f64 (+.f64 1 (expm1.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 exp.f64 (log.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 -.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (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 log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x)))))))) |
| 1× | egg-herbie |
| 981× | fma-neg_binary64 |
| 394× | fma-def_binary64 |
| 390× | distribute-rgt-neg-in_binary64 |
| 348× | distribute-lft-neg-in_binary64 |
| 335× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 312 |
| 1 | 93 | 308 |
| 2 | 228 | 294 |
| 3 | 682 | 292 |
| 4 | 2768 | 292 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (*.f64 1/24 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/24 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))) |
(*.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))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(/.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) |
(+.f64 (*.f64 1/24 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2)))) |
(fma.f64 1/24 (pow.f64 x 4) (+.f64 1 (*.f64 1/2 (*.f64 x x)))) |
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) 1)) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/24) 1/2) 1) |
(+.f64 (*.f64 1/24 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))) |
(fma.f64 1/24 (pow.f64 x 4) (+.f64 1 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))))) |
(+.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 1/720 (pow.f64 x 6))) (fma.f64 1/24 (pow.f64 x 4) 1)) |
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) 1))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) 1))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x))) |
(*.f64 1/2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(fma.f64 1/2 (exp.f64 x) (/.f64 1/2 (exp.f64 x))) |
1 |
(-.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1/2 (*.f64 x x))) |
(-.f64 1 (*.f64 1/2 (*.f64 x x))) |
(fma.f64 (*.f64 x x) -1/2 1) |
(fma.f64 x (*.f64 x -1/2) 1) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 -1/2 (*.f64 x x))) |
(+.f64 (fma.f64 (pow.f64 x 4) 5/24 1) (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (pow.f64 x 4) 5/24 (fma.f64 (*.f64 x x) -1/2 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) 1) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 1)) |
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (fma.f64 (pow.f64 x 4) 5/24 1) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 6) 61/720))) |
(-.f64 (fma.f64 (pow.f64 x 4) 5/24 1) (fma.f64 (pow.f64 x 6) 61/720 (*.f64 1/2 (*.f64 x x)))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 (pow.f64 x 4) 5/24 1))) |
(fma.f64 (pow.f64 x 6) -61/720 (fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 5/24 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 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 63 | 0 | 63 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 63 | 1 | 64 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) |
Compiled 758 to 586 computations (22.7% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
Compiled 107 to 83 computations (22.4% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 12 | 13 |
| 2 | 14 | 13 |
| 3 | 15 | 13 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (exp.f64 (exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))) |
| Outputs |
|---|
(log.f64 (exp.f64 (exp.f64 (neg.f64 (log.f64 (cosh.f64 x)))))) |
| 1× | done |
Compiled 25 to 22 computations (12% saved)
Loading profile data...