
Time bar (total: 3.2s)
| 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 9 to 7 computations (22.2% saved)
ival-cos: 17.0ms (34.3% of total)ival-sin: 13.0ms (26.2% of total)ival-sub: 12.0ms (24.2% of total)ival-div: 6.0ms (12.1% of total)const: 2.0ms (4% of total)| 576.0ms | 4231× | 0 | valid |
| 499.0ms | 2058× | 1 | valid |
| 1.1s | 1961× | 2 | valid |
| 7.0ms | 6× | 3 | valid |
ival-cos: 910.0ms (56.6% of total)ival-sin: 213.0ms (13.2% of total)ival-sub: 206.0ms (12.8% of total)backward-pass: 140.0ms (8.7% of total)ival-div: 120.0ms (7.5% of total)const: 19.0ms (1.2% of total)| 1× | egg-herbie |
| 199× | fma-define |
| 83× | fma-neg |
| 47× | times-frac |
| 47× | div-sub |
| 37× | 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 |
| 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)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 71 | 0 | - | 3 | (1.900807395249091e-155) | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 69 | 0 | - | 1 | (1.317111933205787e+105) | (-.f64 #s(literal 1 binary64) (cos.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) |
| 49.0ms | 270× | 256 | valid |
| 133.0ms | 136× | 2048 | valid |
| 23.0ms | 60× | 1024 | valid |
| 6.0ms | 30× | 512 | valid |
| 14.0ms | 16× | 4096 | valid |
Compiled 46 to 26 computations (43.5% saved)
ival-sin: 99.0ms (57% of total)ival-cos: 49.0ms (28.2% of total)ival-sub: 13.0ms (7.5% of total)ival-div: 10.0ms (5.8% of total)const: 2.0ms (1.2% of total)Compiled 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)
| 25.0ms | 256× | 256 | valid |
Compiled 11 to 8 computations (27.3% saved)
ival-tan: 6.0ms (59.7% of total)ival-div: 4.0ms (39.8% of total)const: 1.0ms (9.9% of total)Compiled 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 -30.6b remaining (-∞%)
Threshold costs -30.6b (-∞%)
| 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:
| 1.0ms | x |
| 1.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× | saturated |
| Inputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
| Outputs |
|---|
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
| 199× | fma-define |
| 83× | fma-neg |
| 47× | times-frac |
| 47× | div-sub |
| 37× | 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× | done |
| 1× | saturated |
Compiled 17 to 13 computations (23.5% saved)
(negabs x)
Compiled 56 to 44 computations (21.4% saved)
Loading profile data...