
Time bar (total: 1.1s)
| 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)
| 489.0ms | 8 256× | 0 | valid |
ival-mult: 198.0ms (65.6% of total)ival-div: 89.0ms (29.5% of total)ival-true: 5.0ms (1.7% 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 |
| 20.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 4.0ms (49.4% of total)ival-mult: 3.0ms (37% 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)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 31 |
| 1 | 30 | 25 |
| 2 | 55 | 25 |
| 3 | 82 | 25 |
| 4 | 103 | 25 |
| 5 | 115 | 25 |
| 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 y)
(negabs x)
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)
| 1× | egg-herbie |
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))) |
| 9.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 2.0ms (53.1% of total)ival-mult: 2.0ms (53.1% 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 |
|---|
(* 1/3 (/ x y)) |
(* 3 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.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 | y | @ | inf | ((/ x (* y 3)) (* y 3)) |
| 1.0ms | x | @ | 0 | ((/ x (* y 3)) (* y 3)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 11 | 8 |
| 2 | 13 | 8 |
| 3 | 15 | 8 |
| 4 | 16 | 8 |
| 0 | 16 | 8 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1/3 (/ x y)) |
(* 3 y) |
| Outputs |
|---|
(* 1/3 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(* 3 y) |
(*.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 | 68 | 8 |
| 4 | 86 | 8 |
| 0 | 86 | 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.6% | (/.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)
| 1× | egg-herbie |
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.24609375 | (/.f64 (/.f64 x y) #s(literal 3 binary64)) | |
| accuracy | 0.0 | (/.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.2421875 | (/.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.30859375 | (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
| 29.0ms | 256× | 0 | valid |
Compiled 40 to 13 computations (67.5% saved)
ival-div: 8.0ms (54.5% of total)ival-mult: 3.0ms (20.4% of total)const: 3.0ms (20.4% 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 |
|---|
(* 1/3 (/ x y)) |
(/ x y) |
(* 1/3 x) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 1.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 | @ | 0 | ((/ x (* y 3)) (* (/ x y) 1/3) (/ x y) (/ (/ x 3) y) (/ x 3) (/ (/ x y) 3)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 9 | 11 |
| 2 | 11 | 11 |
| 3 | 12 | 11 |
| 0 | 12 | 11 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1/3 (/ x y)) |
(/ x y) |
(* 1/3 x) |
| Outputs |
|---|
(* 1/3 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(/ x y) |
(/.f64 x y) |
(* 1/3 x) |
(*.f64 #s(literal 1/3 binary64) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 0 | 17 | 32 |
| 1 | 34 | 32 |
| 2 | 80 | 32 |
| 3 | 133 | 32 |
| 4 | 153 | 32 |
| 5 | 155 | 32 |
| 0 | 155 | 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 294 to 72 computations (75.5% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 30 | 2 | 32 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 30 | 6 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| ✓ | 99.6% | (/.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.6% | #s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
Compiled 46 to 41 computations (10.9% saved)
| 1× | egg-herbie |
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.2421875 | (/.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.19140625 | (*.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 (41.8% of total)ival-mult: 5.0ms (34.8% of total)const: 3.0ms (20.9% 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 |
|---|
(* 1/3 (/ x y)) |
(* 1/3 x) |
(/ 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)) |
| 0.0ms | x | @ | 0 | ((/ x (* y 3)) (* (/ 1/3 y) x) (/ 1/3 y) (/ (/ x 3) y) (/ x 3) (* 1/3 x)) |
| 0.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)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 10 | 11 |
| 2 | 11 | 11 |
| 3 | 12 | 11 |
| 0 | 12 | 11 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1/3 (/ x y)) |
(* 1/3 x) |
(/ 1/3 y) |
| Outputs |
|---|
(* 1/3 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/3 binary64)) |
(* 1/3 x) |
(*.f64 #s(literal 1/3 binary64) x) |
(/ 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 | 72 | 38 |
| 3 | 139 | 38 |
| 4 | 163 | 38 |
| 5 | 164 | 38 |
| 0 | 164 | 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) y) |
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 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 298 to 70 computations (76.5% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 27 | 6 | 33 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (/.f64 x y) #s(literal 3 binary64)) |
| ✓ | 99.6% | (/.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.6% | #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 x (*.f64 y #s(literal 3 binary64))) |
4 calls:
| 9.0ms | (/.f64 x (*.f64 y #s(literal 3 binary64))) |
| 2.0ms | (*.f64 y #s(literal 3 binary64)) |
| 2.0ms | x |
| 2.0ms | y |
| 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)
Total -0.1b remaining (-46.8%)
Threshold costs -0.1b (-46.8%)
| 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 #s(literal 1/3 binary64) y) x)) |
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.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)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 16 |
| 1 | 14 | 16 |
| 2 | 16 | 16 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
| Outputs |
|---|
(/.f64 x (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 0 | 17 | 32 |
| 1 | 34 | 32 |
| 2 | 80 | 32 |
| 3 | 133 | 32 |
| 4 | 153 | 32 |
| 5 | 155 | 32 |
| 0 | 155 | 32 |
| 0 | 7 | 8 |
| 1 | 11 | 8 |
| 2 | 13 | 8 |
| 3 | 15 | 8 |
| 4 | 16 | 8 |
| 0 | 16 | 8 |
| 1× | done |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
Compiled 16 to 12 computations (25% saved)
(negabs x)
(negabs y)
Compiled 92 to 84 computations (8.7% saved)
Loading profile data...