
Time bar (total: 2.9s)
| 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.4s | 8255× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
ival-exp, time spent: 345.0ms, 53.0% of total-timeival-add, time spent: 130.0ms, 20.0% of total-timeival-div, time spent: 84.0ms, 13.0% of total-timeival-neg, time spent: 80.0ms, 12.0% of total-timeconst, time spent: 14.0ms, 2.0% of total-time| 1× | egg-herbie |
| 40× | fma-define |
| 40× | fmm-def |
| 24× | sub-neg |
| 14× | distribute-lft-neg-in |
| 14× | cancel-sign-sub-inv |
| 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 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
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 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))) |
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))) |
| Outputs |
|---|
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))) |
(/.f64 #s(literal -2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(abs x)
Compiled 59 to 25 computations (57.6% saved)
ival-exp, time spent: 9.0ms, 42.0% of total-timeival-div, time spent: 5.0ms, 23.0% of total-timeival-add, time spent: 3.0ms, 14.0% of total-timeival-neg, time spent: 2.0ms, 9.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 #s(literal 2 binary64) (+.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 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 25 to 9 computations (64% saved)
ival-exp, time spent: 5.0ms, 50.0% of total-timeival-div, time spent: 2.0ms, 20.0% of total-timeival-add, time spent: 2.0ms, 20.0% of total-timeconst, time spent: 1.0ms, 10.0% of total-timeival-neg, time spent: 1.0ms, 10.0% of total-time| Inputs |
|---|
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))> |
| Outputs |
|---|
#<alt #s(literal 1 binary64)> |
#<alt (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64))))> |
#<alt (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))))> |
#<alt (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64))))> |
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))> |
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))> |
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))> |
#<alt (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) 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 |
| 62× | add-exp-log |
| 62× | add-log-exp |
| 62× | log1p-expm1-u |
| 62× | expm1-log1p-u |
| 60× | add-cube-cbrt |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2343 | 20 |
| 1× | unsound |
| Inputs |
|---|
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
#s(literal -4 binary64) |
#s(literal -2 binary64) |
#s(literal -1 binary64) |
#s(literal 0 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
#s(literal 3/2 binary64) |
#s(literal 2 binary64) |
#s(literal 3 binary64) |
#s(literal 4 binary64) |
| 1× | egg-herbie |
| 2386× | fma-define |
| 583× | fmm-def |
| 386× | distribute-lft-in |
| 264× | associate-+l- |
| 250× | 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 | 3805 | 240 |
| 10 | 4690 | 240 |
| 11 | 5136 | 240 |
| 12 | 5208 | 240 |
| 13 | 5216 | 240 |
| 14 | 5216 | 240 |
| 15 | 5348 | 240 |
| 16 | 5404 | 240 |
| 17 | 5404 | 240 |
| 18 | 7287 | 240 |
| 19 | 7287 | 240 |
| 20 | 7287 | 240 |
| 21 | 7287 | 240 |
| 22 | 7287 | 240 |
| 23 | 7289 | 240 |
| 1× | saturated |
| Inputs |
|---|
#s(literal 1 binary64) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
#s(literal -4 binary64) |
#s(literal -2 binary64) |
#s(literal -1 binary64) |
#s(literal 0 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
#s(literal 3/2 binary64) |
#s(literal 2 binary64) |
#s(literal 3 binary64) |
#s(literal 4 binary64) |
| Outputs |
|---|
#s(literal 1 binary64) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 2 binary64)) #s(literal -1/2 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 5/24 binary64) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 2 binary64))))) #s(literal 1/2 binary64)))) |
(+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 5/24 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal -61/720 binary64))) #s(literal -1/2 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal -61/720 binary64) #s(literal 5/24 binary64)) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 5/24 binary64) (fma.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/2 binary64))) #s(literal 1 binary64)) |
(fma.f64 #s(literal -61/720 binary64) (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal 5/24 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
#s(literal -4 binary64) |
#s(literal -2 binary64) |
#s(literal -1 binary64) |
#s(literal 0 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
#s(literal 3/2 binary64) |
#s(literal 2 binary64) |
#s(literal 3 binary64) |
#s(literal 4 binary64) |
Compiled 173 to 143 computations (17.3% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 3 | 23 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 21 | 3 | 24 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 48.3% | (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| ▶ | 48.8% | #s(literal 1 binary64) |
| ▶ | 54.2% | #s(literal 0 binary64) |
Compiled 12 to 11 computations (8.3% saved)
Compiled 23 to 19 computations (17.4% saved)
ival-pow, time spent: 139.0ms, 96.0% of total-timeival-mult, time spent: 3.0ms, 2.0% of total-timeconst, time spent: 2.0ms, 1.0% of total-timeival-add, time spent: 2.0ms, 1.0% of total-timeCompiled 1 to 1 computations (0% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 48.3% | (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| ✓ | 48.8% | #s(literal 1 binary64) |
| ✓ | 54.2% | #s(literal 0 binary64) |
Compiled 30 to 26 computations (13.3% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
#s(literal 1 binary64) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
3 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 1.0ms | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 #s(literal 2 binary64) (+.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 |
|---|
#s(literal 0 binary64) |
#s(literal 1 binary64) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(literal 0 binary64) |
1 calls:
| 9.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
Compiled 2 to 1 computations (50% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(literal 1 binary64) |
#s(literal 0 binary64) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 2 | x |
Compiled 2 to 1 computations (50% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(literal 0 binary64) |
| Outputs |
|---|
#s(literal 0 binary64) |
1 calls:
| 1.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 |
|---|---|---|
| 24.0ms | 4.780471924983433e-7 | 69869040.65072925 |
| 21.0ms | 159× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
Compiled 133 to 120 computations (9.8% saved)
ival-exp, time spent: 4.0ms, 52.0% of total-timeival-div, time spent: 1.0ms, 13.0% of total-timeival-add, time spent: 1.0ms, 13.0% of total-timeival-neg, time spent: 1.0ms, 13.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 62.0ms | 4.780471924983433e-7 | 69869040.65072925 |
| 59.0ms | 159× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
Compiled 73 to 70 computations (4.1% saved)
ival-div, time spent: 41.0ms, 87.0% of total-timeival-exp, time spent: 4.0ms, 8.0% of total-timeival-add, time spent: 1.0ms, 2.0% of total-timeival-neg, time spent: 1.0ms, 2.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1× | egg-herbie |
| 3× | 1-exp |
| 3× | +-commutative |
| 2× | *-commutative |
| 1× | sub-neg |
| 1× | neg-sub0 |
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 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x #s(literal 6530219459687219/4503599627370496 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 0 binary64)) |
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1 binary64) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
| Outputs |
|---|
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(if (<=.f64 x #s(literal 6530219459687219/4503599627370496 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 2 binary64)))) #s(literal 0 binary64)) |
(if (<=.f64 x #s(literal 350 binary64)) #s(literal 1 binary64) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
Compiled 31 to 26 computations (16.1% saved)
| 62× | add-exp-log |
| 62× | add-log-exp |
| 62× | log1p-expm1-u |
| 62× | expm1-log1p-u |
| 60× | add-cube-cbrt |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 20 |
| 1 | 144 | 20 |
| 2 | 2343 | 20 |
| 1× | unsound |
Compiled 152 to 126 computations (17.1% saved)
Loading profile data...