
Time bar (total: 652.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 340.0ms | 8 256× | 0 | valid |
ival-mult: 116.0ms (70.8% of total)ival-sub: 39.0ms (23.8% of total)ival-true: 6.0ms (3.7% of total)ival-assert: 3.0ms (1.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 19 | 0 | - | 0 | - | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 a a) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (*.f64 b b) |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (*.f64 a a) (*.f64 b b)) | nan-rescue | 19 | 0 |
| ↳ | (*.f64 a a) | overflow | 72 | |
| ↳ | (*.f64 b b) | overflow | 64 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 19 | 0 |
| - | 0 | 237 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 19 | 0 | 0 |
| - | 0 | 0 | 237 |
| number | freq |
|---|---|
| 0 | 237 |
| 1 | 19 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 21.0ms | 512× | 0 | valid |
Compiled 56 to 24 computations (57.1% saved)
ival-mult: 7.0ms (72.9% of total)ival-sub: 2.0ms (20.8% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 92.6% | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 b b) | |
| cost-diff | 0 | (*.f64 a a) | |
| cost-diff | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 b b) | |
| accuracy | 0.0 | (*.f64 a a) | |
| accuracy | 4.195295986641647 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 10.0ms | 256× | 0 | valid |
Compiled 32 to 12 computations (62.5% saved)
ival-mult: 3.0ms (63.6% of total)ival-sub: 1.0ms (21.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
(*.f64 b b) |
| Outputs |
|---|
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(pow b 2) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 1.0ms | a | @ | 0 | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(pow b 2) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
| Outputs |
|---|
(* -1 (pow b 2)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(- (pow a 2) (pow b 2)) |
(*.f64 a a) |
(pow a 2) |
(*.f64 b b) |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
(*.f64 b b) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
(*.f64 b b) |
Compiled 58 to 12 computations (79.3% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 1 | 6 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 2 | 7 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 92.6% | (-.f64 (*.f64 a a) (*.f64 b b)) |
| ▶ | 51.5% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 a a) | |
| cost-diff | 0 | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 a a) | |
| accuracy | 31.062258668783297 | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 12.0ms | 256× | 0 | valid |
Compiled 28 to 14 computations (50% saved)
ival-sub: 3.0ms (43.6% of total)ival-mult: 3.0ms (43.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
| Outputs |
|---|
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a)) |
| 0.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a)) |
| 0.0ms | a | @ | 0 | ((- (* a a) (* b b)) (* a a)) |
| 0.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a)) |
| 0.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
| Outputs |
|---|
(* -1 (pow b 2)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(- (pow a 2) (pow b 2)) |
(*.f64 a a) |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
Compiled 41 to 8 computations (80.5% 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 |
|---|---|---|
| ✓ | 92.6% | (-.f64 (*.f64 a a) (*.f64 b b)) |
| ✓ | 51.5% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 36 to 21 computations (41.7% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 1.0ms | b |
| 1.0ms | a |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.9% | 3 | a |
| 92.6% | 1 | b |
| 96.9% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 96.9% | 2 | (*.f64 a a) |
| 92.6% | 1 | (*.f64 b b) |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 1.0ms | b |
| 1.0ms | a |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.5% | 1 | b |
| 51.5% | 1 | (*.f64 b b) |
| 51.5% | 1 | a |
| 51.5% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 51.5% | 1 | (*.f64 a a) |
Compiled 15 to 15 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 1.119255949630727e+305 | +inf |
| 4.0ms | 128× | 0 | valid |
Compiled 122 to 106 computations (13.1% saved)
ival-sub: 1.0ms (58.6% of total)ival-mult: 1.0ms (58.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Loading profile data...