
Time bar (total: 2.6s)
| 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 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 10 to 8 computations (20% saved)
ival-div, time spent: 0.0ms, 0.0% of total-timeival-exp, time spent: 0.0ms, 0.0% of total-timeival-add, time spent: 0.0ms, 0.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-timeival-neg, time spent: 0.0ms, 0.0% of total-time| 1.2s | 8255× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
ival-exp, time spent: 237.0ms, 45.0% of total-timeival-add, time spent: 168.0ms, 32.0% of total-timeival-div, time spent: 65.0ms, 12.0% of total-timeival-neg, time spent: 38.0ms, 7.0% of total-timeconst, time spent: 14.0ms, 3.0% of total-time| 1× | egg-herbie |
| 80× | fma-neg |
| 80× | fma-define |
| 48× | sub-neg |
| 28× | distribute-lft-neg-in |
| 28× | cancel-sign-sub-inv |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | x |
| 0 | 1 | (129.41237903789028) | 0 | - | (exp.f64 (neg.f64 x)) |
| 0 | 0 | - | 0 | - | (neg.f64 x) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 0 | - | 0 | - | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0 | 0 | - | 0 | - | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0 | 0 | - | 0 | - | 2 |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
exp.f64 | (exp.f64 (neg.f64 x)) | sensitivity | 1 | 1 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 1 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 1 | 1 | 254 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 124 |
| 1 | 35 | 124 |
| 2 | 67 | 124 |
| 3 | 113 | 124 |
| 4 | 170 | 124 |
| 5 | 231 | 124 |
| 6 | 286 | 124 |
| 7 | 302 | 124 |
| 8 | 309 | 124 |
| 9 | 320 | 124 |
| 10 | 332 | 124 |
| 11 | 334 | 124 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))) |
(neg.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(neg.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))) |
(/.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(abs x)
Compiled 68 to 32 computations (52.9% saved)
ival-exp, time spent: 8.0ms, 39.0% of total-timeival-div, time spent: 6.0ms, 29.0% of total-timeival-add, time spent: 3.0ms, 14.0% of total-timeival-neg, time spent: 2.0ms, 10.0% of total-timeconst, time spent: 1.0ms, 5.0% of total-timeCompiled 1 to 1 computations (0% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 9 to 7 computations (22.2% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 25 to 9 computations (64% saved)
ival-exp, time spent: 4.0ms, 43.0% of total-timeival-div, time spent: 2.0ms, 21.0% of total-timeival-add, time spent: 2.0ms, 21.0% of total-timeconst, time spent: 1.0ms, 11.0% of total-timeival-neg, time spent: 1.0ms, 11.0% of total-time| Inputs |
|---|
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))> |
| Outputs |
|---|
#<alt 1> |
#<alt (+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))> |
#<alt (+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2)))> |
#<alt (+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2)))> |
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))> |
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))> |
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))> |
#<alt (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))> |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/ 2 (+ (exp x) (exp (neg x)))) |
| 1.0ms | x | @ | inf | (/ 2 (+ (exp x) (exp (neg x)))) |
| 1.0ms | x | @ | 0 | (/ 2 (+ (exp x) (exp (neg x)))) |
| 1× | batch-egg-rewrite |
| 94× | associate-*r* |
| 62× | add-exp-log |
| 62× | add-log-exp |
| 62× | log1p-expm1-u |
| 62× | expm1-log1p-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2343 | 20 |
| 1× | unsound |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
-4 |
-2 |
-1 |
0 |
1/2 |
1 |
3/2 |
2 |
3 |
4 |
| 1× | egg-herbie |
| 4772× | fma-define |
| 1168× | fma-neg |
| 772× | distribute-lft-in |
| 528× | associate-+l- |
| 500× | distribute-rgt-in |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 256 |
| 1 | 68 | 240 |
| 2 | 136 | 240 |
| 3 | 294 | 240 |
| 4 | 582 | 240 |
| 5 | 929 | 240 |
| 6 | 1108 | 240 |
| 7 | 1587 | 240 |
| 8 | 2418 | 240 |
| 9 | 3827 | 240 |
| 10 | 4702 | 240 |
| 11 | 5157 | 240 |
| 12 | 5232 | 240 |
| 13 | 5240 | 240 |
| 14 | 5240 | 240 |
| 15 | 5372 | 240 |
| 16 | 5428 | 240 |
| 17 | 5428 | 240 |
| 18 | 7311 | 240 |
| 19 | 7311 | 240 |
| 20 | 7311 | 240 |
| 21 | 7311 | 240 |
| 22 | 7311 | 240 |
| 23 | 7313 | 240 |
| 1× | saturated |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2))) |
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
-4 |
-2 |
-1 |
0 |
1/2 |
1 |
3/2 |
2 |
3 |
4 |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(fma.f64 -1/2 (pow.f64 x 2) 1) |
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 5/24 (pow.f64 x 2)) 1/2))) |
(+.f64 1 (*.f64 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 2) -1/2))) |
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) 5/24 -1/2) 1) |
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(+.f64 1 (*.f64 (pow.f64 x 2) (-.f64 (*.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 -61/720 (pow.f64 x 2)))) 1/2))) |
(+.f64 1 (*.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) (+.f64 5/24 (*.f64 (pow.f64 x 2) -61/720)) -1/2))) |
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) -61/720 5/24) -1/2) 1) |
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) 5/24 (fma.f64 -61/720 (pow.f64 x 4) -1/2)) 1) |
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
-4 |
-2 |
-1 |
0 |
1/2 |
1 |
3/2 |
2 |
3 |
4 |
Compiled 173 to 143 computations (17.3% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 4 | 23 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 19 | 5 | 24 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ▶ | 46.5% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ▶ | 47.2% | 1 |
| ▶ | 10.4% | 1/2 |
| ▶ | 54.2% | 0 |
Compiled 23 to 20 computations (13% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 -1/2 (pow.f64 x 2)) |
Compiled 24 to 20 computations (16.7% saved)
ival-mult, time spent: 10.0ms, 54.0% of total-timeival-pow, time spent: 5.0ms, 27.0% of total-timeival-add, time spent: 2.0ms, 11.0% of total-timeconst, time spent: 2.0ms, 11.0% of total-time| Inputs |
|---|
#<alt (*.f64 -1/2 (pow.f64 x 2))> |
| Outputs |
|---|
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (* -1/2 (pow x 2)) |
| 0.0ms | x | @ | inf | (* -1/2 (pow x 2)) |
| 0.0ms | x | @ | -inf | (* -1/2 (pow x 2)) |
| 1× | batch-egg-rewrite |
| 842× | associate-*r* |
| 742× | associate-*l* |
| 490× | unpow-prod-down |
| 397× | log1p-expm1-u |
| 286× | log-prod |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 69 | 16 |
| 2 | 713 | 16 |
| 3 | 7802 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/2 (pow.f64 x 2)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) -1) |
(+.f64 0 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)))) |
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)) (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4))) |
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1) |
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)))) |
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) 1) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1)) |
(pow.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2))) 3) |
(pow.f64 (*.f64 (pow.f64 x 4) 1/4) 1/2) |
(pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(pow.f64 (E.f64) (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(fabs.f64 (*.f64 -1/2 (pow.f64 x 2))) |
(log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)) |
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2)))) 3)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2)) |
| 1× | egg-herbie |
| 2242× | fma-neg |
| 630× | distribute-lft-out |
| 540× | associate-+l- |
| 532× | associate-+r- |
| 444× | associate--l+ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 512 |
| 1 | 164 | 512 |
| 2 | 410 | 512 |
| 3 | 1721 | 227 |
| 4 | 5158 | 227 |
| 5 | 5983 | 227 |
| 6 | 7472 | 227 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) -1) |
(+.f64 0 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)))) |
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)) (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4))) |
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1) |
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)))) |
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) 1) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1)) |
(pow.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2))) 3) |
(pow.f64 (*.f64 (pow.f64 x 4) 1/4) 1/2) |
(pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(pow.f64 (E.f64) (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(fabs.f64 (*.f64 -1/2 (pow.f64 x 2))) |
(log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)) |
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2)))) 3)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) -1) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(+.f64 0 (*.f64 -1/2 (pow.f64 x 2))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(+.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4)) (log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/4))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(-.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(/.f64 (-.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(/.f64 (-.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1)) 1) (+.f64 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) 1)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(pow.f64 (*.f64 -1/2 (pow.f64 x 2)) 1) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(pow.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2))) 3) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(pow.f64 (*.f64 (pow.f64 x 4) 1/4) 1/2) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(pow.f64 (*.f64 (pow.f64 x 6) -1/8) 1/3) |
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8)) |
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(pow.f64 (E.f64) (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/4)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(fabs.f64 (*.f64 -1/2 (pow.f64 x 2))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(log.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8)) |
(expm1.f64 (log1p.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2))) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/2 (pow.f64 x 2)))) 3)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/8)) 1/3)) |
(cbrt.f64 (*.f64 (pow.f64 x 6) -1/8)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 2)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
Compiled 332 to 292 computations (12% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 1 | 1 |
| Total | 27 | 5 | 32 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 46.5% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ✓ | 47.2% | 1 |
| ✓ | 10.4% | 1/2 |
| ✓ | 54.2% | 0 |
Compiled 42 to 36 computations (14.3% saved)
| Inputs |
|---|
0 |
1/2 |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
3 calls:
| 4.0ms | x |
| 2.0ms | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 2.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 100.0% | 1 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
Compiled 18 to 13 computations (27.8% saved)
| Inputs |
|---|
0 |
1/2 |
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| Outputs |
|---|
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
0 |
1 calls:
| 15.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.3% | 2 | x |
Compiled 2 to 1 computations (50% saved)
| Inputs |
|---|
0 |
1/2 |
1 |
| Outputs |
|---|
1 |
0 |
1 calls:
| 7.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.2% | 2 | x |
Compiled 2 to 1 computations (50% saved)
| Inputs |
|---|
0 |
1/2 |
| Outputs |
|---|
1/2 |
0 |
1 calls:
| 8.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 61.5% | 2 | x |
Compiled 2 to 1 computations (50% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
1 calls:
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.2% | 1 | x |
Compiled 2 to 1 computations (50% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 0.04567134099382958 | 15.898964531535068 |
| 16.0ms | 127× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
Compiled 109 to 98 computations (10.1% saved)
ival-exp, time spent: 3.0ms, 45.0% of total-timeival-div, time spent: 1.0ms, 15.0% of total-timeival-add, time spent: 1.0ms, 15.0% of total-timeival-neg, time spent: 1.0ms, 15.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 129.41237903789028 | 18869.977601217626 |
| 13.0ms | 111× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
Compiled 55 to 52 computations (5.5% saved)
ival-exp, time spent: 3.0ms, 60.0% of total-timeival-div, time spent: 1.0ms, 20.0% of total-timeival-add, time spent: 1.0ms, 20.0% of total-timeival-neg, time spent: 1.0ms, 20.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 129.41237903789028 | 18869.977601217626 |
| 17.0ms | 111× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
Compiled 55 to 52 computations (5.5% saved)
ival-exp, time spent: 3.0ms, 60.0% of total-timeival-div, time spent: 1.0ms, 20.0% of total-timeival-add, time spent: 1.0ms, 20.0% of total-timeival-neg, time spent: 1.0ms, 20.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1× | egg-herbie |
| 6× | +-commutative |
| 4× | *-commutative |
| 3× | 1-exp |
| 2× | sub-neg |
| 2× | neg-sub0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 95 |
| 1 | 39 | 95 |
| 2 | 41 | 95 |
| 3 | 42 | 95 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x 3152519739159347/2251799813685248) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0) |
(if (<=.f64 x 350) 1 0) |
(if (<=.f64 x 350) 1/2 0) |
0 |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x 3152519739159347/2251799813685248) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0) |
(if (<=.f64 x 350) 1 0) |
(if (<=.f64 x 350) 1/2 0) |
0 |
Compiled 38 to 32 computations (15.8% saved)
| 94× | associate-*r* |
| 62× | add-exp-log |
| 62× | add-log-exp |
| 62× | log1p-expm1-u |
| 62× | expm1-log1p-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2343 | 20 |
| 1× | unsound |
(abs x)
Compiled 140 to 112 computations (20% saved)
Loading profile data...