Time bar (total: 3.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50.4% | 0.4% | 49.2% | 10 |
| 50.4% | 0.2% | 49.4% | 11 |
| 50.4% | 0.1% | 49.5% | 12 |
| 50.4% | 0% | 49.6% | 13 |
| 50.4% | 0% | 49.6% | 14 |
Compiled 10 to 8 computations (20% saved)
| 1.9s | 4098× | body | 1024 | valid |
| 626.0ms | 2065× | body | 512 | valid |
| 201.0ms | 409× | body | 2048 | valid |
| 194.0ms | 1029× | body | 256 | valid |
| 66.0ms | 655× | body | 128 | valid |
| 0.0ms | 1× | body | 128 | invalid |
| 2× | egg-herbie |
| 618× | fma-neg_binary64 |
| 508× | associate-/l*_binary64 |
| 414× | associate-/r/_binary64 |
| 307× | associate-/l/_binary64 |
| 215× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 34 | 13 |
| 3 | 58 | 13 |
| 4 | 120 | 13 |
| 5 | 261 | 13 |
| 6 | 714 | 13 |
| 7 | 2100 | 13 |
| 8 | 4939 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2) |
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 618× | fma-neg_binary64 |
| 508× | associate-/l*_binary64 |
| 414× | associate-/r/_binary64 |
| 307× | associate-/l/_binary64 |
| 215× | fma-def_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 34 | 13 |
| 3 | 58 | 13 |
| 4 | 120 | 13 |
| 5 | 261 | 13 |
| 6 | 714 | 13 |
| 7 | 2100 | 13 |
| 8 | 4939 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2) |
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 58.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
Compiled 35 to 25 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 5.8b | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 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))) |
| 0.0ms | x | @ | inf | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 70× | add-sqr-sqrt_binary64 |
| 67× | add-log-exp_binary64 |
| 66× | *-un-lft-identity_binary64 |
| 66× | pow1_binary64 |
| 65× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 130 | 6 |
| 2 | 2149 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.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 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x)))))))) |
| 1× | egg-herbie |
| 700× | fma-def_binary64 |
| 676× | unswap-sqr_binary64 |
| 322× | associate-*l*_binary64 |
| 265× | *-commutative_binary64 |
| 204× | associate-*r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 98 |
| 1 | 68 | 98 |
| 2 | 151 | 98 |
| 3 | 388 | 98 |
| 4 | 739 | 98 |
| 5 | 1635 | 98 |
| 6 | 2539 | 98 |
| 7 | 4128 | 98 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(-.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 |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) |
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5))) |
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/60 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x)))) |
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) |
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/2520 (pow.f64 x 7)))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 2 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 20 | 3 | 23 |
| Status | Error | Program |
|---|---|---|
| ✓ | 58.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| ▶ | 0.0b | (/.f64 (*.f64 2 (sinh.f64 x)) 2) |
| 0.3b | (/.f64 (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) 2) |
Compiled 357 to 245 computations (31.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sinh.f64 x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (sinh.f64 x) |
| 1.0ms | x | @ | inf | (sinh.f64 x) |
| 1.0ms | x | @ | 0 | (sinh.f64 x) |
| 1× | batch-egg-rewrite |
| 318× | pow1_binary64 |
| 311× | add-sqr-sqrt_binary64 |
| 297× | add-log-exp_binary64 |
| 296× | log1p-expm1-u_binary64 |
| 296× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 63 | 3 |
| 2 | 785 | 3 |
| 1× | node limit |
| Inputs |
|---|
(sinh.f64 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x))))))) |
| 1× | egg-herbie |
| 872× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 298× | associate-*l*_binary64 |
| 228× | *-commutative_binary64 |
| 217× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 150 |
| 1 | 67 | 150 |
| 2 | 151 | 142 |
| 3 | 372 | 142 |
| 4 | 686 | 142 |
| 5 | 1466 | 142 |
| 6 | 2299 | 142 |
| 7 | 3552 | 142 |
| 8 | 4529 | 142 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(fma.f64 1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 28 | 2 | 30 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 30 | 3 | 33 |
| Status | Error | Program |
|---|---|---|
| ✓ | 58.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| 52.7b | (/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2) | |
| ▶ | 0.3b | (/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2) |
Compiled 406 to 314 computations (22.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
| 1.0ms | x | @ | inf | (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
| 1.0ms | x | @ | 0 | (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
| 1× | batch-egg-rewrite |
| 507× | log-prod_binary64 |
| 239× | expm1-udef_binary64 |
| 239× | log1p-udef_binary64 |
| 193× | log-pow_binary64 |
| 152× | prod-diff_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 22 |
| 1 | 306 | 22 |
| 2 | 3177 | 22 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) (*.f64 1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/6 (pow.f64 x 3)) 1) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5))) (fma.f64 1/5040 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))) (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2) (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/6 (pow.f64 x 3)) 3) (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 3)) (fma.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 1/6 (pow.f64 x 3)) (-.f64 (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 2) (*.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 1/6 (pow.f64 x 3))) (pow.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)) 2)) (-.f64 (*.f64 1/6 (pow.f64 x 3)) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) (exp.f64 (*.f64 1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) (exp.f64 (*.f64 1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/6 (pow.f64 x 3))) (+.f64 1 (expm1.f64 (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 1)))))) |
| 1× | egg-herbie |
| 624× | unswap-sqr_binary64 |
| 516× | sqr-pow_binary64 |
| 490× | fma-def_binary64 |
| 298× | associate-*l*_binary64 |
| 254× | cube-prod_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 174 |
| 1 | 60 | 174 |
| 2 | 133 | 174 |
| 3 | 327 | 174 |
| 4 | 602 | 174 |
| 5 | 1337 | 174 |
| 6 | 2005 | 174 |
| 7 | 2972 | 174 |
| 8 | 3126 | 174 |
| 9 | 3373 | 174 |
| 10 | 3690 | 174 |
| 11 | 4171 | 174 |
| 12 | 4850 | 174 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/5040 (pow.f64 x 7)) |
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/5040 (pow.f64 x 7)) |
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(fma.f64 1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(*.f64 1/5040 (pow.f64 x 7)) |
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))) |
(fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5))) |
(fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(*.f64 1/5040 (pow.f64 x 7)) |
(+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5))) |
(fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5))) |
(fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 1/120 (pow.f64 x 5)))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/120 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) x))) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 0 | 42 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 42 | 3 | 45 |
| Status | Error | Program |
|---|---|---|
| ✓ | 58.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| ▶ | 52.7b | (/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2) |
| ✓ | 0.3b | (/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2) |
Compiled 1099 to 903 computations (17.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (sinh.f64 x) 3) |
| 0.0b | (sinh.f64 x) | |
| ✓ | 41.3b | (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3) |
| 2.0ms | x | @ | -inf | (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3) |
| 1.0ms | x | @ | 0 | (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3) |
| 0.0ms | x | @ | 0 | (pow.f64 (sinh.f64 x) 3) |
| 0.0ms | x | @ | inf | (pow.f64 (sinh.f64 x) 3) |
| 1× | batch-egg-rewrite |
| 561× | pow1_binary64 |
| 535× | add-log-exp_binary64 |
| 534× | log1p-expm1-u_binary64 |
| 534× | expm1-log1p-u_binary64 |
| 522× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 160 | 9 |
| 2 | 1507 | 9 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3) |
(pow.f64 (sinh.f64 x) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (pow.f64 (sinh.f64 x) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (sinh.f64 x) 2) 1/3) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (sinh.f64 x) 3/2) 1/3) (pow.f64 (pow.f64 (sinh.f64 x) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sinh.f64 x))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (sinh.f64 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 2) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sinh.f64 x) 3/2) (pow.f64 (sinh.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) 3) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (sinh.f64 x)) 3) (pow.f64 (sqrt.f64 (sinh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) 1) (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2)) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (sqrt.f64 (sinh.f64 x))) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (pow.f64 (sinh.f64 x) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (sinh.f64 x) 2) (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (sinh.f64 x) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (sinh.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (sinh.f64 x)))))))) |
| 1× | egg-herbie |
| 882× | fma-def_binary64 |
| 494× | distribute-rgt-in_binary64 |
| 448× | distribute-lft-in_binary64 |
| 233× | *-commutative_binary64 |
| 199× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 336 |
| 1 | 108 | 336 |
| 2 | 274 | 328 |
| 3 | 810 | 328 |
| 4 | 2116 | 328 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(pow.f64 x 3) |
(+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)) |
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))) |
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 41/3024 (pow.f64 x 9)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)))) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(fma.f64 1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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 (exp.f64 x) (/.f64 1 (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))) |
(pow.f64 x 3) |
(+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)) |
(fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3)) |
(fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3)) |
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3))) |
(fma.f64 13/120 (pow.f64 x 7) (fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3))) |
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3))) |
(fma.f64 (pow.f64 x 5) 1/2 (fma.f64 (pow.f64 x 7) 13/120 (pow.f64 x 3))) |
(+.f64 (*.f64 13/120 (pow.f64 x 7)) (+.f64 (*.f64 41/3024 (pow.f64 x 9)) (+.f64 (*.f64 1/2 (pow.f64 x 5)) (pow.f64 x 3)))) |
(fma.f64 13/120 (pow.f64 x 7) (fma.f64 41/3024 (pow.f64 x 9) (fma.f64 1/2 (pow.f64 x 5) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 41/3024 (pow.f64 x 9) (fma.f64 (pow.f64 x 5) 1/2 (pow.f64 x 3)))) |
(fma.f64 (pow.f64 x 7) 13/120 (fma.f64 (pow.f64 x 5) 1/2 (fma.f64 41/3024 (pow.f64 x 9) (pow.f64 x 3)))) |
(fma.f64 (pow.f64 x 5) 1/2 (fma.f64 (pow.f64 x 7) 13/120 (fma.f64 41/3024 (pow.f64 x 9) (pow.f64 x 3)))) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) 3)) |
(*.f64 1/8 (pow.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 3)) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 92 | 0 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 92 | 3 | 95 |
| Status | Error | Program |
|---|---|---|
| ✓ | 58.0b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| ✓ | 52.7b | (/.f64 (*.f64 2 (pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)) 2) |
| ✓ | 0.3b | (/.f64 (*.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))) 2) |
Compiled 1336 to 1030 computations (22.9% saved)
Total -59.8b remaining (-772257.2%)
Threshold costs -59.8b (-772257.2%)
Compiled 223 to 171 computations (23.3% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
| 1× | *-rgt-identity_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 9 |
| 1 | 13 | 9 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (*.f64 2 (*.f64 (sinh.f64 x) 1)) 2) |
| Outputs |
|---|
(/.f64 (*.f64 2 (*.f64 (sinh.f64 x) 1)) 2) |
(/.f64 (*.f64 2 (sinh.f64 x)) 2) |
| 1× | done |
Compiled 52 to 42 computations (19.2% saved)
Loading profile data...