Time bar (total: 4.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 25% | 25% | 75% | 0% | 0% | 0% | 0% | 3 |
| 62.5% | 62.5% | 37.5% | 0% | 0% | 0% | 0% | 4 |
| 78.6% | 68.7% | 18.7% | 0% | 12.5% | 0% | 0% | 5 |
| 88.5% | 71.8% | 9.4% | 0% | 18.7% | 0% | 0% | 6 |
| 94% | 73.4% | 4.7% | 0% | 21.9% | 0% | 0% | 7 |
| 96.9% | 74.2% | 2.3% | 0% | 23.4% | 0% | 0% | 8 |
| 98.5% | 74.6% | 1.2% | 0% | 24.2% | 0% | 0% | 9 |
| 99.2% | 75% | 0.6% | 0% | 24.4% | 0% | 0% | 10 |
| 99.6% | 75.1% | 0.3% | 0% | 24.6% | 0% | 0% | 11 |
| 99.8% | 75.1% | 0.1% | 0% | 24.7% | 0% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 1.4s | 2696× | body | 1024 | valid |
| 567.0ms | 3909× | body | 256 | valid |
| 364.0ms | 1367× | body | 512 | valid |
| 109.0ms | 284× | body | 2048 | valid |
| 1.0ms | 9× | body | 256 | infinite |
| 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 | 145 | 6 |
| 9 | 223 | 6 |
| 10 | 352 | 6 |
| 11 | 511 | 6 |
| 12 | 583 | 6 |
| 13 | 619 | 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 8 to 6 computations (25% 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 | 145 | 6 |
| 9 | 223 | 6 |
| 10 | 352 | 6 |
| 11 | 511 | 6 |
| 12 | 583 | 6 |
| 13 | 619 | 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 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
Compiled 8 to 3 computations (62.5% saved)
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 |
| 430× | add-sqr-sqrt_binary64 |
| 424× | *-un-lft-identity_binary64 |
| 417× | add-log-exp_binary64 |
| 417× | log1p-expm1-u_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) (pow.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) (pow.f64 x -1))))) (#(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)) (pow.f64 x -1)))))) (#(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)) (pow.f64 x -1)))))) (#(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 (pow.f64 x -1) (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 expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 (expm1.f64 x) x))))))) |
| 1× | egg-herbie |
| 688× | times-frac_binary64 |
| 636× | associate-/l/_binary64 |
| 536× | unswap-sqr_binary64 |
| 495× | associate-*l*_binary64 |
| 448× | fma-def_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 87 |
| 1 | 60 | 85 |
| 2 | 120 | 85 |
| 3 | 325 | 79 |
| 4 | 816 | 76 |
| 5 | 2522 | 76 |
| 6 | 4510 | 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 x (fma.f64 x 1/6 1/2) (fma.f64 1/24 (pow.f64 x 3) 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 345 to 161 computations (53.3% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 4 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 36 | 5 | 41 |
| Status | Error | Program |
|---|---|---|
| 17.6b | 1 | |
| ▶ | 0.2b | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| ▶ | 17.6b | (+.f64 (*.f64 1/2 x) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ▶ | 17.4b | (fma.f64 x (fma.f64 x 1/6 1/2) 1) |
Compiled 29 to 22 computations (24.1% saved)
Compiled 12 to 9 computations (25% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 (expm1.f64 x) x) | |
| ✓ | 0.0b | (sqrt.f64 (/.f64 (expm1.f64 x) x)) |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
Compiled 21 to 7 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| 3.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| 2.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (/.f64 (expm1.f64 x) x)) |
| 1.0ms | x | @ | inf | (sqrt.f64 (/.f64 (expm1.f64 x) x)) |
| 1× | batch-egg-rewrite |
| 605× | pow1_binary64 |
| 565× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 551× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 149 | 14 |
| 2 | 1562 | 14 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
(sqrt.f64 (/.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 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(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 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(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 (pow.f64 (/.f64 (expm1.f64 x) x) 1/4) (*.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 1/4) (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 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (pow.f64 (/.f64 (expm1.f64 x) x) 1/4)) (pow.f64 (/.f64 (expm1.f64 x) x) 1/4))))) (#(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 *.f64 (*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (cbrt.f64 (/.f64 (expm1.f64 x) x))) (cbrt.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 x (expm1.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (/.f64 x (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 x (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (expm1.f64 x))) (neg.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (expm1.f64 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (expm1.f64 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (expm1.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (/.f64 (expm1.f64 x) x))) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (expm1.f64 x))) (sqrt.f64 x))))) (#(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 expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 (expm1.f64 x) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) (cbrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (cbrt.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (/.f64 1 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 1 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 1/4) (pow.f64 (/.f64 (expm1.f64 x) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2)) (sqrt.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2) 1/2) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (sqrt.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (sqrt.f64 x) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (neg.f64 (expm1.f64 x))) (sqrt.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 (expm1.f64 x))) (neg.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 x) x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)))))))) |
| 1× | egg-herbie |
| 1218× | fma-def_binary64 |
| 750× | sqr-pow_binary64 |
| 605× | cube-prod_binary64 |
| 423× | fabs-mul_binary64 |
| 370× | pow-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 82 |
| 1 | 78 | 78 |
| 2 | 185 | 75 |
| 3 | 533 | 62 |
| 4 | 1399 | 56 |
| 5 | 2421 | 56 |
| 6 | 2943 | 56 |
| 7 | 3076 | 56 |
| 8 | 3229 | 56 |
| 9 | 3416 | 56 |
| 10 | 3671 | 56 |
| 11 | 4319 | 56 |
| 12 | 4728 | 56 |
| 13 | 5257 | 56 |
| 14 | 5917 | 56 |
| 15 | 6745 | 56 |
| 16 | 7144 | 56 |
| 17 | 7512 | 56 |
| 18 | 7852 | 56 |
| 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))))) |
1 |
(+.f64 1 (*.f64 1/4 x)) |
(+.f64 1 (+.f64 (*.f64 1/4 x) (*.f64 5/96 (pow.f64 x 2)))) |
(+.f64 1 (+.f64 (*.f64 1/4 x) (+.f64 (*.f64 1/128 (pow.f64 x 3)) (*.f64 5/96 (pow.f64 x 2))))) |
| 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/24 (pow.f64 x 3) (fma.f64 x (fma.f64 x 1/6 1/2) 1)) |
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) |
1 |
(+.f64 1 (*.f64 1/4 x)) |
(+.f64 1 (*.f64 x 1/4)) |
(fma.f64 x 1/4 1) |
(+.f64 1 (+.f64 (*.f64 1/4 x) (*.f64 5/96 (pow.f64 x 2)))) |
(+.f64 1 (fma.f64 1/4 x (*.f64 (*.f64 x x) 5/96))) |
(+.f64 1 (fma.f64 x 1/4 (*.f64 x (*.f64 x 5/96)))) |
(fma.f64 x 1/4 (fma.f64 (*.f64 x x) 5/96 1)) |
(fma.f64 x (fma.f64 x 5/96 1/4) 1) |
(+.f64 1 (+.f64 (*.f64 1/4 x) (+.f64 (*.f64 1/128 (pow.f64 x 3)) (*.f64 5/96 (pow.f64 x 2))))) |
(+.f64 1 (fma.f64 1/4 x (fma.f64 1/128 (pow.f64 x 3) (*.f64 (*.f64 x x) 5/96)))) |
(+.f64 1 (fma.f64 x 1/4 (fma.f64 (*.f64 x x) 5/96 (*.f64 (pow.f64 x 3) 1/128)))) |
(+.f64 (fma.f64 x 1/4 1) (*.f64 (*.f64 x x) (+.f64 5/96 (*.f64 x 1/128)))) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/128 5/96) (fma.f64 x 1/4 1)) |
(fma.f64 x (fma.f64 x (fma.f64 x 1/128 5/96) 1/4) 1) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (fma.f64 x 1/6 1/2) 1) |
| ✓ | 0.1b | (fma.f64 x 1/6 1/2) |
Compiled 16 to 12 computations (25% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 x 1/6 1/2) |
| 0.0ms | x | @ | -inf | (fma.f64 x 1/6 1/2) |
| 0.0ms | x | @ | -inf | (fma.f64 x (fma.f64 x 1/6 1/2) 1) |
| 0.0ms | x | @ | inf | (fma.f64 x 1/6 1/2) |
| 0.0ms | x | @ | inf | (fma.f64 x (fma.f64 x 1/6 1/2) 1) |
| 1× | batch-egg-rewrite |
| 581× | pow1_binary64 |
| 540× | add-log-exp_binary64 |
| 540× | log1p-expm1-u_binary64 |
| 540× | expm1-log1p-u_binary64 |
| 531× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 136 | 14 |
| 2 | 1411 | 14 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x 1/6 1/2) |
(fma.f64 x (fma.f64 x 1/6 1/2) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/6) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 1/6) 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x 1/6 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/6 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/6 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/6 1/2)) (pow.f64 (cbrt.f64 (fma.f64 x 1/6 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/6 1/2)) 2) (cbrt.f64 (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/6 1/2)) (sqrt.f64 (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 1/6) 3) 1/8) (+.f64 (*.f64 (*.f64 x 1/6) (*.f64 x 1/6)) (-.f64 1/4 (*.f64 (*.f64 x 1/6) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 1/6) (*.f64 x 1/6)) 1/4) (-.f64 (*.f64 x 1/6) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/6 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/6 1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/6 1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/6 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/6 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/6 1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/6 1/2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x 1/6 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 3) 1) (+.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) (*.f64 x (fma.f64 x 1/6 1/2))) (-.f64 1 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) (*.f64 x (fma.f64 x 1/6 1/2))) 1) (-.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x 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 1/6 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1))))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 543× | associate-*l*_binary64 |
| 540× | cube-prod_binary64 |
| 535× | fabs-mul_binary64 |
| 513× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 186 |
| 1 | 38 | 168 |
| 2 | 54 | 156 |
| 3 | 86 | 144 |
| 4 | 193 | 144 |
| 5 | 529 | 144 |
| 6 | 1811 | 144 |
| 7 | 3151 | 144 |
| 8 | 3357 | 144 |
| 9 | 3570 | 144 |
| 10 | 3790 | 144 |
| 11 | 4105 | 144 |
| 12 | 4509 | 144 |
| 13 | 5018 | 144 |
| 14 | 5585 | 144 |
| 15 | 6277 | 144 |
| 16 | 7114 | 144 |
| 17 | 7506 | 144 |
| 18 | 7794 | 144 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
(*.f64 1/6 x) |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
(*.f64 1/6 x) |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
(+.f64 1/2 (*.f64 1/6 x)) |
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)) 1)) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(*.f64 1/6 x) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(*.f64 1/6 x) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
(+.f64 1/2 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1/2) |
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)) |
(+.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)) 1)) |
(fma.f64 1/2 x (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 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 1/2 x (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 1/2 x)) |
(*.f64 x (fma.f64 1/6 x 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(fma.f64 1/2 x (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 1 (*.f64 1/6 (pow.f64 x 2)))) |
(fma.f64 1/2 x (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 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 1/2 x (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 1/2 x)) |
(*.f64 x (fma.f64 1/6 x 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(fma.f64 1/2 x (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 1 (*.f64 1/6 (pow.f64 x 2)))) |
(fma.f64 1/2 x (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) |
Compiled 1904 to 1100 computations (42.2% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 178 | 2 | 180 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 3 | 3 |
| Total | 179 | 6 | 185 |
| Status | Error | Program |
|---|---|---|
| 17.6b | 1 | |
| ▶ | 61.7b | (*.f64 1/6 (*.f64 x x)) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| ✓ | 17.6b | (+.f64 (*.f64 1/2 x) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ▶ | 17.4b | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
Compiled 36 to 27 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 1/6 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 1/6 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (*.f64 1/6 (*.f64 x x)) |
| 1.0ms | x | @ | -inf | (*.f64 1/6 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 432× | pow1_binary64 |
| 421× | add-sqr-sqrt_binary64 |
| 411× | *-un-lft-identity_binary64 |
| 402× | add-log-exp_binary64 |
| 402× | 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/6 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/36 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.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/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(*.f64 x (*.f64 1/6 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
| ✓ | 0.3b | (*.f64 x 1/6) |
Compiled 21 to 16 computations (23.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 33.0ms | x | @ | inf | (*.f64 x 1/6) |
| 1.0ms | x | @ | -inf | (*.f64 x 1/6) |
| 1.0ms | x | @ | 0 | (*.f64 x 1/6) |
| 1.0ms | x | @ | inf | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
| 1.0ms | x | @ | 0 | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
| 1× | batch-egg-rewrite |
| 788× | pow1_binary64 |
| 737× | add-log-exp_binary64 |
| 737× | log1p-expm1-u_binary64 |
| 737× | expm1-log1p-u_binary64 |
| 725× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 167 | 13 |
| 2 | 1928 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x 1/6) |
(fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/216) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) 1/216))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/6))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (fma.f64 x 1/6 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x 1/6 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 3) 1) (+.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) (*.f64 x (fma.f64 x 1/6 1/2))) (-.f64 1 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x 1/6 1/2)) (*.f64 x (fma.f64 x 1/6 1/2))) 1) (-.f64 (*.f64 x (fma.f64 x 1/6 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x 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 1/6 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x 1/6 1/2) 1))))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 540× | cube-prod_binary64 |
| 534× | associate-*l*_binary64 |
| 529× | fabs-mul_binary64 |
| 514× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 162 |
| 1 | 36 | 162 |
| 2 | 50 | 160 |
| 3 | 85 | 138 |
| 4 | 197 | 138 |
| 5 | 534 | 138 |
| 6 | 1811 | 138 |
| 7 | 3139 | 138 |
| 8 | 3345 | 138 |
| 9 | 3558 | 138 |
| 10 | 3778 | 138 |
| 11 | 4091 | 138 |
| 12 | 4491 | 138 |
| 13 | 5004 | 138 |
| 14 | 5571 | 138 |
| 15 | 6255 | 138 |
| 16 | 7092 | 138 |
| 17 | 7488 | 138 |
| 18 | 7774 | 138 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
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)) 1)) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(*.f64 1/6 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
| Outputs |
|---|
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
(*.f64 1/6 x) |
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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 1/2 x (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 x 1/2)) |
(*.f64 x (+.f64 1/2 (*.f64 1/6 x))) |
(*.f64 x (fma.f64 1/6 x 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
(*.f64 1/6 (pow.f64 x 2)) |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) (*.f64 1/6 (pow.f64 x 2))) |
(fma.f64 1/2 x (*.f64 1/6 (*.f64 x x))) |
(fma.f64 1/6 (*.f64 x x) (*.f64 x 1/2)) |
(*.f64 x (+.f64 1/2 (*.f64 1/6 x))) |
(*.f64 x (fma.f64 1/6 x 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/6 (pow.f64 x 2)))) |
(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)) |
(fma.f64 1/6 (*.f64 x x) (fma.f64 x 1/2 1)) |
(fma.f64 x (fma.f64 1/6 x 1/2) 1) |
Compiled 596 to 447 computations (25% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 0 | 59 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 59 | 6 | 65 |
| Status | Error | Program |
|---|---|---|
| 17.6b | 1 | |
| ✓ | 61.7b | (*.f64 1/6 (*.f64 x x)) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| ✓ | 17.6b | (+.f64 (*.f64 1/2 x) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ✓ | 17.4b | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
Compiled 36 to 27 computations (25% saved)
Compiled 1 to 1 computations (0% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 5 | 5 |
| Total | 0 | 6 | 6 |
| Status | Error | Program |
|---|---|---|
| 17.6b | 1 | |
| ✓ | 61.7b | (*.f64 1/6 (*.f64 x x)) |
| ✓ | 0.2b | (pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| ✓ | 17.6b | (+.f64 (*.f64 1/2 x) 1) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ✓ | 17.4b | (fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
Compiled 36 to 27 computations (25% saved)
| Inputs |
|---|
1 |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) 1) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(fma.f64 x (+.f64 (*.f64 x 1/6) 1/2) 1) |
(fma.f64 x (fma.f64 x 1/6 1/2) 1) |
(pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
3 calls:
| 46.0ms | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| 11.0ms | x |
| 5.0ms | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| 0.0b | 1 | (/.f64 (-.f64 (exp.f64 x) 1) x) |
Compiled 60 to 40 computations (33.3% saved)
Total -44.4b remaining (-252.6%)
Threshold costs -44.4b (-252.6%)
| Inputs |
|---|
1 |
(*.f64 1/6 (*.f64 x x)) |
(+.f64 (*.f64 1/2 x) 1) |
| Outputs |
|---|
1 |
1 calls:
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 17.6b | 1 | x |
Compiled 14 to 10 computations (28.6% saved)
| 1× | egg-herbie |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 7 | 7 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (expm1.f64 x) x) |
1 |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
1 |
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 | 145 | 6 |
| 9 | 223 | 6 |
| 10 | 352 | 6 |
| 11 | 511 | 6 |
| 12 | 583 | 6 |
| 13 | 619 | 6 |
| 1× | saturated |
Compiled 12 to 8 computations (33.3% saved)
Compiled 6 to 4 computations (33.3% saved)
Loading profile data...