
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 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 8 computations (11.1% saved)
| 699.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
ival-mult: 95.0ms (39.4% of total)ival-add: 90.0ms (37.3% of total)ival-sub: 40.0ms (16.6% of total)ival-true: 6.0ms (2.5% of total)exact: 5.0ms (2.1% of total)ival-assert: 3.0ms (1.2% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 34.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-sub: 3.0ms (27.9% of total)ival-add: 3.0ms (27.9% of total)ival-mult: 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 | 16 | 43 |
| 1 | 26 | 43 |
| 2 | 57 | 41 |
| 3 | 194 | 40 |
| 4 | 746 | 36 |
| 5 | 2315 | 36 |
| 6 | 7181 | 36 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 13 | 7 |
| 2 | 24 | 7 |
| 3 | 72 | 7 |
| 4 | 260 | 7 |
| 5 | 1077 | 7 |
| 0 | 8229 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(-.f64 (fma.f64 y x y) x) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 7 to 6 computations (14.3% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) | |
| cost-diff | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 13 | 18 |
| 2 | 24 | 18 |
| 3 | 72 | 18 |
| 4 | 260 | 18 |
| 5 | 1077 | 18 |
| 0 | 8229 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(-.f64 (fma.f64 y x y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(fma.f64 y x y) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal 1 binary64) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) | |
| accuracy | 0.0078125 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 198.0ms | 256× | 0 | valid |
Compiled 20 to 8 computations (60% saved)
ival-add: 188.0ms (98.3% of total)ival-mult: 2.0ms (1% of total)ival-sub: 1.0ms (0.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 #s(literal 1 binary64)) y) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | x | @ | -inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | y | @ | -inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | x | @ | inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | 0 | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 232 |
| 1 | 177 | 232 |
| 2 | 545 | 232 |
| 3 | 1804 | 232 |
| 4 | 5879 | 232 |
| 0 | 8036 | 204 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
| Outputs |
|---|
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) y) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) (*.f64 y x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) x) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 37 | 15 |
| 0 | 279 | 15 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 y (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) y) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(fma.f64 y #s(literal 1 binary64) (*.f64 y x)) |
(fma.f64 y x (*.f64 y #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 x y)) |
(fma.f64 x y (*.f64 #s(literal 1 binary64) y)) |
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 x y)) |
(+.f64 (*.f64 x y) (*.f64 #s(literal 1 binary64) y)) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 y #s(literal 1 binary64))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 y (-.f64 x #s(literal -1 binary64)) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)) |
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)) (/.f64 (*.f64 x x) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))) |
(-.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
Compiled 577 to 140 computations (75.7% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 6 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 6 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| 67.0% | (-.f64 (*.f64 #s(approx (+ x 1) x) y) x) | |
| ▶ | 72.0% | (-.f64 #s(approx (* (+ x 1) y) y) x) |
| ▶ | 100.0% | #s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
| ▶ | 62.2% | #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
| ▶ | 39.5% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ▶ | 34.7% | #s(approx (- (* (+ x 1) y) x) y) |
Compiled 126 to 94 computations (25.4% saved)
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y x y) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) | |
| cost-diff | 0 | #s(approx (* (+ x 1) y) y) | |
| cost-diff | 0 | (-.f64 #s(approx (* (+ x 1) y) y) x) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) y) | |
| cost-diff | 0 | (-.f64 y #s(literal 1 binary64)) | |
| cost-diff | 0 | (fma.f64 (-.f64 y #s(literal 1 binary64)) x y) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 85 |
| 0 | 23 | 85 |
| 1 | 31 | 79 |
| 2 | 51 | 79 |
| 3 | 102 | 79 |
| 4 | 349 | 79 |
| 5 | 1316 | 79 |
| 0 | 8244 | 79 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(-.f64 y #s(literal 1 binary64)) |
y |
#s(literal 1 binary64) |
x |
#s(approx (- (* (+ x 1) y) x) y) |
y |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (* (+ x 1) y) y) |
y |
x |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(fma.f64 y x y) |
y |
x |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(-.f64 y #s(literal 1 binary64)) |
y |
#s(literal 1 binary64) |
x |
#s(approx (- (* (+ x 1) y) x) y) |
y |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (* (+ x 1) y) y) |
y |
x |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(fma.f64 y x y) |
y |
x |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 y x y) | |
| accuracy | 24.18825415724238 | #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) | |
| accuracy | 0.00390625 | (-.f64 #s(approx (* (+ x 1) y) y) x) | |
| accuracy | 34.93545994947301 | #s(approx (* (+ x 1) y) y) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 38.699799584675624 | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) | |
| accuracy | 41.77586086491326 | #s(approx (- (* (+ x 1) y) x) y) | |
| accuracy | 0.0 | (-.f64 y #s(literal 1 binary64)) | |
| accuracy | 0.0 | #s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) | |
| accuracy | 0.00390625 | (fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
| 26.0ms | 256× | 0 | valid |
Compiled 68 to 14 computations (79.4% saved)
ival-mult: 8.0ms (49.1% of total)ival-add: 4.0ms (24.6% of total)ival-sub: 2.0ms (12.3% of total)ival-neg: 1.0ms (6.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(-.f64 y #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (* (+ x 1) y) y) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(fma.f64 y x y) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (+ (* y x) y) #s(hole binary64 y)) |
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x y))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x))))) |
#s(approx (- y 1) #s(hole binary64 -1)) |
#s(approx (- y 1) #s(hole binary64 (- y 1))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- y 1) #s(hole binary64 y)) |
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1))))) |
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (+ (* (- y 1) x) y) (- y 1) (- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (* (+ x 1) y) (- (* (+ x 1) y) x) (+ (* y x) y)) |
| 1.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (+ (* (- y 1) x) y) (- y 1) (- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (* (+ x 1) y) (- (* (+ x 1) y) x) (+ (* y x) y)) |
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (+ (* (- y 1) x) y) (- y 1) (- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (* (+ x 1) y) (- (* (+ x 1) y) x) (+ (* y x) y)) |
| 1.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (+ (* (- y 1) x) y) (- y 1) (- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (* (+ x 1) y) (- (* (+ x 1) y) x) (+ (* y x) y)) |
| 1.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (+ (* (- y 1) x) y) (- y 1) (- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (* (+ x 1) y) (- (* (+ x 1) y) x) (+ (* y x) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 105 | 463 |
| 1 | 247 | 463 |
| 2 | 746 | 463 |
| 3 | 2113 | 463 |
| 4 | 4616 | 463 |
| 0 | 8084 | 404 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (+ (* y x) y) #s(hole binary64 y)) |
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x y))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x))))) |
#s(approx (- y 1) #s(hole binary64 -1)) |
#s(approx (- y 1) #s(hole binary64 (- y 1))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- y 1) #s(hole binary64 y)) |
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1))))) |
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1))))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) y) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ (* y x) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) y) |
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) (*.f64 y x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) (*.f64 y x)) |
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (+ (* -1 x) (* y (+ 1 x))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) 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 (- y 1))) |
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) 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 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
#s(approx (+ (* (- y 1) x) y) #s(hole binary64 (* -1 (* y (- (+ (* -1 x) (/ x y)) 1))))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1))))) |
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64))) |
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 76 |
| 0 | 23 | 76 |
| 1 | 95 | 70 |
| 0 | 723 | 70 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(-.f64 y #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (* (+ x 1) y) y) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(fma.f64 y x y) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(fma.f64 x (-.f64 y #s(literal 1 binary64)) y) |
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y))) |
(-.f64 y (*.f64 (neg.f64 (-.f64 y #s(literal 1 binary64))) x)) |
(-.f64 y (*.f64 (neg.f64 x) (-.f64 y #s(literal 1 binary64)))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) y) |
(+.f64 y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) |
(/.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 y #s(literal -1 binary64))))) |
(/.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)) (fma.f64 y y (-.f64 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 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))) |
(-.f64 y #s(literal 1 binary64)) |
(+.f64 y #s(literal -1 binary64)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x))) (neg.f64 (+.f64 #s(approx (* (+ x 1) y) y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x))))) |
(/.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x)) (+.f64 #s(approx (* (+ x 1) y) y) x)) |
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))) |
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 2 binary64)) (+.f64 #s(approx (* (+ x 1) y) y) x)) (/.f64 (*.f64 x x) (+.f64 #s(approx (* (+ x 1) y) y) x))) |
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x))))) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (* (+ x 1) y) y) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(*.f64 y (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) y) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 y (*.f64 y x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 y x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 y x) y)) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 y x) y)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(fma.f64 y x y) |
(fma.f64 x y y) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 y x) y))) |
(-.f64 y (*.f64 (neg.f64 y) x)) |
(-.f64 y (*.f64 (neg.f64 x) y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 y x) y) |
(+.f64 y (*.f64 y x)) |
Compiled 1 378 to 216 computations (84.3% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 0 | 62 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 0 | 0 |
| Total | 62 | 6 | 68 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 67.0% | (-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
| ✓ | 72.0% | (-.f64 #s(approx (* (+ x 1) y) y) x) |
| ✓ | 100.0% | #s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
| ✓ | 62.2% | #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
| ✓ | 39.5% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ✓ | 34.7% | #s(approx (- (* (+ x 1) y) x) y) |
Compiled 63 to 47 computations (25.4% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ x 1) x) | |
| cost-diff | 0 | (*.f64 #s(approx (+ x 1) x) y) | |
| cost-diff | 0 | (-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 0 | 9 | 23 |
| 1 | 13 | 23 |
| 2 | 16 | 23 |
| 3 | 27 | 23 |
| 4 | 61 | 23 |
| 5 | 257 | 23 |
| 6 | 2274 | 23 |
| 7 | 5622 | 23 |
| 0 | 8766 | 23 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
(*.f64 #s(approx (+ x 1) x) y) |
#s(approx (+ x 1) x) |
x |
y |
| Outputs |
|---|
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
(-.f64 (*.f64 y #s(approx (+ x 1) x)) x) |
(*.f64 #s(approx (+ x 1) x) y) |
(*.f64 y #s(approx (+ x 1) x)) |
#s(approx (+ x 1) x) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.00390625 | (-.f64 (*.f64 #s(approx (+ x 1) x) y) x) | |
| accuracy | 0.0078125 | (*.f64 #s(approx (+ x 1) x) y) | |
| accuracy | 28.06638809557922 | #s(approx (+ x 1) x) |
| 11.0ms | 256× | 0 | valid |
Compiled 19 to 8 computations (57.9% saved)
ival-add: 2.0ms (40.5% of total)ival-mult: 2.0ms (40.5% of total)ival-sub: 1.0ms (20.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 |
|---|
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
(*.f64 #s(approx (+ x 1) x) y) |
#s(approx (+ x 1) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 232 |
| 1 | 177 | 232 |
| 2 | 545 | 232 |
| 3 | 1824 | 232 |
| 4 | 5910 | 232 |
| 0 | 8052 | 204 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1))))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 y)) |
#s(approx (* (+ x 1) y) y) |
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1)))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1)))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y))) |
#s(approx (* (+ x 1) y) (*.f64 y x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) x) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y)))))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (* (+ x 1) y) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x)))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y))))))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))))) |
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 21 |
| 0 | 9 | 21 |
| 1 | 37 | 21 |
| 0 | 264 | 21 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
(*.f64 #s(approx (+ x 1) x) y) |
#s(approx (+ x 1) x) |
| Outputs |
|---|
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 y #s(approx (+ x 1) x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 y #s(approx (+ x 1) x) x)) |
(/.f64 (-.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)) (fma.f64 y #s(approx (+ x 1) x) x)) (/.f64 (*.f64 x x) (fma.f64 y #s(approx (+ x 1) x) x))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 3 binary64)) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 y #s(approx (+ x 1) x) x) (pow.f64 (*.f64 y #s(approx (+ x 1) x)) #s(literal 2 binary64))))) |
(-.f64 (*.f64 y #s(approx (+ x 1) x)) x) |
(*.f64 y #s(approx (+ x 1) x)) |
(*.f64 #s(approx (+ x 1) x) y) |
#s(approx (+ x 1) x) |
Compiled 344 to 60 computations (82.6% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 0 | 20 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 20 | 6 | 26 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 67.0% | (-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
| ✓ | 72.0% | (-.f64 #s(approx (* (+ x 1) y) y) x) |
| ✓ | 100.0% | #s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
| ✓ | 62.2% | #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
| ✓ | 39.5% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ✓ | 34.7% | #s(approx (- (* (+ x 1) y) x) y) |
Compiled 133 to 70 computations (47.4% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
3 calls:
| 3.0ms | y |
| 3.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
3 calls:
| 8.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 88.6% | 3 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 99.2% | 3 | x |
| 99.2% | 3 | y |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
| Outputs |
|---|
(-.f64 #s(approx (* (+ x 1) y) y) x) |
3 calls:
| 2.0ms | y |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 72.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 72.0% | 1 | x |
| 72.0% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) y) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
3 calls:
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 64.5% | 3 | x |
| 61.9% | 3 | y |
| 46.4% | 4 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) y) |
3 calls:
| 24.0ms | y |
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 34.7% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 34.7% | 1 | y |
| 34.7% | 1 | x |
Compiled 9 to 10 computations (-11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 2.0689565018752865e-7 | 253201654024.8168 |
| 36.0ms | -951840438056952.0 | -0.21739857285739272 |
| 23.0ms | 320× | 0 | valid |
Compiled 430 to 351 computations (18.4% saved)
ival-sub: 2.0ms (31.8% of total)ival-add: 2.0ms (31.8% of total)ival-mult: 2.0ms (31.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)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 32.0ms | 9.810103105150363e-70 | 9.362788600445722e-68 |
| 11.0ms | -4.1876069980208704e-29 | -2.312319214002237e-34 |
| 21.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 314 to 283 computations (9.9% saved)
exact: 11.0ms (70.2% of total)ival-add: 2.0ms (12.8% of total)ival-mult: 2.0ms (12.8% of total)ival-sub: 1.0ms (6.4% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 90 |
| 1 | 43 | 90 |
| 2 | 58 | 90 |
| 3 | 110 | 90 |
| 4 | 370 | 90 |
| 5 | 2134 | 90 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)))) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
(if (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)))) |
#s(approx (- (* (+ x 1) y) x) y) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y)) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 1 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)))) |
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (-.f64 #s(approx (* (+ x 1) y) y) x)) |
(-.f64 #s(approx (* (+ x 1) y) y) x) |
(if (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)))) |
(if (or (<=.f64 x #s(literal -7403847405912167/178405961588244985132285746181186892047843328 binary64)) (not (<=.f64 x #s(literal 5463756259384863/60708402882054033466233184588234965832575213720379360039119137804340758912662765568 binary64)))) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) y)) |
#s(approx (- (* (+ x 1) y) x) y) |
| 1× | done |
Compiled 90 to 30 computations (66.7% saved)
Compiled 194 to 72 computations (62.9% saved)
Loading profile data...