
Time bar (total: 3.6s)
| 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 9 to 8 computations (11.1% saved)
| 582.0ms | 8 256× | 0 | valid |
ival-add: 142.0ms (46.5% of total)ival-mult: 96.0ms (31.4% of total)ival-div: 51.0ms (16.7% of total)ival-true: 6.0ms (2% of total)exact: 6.0ms (2% of total)ival-assert: 4.0ms (1.3% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 35 | 0 | - | 0 | - | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 y #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) | o/n | 35 | 0 |
| ↳ | (*.f64 x y) | overflow | 35 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 35 | 0 |
| - | 0 | 221 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 35 | 0 | 0 |
| - | 0 | 0 | 221 |
| number | freq |
|---|---|
| 0 | 221 |
| 1 | 35 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 23.0ms | 512× | 0 | valid |
Compiled 43 to 22 computations (48.8% saved)
ival-mult: 4.0ms (37.3% of total)ival-div: 3.0ms (27.9% of total)ival-add: 3.0ms (27.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 48 |
| 1 | 43 | 46 |
| 2 | 109 | 44 |
| 3 | 234 | 44 |
| 4 | 333 | 44 |
| 5 | 919 | 42 |
| 6 | 7082 | 42 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 15 | 7 |
| 2 | 21 | 7 |
| 3 | 33 | 7 |
| 4 | 67 | 7 |
| 5 | 276 | 7 |
| 6 | 2491 | 7 |
| 7 | 6215 | 7 |
| 0 | 8213 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y) |
(negabs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 87.1% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
Compiled 7 to 6 computations (14.3% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 15 | 16 |
| 2 | 21 | 16 |
| 3 | 33 | 16 |
| 4 | 67 | 16 |
| 5 | 276 | 16 |
| 6 | 2491 | 16 |
| 7 | 6215 | 16 |
| 0 | 8213 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
(*.f64 x y) |
x |
y |
(+.f64 y #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
(+.f64 y #s(literal 1 binary64)) |
(-.f64 y #s(literal -1 binary64)) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 8.258933797436159 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 11.0ms | 256× | 0 | valid |
Compiled 18 to 8 computations (55.6% saved)
ival-div: 2.0ms (38.9% of total)ival-mult: 2.0ms (38.9% of total)ival-add: 1.0ms (19.5% 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 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
(*.f64 x y) |
(+.f64 y #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (+ y 1) #s(hole binary64 1)) |
#s(approx (+ y 1) #s(hole binary64 (+ 1 y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (+ y 1) #s(hole binary64 y)) |
#s(approx (+ y 1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (* x y) (+ y 1)) (* x y) (+ y 1)) |
| 1.0ms | x | @ | -inf | ((/ (* x y) (+ y 1)) (* x y) (+ y 1)) |
| 1.0ms | x | @ | inf | ((/ (* x y) (+ y 1)) (* x y) (+ y 1)) |
| 1.0ms | x | @ | 0 | ((/ (* x y) (+ y 1)) (* x y) (+ y 1)) |
| 1.0ms | y | @ | inf | ((/ (* x y) (+ y 1)) (* x y) (+ y 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 232 |
| 1 | 166 | 220 |
| 2 | 415 | 212 |
| 3 | 1551 | 212 |
| 0 | 8082 | 210 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (+ y 1) #s(hole binary64 1)) |
#s(approx (+ y 1) #s(hole binary64 (+ 1 y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (+ y 1) #s(hole binary64 y)) |
#s(approx (+ y 1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y)) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (* x y) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (-.f64 (*.f64 y x) x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (fma.f64 (fma.f64 (neg.f64 x) y x) y (neg.f64 x)) y x) y)) |
#s(approx (+ y 1) #s(hole binary64 1)) |
#s(approx (+ y 1) #s(literal 1 binary64)) |
#s(approx (+ y 1) #s(hole binary64 (+ 1 y))) |
#s(approx (+ y 1) (-.f64 y #s(literal -1 binary64))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
#s(approx (+ y 1) #s(hole binary64 y)) |
#s(approx (+ y 1) y) |
#s(approx (+ y 1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (+ y 1) (-.f64 y #s(literal -1 binary64))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 32 | 13 |
| 0 | 189 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
(*.f64 x y) |
(+.f64 y #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 (/.f64 (*.f64 y x) (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 (*.f64 y x) (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (/.f64 y (-.f64 y #s(literal -1 binary64))) x) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(*.f64 x (/.f64 y (-.f64 y #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (*.f64 (neg.f64 x) y)) (neg.f64 (neg.f64 (-.f64 y #s(literal -1 binary64))))) |
(/.f64 (*.f64 (neg.f64 x) y) (neg.f64 (-.f64 y #s(literal -1 binary64)))) |
(/.f64 (*.f64 y x) (-.f64 y #s(literal -1 binary64))) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) y) (-.f64 y #s(literal -1 binary64)))) |
(neg.f64 (/.f64 (*.f64 y x) (neg.f64 (-.f64 y #s(literal -1 binary64))))) |
(*.f64 y x) |
(*.f64 x y) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) y)) |
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1 binary64))) (neg.f64 (-.f64 y #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 y y (-.f64 #s(literal 1 binary64) y)))) |
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 y y) y))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal 1 binary64)))) |
(-.f64 y #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 #s(literal 1 binary64) y) |
(+.f64 y #s(literal 1 binary64)) |
Compiled 440 to 105 computations (76.1% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 5 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 6 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 87.1% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ▶ | 92.3% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ▶ | 49.8% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ▶ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ▶ | 50.9% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ▶ | 50.2% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 117 to 86 computations (26.5% saved)
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (-.f64 x (/.f64 x y)) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 (neg.f64 x) y x) | |
| cost-diff | 0 | (*.f64 (fma.f64 (neg.f64 x) y x) y) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) x) | |
| cost-diff | 0 | (-.f64 y #s(literal -1 binary64)) | |
| cost-diff | 0 | (/.f64 x (-.f64 y #s(literal -1 binary64))) | |
| cost-diff | 0 | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 98 |
| 0 | 30 | 98 |
| 1 | 43 | 98 |
| 2 | 66 | 98 |
| 3 | 112 | 98 |
| 4 | 249 | 98 |
| 5 | 703 | 98 |
| 6 | 4735 | 98 |
| 0 | 8206 | 98 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
y |
(/.f64 x (-.f64 y #s(literal -1 binary64))) |
x |
(-.f64 y #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ (* x y) (+ y 1)) x) |
x |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
(*.f64 (fma.f64 (neg.f64 x) y x) y) |
(fma.f64 (neg.f64 x) y x) |
(neg.f64 x) |
x |
y |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(-.f64 x (/.f64 x y)) |
x |
(/.f64 x y) |
y |
| Outputs |
|---|
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(*.f64 (/.f64 y (-.f64 y #s(literal -1 binary64))) x) |
y |
(/.f64 x (-.f64 y #s(literal -1 binary64))) |
x |
(-.f64 y #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ (* x y) (+ y 1)) x) |
x |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 x y)) |
(*.f64 y x) |
(*.f64 x y) |
y |
x |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
(*.f64 (fma.f64 (neg.f64 x) y x) y) |
(fma.f64 (neg.f64 x) y x) |
(neg.f64 x) |
x |
y |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(-.f64 x (/.f64 x y)) |
x |
(/.f64 x y) |
y |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.0078125 | (-.f64 x (/.f64 x y)) | |
| accuracy | 32.1344057867595 | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) | |
| accuracy | 0.0 | (fma.f64 (neg.f64 x) y x) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.046875 | (*.f64 (fma.f64 (neg.f64 x) y x) y) | |
| accuracy | 32.001981435530105 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 31.430492434793813 | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) | |
| accuracy | 31.897391818413137 | #s(approx (/ (* x y) (+ y 1)) x) | |
| accuracy | 0.0 | (-.f64 y #s(literal -1 binary64)) | |
| accuracy | 0.01171875 | (/.f64 x (-.f64 y #s(literal -1 binary64))) | |
| accuracy | 4.9193355403251 | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| 32.0ms | 256× | 0 | valid |
Compiled 82 to 19 computations (76.8% saved)
ival-mult: 9.0ms (42.3% of total)ival-div: 5.0ms (23.5% of total)ival-sub: 3.0ms (14.1% of total)ival-add: 2.0ms (9.4% of total)ival-neg: 1.0ms (4.7% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(/.f64 x (-.f64 y #s(literal -1 binary64))) |
(-.f64 y #s(literal -1 binary64)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
(*.f64 (fma.f64 (neg.f64 x) y x) y) |
(fma.f64 (neg.f64 x) y x) |
(neg.f64 x) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(-.f64 x (/.f64 x y)) |
(/.f64 x y) |
| Outputs |
|---|
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x (+ 1 y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x (* y (+ 1 (* -1 y)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* x (+ 1 (* -1 y))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* x (- 1 (/ 1 y))))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (* y (- y 1)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x (- y 1))))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (* x (- (/ 1 y) 1))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* x y) x))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x))))) |
#s(approx (- y -1) #s(hole binary64 1)) |
#s(approx (- y -1) #s(hole binary64 (+ 1 y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (/ x y)))) |
#s(approx (- x (/ x y)) #s(hole binary64 (/ (- (* x y) x) y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 x)) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (+ x (* -1 (/ x y))) y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (/ x (pow y 2))) (/ x y)) y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))) y))) |
#s(approx (- y -1) #s(hole binary64 y)) |
#s(approx (- y -1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y))))) |
#s(approx (- x (/ x y)) #s(hole binary64 x)) |
#s(approx (- x (/ x y)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (/ x y)) y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (/ x y) x) y))) y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (* -1 (/ (- (/ x y) x) y)) x) y))) y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* y (/ x (- y -1))) (/ x (- y -1)) (- y -1) (/ (* x y) (+ y 1)) (/ (* x y) (+ y 1)) (* y x) (/ (* x y) (+ y 1)) (* (+ (* (neg x) y) x) y) (+ (* (neg x) y) x) (neg x) (/ (* x y) (+ y 1)) (- x (/ x y)) (/ x y)) |
| 2.0ms | y | @ | inf | ((* y (/ x (- y -1))) (/ x (- y -1)) (- y -1) (/ (* x y) (+ y 1)) (/ (* x y) (+ y 1)) (* y x) (/ (* x y) (+ y 1)) (* (+ (* (neg x) y) x) y) (+ (* (neg x) y) x) (neg x) (/ (* x y) (+ y 1)) (- x (/ x y)) (/ x y)) |
| 2.0ms | x | @ | inf | ((* y (/ x (- y -1))) (/ x (- y -1)) (- y -1) (/ (* x y) (+ y 1)) (/ (* x y) (+ y 1)) (* y x) (/ (* x y) (+ y 1)) (* (+ (* (neg x) y) x) y) (+ (* (neg x) y) x) (neg x) (/ (* x y) (+ y 1)) (- x (/ x y)) (/ x y)) |
| 2.0ms | x | @ | 0 | ((* y (/ x (- y -1))) (/ x (- y -1)) (- y -1) (/ (* x y) (+ y 1)) (/ (* x y) (+ y 1)) (* y x) (/ (* x y) (+ y 1)) (* (+ (* (neg x) y) x) y) (+ (* (neg x) y) x) (neg x) (/ (* x y) (+ y 1)) (- x (/ x y)) (/ x y)) |
| 1.0ms | y | @ | -inf | ((* y (/ x (- y -1))) (/ x (- y -1)) (- y -1) (/ (* x y) (+ y 1)) (/ (* x y) (+ y 1)) (* y x) (/ (* x y) (+ y 1)) (* (+ (* (neg x) y) x) y) (+ (* (neg x) y) x) (neg x) (/ (* x y) (+ y 1)) (- x (/ x y)) (/ x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 158 | 888 |
| 1 | 379 | 817 |
| 2 | 949 | 797 |
| 3 | 3001 | 797 |
| 0 | 8221 | 788 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x (+ 1 y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x (* y (+ 1 (* -1 y)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* x (+ 1 (* -1 y))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* x (- 1 (/ 1 y))))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (* y (- y 1)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x (- y 1))))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (* x (- (/ 1 y) 1))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* x y) x))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x))))) |
#s(approx (- y -1) #s(hole binary64 1)) |
#s(approx (- y -1) #s(hole binary64 (+ 1 y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (/ x y)))) |
#s(approx (- x (/ x y)) #s(hole binary64 (/ (- (* x y) x) y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 x)) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (+ x (* -1 (/ x y))) y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (/ x (pow y 2))) (/ x y)) y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))) y))) |
#s(approx (- y -1) #s(hole binary64 y)) |
#s(approx (- y -1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y))))) |
#s(approx (- x (/ x y)) #s(hole binary64 x)) |
#s(approx (- x (/ x y)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (/ x y)) y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (/ x y) x) y))) y)))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (* -1 (/ (- (/ x y) x) y)) x) y))) y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y))))))) |
| Outputs |
|---|
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (/.f64 y (-.f64 y #s(literal -1 binary64))) x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x (+ 1 y)))) |
#s(approx (/ x (- y -1)) (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (/.f64 y (-.f64 y #s(literal -1 binary64))) x)) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* y x) (*.f64 x y)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x (* y (+ 1 (* -1 y)))))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* x (+ 1 (* -1 y))))) |
#s(approx (+ (* (neg x) y) x) (-.f64 x (*.f64 x y))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (- x (/ x y)) #s(hole binary64 (* x (- 1 (/ 1 y))))) |
#s(approx (- x (/ x y)) (-.f64 x (/.f64 x y))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (* y (- y 1)))))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x (- y 1))))) |
#s(approx (+ (* (neg x) y) x) (-.f64 x (*.f64 x y))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (* x (- (/ 1 y) 1))))) |
#s(approx (- x (/ x y)) (-.f64 x (/.f64 x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* x y))) |
#s(approx (* y (/ x (- y -1))) (*.f64 x y)) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (fma.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y x) y)) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (fma.f64 (*.f64 x (fma.f64 (-.f64 #s(literal 1 binary64) y) y #s(literal -1 binary64))) y x) y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 x)) |
#s(approx (/ x (- y -1)) x) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (/ x (- y -1)) (-.f64 x (*.f64 x y))) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* x y) x))))) |
#s(approx (/ x (- y -1)) (fma.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x))))) |
#s(approx (/ x (- y -1)) (fma.f64 (*.f64 x (fma.f64 (-.f64 #s(literal 1 binary64) y) y #s(literal -1 binary64))) y x)) |
#s(approx (- y -1) #s(hole binary64 1)) |
#s(approx (- y -1) #s(literal 1 binary64)) |
#s(approx (- y -1) #s(hole binary64 (+ 1 y))) |
#s(approx (- y -1) (-.f64 y #s(literal -1 binary64))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (* y (/ x (- y -1))) (*.f64 x y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (fma.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* y (/ x (- y -1))) (*.f64 (fma.f64 (*.f64 x (fma.f64 (-.f64 #s(literal 1 binary64) y) y #s(literal -1 binary64))) y x) y)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 x y)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (neg x) y) x) x) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (+ x (* -1 (* x y))))) |
#s(approx (+ (* (neg x) y) x) (-.f64 x (*.f64 x y))) |
#s(approx (- x (/ x y)) #s(hole binary64 (* -1 (/ x y)))) |
#s(approx (- x (/ x y)) (/.f64 (neg.f64 x) y)) |
#s(approx (- x (/ x y)) #s(hole binary64 (/ (- (* x y) x) y))) |
#s(approx (- x (/ x y)) (-.f64 x (/.f64 x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 x)) |
#s(approx (* y (/ x (- y -1))) x) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* y (/ x (- y -1))) (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ x y))) |
#s(approx (/ x (- y -1)) (/.f64 x y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (+ x (* -1 (/ x y))) y))) |
#s(approx (/ x (- y -1)) (/.f64 (-.f64 x (/.f64 x y)) y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (/ x (pow y 2))) (/ x y)) y))) |
#s(approx (/ x (- y -1)) (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (/ (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))) y))) |
#s(approx (/ x (- y -1)) (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x) y)) |
#s(approx (- y -1) #s(hole binary64 y)) |
#s(approx (- y -1) y) |
#s(approx (- y -1) #s(hole binary64 (* y (+ 1 (/ 1 y))))) |
#s(approx (- y -1) (-.f64 y #s(literal -1 binary64))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (* y (/ x (- y -1))) x) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* y (/ x (- y -1))) (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 (*.f64 (neg.f64 x) y) y)) |
#s(approx (* (+ (* (neg x) y) x) y) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (* (+ (* (neg x) y) x) y) (*.f64 (-.f64 x (*.f64 x y)) y)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (+ (* (neg x) y) x) (*.f64 (neg.f64 x) y)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y))))) |
#s(approx (+ (* (neg x) y) x) (-.f64 x (*.f64 x y))) |
#s(approx (- x (/ x y)) #s(hole binary64 x)) |
#s(approx (- x (/ x y)) x) |
#s(approx (- x (/ x y)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (- x (/ x y)) (-.f64 x (/.f64 x y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (* y (/ x (- y -1))) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (* y (/ x (- y -1))) (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (/ x y)) y)))) |
#s(approx (/ x (- y -1)) (/.f64 (-.f64 x (/.f64 x y)) y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (/ x y) x) y))) y)))) |
#s(approx (/ x (- y -1)) (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y)) |
#s(approx (/ x (- y -1)) #s(hole binary64 (* -1 (/ (+ (* -1 x) (* -1 (/ (- (* -1 (/ (- (/ x y) x) y)) x) y))) y)))) |
#s(approx (/ x (- y -1)) (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (* y (/ x (- y -1))) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (* y (/ x (- y -1))) (+.f64 (/.f64 (-.f64 (/.f64 (-.f64 x (/.f64 x y)) y) x) y) x)) |
#s(approx (+ (* (neg x) y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y))))))) |
#s(approx (+ (* (neg x) y) x) (-.f64 x (*.f64 x y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 88 |
| 0 | 30 | 88 |
| 1 | 95 | 88 |
| 0 | 582 | 88 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(/.f64 x (-.f64 y #s(literal -1 binary64))) |
(-.f64 y #s(literal -1 binary64)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
(*.f64 (fma.f64 (neg.f64 x) y x) y) |
(fma.f64 (neg.f64 x) y x) |
(neg.f64 x) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(-.f64 x (/.f64 x y)) |
(/.f64 x y) |
| Outputs |
|---|
(*.f64 (/.f64 (*.f64 x y) (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 (*.f64 x y) (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64)))) |
(*.f64 (/.f64 (*.f64 x y) (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (/.f64 y (-.f64 y #s(literal -1 binary64))) x) |
(*.f64 (neg.f64 x) (/.f64 y (+.f64 (neg.f64 y) #s(literal -1 binary64)))) |
(*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y) |
(*.f64 x (/.f64 y (-.f64 y #s(literal -1 binary64)))) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (*.f64 (neg.f64 x) y)) (neg.f64 (+.f64 (neg.f64 y) #s(literal -1 binary64)))) |
(/.f64 (*.f64 (neg.f64 x) y) (+.f64 (neg.f64 y) #s(literal -1 binary64))) |
(/.f64 (*.f64 x y) (-.f64 y #s(literal -1 binary64))) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) y) (-.f64 y #s(literal -1 binary64)))) |
(neg.f64 (/.f64 (*.f64 x y) (+.f64 (neg.f64 y) #s(literal -1 binary64)))) |
(*.f64 (/.f64 x (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (+.f64 (neg.f64 y) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 x) (+.f64 (neg.f64 y) #s(literal -1 binary64))) |
(/.f64 x (-.f64 y #s(literal -1 binary64))) |
(neg.f64 (/.f64 (neg.f64 x) (-.f64 y #s(literal -1 binary64)))) |
(neg.f64 (/.f64 x (+.f64 (neg.f64 y) #s(literal -1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) y)) |
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1 binary64))) (neg.f64 (-.f64 y #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 y y (-.f64 #s(literal 1 binary64) y)))) |
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 y y) y))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64)))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 y y (fma.f64 #s(literal -1 binary64) y #s(literal 1 binary64))))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal 1 binary64)))) |
(-.f64 y #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 #s(literal 1 binary64) y) |
(+.f64 y #s(literal 1 binary64)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 x y)) |
(*.f64 x y) |
(*.f64 y x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
(*.f64 (fma.f64 (neg.f64 x) y x) y) |
(*.f64 y (fma.f64 (neg.f64 x) y x)) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (*.f64 x x)) y) (-.f64 (*.f64 (neg.f64 x) y) x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) y) (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))) |
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (*.f64 x x))) (-.f64 (*.f64 (neg.f64 x) y) x)) |
(/.f64 (*.f64 y (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64)))) (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
(fma.f64 x y (*.f64 (*.f64 (neg.f64 x) y) y)) |
(fma.f64 x y (*.f64 y (*.f64 (neg.f64 x) y))) |
(fma.f64 y (*.f64 (neg.f64 x) y) (*.f64 x y)) |
(fma.f64 y x (*.f64 (*.f64 (neg.f64 x) y) y)) |
(fma.f64 y x (*.f64 y (*.f64 (neg.f64 x) y))) |
(+.f64 (*.f64 (*.f64 (neg.f64 x) y) y) (*.f64 x y)) |
(+.f64 (*.f64 y (*.f64 (neg.f64 x) y)) (*.f64 x y)) |
(+.f64 (*.f64 x y) (*.f64 (*.f64 (neg.f64 x) y) y)) |
(+.f64 (*.f64 x y) (*.f64 y (*.f64 (neg.f64 x) y))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64))) (-.f64 x (*.f64 (neg.f64 x) y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (neg.f64 x) y) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (neg.f64 x) y) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 x) y) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))) |
(fma.f64 (neg.f64 y) x x) |
(fma.f64 (neg.f64 x) y x) |
(fma.f64 x (neg.f64 y) x) |
(fma.f64 y (neg.f64 x) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 x) y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 x) y) x))) |
(-.f64 x (*.f64 (neg.f64 (neg.f64 x)) y)) |
(-.f64 x (*.f64 (neg.f64 y) (neg.f64 x))) |
(-.f64 x (*.f64 x y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (neg.f64 x) y) x) |
(+.f64 x (*.f64 (neg.f64 x) y)) |
(neg.f64 x) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (/.f64 x y) #s(literal 2 binary64)))) (neg.f64 (+.f64 (/.f64 x y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (/.f64 x y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 x y) (+.f64 (/.f64 x y) x) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (/.f64 x y) #s(literal 2 binary64))) (+.f64 (/.f64 x y) x)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (/.f64 x y) #s(literal 3 binary64))) (fma.f64 (/.f64 x y) (+.f64 (/.f64 x y) x) (*.f64 x x))) |
(-.f64 (/.f64 (*.f64 x x) (+.f64 (/.f64 x y) x)) (/.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (+.f64 (/.f64 x y) x))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (/.f64 x y) (+.f64 (/.f64 x y) x) (*.f64 x x))) (/.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) (fma.f64 (/.f64 x y) (+.f64 (/.f64 x y) x) (*.f64 x x)))) |
(-.f64 x (/.f64 x y)) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
(/.f64 x y) |
(neg.f64 (/.f64 (neg.f64 x) y)) |
(neg.f64 (/.f64 x (neg.f64 y))) |
Compiled 2 050 to 366 computations (82.1% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 118 | 1 | 119 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 1 | 1 |
| Total | 118 | 7 | 125 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 87.1% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 92.3% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ▶ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
| ✓ | 49.8% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ✓ | 50.9% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 50.2% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 79 to 57 computations (27.8% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (*.f64 (neg.f64 x) y) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) | |
| cost-diff | 2 | (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 37 |
| 0 | 16 | 35 |
| 1 | 31 | 35 |
| 2 | 72 | 33 |
| 3 | 154 | 33 |
| 4 | 337 | 33 |
| 5 | 779 | 33 |
| 6 | 4825 | 33 |
| 0 | 8368 | 33 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
(fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
(*.f64 (neg.f64 x) y) |
(neg.f64 x) |
x |
y |
(*.f64 x y) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
(fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(*.f64 (neg.f64 x) y) |
(neg.f64 x) |
x |
y |
(*.f64 x y) |
(*.f64 y x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 6.027294209924939 | (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) | |
| accuracy | 32.001981435530105 | #s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
| 18.0ms | 256× | 0 | valid |
Compiled 30 to 12 computations (60% saved)
ival-mult: 5.0ms (46.5% of total)ival-div: 2.0ms (18.6% of total)ival-add: 2.0ms (18.6% of total)ival-neg: 1.0ms (9.3% 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 |
|---|
(fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
(*.f64 (neg.f64 x) y) |
(neg.f64 x) |
(*.f64 x y) |
| Outputs |
|---|
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x (+ y (* -1 (pow y 2)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* (neg x) y) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (pow y 2)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x y))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | inf | ((+ (* (* (neg x) y) y) (* x y)) (/ (* x y) (+ y 1)) (* (neg x) y) (neg x) (* x y)) |
| 1.0ms | x | @ | inf | ((+ (* (* (neg x) y) y) (* x y)) (/ (* x y) (+ y 1)) (* (neg x) y) (neg x) (* x y)) |
| 1.0ms | x | @ | 0 | ((+ (* (* (neg x) y) y) (* x y)) (/ (* x y) (+ y 1)) (* (neg x) y) (neg x) (* x y)) |
| 1.0ms | x | @ | -inf | ((+ (* (* (neg x) y) y) (* x y)) (/ (* x y) (+ y 1)) (* (neg x) y) (neg x) (* x y)) |
| 1.0ms | y | @ | -inf | ((+ (* (* (neg x) y) y) (* x y)) (/ (* x y) (+ y 1)) (* (neg x) y) (neg x) (* x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 317 |
| 1 | 220 | 295 |
| 2 | 531 | 287 |
| 3 | 1678 | 287 |
| 4 | 7074 | 287 |
| 0 | 8251 | 284 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x (+ y (* -1 (pow y 2)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* (neg x) y) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (pow y 2)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x y))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
| Outputs |
|---|
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x (+ y (* -1 (pow y 2)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y)) |
#s(approx (* (neg x) y) #s(hole binary64 (* -1 (* x y)))) |
#s(approx (* (neg x) y) (*.f64 (neg.f64 y) x)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (* x y) #s(hole binary64 (* x y))) |
#s(approx (* x y) (*.f64 y x)) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (+ (* -1 y) (pow y 2)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* x y))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 y x)) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (fma.f64 y x (neg.f64 x)) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) y #s(literal -1 binary64)) x) y x) y)) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 (neg.f64 y) (*.f64 y x))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (+ (* (* (neg x) y) y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 35 |
| 0 | 16 | 33 |
| 1 | 59 | 33 |
| 0 | 402 | 31 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) |
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
(*.f64 (neg.f64 x) y) |
(neg.f64 x) |
(*.f64 x y) |
| Outputs |
|---|
(*.f64 (fma.f64 y (neg.f64 x) x) y) |
(*.f64 y (-.f64 (*.f64 y (neg.f64 x)) (neg.f64 x))) |
(*.f64 y (fma.f64 y (neg.f64 x) x)) |
(*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 y (neg.f64 x)) y) (*.f64 y (neg.f64 x)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (*.f64 y (-.f64 (*.f64 y (neg.f64 x)) x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 y (-.f64 (*.f64 y (neg.f64 x)) x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 y (neg.f64 x)) y) y) x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 y y) (neg.f64 x) (*.f64 (neg.f64 y) (neg.f64 x))) |
(fma.f64 (*.f64 y y) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (*.f64 y y) (neg.f64 x) (*.f64 y x)) |
(fma.f64 (*.f64 y (neg.f64 x)) y (*.f64 (neg.f64 y) (neg.f64 x))) |
(fma.f64 (*.f64 y (neg.f64 x)) y (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (*.f64 y (neg.f64 x)) y (*.f64 y x)) |
(fma.f64 y (*.f64 y (neg.f64 x)) (*.f64 (neg.f64 y) (neg.f64 x))) |
(fma.f64 y (*.f64 y (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 y (*.f64 y (neg.f64 x)) (*.f64 y x)) |
(fma.f64 y x (*.f64 (*.f64 y (neg.f64 x)) y)) |
(fma.f64 (neg.f64 x) (*.f64 y y) (*.f64 (neg.f64 y) (neg.f64 x))) |
(fma.f64 (neg.f64 x) (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (neg.f64 x) (*.f64 y y) (*.f64 y x)) |
(fma.f64 x y (*.f64 (*.f64 y (neg.f64 x)) y)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)) (*.f64 y (-.f64 (*.f64 y (neg.f64 x)) x))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y (-.f64 (*.f64 y (neg.f64 x)) x)))) |
(-.f64 (*.f64 (*.f64 y (neg.f64 x)) y) (*.f64 y (neg.f64 x))) |
(-.f64 (*.f64 y x) (*.f64 (*.f64 y x) y)) |
(-.f64 (*.f64 y x) (*.f64 x (*.f64 y y))) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (*.f64 y (neg.f64 x))) y)) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 y) (*.f64 y (neg.f64 x)))) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (neg.f64 x)) (*.f64 y y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y)) (pow.f64 (*.f64 (*.f64 y (neg.f64 x)) y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 y (neg.f64 x)) y) (*.f64 (neg.f64 y) (neg.f64 x))) |
(+.f64 (*.f64 (*.f64 y (neg.f64 x)) y) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(+.f64 (*.f64 (*.f64 y (neg.f64 x)) y) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 (*.f64 y (neg.f64 x)) y)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 y (neg.f64 x) x) y)) |
(*.f64 (neg.f64 y) x) |
(*.f64 y (neg.f64 x)) |
(*.f64 (neg.f64 x) y) |
(*.f64 x (neg.f64 y)) |
(neg.f64 (*.f64 y x)) |
(neg.f64 x) |
(*.f64 y x) |
(*.f64 x y) |
Compiled 1 325 to 195 computations (85.3% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 60 | 1 | 61 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 6 | 6 |
| Total | 61 | 7 | 68 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 87.1% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 92.3% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ✓ | 49.8% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ▶ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
| ✓ | 50.9% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 50.2% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 77 to 57 computations (26% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 31 |
| 0 | 13 | 31 |
| 1 | 22 | 31 |
| 2 | 35 | 31 |
| 3 | 51 | 31 |
| 4 | 108 | 31 |
| 5 | 512 | 31 |
| 6 | 5786 | 31 |
| 0 | 8024 | 31 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
(*.f64 y x) |
x |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
(*.f64 y x) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.02734375 | (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) | |
| accuracy | 32.001981435530105 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
| 16.0ms | 256× | 0 | valid |
Compiled 25 to 11 computations (56% saved)
ival-mult: 5.0ms (53.9% of total)ival-div: 2.0ms (21.6% of total)ival-sub: 1.0ms (10.8% of total)ival-add: 1.0ms (10.8% 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) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(-.f64 #s(literal 1 binary64) y) |
(*.f64 y x) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x y))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (- 1 y) #s(hole binary64 1)) |
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (- 1 y) #s(hole binary64 (* -1 y))) |
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | x | @ | inf | ((/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | x | @ | 0 | ((/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | y | @ | -inf | ((/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | y | @ | inf | ((/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 84 | 313 |
| 1 | 207 | 298 |
| 2 | 496 | 290 |
| 3 | 1578 | 290 |
| 4 | 7514 | 290 |
| 0 | 8462 | 287 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x y))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (- 1 y) #s(hole binary64 1)) |
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (- 1 y) #s(hole binary64 (* -1 y))) |
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1)))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y)))))) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (/.f64 x (-.f64 y #s(literal -1 binary64))) y)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* (- 1 y) (* y x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* y x) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* x y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* x y) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (-.f64 (*.f64 y x) x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (* y (+ x (* y (- (* y (- (* -1 (* x y)) (* -1 x))) x)))))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (*.f64 x (fma.f64 (-.f64 #s(literal 1 binary64) y) y #s(literal -1 binary64))) y x) y)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x y))) |
#s(approx (* (- 1 y) (* y x)) (*.f64 y x)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* (- 1 y) (* y x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#s(approx (- 1 y) #s(hole binary64 1)) |
#s(approx (- 1 y) #s(literal 1 binary64)) |
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y)))) |
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 x)) |
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (/ x (pow y 2))) (/ x y)))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (- (+ x (* -1 (/ x (pow y 3)))) (+ (* -1 (/ x (pow y 2))) (/ x y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (- 1 y) (* y x)) (*.f64 (*.f64 (neg.f64 y) y) x)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (* (- 1 y) (* y x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#s(approx (- 1 y) #s(hole binary64 (* -1 y))) |
#s(approx (- 1 y) (neg.f64 y)) |
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1)))) |
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (+ x (* -1 (/ (+ x (* -1 (/ (+ x (* -1 (/ x y))) y))) y))))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 (-.f64 x (/.f64 (-.f64 x (/.f64 x y)) y)) y))) |
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y)))))) |
#s(approx (- 1 y) (-.f64 #s(literal 1 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 0 | 13 | 28 |
| 1 | 48 | 28 |
| 0 | 288 | 28 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(-.f64 #s(literal 1 binary64) y) |
(*.f64 y x) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) |
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x) |
(*.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(*.f64 y (*.f64 x (-.f64 #s(literal 1 binary64) y))) |
(*.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) y)) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (*.f64 y x)) (-.f64 y #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (*.f64 y x)) (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64))) |
(/.f64 (*.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (-.f64 y #s(literal -1 binary64))) |
(/.f64 (*.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 y y (-.f64 #s(literal 1 binary64) y))) |
(*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) y)) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (-.f64 y #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 y #s(literal -1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal -1 binary64))) (/.f64 (*.f64 y y) (-.f64 y #s(literal -1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y #s(literal -1 binary64)) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) y) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(*.f64 y x) |
(*.f64 x y) |
Compiled 743 to 139 computations (81.3% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 0 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 39 | 7 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 87.1% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 92.3% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ✓ | 49.8% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ✓ | 50.0% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
| ✓ | 50.9% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 50.2% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 171 to 87 computations (49.1% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
#s(approx (/ (* x y) (+ y 1)) x) |
3 calls:
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 2 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 99.9% | 2 | x |
| 100.0% | 3 | y |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
#s(approx (/ (* x y) (+ y 1)) x) |
3 calls:
| 18.0ms | y |
| 2.0ms | x |
| 2.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 3 | y |
| 92.3% | 1 | x |
| 92.3% | 1 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
1 calls:
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.3% | 3 | y |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
#s(approx (/ (* x y) (+ y 1)) x) |
1 calls:
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 3 | y |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
#s(approx (/ (* x y) (+ y 1)) x) |
1 calls:
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 3 | y |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
#s(approx (/ (* x y) (+ y 1)) x) |
1 calls:
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.0% | 3 | y |
Compiled 1 to 2 computations (-100% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
| Outputs |
|---|
#s(approx (/ (* x y) (+ y 1)) x) |
3 calls:
| 1.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.2% | 1 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 50.2% | 1 | x |
| 50.2% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 5.320372173796374e+237 | 2.5016560492384294e+246 |
Compiled 10 to 11 computations (-10% saved)
| 2× | binary-search |
| 1× | predicate-same |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 6.0ms | 10645547118.242844 | 3.682337200900667e+19 |
| 12.0ms | -1237258814521.2344 | -8123803324.472416 |
| 8.0ms | 192× | 0 | valid |
Compiled 230 to 205 computations (10.9% saved)
ival-div: 1.0ms (25.6% of total)ival-add: 1.0ms (25.6% of total)ival-mult: 1.0ms (25.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)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 23.0ms | 1.0294354933002547e-13 | 15.967346191435315 |
| 10.0ms | -12.201034501960848 | -0.0005496666523621243 |
| 22.0ms | 288× | 0 | valid |
Compiled 514 to 389 computations (24.3% saved)
ival-mult: 12.0ms (77.9% of total)ival-div: 2.0ms (13% of total)ival-add: 1.0ms (6.5% 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)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 6.0ms | 1.0294354933002547e-13 | 15.967346191435315 |
| 1.0ms | -12.201034501960848 | -0.0005496666523621243 |
| 3.0ms | 80× | 0 | valid |
Compiled 442 to 353 computations (20.1% saved)
ival-mult: 1.0ms (63.8% of total)ival-div: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 1.0294354933002547e-13 | 15.967346191435315 |
| 30.0ms | -12.201034501960848 | -0.0005496666523621243 |
Compiled 442 to 371 computations (16.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.0294354933002547e-13 | 15.967346191435315 |
| 0.0ms | -12.201034501960848 | -0.0005496666523621243 |
Compiled 370 to 317 computations (14.3% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 204 |
| 1 | 70 | 204 |
| 2 | 88 | 204 |
| 3 | 104 | 204 |
| 4 | 133 | 204 |
| 5 | 329 | 204 |
| 6 | 2633 | 204 |
| 7 | 6528 | 204 |
| 1× | node limit |
| Inputs |
|---|
(if (<=.f64 (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(literal 10000000000000000486475973287265010404848153099971055159735310397418651127357734700791903005570128910531738945888832142428584597165509708623196466454966148714674320981543085810557013220039375302073350623645891623631119178909006652304785408 binary64)) (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(approx (/ (* x y) (+ y 1)) x)) |
(if (<=.f64 y #s(literal -8200000000 binary64)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) (if (<=.f64 y #s(literal 10000000000000000 binary64)) (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 3/4 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 3/4 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) #s(approx (/ (* x y) (+ y 1)) x))) |
#s(approx (/ (* x y) (+ y 1)) x) |
| Outputs |
|---|
(if (<=.f64 (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(literal 10000000000000000486475973287265010404848153099971055159735310397418651127357734700791903005570128910531738945888832142428584597165509708623196466454966148714674320981543085810557013220039375302073350623645891623631119178909006652304785408 binary64)) (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(approx (/ (* x y) (+ y 1)) x)) |
(if (<=.f64 y #s(literal -8200000000 binary64)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) (if (<=.f64 y #s(literal 10000000000000000 binary64)) (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))))) |
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 3/4 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 3/4 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) #s(approx (/ (* x y) (+ y 1)) x))) |
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 3/4 binary64)))) #s(approx (/ (* x y) (+ y 1)) x) #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) #s(approx (/ (* x y) (+ y 1)) x))) |
#s(approx (/ (* x y) (+ y 1)) x) |
| 1× | done |
Compiled 220 to 50 computations (77.3% saved)
(negabs x)
Compiled 602 to 186 computations (69.1% saved)
Loading profile data...