
Time bar (total: 5.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 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 25% | 25% | 75% | 0% | 0% | 0% | 0% | 3 |
| 37.5% | 37.5% | 62.5% | 0% | 0% | 0% | 0% | 4 |
| 43.8% | 43.7% | 56.2% | 0% | 0% | 0% | 0% | 5 |
| 46.9% | 46.9% | 53.1% | 0% | 0% | 0% | 0% | 6 |
| 48.4% | 48.4% | 51.5% | 0% | 0% | 0% | 0% | 7 |
| 49.2% | 49.2% | 50.8% | 0% | 0% | 0% | 0% | 8 |
| 49.6% | 49.6% | 50.4% | 0% | 0% | 0% | 0% | 9 |
| 49.8% | 49.8% | 50.2% | 0% | 0% | 0% | 0% | 10 |
| 49.9% | 49.9% | 50.1% | 0% | 0% | 0% | 0% | 11 |
| 50% | 49.9% | 50% | 0% | 0% | 0% | 0% | 12 |
Compiled 16 to 11 computations (31.3% saved)
ival-<=, time spent: 19.0ms, 20.0% of total-timeival-sub, time spent: 16.0ms, 17.0% of total-timeival-cos, time spent: 14.0ms, 15.0% of total-timeival-sin, time spent: 13.0ms, 14.0% of total-time...c/syntax/syntax.rkt:188:8, time spent: 10.0ms, 11.0% of total-timeival-neg, time spent: 10.0ms, 11.0% of total-timeival-div, time spent: 7.0ms, 7.0% of total-timeival-and, time spent: 3.0ms, 3.0% of total-timeconst, time spent: 1.0ms, 1.0% of total-time| 897.0ms | 4600× | 256 | valid |
| 2.8s | 2101× | 2048 | valid |
| 504.0ms | 996× | 1024 | valid |
| 144.0ms | 504× | 512 | valid |
| 45.0ms | 54× | 4096 | valid |
| 2.0ms | 1× | 2048 | valid |
ival-sin, time spent: 1.6s, 49.0% of total-timeival-cos, time spent: 866.0ms, 27.0% of total-timeival-sub, time spent: 213.0ms, 7.0% of total-timeival-div, time spent: 161.0ms, 5.0% of total-timeival-<=, time spent: 156.0ms, 5.0% of total-time...c/syntax/syntax.rkt:188:8, time spent: 133.0ms, 4.0% of total-timeival-neg, time spent: 91.0ms, 3.0% of total-timeival-and, time spent: 25.0ms, 1.0% of total-timeconst, time spent: 11.0ms, 0.0% of total-time| 1× | egg-herbie |
| 398× | fma-define |
| 166× | fma-neg |
| 94× | times-frac |
| 94× | div-sub |
| 74× | distribute-rgt-in |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 74 | 2 | (1.5188516415846155e+149) | 0 | - | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 68 | 0 | - | 2 | (2.017714285204104e-156) | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 0 | - | (sin.f64 x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 60 |
| 1 | 46 | 60 |
| 2 | 85 | 56 |
| 3 | 191 | 56 |
| 4 | 470 | 56 |
| 5 | 815 | 56 |
| 6 | 981 | 56 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))) |
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(tan.f64 (*.f64 x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(tan.f64 (*.f64 x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))) |
(tan.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64))) |
(neg.f64 (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
(tan.f64 (*.f64 x #s(literal -1/2 binary64))) |
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(tan.f64 (*.f64 x #s(literal 1/2 binary64))) |
(negabs x)
Compiled 46 to 26 computations (43.5% saved)
ival-sin, time spent: 95.0ms, 53.0% of total-timeival-cos, time spent: 57.0ms, 32.0% of total-timeival-sub, time spent: 16.0ms, 9.0% of total-timeival-div, time spent: 9.0ms, 5.0% of total-timeconst, time spent: 3.0ms, 2.0% of total-timeCompiled 9 to 7 computations (22.2% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (tan.f64 (/.f64 x #s(literal 2 binary64))) |
Compiled 5 to 4 computations (20% saved)
Compiled 11 to 8 computations (27.3% saved)
ival-div, time spent: 6.0ms, 46.0% of total-timeival-tan, time spent: 6.0ms, 46.0% of total-timeconst, time spent: 1.0ms, 8.0% of total-timeCompiled 1 to 1 computations (0% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 0 | 1 | 1 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tan.f64 (/.f64 x #s(literal 2 binary64))) |
Compiled 17 to 13 computations (23.5% saved)
Total -32.1b remaining (-∞%)
Threshold costs -32.1b (-∞%)
| Inputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
2 calls:
| 3.0ms | x |
| 2.0ms | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
| Outputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
Compiled 5 to 4 computations (20% saved)
| 398× | fma-define |
| 166× | fma-neg |
| 94× | times-frac |
| 94× | div-sub |
| 74× | distribute-rgt-in |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 60 |
| 1 | 46 | 60 |
| 2 | 85 | 56 |
| 3 | 191 | 56 |
| 4 | 470 | 56 |
| 5 | 815 | 56 |
| 6 | 981 | 56 |
| 1× | saturated |
Compiled 12 to 9 computations (25% saved)
(negabs x)
Compiled 56 to 44 computations (21.4% saved)
Loading profile data...