
Time bar (total: 1.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 0 |
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 1 |
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 2 |
| 50% | 0% | 0% | 100% | 0% | 0% | 0% | 3 |
| 50% | 0% | 0% | 100% | 0% | 0% | 0% | 4 |
| 75% | 0% | 0% | 100% | 0% | 0% | 0% | 5 |
| 75% | 0% | 0% | 100% | 0% | 0% | 0% | 6 |
| 87.5% | 0% | 0% | 100% | 0% | 0% | 0% | 7 |
| 87.5% | 0% | 0% | 100% | 0% | 0% | 0% | 8 |
| 93.8% | 0% | 0% | 100% | 0% | 0% | 0% | 9 |
| 93.8% | 0% | 0% | 100% | 0% | 0% | 0% | 10 |
| 96.9% | 0% | 0% | 100% | 0% | 0% | 0% | 11 |
| 96.9% | 0% | 0% | 100% | 0% | 0% | 0% | 12 |
Compiled 23 to 16 computations (30.4% saved)
| 648.0ms | 8 256× | 0 | valid |
const: 139.0ms (34.9% of total)ival-<=: 90.0ms (22.6% of total)ival-mult: 64.0ms (16.1% of total)ival-add: 63.0ms (15.8% of total)ival-and: 25.0ms (6.3% of total)exact: 14.0ms (3.5% of total)ival-assert: 3.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 a b) |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | b |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 17.0ms | 512× | 0 | valid |
Compiled 47 to 20 computations (57.4% saved)
ival-add: 3.0ms (46.5% of total)ival-mult: 3.0ms (46.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
Compiled 7 to 4 computations (42.9% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (*.f64 (+.f64 a b) (+.f64 a b)) |
Compiled 7 to 4 computations (42.9% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 a b) | |
| cost-diff | 0 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 a b) | |
| accuracy | 0.037441259768442016 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 8.0ms | 256× | 0 | valid |
Compiled 26 to 10 computations (61.5% saved)
ival-add: 1.0ms (32.4% of total)ival-mult: 1.0ms (32.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
| Outputs |
|---|
(pow b 2) |
(+ (* 2 (* a b)) (pow b 2)) |
(+ (* a (+ a (* 2 b))) (pow b 2)) |
b |
(+ a b) |
(pow a 2) |
(* (pow a 2) (+ 1 (* 2 (/ b a)))) |
(* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))) |
a |
(* a (+ 1 (/ b a))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+ (* 2 (* a b)) (pow a 2)) |
(+ (* b (+ b (* 2 a))) (pow a 2)) |
(* (pow b 2) (+ 1 (* 2 (/ a b)))) |
(* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))) |
(* b (+ 1 (/ a b))) |
(* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | b | @ | -inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | a | @ | inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | a | @ | -inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | b | @ | inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | a | @ | 0 | ((* (+ a b) (+ a b)) (+ a b)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow b 2) |
(+ (* 2 (* a b)) (pow b 2)) |
(+ (* a (+ a (* 2 b))) (pow b 2)) |
b |
(+ a b) |
(pow a 2) |
(* (pow a 2) (+ 1 (* 2 (/ b a)))) |
(* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))) |
a |
(* a (+ 1 (/ b a))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+ (* 2 (* a b)) (pow a 2)) |
(+ (* b (+ b (* 2 a))) (pow a 2)) |
(* (pow b 2) (+ 1 (* 2 (/ a b)))) |
(* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))) |
(* b (+ 1 (/ a b))) |
(* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
| Outputs |
|---|
(pow b 2) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+ (* 2 (* a b)) (pow b 2)) |
(+.f64 a b) |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
Compiled 47 to 8 computations (83% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 4 | 1 | 5 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 4 | 2 | 6 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ▶ | 16.4% | #s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
Compiled 18 to 10 computations (44.4% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 a b) | |
| cost-diff | 0 | #s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 a b) | |
| accuracy | 53.47567499408122 | #s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
| 8.0ms | 256× | 0 | valid |
Compiled 30 to 12 computations (60% saved)
ival-add: 1.0ms (32.2% of total)ival-mult: 1.0ms (32.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+.f64 a b) |
| Outputs |
|---|
(pow b 2) |
(+ (* 2 (* a b)) (pow b 2)) |
(+ (* a (+ a (* 2 b))) (pow b 2)) |
b |
(+ a b) |
(pow a 2) |
(* (pow a 2) (+ 1 (* 2 (/ b a)))) |
(* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))) |
a |
(* a (+ 1 (/ b a))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+ (* 2 (* a b)) (pow a 2)) |
(+ (* b (+ b (* 2 a))) (pow a 2)) |
(* (pow b 2) (+ 1 (* 2 (/ a b)))) |
(* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))) |
(* b (+ 1 (/ a b))) |
(* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | a | @ | -inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | b | @ | -inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | a | @ | inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | b | @ | inf | ((* (+ a b) (+ a b)) (+ a b)) |
| 0.0ms | a | @ | 0 | ((* (+ a b) (+ a b)) (+ a b)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow b 2) |
(+ (* 2 (* a b)) (pow b 2)) |
(+ (* a (+ a (* 2 b))) (pow b 2)) |
b |
(+ a b) |
(pow a 2) |
(* (pow a 2) (+ 1 (* 2 (/ b a)))) |
(* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))) |
a |
(* a (+ 1 (/ b a))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+ (* 2 (* a b)) (pow a 2)) |
(+ (* b (+ b (* 2 a))) (pow a 2)) |
(* (pow b 2) (+ 1 (* 2 (/ a b)))) |
(* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))) |
(* b (+ 1 (/ a b))) |
(* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
| Outputs |
|---|
(pow b 2) |
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+ (* 2 (* a b)) (pow b 2)) |
(+.f64 a b) |
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+.f64 a b) |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(+.f64 a b) |
Compiled 41 to 7 computations (82.9% 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 |
|---|---|---|
| ✓ | 99.9% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 16.4% | #s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
Compiled 36 to 17 computations (52.8% saved)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
4 calls:
| 5.0ms | (+.f64 a b) |
| 1.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 1.0ms | a |
| 1.0ms | b |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | a |
| 99.9% | 1 | b |
| 99.9% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 99.9% | 1 | (+.f64 a b) |
Compiled 12 to 11 computations (8.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
4 calls:
| 1.0ms | (+.f64 a b) |
| 1.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 1.0ms | a |
| 1.0ms | b |
| Accuracy | Segments | Branch |
|---|---|---|
| 16.4% | 1 | a |
| 16.4% | 1 | b |
| 16.4% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 16.4% | 1 | (+.f64 a b) |
Compiled 12 to 11 computations (8.3% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
#s(approx (* (+ a b) (+ a b)) (+.f64 a b)) |
| 1× | done |
Compiled 18 to 7 computations (61.1% saved)
Compiled 80 to 38 computations (52.5% saved)
Loading profile data...