
Time bar (total: 4.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 9 to 8 computations (11.1% saved)
| 525.0ms | 8 256× | 0 | valid |
ival-mult: 120.0ms (45.4% of total)ival-div: 47.0ms (17.8% of total)ival-assert: 45.0ms (17% of total)ival-add: 39.0ms (14.8% of total)ival-true: 5.0ms (1.9% of total)exact: 5.0ms (1.9% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 37 | 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 | 37 | 0 |
| ↳ | (*.f64 x y) | overflow | 37 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 37 | 0 |
| - | 0 | 219 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 37 | 0 | 0 |
| - | 0 | 0 | 219 |
| number | freq |
|---|---|
| 0 | 219 |
| 1 | 37 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 37.0ms | 512× | 0 | valid |
Compiled 43 to 22 computations (48.8% saved)
ival-div: 18.0ms (71% of total)ival-mult: 4.0ms (15.8% of total)ival-add: 3.0ms (11.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 43 |
| 1 | 41 | 39 |
| 2 | 108 | 37 |
| 3 | 235 | 37 |
| 4 | 335 | 37 |
| 5 | 918 | 35 |
| 6 | 7096 | 35 |
| 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 |
|---|---|---|
| ▶ | 86.4% | (/.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.710052599744417 | (/.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 (39.4% of total)ival-mult: 2.0ms (39.4% of total)ival-add: 1.0ms (19.7% 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 |
|---|---|---|
| ✓ | 86.4% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ▶ | 87.6% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ▶ | 53.9% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ▶ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ▶ | 47.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ▶ | 54.4% | #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.01171875 | (-.f64 x (/.f64 x y)) | |
| accuracy | 29.513054276419563 | #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.05859375 | (*.f64 (fma.f64 (neg.f64 x) y x) y) | |
| accuracy | 34.26873040752179 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 33.635540055453596 | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) | |
| accuracy | 29.155033411889924 | #s(approx (/ (* x y) (+ y 1)) x) | |
| accuracy | 0.0 | (-.f64 y #s(literal -1 binary64)) | |
| accuracy | 0.0078125 | (/.f64 x (-.f64 y #s(literal -1 binary64))) | |
| accuracy | 7.899851931761758 | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| 85.0ms | 256× | 0 | valid |
Compiled 82 to 19 computations (76.8% saved)
ival-add: 29.0ms (63.8% of total)ival-mult: 8.0ms (17.6% of total)ival-div: 5.0ms (11% of total)ival-sub: 3.0ms (6.6% of total)ival-neg: 1.0ms (2.2% 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 | |
|---|---|---|---|---|
| 3.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 |
|---|---|---|
| ✓ | 86.4% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 87.6% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ▶ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
| ✓ | 53.9% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ✓ | 47.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 54.4% | #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 | 5.289019152434322 | (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y)) | |
| accuracy | 34.26873040752179 | #s(approx (/ (* x y) (+ y 1)) (fma.f64 (*.f64 (neg.f64 x) y) y (*.f64 x y))) |
| 31.0ms | 256× | 0 | valid |
Compiled 30 to 12 computations (60% saved)
exact: 12.0ms (53.2% of total)ival-mult: 5.0ms (22.2% of total)ival-add: 3.0ms (13.3% of total)ival-div: 1.0ms (4.4% of total)ival-neg: 1.0ms (4.4% of total)ival-true: 0.0ms (0% of total)adjust: 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 | |
|---|---|---|---|---|
| 2.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 | 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)) |
| 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)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 2 | 61 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 6 | 6 |
| Total | 60 | 8 | 68 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.4% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 87.6% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ✓ | 53.9% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| ▶ | 46.5% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
| ▶ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
| ✓ | 47.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 54.4% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 93 to 68 computations (26.9% saved)
Found 8 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))) | |
| cost-diff | 0 | (-.f64 (*.f64 y y) y) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) | |
| cost-diff | 1 | (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 67 |
| 0 | 22 | 69 |
| 1 | 38 | 69 |
| 2 | 68 | 69 |
| 3 | 104 | 69 |
| 4 | 199 | 69 |
| 5 | 704 | 65 |
| 6 | 6881 | 65 |
| 0 | 8079 | 65 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
(*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
(neg.f64 x) |
x |
(-.f64 (*.f64 y y) y) |
(*.f64 y y) |
y |
#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 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
(*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) |
(neg.f64 x) |
x |
(-.f64 (*.f64 y y) y) |
(fma.f64 y y (neg.f64 y)) |
(*.f64 y y) |
y |
#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 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.0390625 | (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) | |
| accuracy | 34.26873040752179 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.0078125 | (-.f64 (*.f64 y y) y) | |
| accuracy | 3.33248866679395 | (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) | |
| accuracy | 34.26873040752179 | #s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
| 24.0ms | 256× | 0 | valid |
Compiled 52 to 15 computations (71.2% saved)
ival-mult: 8.0ms (54.6% of total)ival-div: 2.0ms (13.6% of total)ival-sub: 2.0ms (13.6% of total)ival-add: 1.0ms (6.8% of total)ival-neg: 1.0ms (6.8% 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 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
(neg.f64 x) |
(-.f64 (*.f64 y y) y) |
#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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (- (pow y 2) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) y)) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) 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 (- (* y y) y) #s(hole binary64 (* -1 y))) |
#s(approx (- (* y y) y) #s(hole binary64 (* y (- y 1)))) |
#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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (neg x) (- (* y y) 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 (- (* y y) y) #s(hole binary64 (pow y 2))) |
#s(approx (- (* y y) y) #s(hole binary64 (* (pow y 2) (- 1 (/ 1 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 | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((* (neg x) (- (* y y) y)) (/ (* x y) (+ y 1)) (neg x) (- (* y y) y) (/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 2.0ms | x | @ | inf | ((* (neg x) (- (* y y) y)) (/ (* x y) (+ y 1)) (neg x) (- (* y y) y) (/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 2.0ms | x | @ | -inf | ((* (neg x) (- (* y y) y)) (/ (* x y) (+ y 1)) (neg x) (- (* y y) y) (/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | y | @ | -inf | ((* (neg x) (- (* y y) y)) (/ (* x y) (+ y 1)) (neg x) (- (* y y) y) (/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
| 1.0ms | y | @ | inf | ((* (neg x) (- (* y y) y)) (/ (* x y) (+ y 1)) (neg x) (- (* y y) y) (/ (* x y) (+ y 1)) (* (- 1 y) (* y x)) (- 1 y) (* y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 104 | 454 |
| 1 | 241 | 441 |
| 2 | 615 | 417 |
| 3 | 2297 | 416 |
| 0 | 8452 | 413 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (- (pow y 2) y))))) |
#s(approx (/ (* x y) (+ y 1)) #s(hole binary64 (/ (* x y) (+ 1 y)))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* y x) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) y)) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) 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 (- (* y y) y) #s(hole binary64 (* -1 y))) |
#s(approx (- (* y y) y) #s(hole binary64 (* y (- y 1)))) |
#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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (neg x) (- (* y y) 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 (- (* y y) y) #s(hole binary64 (pow y 2))) |
#s(approx (- (* y y) y) #s(hole binary64 (* (pow y 2) (- 1 (/ 1 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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (- (pow y 2) y))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#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) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x (* y (- 1 y))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 y x)) |
#s(approx (* (neg x) (- (* y y) y)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) |
#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 y #s(literal 1 binary64)) (*.f64 y x) 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 (- (* y y) y) #s(hole binary64 (* -1 y))) |
#s(approx (- (* y y) y) (neg.f64 y)) |
#s(approx (- (* y y) y) #s(hole binary64 (* y (- y 1)))) |
#s(approx (- (* y y) y) (*.f64 (-.f64 y #s(literal 1 binary64)) y)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* x y))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 y x)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* y (+ x (* -1 (* x y)))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.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 (* (neg x) (- (* y y) y)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 (*.f64 (neg.f64 x) y) y)) |
#s(approx (* (neg x) (- (* y y) y)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) 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 (- (* y y) y) #s(hole binary64 (pow y 2))) |
#s(approx (- (* y y) y) (*.f64 y y)) |
#s(approx (- (* y y) y) #s(hole binary64 (* (pow y 2) (- 1 (/ 1 y))))) |
#s(approx (- (* y y) y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 y y))) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* -1 (* x (pow y 2))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.f64 (*.f64 (neg.f64 x) y) y)) |
#s(approx (* (- 1 y) (* y x)) #s(hole binary64 (* (pow y 2) (+ (* -1 x) (/ x y))))) |
#s(approx (* (neg x) (- (* y y) y)) (*.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 (-.f64 (/.f64 #s(literal 1 binary64) y) #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 (+.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) y)) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 59 |
| 0 | 22 | 59 |
| 1 | 75 | 59 |
| 0 | 474 | 59 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
(neg.f64 x) |
(-.f64 (*.f64 y y) y) |
#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 |
|---|
(*.f64 (-.f64 (*.f64 y y) y) (neg.f64 x)) |
(*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y)) |
(*.f64 x (neg.f64 (-.f64 (*.f64 y y) y))) |
(/.f64 (*.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 y y)) (neg.f64 x)) (fma.f64 y y y)) |
(/.f64 (*.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (neg.f64 x)) (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64)))) |
(/.f64 (*.f64 (neg.f64 x) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 y y))) (fma.f64 y y y)) |
(/.f64 (*.f64 (neg.f64 x) (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64)))) |
(neg.f64 (*.f64 (-.f64 (*.f64 y y) y) x)) |
#s(approx (/ (* x y) (+ y 1)) (*.f64 (-.f64 (*.f64 y y) y) (neg.f64 x))) |
(neg.f64 x) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (fma.f64 y y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 y y)) (fma.f64 y y y)) |
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64)))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 y y y)) (/.f64 (*.f64 y y) (fma.f64 y y y))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 y y y) (pow.f64 y #s(literal 4 binary64))))) |
(-.f64 (*.f64 y y) y) |
#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 (-.f64 y #s(literal -1 binary64)) y #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 (-.f64 y #s(literal -1 binary64)) y #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))) (+.f64 #s(literal -1 binary64) (neg.f64 y))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 y #s(literal -1 binary64)) y #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 (-.f64 y #s(literal -1 binary64)) y #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 (-.f64 y #s(literal -1 binary64)) y #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y #s(literal -1 binary64)) y #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 1 284 to 228 computations (82.2% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 1 | 63 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 6 | 6 |
| Total | 63 | 8 | 71 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.4% | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| ✓ | 87.6% | (*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
| ✓ | 53.9% | #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
| ✓ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (fma.f64 (neg.f64 x) y x) y)) |
| 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x)) | |
| ✓ | 46.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) y))) |
| ✓ | 47.4% | #s(approx (/ (* x y) (+ y 1)) (*.f64 y x)) |
| ✓ | 54.4% | #s(approx (/ (* x y) (+ y 1)) x) |
Compiled 218 to 105 computations (51.8% 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 (-.f64 #s(literal 1 binary64) y) 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)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) 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)) (-.f64 x (/.f64 x y))) |
3 calls:
| 4.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 3.0ms | y |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 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 (-.f64 #s(literal 1 binary64) y) 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)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) 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)) x) |
(*.f64 y (/.f64 x (-.f64 y #s(literal -1 binary64)))) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
3 calls:
| 3.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 3.0ms | y |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 3 | y |
| 90.2% | 2 | x |
| 92.3% | 3 | (/.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 (-.f64 #s(literal 1 binary64) y) 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)) (*.f64 (neg.f64 x) (-.f64 (*.f64 y y) 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 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x)) |
#s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y))) |
1 calls:
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.9% | 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 (-.f64 #s(literal 1 binary64) y) 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 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x)) |
#s(approx (/ (* x y) (+ y 1)) x) |
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)) |
| 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.8% | 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 | x |
| 1.0ms | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.4% | 1 | x |
| 54.4% | 1 | (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) |
| 54.4% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 7.503633298710044e+224 | 2.7394717656165914e+247 |
Compiled 10 to 11 computations (-10% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 21006.745521658417 | 868816685.4450831 |
| 10.0ms | -2.8201668629519595e+23 | -522716431962435460.0 |
| 10.0ms | 240× | 0 | valid |
Compiled 282 to 252 computations (10.6% saved)
ival-div: 2.0ms (41.4% of total)ival-mult: 2.0ms (41.4% of total)ival-add: 1.0ms (20.7% 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 |
|---|---|---|
| 10.0ms | 0.0015262645364985273 | 21006.745521658417 |
| 81.0ms | -109810447.09311108 | -0.09346835879701931 |
| 79.0ms | 288× | 0 | valid |
Compiled 514 to 407 computations (20.8% saved)
ival-div: 2.0ms (35.7% of total)ival-mult: 2.0ms (35.7% of total)ival-add: 1.0ms (17.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)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 4.0ms | 0.0015262645364985273 | 21006.745521658417 |
| 1.0ms | -109810447.09311108 | -0.09346835879701931 |
| 2.0ms | 48× | 0 | valid |
Compiled 442 to 371 computations (16.1% saved)
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)ival-mult: 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 |
|---|---|---|
| 0.0ms | 0.0015262645364985273 | 21006.745521658417 |
| 1.0ms | -109810447.09311108 | -0.09346835879701931 |
Compiled 370 to 317 computations (14.3% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 175 |
| 1 | 61 | 175 |
| 2 | 79 | 175 |
| 3 | 98 | 175 |
| 4 | 128 | 175 |
| 5 | 324 | 175 |
| 6 | 2642 | 175 |
| 7 | 6621 | 175 |
| 1× | node limit |
| Inputs |
|---|
(if (<=.f64 (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(literal 999999999999999928454223448636526995609414612446486912536395043045051171498417578302416590307106934377352009423588636134254484622941461177838218040629861358615028052178586193608330530158506646130887048916655460323666687950848 binary64)) (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y)))) |
(if (<=.f64 y #s(literal -600000000000000000 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 150000000 binary64)) (*.f64 y (/.f64 x (-.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 x (/.f64 x y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x)) #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 3422735716801577/4503599627370496 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) 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 999999999999999928454223448636526995609414612446486912536395043045051171498417578302416590307106934377352009423588636134254484622941461177838218040629861358615028052178586193608330530158506646130887048916655460323666687950848 binary64)) (/.f64 (*.f64 x y) (+.f64 y #s(literal 1 binary64))) #s(approx (/ (* x y) (+ y 1)) (-.f64 x (/.f64 x y)))) |
(if (<=.f64 y #s(literal -600000000000000000 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 150000000 binary64)) (*.f64 y (/.f64 x (-.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 x (/.f64 x y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x)) #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 (*.f64 (-.f64 #s(literal 1 binary64) y) y) x))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (/ (* x y) (+ y 1)) x) (if (<=.f64 y #s(literal 3422735716801577/4503599627370496 binary64)) #s(approx (/ (* x y) (+ y 1)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) 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) |
| 1× | fuel |
Compiled 191 to 44 computations (77% saved)
(negabs x)
Compiled 544 to 174 computations (68% saved)
Loading profile data...