
Time bar (total: 1.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)
| 752.0ms | 8256× | 256 | valid |
| 1× | egg-herbie |
| 1900× | fma-def |
| 826× | fabs-mul |
| 624× | swap-sqr |
| 592× | *-commutative |
| 446× | fabs-div |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 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 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 124 |
| 1 | 33 | 124 |
| 2 | 59 | 124 |
| 3 | 92 | 124 |
| 4 | 166 | 124 |
| 5 | 331 | 124 |
| 6 | 850 | 124 |
| 7 | 2446 | 124 |
| 8 | 3669 | 124 |
| 9 | 4774 | 124 |
| 10 | 6716 | 124 |
| 1× | node limit |
| 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 59 to 25 computations (57.6% saved)
Compiled 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)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 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 | 2329 | 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 |
| 1434× | fma-def |
| 778× | distribute-lft-out |
| 652× | *-commutative |
| 572× | unswap-sqr |
| 560× | associate-/l/ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 252 |
| 1 | 72 | 248 |
| 2 | 137 | 244 |
| 3 | 358 | 240 |
| 4 | 1245 | 240 |
| 5 | 3156 | 240 |
| 6 | 4166 | 240 |
| 7 | 6469 | 240 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(/.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 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))) |
(+.f64 (fma.f64 -1/2 (pow.f64 x 2) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))) |
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 -61/720 (pow.f64 x 6) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 2) 5/24 -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1)) |
(fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 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 195 to 161 computations (17.4% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 21 | 3 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 21 | 4 | 25 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ▶ | 52.6% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ▶ | 52.7% | 1 |
| ▶ | 49.3% | 0 |
Compiled 21 to 18 computations (14.3% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 -1/2 (pow.f64 x 2)) |
Compiled 23 to 19 computations (17.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 -1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (*.f64 -1/2 (pow.f64 x 2)) |
| 0.0ms | x | @ | -inf | (*.f64 -1/2 (pow.f64 x 2)) |
| 1× | batch-egg-rewrite |
| 840× | associate-*r* |
| 756× | expm1-udef |
| 738× | associate-*l* |
| 410× | unpow-prod-down |
| 286× | log-prod |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 69 | 16 |
| 2 | 713 | 16 |
| 3 | 7641 | 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)))) |
(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)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 2)))) |
| 1× | egg-herbie |
| 740× | times-frac |
| 692× | distribute-lft-out |
| 618× | fma-neg |
| 518× | associate--l+ |
| 490× | fma-def |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 545 |
| 1 | 208 | 543 |
| 2 | 570 | 543 |
| 3 | 2573 | 165 |
| 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)))) |
(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)) |
(log1p.f64 (expm1.f64 (*.f64 -1/2 (pow.f64 x 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 (log.f64 (cbrt.f64 (/.f64 1 (exp.f64 (pow.f64 x 2))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)))) |
(+.f64 (log.f64 (cbrt.f64 (exp.f64 (neg.f64 (pow.f64 x 2))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) -1/2)))) |
(+.f64 0 (log.f64 (cbrt.f64 (pow.f64 1 -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 -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) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(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 (E.f64) (+.f64 (log.f64 -1/2) (log.f64 0))) |
(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 (pow.f64 (cbrt.f64 (+.f64 (log.f64 -1/2) (log.f64 0))) 2)) (cbrt.f64 (+.f64 (log.f64 -1/2) (log.f64 0)))) |
(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)))) |
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 (log.f64 -1/2) (log.f64 0)))) (sqrt.f64 (+.f64 (log.f64 -1/2) (log.f64 0)))) |
(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)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(expm1.f64 (log1p.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)) |
(*.f64 -1/2 (pow.f64 x 2)) |
0 |
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/2))) 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 |
Compiled 421 to 376 computations (10.7% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 0 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 33 | 4 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 52.6% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ✓ | 52.7% | 1 |
| ✓ | 49.3% | 0 |
Compiled 39 to 33 computations (15.4% saved)
| Inputs |
|---|
0 |
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:
| 3.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 |
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| Outputs |
|---|
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
0 |
1 calls:
| 6.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 2 | x |
Compiled 2 to 1 computations (50% saved)
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
1 |
0 |
1 calls:
| 7.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.9% | 2 | x |
Compiled 2 to 1 computations (50% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.3% | 1 | x |
Compiled 2 to 1 computations (50% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 16.0ms | 0.626700175058144 | 11218.728923631203 |
| 14.0ms | 128× | 256 | valid |
Compiled 109 to 98 computations (10.1% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 0.626700175058144 | 11218.728923631203 |
| 14.0ms | 128× | 256 | valid |
Compiled 61 to 58 computations (4.9% saved)
| 1× | egg-herbie |
| 6× | +-commutative |
| 4× | *-commutative |
| 3× | 1-exp |
| 2× | sub-neg |
| 2× | neg-mul-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 81 |
| 1 | 37 | 81 |
| 2 | 39 | 81 |
| 3 | 40 | 81 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x 6530219459687219/4503599627370496) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0) |
(if (<=.f64 x 350) 1 0) |
0 |
| Outputs |
|---|
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x 6530219459687219/4503599627370496) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) 0) |
(if (<=.f64 x 350) 1 0) |
0 |
Compiled 31 to 26 computations (16.1% 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 | 2329 | 20 |
| 1× | unsound |
(abs x)
Compiled 128 to 102 computations (20.3% saved)
Loading profile data...