Time bar (total: 2.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 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)
| 779.0ms | 2780× | body | 1024 | valid |
| 366.0ms | 3777× | body | 256 | valid |
| 255.0ms | 1386× | body | 512 | valid |
| 102.0ms | 313× | body | 2048 | valid |
| 1.0ms | 10× | 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)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 3 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 37 | 4 | 41 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ▶ | 22.5b | (+.f64 (*.f64 1/2 x) 1) |
| 21.9b | 1 |
Compiled 22 to 17 computations (22.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
Compiled 22 to 10 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| 1.0ms | x | @ | inf | (*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 555× | pow1_binary64 |
| 514× | add-log-exp_binary64 |
| 514× | log1p-expm1-u_binary64 |
| 514× | expm1-log1p-u_binary64 |
| 503× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 10 |
| 1 | 163 | 6 |
| 2 | 2149 | 6 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (expm1.f64 x) x))))) (#(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 0 x) (/.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 (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 -1 (/.f64 x (expm1.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 (expm1.f64 x) -1) 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 neg.f64 (/.f64 (expm1.f64 x) 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 12 to 9 computations (25% saved)
Compiled 221 to 113 computations (48.9% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 2 | 31 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 1 | 2 |
| Total | 31 | 4 | 35 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ▶ | 0b | (/.f64 1 (/.f64 x (expm1.f64 x))) |
| ✓ | 22.5b | (+.f64 (*.f64 1/2 x) 1) |
| 21.9b | 1 |
Compiled 20 to 15 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 x (expm1.f64 x)) |
Compiled 15 to 6 computations (60% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 x (expm1.f64 x)) |
| 1.0ms | x | @ | 0 | (/.f64 x (expm1.f64 x)) |
| 1.0ms | x | @ | -inf | (/.f64 x (expm1.f64 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 x (expm1.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (expm1.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 (expm1.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (expm1.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (pow.f64 (expm1.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (expm1.f64 x))) (pow.f64 (cbrt.f64 (/.f64 x (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (expm1.f64 x))) 2) (cbrt.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (pow.f64 (expm1.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (expm1.f64 x))) (sqrt.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) -1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 x (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (cbrt.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (expm1.f64 x))) (/.f64 x (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (expm1.f64 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (expm1.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (expm1.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (expm1.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (expm1.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (expm1.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (expm1.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (expm1.f64 x)))))))) |
| 1× | egg-herbie |
| 742× | associate-*l/_binary64 |
| 457× | associate-*l*_binary64 |
| 417× | fma-def_binary64 |
| 342× | unswap-sqr_binary64 |
| 328× | times-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 89 |
| 1 | 45 | 85 |
| 2 | 92 | 85 |
| 3 | 238 | 79 |
| 4 | 696 | 79 |
| 5 | 2243 | 79 |
| 6 | 3832 | 79 |
| 7 | 5738 | 79 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 -1/2 x) 1) |
(+.f64 (*.f64 -1/2 x) (+.f64 1 (*.f64 1/12 (pow.f64 x 2)))) |
(+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 x) (+.f64 1 (*.f64 1/12 (pow.f64 x 2))))) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 -1/2 x) 1) |
(fma.f64 -1/2 x 1) |
(+.f64 (*.f64 -1/2 x) (+.f64 1 (*.f64 1/12 (pow.f64 x 2)))) |
(+.f64 (fma.f64 -1/2 x 1) (*.f64 1/12 (*.f64 x x))) |
(fma.f64 -1/2 x (fma.f64 1/12 (*.f64 x x) 1)) |
(fma.f64 -1/2 x (fma.f64 x (*.f64 x 1/12) 1)) |
(fma.f64 x (fma.f64 x 1/12 -1/2) 1) |
(+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 x) (+.f64 1 (*.f64 1/12 (pow.f64 x 2))))) |
(fma.f64 -1/720 (pow.f64 x 4) (+.f64 (fma.f64 -1/2 x 1) (*.f64 1/12 (*.f64 x x)))) |
(fma.f64 -1/720 (pow.f64 x 4) (fma.f64 -1/2 x (fma.f64 1/12 (*.f64 x x) 1))) |
(fma.f64 -1/2 x (fma.f64 -1/720 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/12) 1))) |
(fma.f64 x (fma.f64 x 1/12 -1/2) (fma.f64 -1/720 (pow.f64 x 4) 1)) |
(fma.f64 x (fma.f64 -1/720 (pow.f64 x 3) (fma.f64 x 1/12 -1/2)) 1) |
(fma.f64 -1/720 (pow.f64 x 4) (fma.f64 x (fma.f64 x 1/12 -1/2) 1)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
(/.f64 x (-.f64 (exp.f64 x) 1)) |
(/.f64 x (expm1.f64 x)) |
Compiled 415 to 237 computations (42.9% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 1 | 39 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 38 | 5 | 43 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ✓ | 0b | (/.f64 1 (/.f64 x (expm1.f64 x))) |
| ✓ | 22.5b | (+.f64 (*.f64 1/2 x) 1) |
| ▶ | 18.7b | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| 21.9b | 1 |
Compiled 28 to 22 computations (21.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
Compiled 19 to 15 computations (21.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| 1.0ms | x | @ | -inf | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| 1× | batch-egg-rewrite |
| 688× | pow1_binary64 |
| 641× | log1p-expm1-u_binary64 |
| 641× | expm1-log1p-u_binary64 |
| 640× | add-log-exp_binary64 |
| 628× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 151 | 8 |
| 2 | 1827 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 -1/2 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 -1/2 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -1/2 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 -1/2 x 1))) (cbrt.f64 (pow.f64 (fma.f64 -1/2 x 1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/2 x 1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 -1/2 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 -1/2 x 1) -1/2) (pow.f64 (fma.f64 -1/2 x 1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 -1/2 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 x 1)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 -1/2 x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 -1/2 x 1)) -1) (pow.f64 (sqrt.f64 (fma.f64 -1/2 x 1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (*.f64 -1/8 (pow.f64 x 3)))) (+.f64 (pow.f64 (*.f64 -1/2 x) 2) (-.f64 1 (*.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (pow.f64 (*.f64 -1/2 x) 2) -1)) (fma.f64 -1/2 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/2 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -1/2 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 -1/2 x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 -1/2 x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/2 x 1) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/2 x 1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 -1/2 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 -1/2 x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 -1/2 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 -1/2 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (*.f64 -1/2 x)))))))) |
| 1× | egg-herbie |
| 724× | fma-neg_binary64 |
| 686× | times-frac_binary64 |
| 450× | fma-def_binary64 |
| 417× | cancel-sign-sub-inv_binary64 |
| 398× | associate-*l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 193 |
| 1 | 112 | 179 |
| 2 | 306 | 177 |
| 3 | 985 | 171 |
| 4 | 3002 | 171 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 1/2 x) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/4 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/8 (pow.f64 x 3))))) |
(/.f64 -2 x) |
(neg.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 16 (/.f64 1 (pow.f64 x 4))))))) |
(/.f64 -2 x) |
(neg.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 16 (/.f64 1 (pow.f64 x 4))))))) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 1/2 x) 1) |
(fma.f64 1/2 x 1) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/4 (pow.f64 x 2)))) |
(+.f64 (fma.f64 1/2 x 1) (*.f64 1/4 (*.f64 x x))) |
(fma.f64 1/2 x (fma.f64 1/4 (*.f64 x x) 1)) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/4) 1)) |
(fma.f64 x (fma.f64 x 1/4 1/2) 1) |
(+.f64 (*.f64 1/2 x) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 2)) (*.f64 1/8 (pow.f64 x 3))))) |
(+.f64 (fma.f64 1/2 x 1) (fma.f64 1/4 (*.f64 x x) (*.f64 1/8 (pow.f64 x 3)))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/4) (fma.f64 1/8 (pow.f64 x 3) 1))) |
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/8 1/4) 1)) |
(fma.f64 1/8 (pow.f64 x 3) (fma.f64 x (fma.f64 x 1/4 1/2) 1)) |
(/.f64 -2 x) |
(neg.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 4 (*.f64 x x)) (/.f64 2 x))) |
(+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) |
(-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) |
(-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 4 (*.f64 x x)) (/.f64 2 x)) (/.f64 8 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 -8 (pow.f64 x 3)) (/.f64 -4 (*.f64 x x))) (/.f64 -2 x)) |
(+.f64 (-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) (/.f64 -8 (pow.f64 x 3))) |
(+.f64 (+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) (/.f64 -8 (pow.f64 x 3))) |
(+.f64 (-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) (/.f64 -8 (pow.f64 x 3))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 16 (/.f64 1 (pow.f64 x 4))))))) |
(neg.f64 (+.f64 (/.f64 8 (pow.f64 x 3)) (+.f64 (/.f64 4 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 16 (pow.f64 x 4)))))) |
(-.f64 (/.f64 -8 (pow.f64 x 3)) (+.f64 (/.f64 4 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 16 (pow.f64 x 4))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) (/.f64 -8 (pow.f64 x 3))) (/.f64 -16 (pow.f64 x 4))) |
(+.f64 (+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) (+.f64 (/.f64 -8 (pow.f64 x 3)) (/.f64 -16 (pow.f64 x 4)))) |
(-.f64 (-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) (+.f64 (/.f64 8 (pow.f64 x 3)) (/.f64 16 (pow.f64 x 4)))) |
(/.f64 -2 x) |
(neg.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 4 (*.f64 x x)) (/.f64 2 x))) |
(+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) |
(-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) |
(-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 4 (*.f64 x x)) (/.f64 2 x)) (/.f64 8 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 -8 (pow.f64 x 3)) (/.f64 -4 (*.f64 x x))) (/.f64 -2 x)) |
(+.f64 (-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) (/.f64 -8 (pow.f64 x 3))) |
(+.f64 (+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) (/.f64 -8 (pow.f64 x 3))) |
(+.f64 (-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) (/.f64 -8 (pow.f64 x 3))) |
(neg.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 16 (/.f64 1 (pow.f64 x 4))))))) |
(neg.f64 (+.f64 (/.f64 8 (pow.f64 x 3)) (+.f64 (/.f64 4 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 16 (pow.f64 x 4)))))) |
(-.f64 (/.f64 -8 (pow.f64 x 3)) (+.f64 (/.f64 4 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 16 (pow.f64 x 4))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 4 (*.f64 x x))) (/.f64 -8 (pow.f64 x 3))) (/.f64 -16 (pow.f64 x 4))) |
(+.f64 (+.f64 (/.f64 -4 (*.f64 x x)) (/.f64 -2 x)) (+.f64 (/.f64 -8 (pow.f64 x 3)) (/.f64 -16 (pow.f64 x 4)))) |
(-.f64 (-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) (+.f64 (/.f64 8 (pow.f64 x 3)) (/.f64 16 (pow.f64 x 4)))) |
Compiled 404 to 340 computations (15.8% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 2 | 36 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 34 | 7 | 41 |
| Status | Error | Program |
|---|---|---|
| ✓ | 22.5b | (+.f64 (*.f64 1/2 x) 1) |
| 59.6b | (-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) | |
| ✓ | 0.0b | (/.f64 (expm1.f64 x) x) |
| ✓ | 0b | (/.f64 1 (/.f64 x (expm1.f64 x))) |
| 58.5b | (/.f64 -2 x) | |
| ✓ | 18.7b | (/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
| 21.9b | 1 |
Compiled 42 to 32 computations (23.8% saved)
| Inputs |
|---|
1 |
1 |
(/.f64 -2 x) |
(+.f64 (*.f64 1/2 x) 1) |
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
(-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) |
(/.f64 (expm1.f64 x) x) |
(/.f64 1 (/.f64 x (expm1.f64 x))) |
(/.f64 (-.f64 (exp.f64 x) 1) x) |
(*.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x))) |
| Outputs |
|---|
(/.f64 1 (/.f64 x (expm1.f64 x))) |
3 calls:
| 15.0ms | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| 6.0ms | x |
| 3.0ms | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | (/.f64 (-.f64 (exp.f64 x) 1) x) |
| 0b | 1 | (/.f64 (-.f64 (exp.f64 x) 1) x) |
Compiled 67 to 46 computations (31.3% saved)
| Inputs |
|---|
1 |
1 |
(/.f64 -2 x) |
(+.f64 (*.f64 1/2 x) 1) |
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
(-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) |
(/.f64 (expm1.f64 x) x) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
1 calls:
| 10.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
Compiled 33 to 24 computations (27.3% saved)
| Inputs |
|---|
1 |
1 |
(/.f64 -2 x) |
(+.f64 (*.f64 1/2 x) 1) |
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
(-.f64 (/.f64 (/.f64 -4 x) x) (/.f64 2 x)) |
| Outputs |
|---|
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 18.7b | 1 | x |
Compiled 29 to 22 computations (24.1% saved)
| Inputs |
|---|
1 |
1 |
(/.f64 -2 x) |
(+.f64 (*.f64 1/2 x) 1) |
| Outputs |
|---|
(/.f64 -2 x) |
(+.f64 (*.f64 1/2 x) 1) |
1 calls:
| 9.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 18.7b | 2 | x |
Compiled 13 to 10 computations (23.1% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 20.0ms | -74931.10028488972 | -0.003182395706114424 |
Compiled 11 to 8 computations (27.3% saved)
| Inputs |
|---|
1 |
1 |
(/.f64 -2 x) |
| Outputs |
|---|
(/.f64 -2 x) |
1 |
1 calls:
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 18.9b | 2 | x |
Compiled 8 to 6 computations (25% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 50.0ms | -74931.10028488972 | -0.003182395706114424 |
Compiled 11 to 8 computations (27.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
| Inputs |
|---|
1 |
1 |
| Outputs |
|---|
1 |
1 calls:
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 21.9b | 1 | x |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 54 |
| 1 | 27 | 54 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 1 (/.f64 x (expm1.f64 x))) |
(/.f64 (expm1.f64 x) x) |
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
(if (<=.f64 x -2574613001415181/34359738368) (/.f64 -2 x) (+.f64 (*.f64 1/2 x) 1)) |
(if (<=.f64 x -2574613001415181/34359738368) (/.f64 -2 x) 1) |
1 |
| Outputs |
|---|
(/.f64 1 (/.f64 x (expm1.f64 x))) |
(/.f64 (expm1.f64 x) x) |
(/.f64 1 (+.f64 (*.f64 -1/2 x) 1)) |
(/.f64 1 (+.f64 1 (*.f64 x -1/2))) |
(if (<=.f64 x -2574613001415181/34359738368) (/.f64 -2 x) (+.f64 (*.f64 1/2 x) 1)) |
(if (<=.f64 x -2574613001415181/34359738368) (/.f64 -2 x) (+.f64 1 (*.f64 x 1/2))) |
(if (<=.f64 x -2574613001415181/34359738368) (/.f64 -2 x) 1) |
1 |
Compiled 44 to 34 computations (22.7% 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 39 to 28 computations (28.2% saved)
Loading profile data...