
Time bar (total: 2.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 1 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 2 |
| 50% | 24.8% | 24.8% | 50.4% | 0% | 0% | 0% | 3 |
| 75% | 37.2% | 12.4% | 50.4% | 0% | 0% | 0% | 4 |
| 87.5% | 43.4% | 6.2% | 50.4% | 0% | 0% | 0% | 5 |
| 93.8% | 46.5% | 3.1% | 50.4% | 0% | 0% | 0% | 6 |
| 96.9% | 48.1% | 1.6% | 50.4% | 0% | 0% | 0% | 7 |
| 98.4% | 48.8% | 0.8% | 50.4% | 0% | 0% | 0% | 8 |
| 99.2% | 49.2% | 0.4% | 50.4% | 0% | 0% | 0% | 9 |
| 99.6% | 49.4% | 0.2% | 50.4% | 0% | 0% | 0% | 10 |
| 99.8% | 49.5% | 0.1% | 50.4% | 0% | 0% | 0% | 11 |
| 99.9% | 49.6% | 0% | 50.4% | 0% | 0% | 0% | 12 |
Compiled 12 to 10 computations (16.7% saved)
| 1.6s | 5 724× | 2 | valid |
| 332.0ms | 2 442× | 1 | valid |
| 10.0ms | 90× | 0 | valid |
ival-cos: 960.0ms (59.8% of total)const: 233.0ms (14.5% of total)adjust: 208.0ms (13% of total)ival-sub: 132.0ms (8.2% of total)ival-<=: 50.0ms (3.1% of total)ival-and: 12.0ms (0.7% of total)exact: 5.0ms (0.3% of total)ival-assert: 4.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 122 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 122 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 122 | 0 |
| - | 0 | 134 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 122 | 0 | 0 |
| - | 0 | 0 | 134 |
| number | freq |
|---|---|
| 0 | 134 |
| 1 | 122 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 90.0ms | 382× | 2 | valid |
| 10.0ms | 122× | 1 | valid |
| 0.0ms | 8× | 0 | valid |
Compiled 32 to 20 computations (37.5% saved)
ival-cos: 60.0ms (76.4% of total)adjust: 10.0ms (12.7% of total)ival-sub: 7.0ms (8.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
Compiled 4 to 4 computations (0% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 56.8% | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
Compiled 4 to 4 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (cos.f64 x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (cos.f64 x) | |
| accuracy | 27.645449476958344 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 46.0ms | 191× | 2 | valid |
| 5.0ms | 61× | 1 | valid |
| 0.0ms | 4× | 0 | valid |
Compiled 18 to 10 computations (44.4% saved)
ival-cos: 32.0ms (77.1% of total)adjust: 5.0ms (12.1% of total)ival-sub: 4.0ms (9.6% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
| Outputs |
|---|
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(- 1 (cos x)) |
(cos x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | inf | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | -inf | ((- 1 (cos x)) (cos x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(- 1 (cos x)) |
(cos x) |
| Outputs |
|---|
(* 1/2 (pow x 2)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(cos.f64 x) |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
Compiled 24 to 9 computations (62.5% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 1 | 4 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 3 | 2 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 56.8% | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| ▶ | 4.1% | #s(approx (- 1 (cos x)) (cos.f64 x)) |
Compiled 11 to 10 computations (9.1% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (cos.f64 x) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (cos.f64 x)) |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(cos.f64 x) |
x |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(cos.f64 x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (cos.f64 x) | |
| accuracy | 61.379528593064954 | #s(approx (- 1 (cos x)) (cos.f64 x)) |
| 39.0ms | 191× | 2 | valid |
| 9.0ms | 61× | 1 | valid |
| 0.0ms | 4× | 0 | valid |
Compiled 19 to 12 computations (36.8% saved)
ival-cos: 31.0ms (77% of total)adjust: 5.0ms (12.4% of total)ival-sub: 4.0ms (9.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(cos.f64 x) |
| Outputs |
|---|
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(- 1 (cos x)) |
(cos x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | inf | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | -inf | ((- 1 (cos x)) (cos x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(- 1 (cos x)) |
(cos x) |
| Outputs |
|---|
(* 1/2 (pow x 2)) |
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(cos.f64 x) |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(cos.f64 x) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(cos.f64 x) |
Compiled 26 to 7 computations (73.1% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 0 | 3 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 3 | 2 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 56.8% | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| ✓ | 4.1% | #s(approx (- 1 (cos x)) (cos.f64 x)) |
Compiled 22 to 18 computations (18.2% saved)
| Inputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.8% | 1 | x |
| 56.8% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 56.8% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (cos.f64 x)) |
3 calls:
| 7.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | x |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.1% | 1 | x |
| 4.1% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 4.1% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(approx (- 1 (cos x)) (cos.f64 x)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(approx (- 1 (cos x)) (cos.f64 x)) |
| 1× | done |
Compiled 11 to 8 computations (27.3% saved)
Compiled 50 to 38 computations (24% saved)
Loading profile data...