
Time bar (total: 1.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 7 to 7 computations (0% saved)
| 459.0ms | 8 256× | 0 | valid |
ival-mult: 209.0ms (72.3% of total)ival-div: 63.0ms (21.8% of total)ival-true: 7.0ms (2.4% of total)exact: 5.0ms (1.7% of total)ival-assert: 3.0ms (1% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 y #s(literal 3 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 3 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 0 | 0 | - | 0 | - | x |
| 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 |
| 23.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 4.0ms (46.2% of total)ival-mult: 4.0ms (46.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 32 |
| 1 | 32 | 30 |
| 2 | 56 | 30 |
| 3 | 82 | 30 |
| 4 | 111 | 30 |
| 5 | 127 | 30 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 10 | 5 |
| 2 | 12 | 5 |
| 0 | 12 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
(negabs x)
(negabs y)
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
Compiled 5 to 5 computations (0% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 10 | 11 |
| 2 | 12 | 11 |
| 0 | 12 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
x |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
| Outputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
x |
(*.f64 y #s(literal 3 binary64)) |
(*.f64 #s(literal 3 binary64) y) |
y |
#s(literal 3 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 0.2265625 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 10.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 2.0ms (49% of total)ival-mult: 2.0ms (49% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* y 3) #s(hole binary64 (* 3 y))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 20.0ms | y | @ | inf | ((/ x (* y 3)) (* y 3)) |
| 2.0ms | y | @ | -inf | ((/ x (* y 3)) (* y 3)) |
| 1.0ms | y | @ | 0 | ((/ x (* y 3)) (* y 3)) |
| 1.0ms | x | @ | inf | ((/ x (* y 3)) (* y 3)) |
| 1.0ms | x | @ | 0 | ((/ x (* y 3)) (* y 3)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 18 |
| 1 | 16 | 18 |
| 2 | 20 | 18 |
| 3 | 22 | 18 |
| 4 | 23 | 18 |
| 0 | 23 | 18 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* y 3) #s(hole binary64 (* 3 y))) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (* y 3) #s(hole binary64 (* 3 y))) |
#s(approx (* y 3) (*.f64 #s(literal 3 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 13 | 8 |
| 2 | 32 | 8 |
| 3 | 69 | 8 |
| 4 | 85 | 8 |
| 0 | 85 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
| Outputs |
|---|
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y)) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64)) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
(/.f64 (neg.f64 x) (*.f64 y #s(literal -3 binary64))) |
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(neg.f64 (/.f64 (/.f64 x y) #s(literal -3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
(*.f64 (neg.f64 y) #s(literal -3 binary64)) |
(*.f64 #s(literal -3 binary64) (neg.f64 y)) |
(*.f64 #s(literal 3 binary64) y) |
(neg.f64 (*.f64 y #s(literal -3 binary64))) |
Compiled 87 to 36 computations (58.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 3 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 11 | 4 | 15 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| ▶ | 99.7% | (/.f64 (/.f64 x #s(literal 3 binary64)) y) |
| ✓ | 99.6% | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| ▶ | 99.5% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
Compiled 26 to 24 computations (7.7% saved)
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (/.f64 (/.f64 x y) #s(literal 3 binary64)) | |
| cost-diff | 0 | (/.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (/.f64 (/.f64 x #s(literal 3 binary64)) y) | |
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) | |
| cost-diff | 0 | #s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 44 |
| 0 | 17 | 44 |
| 1 | 22 | 44 |
| 2 | 26 | 44 |
| 3 | 27 | 44 |
| 0 | 27 | 44 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 1/3 binary64) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
y |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 3 binary64) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 #s(literal 1/3 binary64) (/.f64 x y))) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(*.f64 #s(literal 1/3 binary64) (/.f64 x y)) |
(/.f64 x y) |
x |
y |
#s(literal 1/3 binary64) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
(/.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
y |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
(/.f64 x y) |
x |
y |
#s(literal 3 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.2578125 | (/.f64 (/.f64 x y) #s(literal 3 binary64)) | |
| accuracy | 0.0 | (/.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.19140625 | (/.f64 (/.f64 x #s(literal 3 binary64)) y) | |
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.0 | #s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) | |
| accuracy | 0.296875 | (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
| 242.0ms | 256× | 0 | valid |
Compiled 40 to 13 computations (67.5% saved)
ival-div: 8.0ms (49.6% of total)const: 4.0ms (24.8% of total)ival-mult: 3.0ms (18.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(/.f64 x y) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x #s(literal 3 binary64)) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | inf | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 2.0ms | x | @ | -inf | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 1.0ms | x | @ | 0 | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 1.0ms | y | @ | -inf | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 0.0ms | y | @ | inf | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 58 |
| 1 | 25 | 58 |
| 2 | 27 | 58 |
| 3 | 28 | 58 |
| 0 | 28 | 58 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y)))) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ x y) 1/3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 0 | 17 | 32 |
| 1 | 34 | 32 |
| 2 | 83 | 32 |
| 3 | 135 | 32 |
| 4 | 155 | 32 |
| 5 | 157 | 32 |
| 0 | 157 | 32 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(/.f64 x y) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x #s(literal 3 binary64)) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 #s(literal 1/3 binary64) (/.f64 x y))) |
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x)) |
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64)) |
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y)) |
(*.f64 #s(literal 1/3 binary64) (/.f64 x y)) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(*.f64 x (/.f64 #s(literal 1/3 binary64) y)) |
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y) |
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y)) |
(neg.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y))) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
(/.f64 x y) |
(neg.f64 (/.f64 (neg.f64 x) y)) |
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64)) |
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y)) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
(neg.f64 (/.f64 (/.f64 x #s(literal -3 binary64)) y)) |
(/.f64 (neg.f64 x) #s(literal -3 binary64)) |
(/.f64 x #s(literal 3 binary64)) |
(neg.f64 (/.f64 x #s(literal -3 binary64))) |
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64)) |
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y)) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
(/.f64 x (*.f64 #s(literal 3 binary64) y)) |
(neg.f64 (/.f64 (/.f64 x #s(literal -3 binary64)) y)) |
Compiled 311 to 78 computations (74.9% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 2 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 31 | 6 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| ✓ | 99.7% | (/.f64 (/.f64 x #s(literal 3 binary64)) y) |
| ▶ | 99.5% | (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
| ✓ | 99.6% | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| ✓ | 99.5% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
| ▶ | 99.5% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
Compiled 46 to 41 computations (10.9% saved)
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 1/3 binary64) x) | |
| cost-diff | 0 | #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) | |
| cost-diff | 0 | (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) | |
| cost-diff | 0 | (/.f64 #s(literal 1/3 binary64) y) | |
| cost-diff | 0 | (*.f64 (/.f64 #s(literal 1/3 binary64) y) x) | |
| cost-diff | 0 | #s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 44 |
| 0 | 17 | 44 |
| 1 | 23 | 44 |
| 2 | 25 | 44 |
| 3 | 26 | 44 |
| 0 | 26 | 44 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(/.f64 #s(literal 1/3 binary64) y) |
#s(literal 1/3 binary64) |
y |
x |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
(*.f64 #s(literal 1/3 binary64) x) |
#s(literal 1/3 binary64) |
x |
y |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(/.f64 #s(literal 1/3 binary64) y) |
#s(literal 1/3 binary64) |
y |
x |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
(*.f64 #s(literal 1/3 binary64) x) |
#s(literal 1/3 binary64) |
x |
y |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) | |
| accuracy | 0.19140625 | (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) | |
| accuracy | 0.3828125 | (*.f64 #s(literal 1/3 binary64) x) | |
| accuracy | 0.0 | #s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) | |
| accuracy | 0.23828125 | (*.f64 (/.f64 #s(literal 1/3 binary64) y) x) | |
| accuracy | 0.39453125 | (/.f64 #s(literal 1/3 binary64) y) |
| 26.0ms | 256× | 0 | valid |
Compiled 32 to 13 computations (59.4% saved)
ival-div: 6.0ms (40% of total)ival-mult: 5.0ms (33.3% of total)const: 3.0ms (20% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(/.f64 #s(literal 1/3 binary64) y) |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
(*.f64 #s(literal 1/3 binary64) x) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
| 1.0ms | x | @ | -inf | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
| 1.0ms | x | @ | 0 | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
| 1.0ms | y | @ | -inf | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
| 0.0ms | y | @ | 0 | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 54 |
| 1 | 27 | 54 |
| 0 | 27 | 54 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y))) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (* (/ 1/3 y) x) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y)))) |
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x))) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x))) |
#s(approx (* 1/3 x) (*.f64 #s(literal 1/3 binary64) x)) |
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y))) |
#s(approx (/ 1/3 y) (/.f64 #s(literal 1/3 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 38 |
| 0 | 17 | 38 |
| 1 | 35 | 38 |
| 2 | 76 | 38 |
| 3 | 142 | 38 |
| 4 | 158 | 38 |
| 5 | 158 | 38 |
| 0 | 158 | 38 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(/.f64 #s(literal 1/3 binary64) y) |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
(*.f64 #s(literal 1/3 binary64) x) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x)) |
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64)) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y)) |
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y)) |
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x) |
(*.f64 #s(literal 1/3 binary64) (/.f64 x y)) |
(*.f64 x (/.f64 #s(literal 1/3 binary64) y)) |
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y) |
(neg.f64 (*.f64 (/.f64 #s(literal -1/3 binary64) y) x)) |
(/.f64 #s(literal -1/3 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/3 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/3 binary64) y)) |
(/.f64 (neg.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))) (neg.f64 y)) |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
(neg.f64 (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y))) |
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) |
(neg.f64 (neg.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)))) |
(*.f64 #s(literal -1/3 binary64) (neg.f64 x)) |
(*.f64 (neg.f64 x) #s(literal -1/3 binary64)) |
(*.f64 #s(literal 1/3 binary64) x) |
(*.f64 x #s(literal 1/3 binary64)) |
(neg.f64 (*.f64 #s(literal -1/3 binary64) x)) |
Compiled 328 to 79 computations (75.9% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 0 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 29 | 6 | 35 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| ✓ | 99.7% | (/.f64 (/.f64 x #s(literal 3 binary64)) y) |
| ✓ | 99.5% | (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
| ✓ | 99.6% | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| ✓ | 99.5% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
| ✓ | 99.5% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
Compiled 92 to 63 computations (31.5% saved)
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| Outputs |
|---|
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
4 calls:
| 2.0ms | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 y #s(literal 3 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 99.7% | 1 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 99.7% | 1 | x |
| 99.7% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y) |
| Outputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
4 calls:
| 53.0ms | (*.f64 y #s(literal 3 binary64)) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 99.6% | 1 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 99.6% | 1 | x |
| 99.6% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
4 calls:
| 1.0ms | y |
| 1.0ms | (*.f64 y #s(literal 3 binary64)) |
| 1.0ms | x |
| 1.0ms | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 99.5% | 1 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 99.5% | 1 | x |
| 99.5% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
| Outputs |
|---|
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
4 calls:
| 1.0ms | (*.f64 y #s(literal 3 binary64)) |
| 1.0ms | y |
| 1.0ms | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 99.5% | 1 | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 99.5% | 1 | x |
| 99.5% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 32 |
| 1 | 19 | 32 |
| 2 | 21 | 32 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
| Outputs |
|---|
(/.f64 (/.f64 x #s(literal 3 binary64)) y) |
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
| 1× | done |
Compiled 32 to 17 computations (46.9% saved)
(negabs y)
(negabs x)
Compiled 124 to 94 computations (24.2% saved)
Loading profile data...