
Time bar (total: 4.0s)
| 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 11 to 9 computations (18.2% saved)
| 532.0ms | 6 293× | 0 | valid |
| 313.0ms | 1 960× | 1 | valid |
| 0.0ms | 3× | 2 | valid |
ival-sub: 232.0ms (41.3% of total)adjust: 150.0ms (26.7% of total)ival-mult: 119.0ms (21.2% of total)ival-add: 47.0ms (8.4% of total)ival-true: 5.0ms (0.9% of total)exact: 5.0ms (0.9% of total)ival-assert: 3.0ms (0.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 60 | 1 | (-2491.5868282153374 -5.3874661361304064e-278) | 0 | - | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) y) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) | cancellation | 61 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 60 | 0 |
| - | 1 | 195 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 60 | 0 | 0 |
| - | 1 | 0 | 195 |
| number | freq |
|---|---|
| 0 | 195 |
| 1 | 61 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 20.0ms | 392× | 0 | valid |
| 15.0ms | 120× | 1 | valid |
Compiled 63 to 25 computations (60.3% saved)
ival-sub: 6.0ms (31.9% of total)adjust: 4.0ms (21.2% of total)ival-mult: 4.0ms (21.2% of total)ival-add: 3.0ms (15.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 53 |
| 1 | 39 | 52 |
| 2 | 70 | 51 |
| 3 | 133 | 49 |
| 4 | 299 | 47 |
| 5 | 1523 | 35 |
| 0 | 7 | 9 |
| 0 | 11 | 9 |
| 1 | 18 | 9 |
| 2 | 29 | 9 |
| 3 | 52 | 9 |
| 4 | 138 | 9 |
| 5 | 772 | 7 |
| 6 | 7686 | 7 |
| 0 | 8111 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 77.7% | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 9 to 7 computations (22.2% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 25 |
| 0 | 11 | 25 |
| 1 | 18 | 25 |
| 2 | 29 | 25 |
| 3 | 52 | 25 |
| 4 | 138 | 25 |
| 5 | 772 | 23 |
| 6 | 7686 | 23 |
| 0 | 8111 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
x |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) y) |
y |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
x |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(*.f64 (-.f64 y #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 14.269505993882008 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 10.0ms | 196× | 0 | valid |
| 7.0ms | 60× | 1 | valid |
Compiled 27 to 9 computations (66.7% saved)
ival-sub: 3.0ms (32.1% of total)adjust: 2.0ms (21.4% of total)ival-mult: 2.0ms (21.4% of total)ival-add: 1.0ms (10.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 1.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | x | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 199 |
| 1 | 181 | 183 |
| 2 | 440 | 153 |
| 3 | 1780 | 137 |
| 0 | 8158 | 131 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
| Outputs |
|---|
(- 1 y) |
(-.f64 #s(literal 1 binary64) y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (* -1 (- 1 y)))) |
(*.f64 y x) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* x (- 1 y))) |
(*.f64 (-.f64 y #s(literal 1 binary64)) x) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(* -1 x) |
(neg.f64 x) |
(* x (- (/ 1 x) 1)) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) |
(+ 1 (* -1 (* y (- 1 x)))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(- 1 x) |
(-.f64 #s(literal 1 binary64) x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(+ 1 (* -1 y)) |
(-.f64 #s(literal 1 binary64) y) |
(* -1 (* y (- 1 x))) |
(-.f64 (*.f64 y x) y) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(* -1 y) |
(neg.f64 y) |
(* y (- (/ 1 y) 1)) |
(-.f64 #s(literal 1 binary64) y) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64))) |
(* -1 (* y (- 1 (/ 1 y)))) |
(-.f64 #s(literal 1 binary64) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 22 |
| 0 | 11 | 22 |
| 1 | 52 | 22 |
| 0 | 430 | 21 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64))) (fma.f64 x x (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (*.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y)))))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64))) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) x))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x))) |
(fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x) x) |
(fma.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y) x) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)) (-.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x))))) |
(-.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) x))) |
(-.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) y))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) (*.f64 x x)))) |
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) x) |
(+.f64 x (*.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x))) (-.f64 #s(literal 1 binary64) y))) |
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) x)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) x)) (+.f64 y #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) x)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) y)) (+.f64 #s(literal 1 binary64) x)) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) y)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x)) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (+.f64 y #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (+.f64 y #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 y #s(literal 1 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 (fma.f64 y y y) #s(literal 1 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 y #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (*.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal 1 binary64) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x x) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (fma.f64 x x x) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) x) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 y #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 y y 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))) (+.f64 (fma.f64 y y 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) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) y) |
Compiled 1 137 to 224 computations (80.3% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 57 | 4 | 61 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 58 | 4 | 62 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
| ▶ | 56.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
| ▶ | 64.9% | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
| ▶ | 35.3% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
Compiled 57 to 40 computations (29.8% saved)
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | (fma.f64 y x (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | (-.f64 (*.f64 y x) y) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 89 |
| 0 | 19 | 89 |
| 1 | 30 | 89 |
| 2 | 50 | 89 |
| 3 | 92 | 89 |
| 4 | 236 | 89 |
| 5 | 992 | 89 |
| 6 | 7727 | 89 |
| 0 | 8149 | 85 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
(-.f64 (*.f64 y x) y) |
(*.f64 y x) |
y |
x |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
y |
x |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y)) |
(-.f64 (*.f64 y x) y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) y) |
(*.f64 y x) |
y |
x |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
y |
x |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 y x (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 y x) y) | |
| accuracy | 27.89819541490231 | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 22.432481545144697 | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 41.40256638788156 | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
| 102.0ms | 197× | 0 | valid |
| 14.0ms | 59× | 1 | valid |
Compiled 71 to 12 computations (83.1% saved)
ival-sub: 5.0ms (29.8% of total)adjust: 4.0ms (23.8% of total)ival-mult: 4.0ms (23.8% of total)ival-add: 3.0ms (17.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
(*.f64 y x) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
(-.f64 (*.f64 y x) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(* x y) |
(* -1 y) |
(- (* x y) y) |
(- (+ 1 (* x y)) y) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* x (+ y (* -1 (/ y x)))) |
(* x (- (+ y (/ 1 x)) (/ y x))) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x))))) |
1 |
(+ 1 (* -1 (* y (- 1 x)))) |
(+ 1 (* -1 y)) |
(* y (- x 1)) |
(+ 1 (* y (- x 1))) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (/ 1 y) 1)) |
(* y (- (+ x (/ 1 y)) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- 1 (/ 1 y)))) |
(* -1 (* y (+ 1 (* -1 x)))) |
(* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 10.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* y x) (+ x (* (- 1 x) (- 1 y))) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (- 1 y))) |
| 2.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* y x) (+ x (* (- 1 x) (- 1 y))) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (- 1 y))) |
| 1.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* y x) (+ x (* (- 1 x) (- 1 y))) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (- 1 y))) |
| 1.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* y x) (+ x (* (- 1 x) (- 1 y))) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (- 1 y))) |
| 1.0ms | x | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (* y x) (+ x (* (- 1 x) (- 1 y))) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (- 1 y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 205 |
| 1 | 207 | 191 |
| 2 | 601 | 163 |
| 3 | 1935 | 135 |
| 0 | 9078 | 123 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(* x y) |
(* -1 y) |
(- (* x y) y) |
(- (+ 1 (* x y)) y) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* x (+ y (* -1 (/ y x)))) |
(* x (- (+ y (/ 1 x)) (/ y x))) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x))))) |
1 |
(+ 1 (* -1 (* y (- 1 x)))) |
(+ 1 (* -1 y)) |
(* y (- x 1)) |
(+ 1 (* y (- x 1))) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (/ 1 y) 1)) |
(* y (- (+ x (/ 1 y)) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- 1 (/ 1 y)))) |
(* -1 (* y (+ 1 (* -1 x)))) |
(* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y)))) |
| Outputs |
|---|
(- 1 y) |
(-.f64 #s(literal 1 binary64) y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* x y) |
(*.f64 y x) |
(* -1 y) |
(neg.f64 y) |
(- (* x y) y) |
(fma.f64 y x (neg.f64 y)) |
(- (+ 1 (* x y)) y) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(*.f64 y x) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* x (+ y (* -1 (/ y x)))) |
(fma.f64 y x (neg.f64 y)) |
(* x (- (+ y (/ 1 x)) (/ y x))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
(fma.f64 y x (neg.f64 y)) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (- 1 y) x))))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (* y (- 1 x)))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(+ 1 (* -1 y)) |
(-.f64 #s(literal 1 binary64) y) |
(* y (- x 1)) |
(fma.f64 y x (neg.f64 y)) |
(+ 1 (* y (- x 1))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (- 1 x))) |
(fma.f64 y x (neg.f64 y)) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* y (- (/ 1 y) 1)) |
(-.f64 #s(literal 1 binary64) y) |
(* y (- (+ x (/ 1 y)) 1)) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (- 1 (/ 1 y)))) |
(-.f64 #s(literal 1 binary64) y) |
(* -1 (* y (+ 1 (* -1 x)))) |
(fma.f64 y x (neg.f64 y)) |
(* -1 (* y (- (+ 1 (* -1 x)) (/ 1 y)))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 74 |
| 0 | 19 | 74 |
| 1 | 84 | 74 |
| 0 | 699 | 70 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
(*.f64 y x) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
(-.f64 (*.f64 y x) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
(*.f64 y x) |
(*.f64 x y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 y #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (+.f64 (fma.f64 y y 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))) (+.f64 (fma.f64 y y 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) (+.f64 (fma.f64 y y y) #s(literal 1 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (+.f64 (fma.f64 y y y) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (fma.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 (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y)) (fma.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 (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x y)) (/.f64 (*.f64 y y) (fma.f64 y x y))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 y x y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(-.f64 (*.f64 y x) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(/.f64 (-.f64 (*.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64))) (*.f64 y y)) (+.f64 (fma.f64 y x #s(literal 1 binary64)) y)) |
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 y x #s(literal 1 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y x #s(literal 1 binary64)) (fma.f64 y y (*.f64 (fma.f64 y x #s(literal 1 binary64)) y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))) |
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x))))) |
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(fma.f64 x y (-.f64 #s(literal 1 binary64) y)) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y))) (/.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y)))) |
(-.f64 (fma.f64 y x #s(literal 1 binary64)) y) |
(-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 (neg.f64 y) x)) |
(-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 (neg.f64 x) y)) |
(-.f64 #s(literal 1 binary64) (-.f64 y (*.f64 y x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 #s(literal 1 binary64) y) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(+.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 y x)) |
(+.f64 (*.f64 y x) (-.f64 #s(literal 1 binary64) y)) |
Compiled 1 303 to 174 computations (86.6% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 3 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 54 | 6 | 60 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
| ▶ | 56.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
| ✓ | 64.9% | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
| ✓ | 35.3% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
| ▶ | 22.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
| ▶ | 44.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
Compiled 86 to 61 computations (29.1% saved)
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | (fma.f64 y x (neg.f64 y)) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) | |
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | #s(approx (- (* y x) y) (neg.f64 y)) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 65 |
| 0 | 17 | 65 |
| 1 | 26 | 65 |
| 2 | 42 | 65 |
| 3 | 74 | 65 |
| 4 | 182 | 65 |
| 5 | 777 | 59 |
| 6 | 7792 | 59 |
| 0 | 8217 | 56 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (- (* y x) y) (neg.f64 y)) |
(neg.f64 y) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
(fma.f64 y x (neg.f64 y)) |
y |
x |
(neg.f64 y) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (- (* y x) y) (neg.f64 y)) |
(neg.f64 y) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) y)) |
(fma.f64 y x (neg.f64 y)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) y) |
y |
x |
(neg.f64 y) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 y x (neg.f64 y)) | |
| accuracy | 0.0 | (neg.f64 y) | |
| accuracy | 27.89819541490231 | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) | |
| accuracy | 0.0 | (neg.f64 y) | |
| accuracy | 27.89819541490231 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) | |
| accuracy | 30.48095682709338 | #s(approx (- (* y x) y) (neg.f64 y)) | |
| accuracy | 35.55780396954081 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
| 37.0ms | 59× | 1 | valid |
| 14.0ms | 197× | 0 | valid |
Compiled 48 to 13 computations (72.9% saved)
ival-sub: 5.0ms (30.9% of total)ival-mult: 4.0ms (24.7% of total)adjust: 3.0ms (18.6% of total)ival-add: 3.0ms (18.6% of total)ival-neg: 1.0ms (6.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (- (* y x) y) (neg.f64 y)) |
(neg.f64 y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
(fma.f64 y x (neg.f64 y)) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(* -1 y) |
(- (* x y) y) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* x y) |
(* x (+ y (* -1 (/ y x)))) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
1 |
(+ 1 (* -1 (* y (- 1 x)))) |
(* y (- x 1)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (+ 1 (* -1 x)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (neg y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (neg y))) |
| 1.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (neg y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (neg y))) |
| 0.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (neg y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (neg y))) |
| 0.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (neg y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (neg y))) |
| 0.0ms | y | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y))) (- (* y x) y) (neg y) (+ x (* (- 1 x) (- 1 y))) (+ (* y x) (neg y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 124 |
| 1 | 147 | 116 |
| 2 | 418 | 100 |
| 3 | 1378 | 84 |
| 0 | 8043 | 78 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(* -1 y) |
(- (* x y) y) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* x y) |
(* x (+ y (* -1 (/ y x)))) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
1 |
(+ 1 (* -1 (* y (- 1 x)))) |
(* y (- x 1)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (+ 1 (* -1 x)))) |
| Outputs |
|---|
(- 1 y) |
(-.f64 #s(literal 1 binary64) y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 y) |
(neg.f64 y) |
(- (* x y) y) |
(fma.f64 y x (neg.f64 y)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(*.f64 y x) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* x y) |
(*.f64 y x) |
(* x (+ y (* -1 (/ y x)))) |
(fma.f64 y x (neg.f64 y)) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* x (+ (* -1 y) (/ y x)))) |
(fma.f64 y x (neg.f64 y)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (* y (- 1 x)))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* y (- x 1)) |
(fma.f64 y x (neg.f64 y)) |
(* -1 (* y (- 1 x))) |
(fma.f64 y x (neg.f64 y)) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(fma.f64 y x (-.f64 #s(literal 1 binary64) y)) |
(* -1 (* y (+ 1 (* -1 x)))) |
(fma.f64 y x (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 59 |
| 0 | 17 | 59 |
| 1 | 80 | 59 |
| 0 | 647 | 56 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (- (* y x) y) (neg.f64 y)) |
(neg.f64 y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
(fma.f64 y x (neg.f64 y)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (- (* y x) y) (neg.f64 y)) |
(neg.f64 y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (neg.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) (neg.f64 y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (neg.f64 y) (-.f64 (neg.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) (neg.f64 y))) |
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (neg.f64 y) (*.f64 y x))))) |
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(fma.f64 y x (neg.f64 y)) |
(fma.f64 x y (neg.f64 y)) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (neg.f64 y))) (/.f64 (*.f64 y y) (-.f64 (*.f64 y x) (neg.f64 y)))) |
(-.f64 (neg.f64 y) (*.f64 (neg.f64 y) x)) |
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (fma.f64 (neg.f64 y) (-.f64 (neg.f64 y) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(+.f64 (neg.f64 y) (*.f64 y x)) |
(+.f64 (*.f64 y x) (neg.f64 y)) |
Compiled 544 to 78 computations (85.7% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 3 | 3 |
| Total | 25 | 6 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
| ✓ | 56.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
| ✓ | 64.9% | #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
| ✓ | 35.3% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
| ✓ | 22.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
| ✓ | 44.4% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
Compiled 196 to 88 computations (55.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
4 calls:
| 8.0ms | x |
| 3.0ms | y |
| 2.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 2.0ms | (-.f64 #s(literal 1 binary64) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) y) |
| 100.0% | 1 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 14 to 15 computations (-7.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))) |
4 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (-.f64 #s(literal 1 binary64) y) |
| 2.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 88.4% | 3 | (-.f64 #s(literal 1 binary64) y) |
| 89.3% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 87.0% | 3 | x |
| 88.7% | 3 | y |
Compiled 14 to 15 computations (-7.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) |
1 calls:
| 14.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.3% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) |
4 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 2.0ms | (-.f64 #s(literal 1 binary64) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 86.6% | 3 | x |
| 72.0% | 4 | (-.f64 #s(literal 1 binary64) y) |
| 72.0% | 4 | y |
| 78.1% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 14 to 15 computations (-7.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
4 calls:
| 2.0ms | y |
| 2.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) y) |
| 1.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 64.9% | 1 | y |
| 64.9% | 1 | (-.f64 #s(literal 1 binary64) y) |
| 64.9% | 1 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 64.9% | 1 | x |
Compiled 14 to 15 computations (-7.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) |
4 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) y) |
| 1.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 63.6% | 3 | (-.f64 #s(literal 1 binary64) y) |
| 63.5% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 63.6% | 3 | y |
| 48.4% | 3 | x |
Compiled 14 to 15 computations (-7.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 44.4% | 1 | x |
| 44.4% | 1 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 44.4% | 1 | (-.f64 #s(literal 1 binary64) y) |
| 44.4% | 1 | y |
Compiled 14 to 15 computations (-7.1% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 408837102261.7246 | 8.014782901406345e+22 |
| 0.0ms | -2.5992208368252445e+77 | -2.0022587304046196e+69 |
Compiled 12 to 12 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 408837102261.7246 | 8.014782901406345e+22 |
| 0.0ms | -2.5992208368252445e+77 | -2.0022587304046196e+69 |
Compiled 12 to 12 computations (0% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 1.499272152584106e+19 | 1.1694276039100395e+20 |
| 20.0ms | -8.021742805694996e+50 | -6.654566073380855e+40 |
| 16.0ms | 142× | 1 | valid |
| 6.0ms | 114× | 0 | valid |
Compiled 428 to 348 computations (18.7% saved)
ival-sub: 6.0ms (38.5% of total)adjust: 4.0ms (25.7% of total)ival-mult: 3.0ms (19.3% of total)ival-add: 2.0ms (12.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 1.6675314844397637e-11 | 8.039244115078624 |
| 18.0ms | -408837102260.7246 | -0.21310509201109282 |
| 15.0ms | 283× | 0 | valid |
| 2.0ms | 25× | 1 | valid |
| 2.0ms | 12× | 2 | valid |
Compiled 592 to 472 computations (20.3% saved)
ival-sub: 6.0ms (51% of total)ival-add: 2.0ms (17% of total)ival-mult: 2.0ms (17% of total)adjust: 1.0ms (8.5% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 233 |
| 1 | 69 | 233 |
| 2 | 84 | 233 |
| 3 | 108 | 233 |
| 4 | 183 | 233 |
| 5 | 654 | 233 |
| 6 | 5877 | 233 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))))) |
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)))) |
(if (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 46000000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (-.f64 #s(literal 1 binary64) y))) |
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (fma.f64 y x (neg.f64 y))))) |
(if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) (if (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)))) |
(if (or (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal -199999999999999996556522545109171713495495289428031795107950240435622308216832 binary64)) (not (<=.f64 (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) #s(literal 500000000000 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 (*.f64 y x) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))) |
(if (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) (if (<=.f64 x #s(literal 46000000000000000000 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)))) |
(if (or (<=.f64 x #s(literal -214999999999999991236070141416290519768629248 binary64)) (not (<=.f64 x #s(literal 46000000000000000000 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 y x)) #s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (-.f64 #s(literal 1 binary64) y)) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))))) |
(if (or (<=.f64 y #s(literal -1 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (- (* y x) y) (neg.f64 y))) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(literal 1 binary64)) |
| 1× | done |
Compiled 233 to 49 computations (79% saved)
Compiled 498 to 124 computations (75.1% saved)
Loading profile data...