
Time bar (total: 1.3s)
| 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)
| 766.0ms | 8256× | body | 256 | valid |
| 1× | egg-herbie |
| 1900× | fma-def |
| 826× | fabs-mul |
| 628× | swap-sqr |
| 598× | *-commutative |
| 430× | fabs-div |
| 256× | No Errors |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 124 |
| 1 | 33 | 124 |
| 2 | 56 | 124 |
| 3 | 89 | 124 |
| 4 | 163 | 124 |
| 5 | 328 | 124 |
| 6 | 847 | 124 |
| 7 | 2438 | 124 |
| 8 | 3664 | 124 |
| 9 | 4768 | 124 |
| 10 | 6711 | 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 34 to 16 computations (52.9% 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)))) |
| 0.0ms | x | @ | 0 | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1× | batch-egg-rewrite |
| 94× | associate-*r* |
| 63× | add-exp-log |
| 63× | add-log-exp |
| 63× | log1p-expm1-u |
| 63× | expm1-log1p-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2330 | 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 |
| 762× | distribute-lft-out |
| 636× | *-commutative |
| 572× | unswap-sqr |
| 552× | associate-/l/ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 252 |
| 1 | 69 | 248 |
| 2 | 134 | 244 |
| 3 | 354 | 240 |
| 4 | 1238 | 240 |
| 5 | 3146 | 240 |
| 6 | 4139 | 240 |
| 7 | 6424 | 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 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (pow.f64 x 2) (fma.f64 5/24 (pow.f64 x 4) 1))) |
(fma.f64 (pow.f64 x 2) (fma.f64 (pow.f64 x 4) -61/720 -1/2) (fma.f64 5/24 (pow.f64 x 4) 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)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 4 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 20 | 5 | 25 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ▶ | 56.7% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ▶ | 57.2% | 1 |
| ▶ | 11.9% | 1/2 |
| ▶ | 45.5% | 0 |
Compiled 23 to 20 computations (13% saved)
Compiled 24 to 20 computations (16.7% saved)
Compiled 1 to 1 computations (0% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 1 | 1 |
| Total | 0 | 5 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| ✓ | 56.7% | (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) |
| ✓ | 57.2% | 1 |
| ✓ | 11.9% | 1/2 |
| ✓ | 45.5% | 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 |
| 4.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:
| 8.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 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 |
|---|---|---|
| 99.6% | 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 |
|---|---|---|
| 54.2% | 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 |
|---|---|---|
| 45.5% | 1 | x |
Compiled 2 to 1 computations (50% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 19.0ms | 1.87597363440578e-7 | 329.4180553761104 |
| 15.0ms | 144× | body | 256 | valid |
Compiled 121 to 109 computations (9.9% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 329.4180553761104 | 478149.8119138234 |
| 16.0ms | 128× | body | 256 | valid |
Compiled 61 to 58 computations (4.9% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 329.4180553761104 | 478149.8119138234 |
| 16.0ms | 128× | body | 256 | valid |
Compiled 61 to 58 computations (4.9% saved)
| 1× | egg-herbie |
| 6× | +-commutative |
| 4× | *-commutative |
| 2× | sub-neg |
| 2× | 1-exp |
| 2× | neg-mul-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 95 |
| 1 | 36 | 95 |
| 2 | 38 | 95 |
| 3 | 39 | 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 360) 1 0) |
(if (<=.f64 x 360) 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 360) 1 0) |
(if (<=.f64 x 360) 1/2 0) |
0 |
Compiled 38 to 32 computations (15.8% saved)
| 94× | associate-*r* |
| 94× | associate-*r* |
| 63× | add-exp-log |
| 63× | add-log-exp |
| 63× | log1p-expm1-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2330 | 20 |
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2330 | 20 |
| 1× | unsound |
| 1× | unsound |
(abs x)
Compiled 104 to 84 computations (19.2% saved)
Loading profile data...