Time bar (total: 2.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 62.5% | 37.5% | 0% | 4 |
| 68.7% | 18.7% | 12.5% | 5 |
| 71.8% | 9.4% | 18.8% | 6 |
| 73.4% | 4.7% | 21.9% | 7 |
| 74.2% | 2.3% | 23.5% | 8 |
| 74.6% | 1.2% | 24.3% | 9 |
| 75% | 0.6% | 24.5% | 10 |
| 75.1% | 0.3% | 24.6% | 11 |
| 75.1% | 0.1% | 24.7% | 12 |
| 75.1% | 0.1% | 24.8% | 13 |
| 75.2% | 0% | 24.8% | 14 |
Compiled 8 to 6 computations (25% saved)
| 936.0ms | 2771× | body | 1024 | valid |
| 306.0ms | 1340× | body | 512 | valid |
| 294.0ms | 3171× | body | 128 | valid |
| 123.0ms | 307× | body | 2048 | valid |
| 113.0ms | 667× | body | 256 | valid |
| 2× | egg-herbie |
| 95× | fma-def_binary64 |
| 80× | fma-neg_binary64 |
| 32× | distribute-rgt-in_binary64 |
| 28× | cancel-sign-sub-inv_binary64 |
| 26× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 15 | 6 |
| 2 | 18 | 6 |
| 3 | 22 | 6 |
| 4 | 30 | 6 |
| 5 | 40 | 6 |
| 6 | 59 | 6 |
| 7 | 100 | 6 |
| 8 | 146 | 6 |
| 9 | 222 | 6 |
| 10 | 349 | 6 |
| 11 | 507 | 6 |
| 12 | 579 | 6 |
| 13 | 615 | 6 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) 1) x) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
| 95× | fma-def_binary64 |
| 80× | fma-neg_binary64 |
| 32× | distribute-rgt-in_binary64 |
| 28× | cancel-sign-sub-inv_binary64 |
| 26× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 15 | 6 |
| 2 | 18 | 6 |
| 3 | 22 | 6 |
| 4 | 30 | 6 |
| 5 | 40 | 6 |
| 6 | 59 | 6 |
| 7 | 100 | 6 |
| 8 | 146 | 6 |
| 9 | 222 | 6 |
| 10 | 349 | 6 |
| 11 | 507 | 6 |
| 12 | 579 | 6 |
| 13 | 615 | 6 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) 1) x) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
Compiled 11 to 7 computations (36.4% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (/.f64 (expm1.f64 x) x) |
Compiled 10 to 6 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 (expm1.f64 x) x) |
| 1.0ms | x | @ | inf | (/.f64 (expm1.f64 x) x) |
| 1.0ms | x | @ | 0 | (/.f64 (expm1.f64 x) x) |
| 1× | batch-egg-rewrite |
| 449× | pow1_binary64 |
| 417× | add-log-exp_binary64 |
| 417× | log1p-expm1-u_binary64 |
| 417× | expm1-log1p-u_binary64 |
| 407× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 6 |
| 1 | 83 | 6 |
| 2 | 1104 | 6 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (expm1.f64 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (expm1.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (*.f64 (cbrt.f64 (expm1.f64 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2) (cbrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (*.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) 1) (/.f64 (sqrt.f64 (expm1.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (expm1.f64 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (expm1.f64 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (expm1.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (expm1.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (expm1.f64 x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x))))))) |
| 1× | egg-herbie |
| 688× | times-frac_binary64 |
| 536× | unswap-sqr_binary64 |
| 497× | associate-*l*_binary64 |
| 448× | fma-def_binary64 |
| 291× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 87 |
| 1 | 60 | 85 |
| 2 | 120 | 85 |
| 3 | 326 | 79 |
| 4 | 792 | 76 |
| 5 | 2430 | 76 |
| 6 | 4398 | 76 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 1/2 x) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 1/2 x) 1) |
(fma.f64 1/2 x 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1)) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) 1)) |
(fma.f64 x (fma.f64 x 1/6 1/2) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (+.f64 (fma.f64 1/6 (*.f64 x x) 1) (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) (fma.f64 1/24 (pow.f64 x 3) 1))) |
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/24 1/6) 1)) |
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(/.f64 (expm1.f64 x) x) |
Compiled 354 to 167 computations (52.8% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 1 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 2 | 42 |
| Status | Error | Program |
|---|---|---|
| ▶ | 21.1b | (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
Compiled 27 to 19 computations (29.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
| ✓ | 0.0b | (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) |
| ✓ | 0.1b | (fma.f64 x 1/24 1/6) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x 1/24 1/6) |
| 0.0ms | x | @ | -inf | (fma.f64 x 1/24 1/6) |
| 0.0ms | x | @ | inf | (fma.f64 x 1/24 1/6) |
| 0.0ms | x | @ | -inf | (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) |
| 0.0ms | x | @ | inf | (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) |
| 1× | batch-egg-rewrite |
| 776× | pow1_binary64 |
| 723× | log1p-expm1-u_binary64 |
| 723× | expm1-log1p-u_binary64 |
| 84× | add-sqr-sqrt_binary64 |
| 79× | add-cbrt-cube_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 178 | 27 |
| 2 | 1872 | 27 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x 1/24 1/6) |
(fma.f64 x (fma.f64 x 1/24 1/6) 1/2) |
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/6 (*.f64 x 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/24) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 1/24) 1) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 1/24 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/24 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/24 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) (pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 2) (cbrt.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/24 1/6)) (sqrt.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 1/24) 3) 1/216) (+.f64 (*.f64 (*.f64 x 1/24) (*.f64 x 1/24)) (-.f64 1/36 (*.f64 (*.f64 x 1/24) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 1/24) (*.f64 x 1/24)) 1/36) (-.f64 (*.f64 x 1/24) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/24 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/24 1/6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/24 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/24 1/6) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 1/24 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/24 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 1/24 1/6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/24 1/6))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 3) 1/8) (+.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) (*.f64 x (fma.f64 x 1/24 1/6))) (-.f64 1/4 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) (*.f64 x (fma.f64 x 1/24 1/6))) 1/4) (-.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 3) 1) (+.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) (-.f64 1 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) 1) (-.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))))))) |
| 1× | egg-herbie |
| 536× | unswap-sqr_binary64 |
| 523× | associate-*l*_binary64 |
| 482× | distribute-rgt-in_binary64 |
| 435× | fma-def_binary64 |
| 328× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 341 |
| 1 | 85 | 333 |
| 2 | 161 | 293 |
| 3 | 315 | 264 |
| 4 | 708 | 258 |
| 5 | 2255 | 258 |
| 6 | 3586 | 258 |
| 7 | 4123 | 258 |
| 1× | node limit |
| Inputs |
|---|
1/6 |
(+.f64 (*.f64 1/24 x) 1/6) |
(+.f64 (*.f64 1/24 x) 1/6) |
(+.f64 (*.f64 1/24 x) 1/6) |
(*.f64 1/24 x) |
(+.f64 1/6 (*.f64 1/24 x)) |
(+.f64 1/6 (*.f64 1/24 x)) |
(+.f64 1/6 (*.f64 1/24 x)) |
(*.f64 1/24 x) |
(+.f64 1/6 (*.f64 1/24 x)) |
(+.f64 1/6 (*.f64 1/24 x)) |
(+.f64 1/6 (*.f64 1/24 x)) |
1/2 |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(*.f64 1/24 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(*.f64 1/24 (pow.f64 x 2)) |
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
1 |
(+.f64 (*.f64 1/2 x) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(*.f64 1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))) |
(*.f64 1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))) |
| Outputs |
|---|
1/6 |
(+.f64 (*.f64 1/24 x) 1/6) |
(fma.f64 1/24 x 1/6) |
(+.f64 (*.f64 1/24 x) 1/6) |
(fma.f64 1/24 x 1/6) |
(+.f64 (*.f64 1/24 x) 1/6) |
(fma.f64 1/24 x 1/6) |
(*.f64 1/24 x) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
(*.f64 1/24 x) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
(+.f64 1/6 (*.f64 1/24 x)) |
(fma.f64 1/24 x 1/6) |
1/2 |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
(*.f64 1/24 (pow.f64 x 2)) |
(*.f64 1/24 (*.f64 x x)) |
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))) |
(fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))) |
(*.f64 x (fma.f64 1/24 x 1/6)) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
(*.f64 1/24 (pow.f64 x 2)) |
(*.f64 1/24 (*.f64 x x)) |
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))) |
(fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))) |
(*.f64 x (fma.f64 1/24 x 1/6)) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))) |
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))) |
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6))) |
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2) |
1 |
(+.f64 (*.f64 1/2 x) 1) |
(fma.f64 1/2 x 1) |
(fma.f64 x 1/2 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1)) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1)) |
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) 1)) |
(+.f64 1 (*.f64 x (fma.f64 1/6 x 1/2))) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1))) |
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))) |
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2))) |
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1) |
(*.f64 1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 1/24 (pow.f64 x 3))) |
(*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 1/24 x 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) (*.f64 x 1/2))) |
(fma.f64 x 1/2 (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))) |
(*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1))) |
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))) |
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2))) |
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1) |
(*.f64 1/24 (pow.f64 x 3)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 1/24 (pow.f64 x 3))) |
(*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))) |
(*.f64 (*.f64 x x) (fma.f64 1/24 x 1/6)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) (*.f64 x 1/2))) |
(fma.f64 x 1/2 (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))) |
(*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2)) |
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3))))) |
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1))) |
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))) |
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2))) |
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1) |
Compiled 1317 to 998 computations (24.2% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 96 | 0 | 96 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 96 | 2 | 98 |
| Status | Error | Program |
|---|---|---|
| ✓ | 21.1b | (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
Compiled 16 to 11 computations (31.3% saved)
Total -60.9b remaining (-311863.1%)
Threshold costs -60.9b (-311863.1%)
| Inputs |
|---|
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
| Time | Error | Segments | Branch |
| 4.0ms | 0.0b | 1 | x |
| 3.0ms | 0.0b | 1 | (/.f64 (-.f64 (exp.f64 x) 1) x) |
Compiled 30 to 20 computations (33.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 6 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (expm1.f64 x) x) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
| 1× | done |
Compiled 10 to 6 computations (40% saved)
Loading profile data...