
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 9 computations (0% saved)
| 910.0ms | 8 254× | 0 | valid |
| 0.0ms | 1× | 2 | valid |
| 0.0ms | 1× | 1 | valid |
ival-add: 360.0ms (79.3% of total)ival-mult: 78.0ms (17.2% of total)ival-true: 6.0ms (1.3% of total)exact: 5.0ms (1.1% of total)ival-assert: 3.0ms (0.7% of total)adjust: 2.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 z #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | z |
| 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 |
| 54.0ms | 512× | 0 | valid |
Compiled 45 to 25 computations (44.4% saved)
ival-add: 36.0ms (90% of total)ival-mult: 3.0ms (7.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 70 |
| 1 | 94 | 70 |
| 2 | 343 | 64 |
| 3 | 1841 | 63 |
| 4 | 5481 | 63 |
| 0 | 7 | 7 |
| 0 | 10 | 7 |
| 1 | 21 | 7 |
| 2 | 62 | 7 |
| 3 | 327 | 7 |
| 4 | 1201 | 7 |
| 5 | 5031 | 7 |
| 0 | 8028 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(sort x y)
Compiled 7 to 7 computations (0% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
Compiled 7 to 7 computations (0% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 z #s(literal 1 binary64)) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 0 | 10 | 17 |
| 1 | 21 | 17 |
| 2 | 62 | 17 |
| 3 | 327 | 17 |
| 4 | 1201 | 17 |
| 5 | 5031 | 17 |
| 0 | 8028 | 17 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(+.f64 x y) |
x |
y |
(+.f64 z #s(literal 1 binary64)) |
z |
#s(literal 1 binary64) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
(+.f64 z #s(literal 1 binary64)) |
(-.f64 z #s(literal -1 binary64)) |
z |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 z #s(literal 1 binary64)) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.00390625 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 14.0ms | 256× | 0 | valid |
Compiled 19 to 9 computations (52.6% saved)
ival-add: 3.0ms (63.9% of total)ival-mult: 2.0ms (42.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(+.f64 x y) |
(+.f64 z #s(literal 1 binary64)) |
| Outputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+ x (+ y (* z (+ x y)))) |
1 |
(+ 1 z) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
z |
(* z (+ 1 (/ 1 z))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 0.0ms | x | @ | inf | ((* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 0.0ms | x | @ | -inf | ((* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 0.0ms | z | @ | -inf | ((* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 0.0ms | y | @ | inf | ((* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 136 |
| 1 | 231 | 136 |
| 2 | 1076 | 132 |
| 3 | 4159 | 128 |
| 0 | 8369 | 118 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+ x (+ y (* z (+ x y)))) |
1 |
(+ 1 z) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
z |
(* z (+ 1 (/ 1 z))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
| Outputs |
|---|
(* y (+ 1 z)) |
(fma.f64 z y y) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64))) |
y |
(+ x y) |
(+.f64 y x) |
(* x (+ 1 z)) |
(fma.f64 z x x) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(*.f64 (fma.f64 z x x) (-.f64 (/.f64 y x) #s(literal -1 binary64))) |
x |
(* x (+ 1 (/ y x))) |
(fma.f64 (/.f64 y x) x x) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(*.f64 (fma.f64 z x x) (-.f64 (/.f64 y x) #s(literal -1 binary64))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(fma.f64 (/.f64 y x) x x) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(*.f64 (fma.f64 z y y) (-.f64 (/.f64 x y) #s(literal -1 binary64))) |
(* y (+ 1 (/ x y))) |
(fma.f64 (/.f64 x y) y y) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(*.f64 (fma.f64 z y y) (-.f64 (/.f64 x y) #s(literal -1 binary64))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(fma.f64 (/.f64 x y) y y) |
(+ x (+ y (* z (+ x y)))) |
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 z) |
(-.f64 z #s(literal -1 binary64)) |
(* z (+ x y)) |
(*.f64 (+.f64 y x) z) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64))) |
z |
(* z (+ 1 (/ 1 z))) |
(-.f64 z #s(literal -1 binary64)) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 0 | 10 | 13 |
| 1 | 47 | 13 |
| 0 | 402 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(+.f64 x y) |
(+.f64 z #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(*.f64 (+.f64 y x) (-.f64 z #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (+.f64 y x)) (-.f64 z #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 y x)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 z #s(literal -1 binary64))) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (-.f64 z #s(literal -1 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 y x) (fma.f64 z z #s(literal -1 binary64))) (-.f64 z #s(literal 1 binary64))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) |
(/.f64 (-.f64 (*.f64 (*.f64 z (+.f64 y x)) (*.f64 z (+.f64 y x))) (*.f64 (+.f64 y x) (+.f64 y x))) (-.f64 (*.f64 z (+.f64 y x)) (+.f64 y x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 z (+.f64 y x)) #s(literal 3 binary64)) (pow.f64 (+.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 z (+.f64 y x)) (*.f64 z (+.f64 y x)) (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) (*.f64 (*.f64 z (+.f64 y x)) (+.f64 y x))))) |
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 (-.f64 z #s(literal 1 binary64)) (-.f64 x y))) |
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (-.f64 z #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z)) (-.f64 x y))) |
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (fma.f64 z z #s(literal -1 binary64))) (*.f64 (-.f64 x y) (-.f64 z #s(literal 1 binary64)))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (-.f64 x y) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 z z #s(literal -1 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (-.f64 z #s(literal 1 binary64)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))) |
(fma.f64 (-.f64 z #s(literal -1 binary64)) y (*.f64 (-.f64 z #s(literal -1 binary64)) x)) |
(fma.f64 (-.f64 z #s(literal -1 binary64)) x (*.f64 (-.f64 z #s(literal -1 binary64)) y)) |
(fma.f64 #s(literal 1 binary64) (+.f64 y x) (*.f64 z (+.f64 y x))) |
(fma.f64 z (+.f64 y x) (+.f64 y x)) |
(fma.f64 (+.f64 y x) #s(literal 1 binary64) (*.f64 z (+.f64 y x))) |
(fma.f64 (+.f64 y x) z (+.f64 y x)) |
(fma.f64 y (-.f64 z #s(literal -1 binary64)) (*.f64 x (-.f64 z #s(literal -1 binary64)))) |
(fma.f64 x (-.f64 z #s(literal -1 binary64)) (*.f64 y (-.f64 z #s(literal -1 binary64)))) |
(-.f64 (*.f64 z (+.f64 y x)) (*.f64 #s(literal -1 binary64) (+.f64 y x))) |
(-.f64 (*.f64 z (+.f64 y x)) (*.f64 (neg.f64 (+.f64 y x)) #s(literal 1 binary64))) |
(+.f64 (*.f64 y (-.f64 z #s(literal -1 binary64))) (*.f64 x (-.f64 z #s(literal -1 binary64)))) |
(+.f64 (*.f64 x (-.f64 z #s(literal -1 binary64))) (*.f64 y (-.f64 z #s(literal -1 binary64)))) |
(+.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) y) (*.f64 (-.f64 z #s(literal -1 binary64)) x)) |
(+.f64 (*.f64 (-.f64 z #s(literal -1 binary64)) x) (*.f64 (-.f64 z #s(literal -1 binary64)) y)) |
(+.f64 (*.f64 z (+.f64 y x)) (+.f64 y x)) |
(+.f64 (+.f64 y x) (*.f64 z (+.f64 y x))) |
(*.f64 #s(literal 1 binary64) (+.f64 y x)) |
(*.f64 (+.f64 y x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x)) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y))) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.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 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(+.f64 y x) |
(+.f64 x y) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 z z)) (-.f64 #s(literal 1 binary64) z)) |
(/.f64 (neg.f64 (fma.f64 z z #s(literal -1 binary64))) (neg.f64 (-.f64 z #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))) |
(/.f64 (fma.f64 z z #s(literal -1 binary64)) (-.f64 z #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 z z) z))) |
(/.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) |
(-.f64 (/.f64 (*.f64 z z) (-.f64 z #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 z #s(literal 1 binary64)))) |
(-.f64 z #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) (/.f64 #s(literal 1 binary64) (fma.f64 z z (-.f64 #s(literal 1 binary64) z)))) |
(+.f64 #s(literal 1 binary64) z) |
(+.f64 z #s(literal 1 binary64)) |
Compiled 1 219 to 231 computations (81.1% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 78 | 4 | 82 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 79 | 4 | 83 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 56.2% | (*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
| ▶ | 53.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
| ▶ | 49.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
| ▶ | 45.3% | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
Compiled 46 to 37 computations (19.6% saved)
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ z 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) | |
| cost-diff | 0 | (fma.f64 z y y) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) | |
| cost-diff | 0 | (fma.f64 z x x) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) | |
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | (*.f64 (+.f64 y x) z) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 80 |
| 0 | 25 | 80 |
| 1 | 45 | 80 |
| 2 | 94 | 80 |
| 3 | 402 | 80 |
| 4 | 1563 | 80 |
| 5 | 5422 | 80 |
| 0 | 8110 | 80 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 y x) z) |
(+.f64 y x) |
y |
x |
z |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
(fma.f64 z x x) |
z |
x |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
(fma.f64 z y y) |
z |
y |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
(+.f64 x y) |
x |
y |
#s(approx (+ z 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 y x) z) |
(+.f64 y x) |
y |
x |
z |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
(fma.f64 z x x) |
z |
x |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
(fma.f64 z y y) |
z |
y |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
(*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 y x)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
#s(approx (+ z 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.00390625 | (*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) | |
| accuracy | 28.166710973363173 | #s(approx (+ z 1) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (fma.f64 z y y) | |
| accuracy | 29.658150076838698 | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) | |
| accuracy | 0.0 | (fma.f64 z x x) | |
| accuracy | 32.222492211955334 | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) | |
| accuracy | 0.0 | (+.f64 y x) | |
| accuracy | 0.0078125 | (*.f64 (+.f64 y x) z) | |
| accuracy | 35.03506037357319 | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
| 59.0ms | 256× | 0 | valid |
Compiled 64 to 15 computations (76.6% saved)
ival-add: 8.0ms (57.2% of total)ival-mult: 6.0ms (42.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 y x) z) |
(+.f64 y x) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
(fma.f64 z x x) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
(fma.f64 z y y) |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
(+.f64 x y) |
#s(approx (+ z 1) #s(literal 1 binary64)) |
| Outputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(* y z) |
(+ (* x z) (* y z)) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(* x z) |
(* x (+ z (/ (* y z) x))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 z) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ z (/ (* x z) y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 z) 1))) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(+ x (* x z)) |
(+ y (* y z)) |
1 |
(+ 1 z) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* z (+ x (/ x z))) |
(* z (+ y (/ y z))) |
z |
(* z (+ 1 (/ 1 z))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ x z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ y z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 1.0ms | z | @ | -inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 1.0ms | z | @ | inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 1.0ms | x | @ | -inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
| 1.0ms | y | @ | -inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (+ y x) (* (+ x y) (+ z 1)) (+ (* z x) x) (* (+ x y) (+ z 1)) (+ (* z y) y) (* (+ x y) (+ z 1)) (+ x y) (+ z 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 98 | 223 |
| 1 | 390 | 223 |
| 2 | 1450 | 219 |
| 3 | 4994 | 215 |
| 0 | 8234 | 197 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(* y z) |
(+ (* x z) (* y z)) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(* x z) |
(* x (+ z (/ (* y z) x))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 z) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ z (/ (* x z) y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 z) 1))) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(+ x (* x z)) |
(+ y (* y z)) |
1 |
(+ 1 z) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* z (+ x (/ x z))) |
(* z (+ y (/ y z))) |
z |
(* z (+ 1 (/ 1 z))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ x z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ y z))))) |
| Outputs |
|---|
(* y (+ 1 z)) |
(fma.f64 z y y) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* y z) |
(*.f64 z y) |
(+ (* x z) (* y z)) |
(*.f64 z (+.f64 y x)) |
y |
(+ x y) |
(+.f64 y x) |
(* x (+ 1 z)) |
(fma.f64 z x x) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 y x))) x) |
(* x z) |
(*.f64 z x) |
(* x (+ z (/ (* y z) x))) |
(*.f64 (fma.f64 (/.f64 z x) y z) x) |
x |
(* x (+ 1 (/ y x))) |
(fma.f64 (/.f64 y x) x x) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 y x))) x) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(*.f64 (fma.f64 (/.f64 z x) y z) x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(fma.f64 (/.f64 y x) x x) |
(* -1 (* x (- (* -1 z) 1))) |
(fma.f64 z x x) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 x y))) y) |
(* y (+ z (/ (* x z) y))) |
(*.f64 (fma.f64 (/.f64 z y) x z) y) |
(* y (+ 1 (/ x y))) |
(fma.f64 (/.f64 x y) y y) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) z) (-.f64 #s(literal -1 binary64) (/.f64 x y))) y) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(*.f64 (fma.f64 (/.f64 z y) x z) y) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(fma.f64 (/.f64 x y) y y) |
(* -1 (* y (- (* -1 z) 1))) |
(fma.f64 z y y) |
(+ x (+ y (* z (+ x y)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* z (+ x y)) |
(*.f64 z (+.f64 y x)) |
(+ x (* x z)) |
(fma.f64 z x x) |
(+ y (* y z)) |
(fma.f64 z y y) |
1 |
#s(literal 1 binary64) |
(+ 1 z) |
(-.f64 z #s(literal -1 binary64)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* z (+ x (/ x z))) |
(fma.f64 z x x) |
(* z (+ y (/ y z))) |
(fma.f64 z y y) |
z |
(* z (+ 1 (/ 1 z))) |
(-.f64 z #s(literal -1 binary64)) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* z (+ (* -1 x) (* -1 (/ x z))))) |
(fma.f64 z x x) |
(* -1 (* z (+ (* -1 y) (* -1 (/ y z))))) |
(fma.f64 z y y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 70 |
| 0 | 25 | 70 |
| 1 | 99 | 70 |
| 0 | 791 | 70 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 y x) z) |
(+.f64 y x) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
(fma.f64 z x x) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
(fma.f64 z y y) |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
(+.f64 x y) |
#s(approx (+ z 1) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 y x) z) |
(*.f64 z (+.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) z) (-.f64 x y)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) z) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) z) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) z) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 z (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 z (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 z (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 z (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(fma.f64 z y (*.f64 z x)) |
(fma.f64 z x (*.f64 z y)) |
(fma.f64 y z (*.f64 z x)) |
(fma.f64 x z (*.f64 z y)) |
(+.f64 (*.f64 z y) (*.f64 z x)) |
(+.f64 (*.f64 z x) (*.f64 z y)) |
(*.f64 (+.f64 y x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (+.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.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 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(+.f64 y x) |
(+.f64 x y) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
(*.f64 (-.f64 z #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 z #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) x) (-.f64 z #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) x) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z x) #s(literal 2 binary64))) (-.f64 x (*.f64 z x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 z x) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 z x) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (*.f64 (*.f64 z x) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64)))) |
(fma.f64 z x x) |
(fma.f64 x z x) |
(-.f64 (/.f64 (pow.f64 (*.f64 z x) #s(literal 2 binary64)) (-.f64 (*.f64 z x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 z x) x))) |
(-.f64 x (*.f64 (neg.f64 z) x)) |
(-.f64 x (*.f64 (neg.f64 x) z)) |
(+.f64 (/.f64 (pow.f64 (*.f64 z x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 z x)) (pow.f64 (*.f64 z x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 z x) x) |
(+.f64 x (*.f64 z x)) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
(*.f64 (-.f64 z #s(literal -1 binary64)) y) |
(*.f64 y (-.f64 z #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 z z #s(literal -1 binary64)) y) (-.f64 z #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 z #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 z z (-.f64 #s(literal 1 binary64) z))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 z y) #s(literal 2 binary64))) (-.f64 y (*.f64 z y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 z y) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 z y) y)) |
(/.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 (*.f64 z y) y)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))) |
(fma.f64 z y y) |
(fma.f64 y z y) |
(-.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 z y) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 z y) y))) |
(-.f64 y (*.f64 (neg.f64 z) y)) |
(-.f64 y (*.f64 (neg.f64 y) z)) |
(+.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 z y)) (pow.f64 (*.f64 z y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 z y) y) |
(+.f64 y (*.f64 z y)) |
(*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 y x)) |
(*.f64 (+.f64 y x) #s(approx (+ z 1) #s(literal 1 binary64))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(approx (+ z 1) #s(literal 1 binary64))) (-.f64 x y)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(approx (+ z 1) #s(literal 1 binary64))) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(approx (+ z 1) #s(literal 1 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(approx (+ z 1) #s(literal 1 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(fma.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x)) |
(fma.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y)) |
(fma.f64 y #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64)))) |
(fma.f64 x #s(approx (+ z 1) #s(literal 1 binary64)) (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64)))) |
(+.f64 (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64))) (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64)))) |
(+.f64 (*.f64 x #s(approx (+ z 1) #s(literal 1 binary64))) (*.f64 y #s(approx (+ z 1) #s(literal 1 binary64)))) |
(+.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y) (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x)) |
(+.f64 (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) x) (*.f64 #s(approx (+ z 1) #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 y x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (+.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.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 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(+.f64 y x) |
(+.f64 x y) |
#s(approx (+ z 1) #s(literal 1 binary64)) |
Compiled 2 360 to 391 computations (83.4% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 118 | 2 | 120 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 118 | 6 | 124 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 56.2% | (*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
| ✓ | 53.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
| ✓ | 49.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
| ✓ | 45.3% | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
| ▶ | 24.4% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
| ▶ | 25.2% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
Compiled 80 to 61 computations (23.8% saved)
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z y) | |
| cost-diff | 0 | #s(approx (* (+ y x) z) (*.f64 z y)) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) | |
| cost-diff | 0 | (*.f64 z x) | |
| cost-diff | 0 | #s(approx (* (+ y x) z) (*.f64 z x)) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 62 |
| 0 | 17 | 62 |
| 1 | 32 | 62 |
| 2 | 64 | 62 |
| 3 | 305 | 62 |
| 4 | 1180 | 62 |
| 5 | 4990 | 62 |
| 0 | 8187 | 62 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ y x) z) (*.f64 z x)) |
(*.f64 z x) |
z |
x |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ y x) z) (*.f64 z y)) |
(*.f64 z y) |
z |
y |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ y x) z) (*.f64 z x)) |
(*.f64 z x) |
z |
x |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ y x) z) (*.f64 z y)) |
(*.f64 z y) |
z |
y |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 z y) | |
| accuracy | 27.549149128470756 | #s(approx (* (+ y x) z) (*.f64 z y)) | |
| accuracy | 35.03506037357319 | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) | |
| accuracy | 0.0 | (*.f64 z x) | |
| accuracy | 31.02074503663903 | #s(approx (* (+ y x) z) (*.f64 z x)) | |
| accuracy | 35.03506037357319 | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
| 19.0ms | 256× | 0 | valid |
Compiled 36 to 13 computations (63.9% saved)
ival-mult: 6.0ms (52.4% of total)ival-add: 5.0ms (43.7% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ y x) z) (*.f64 z x)) |
(*.f64 z x) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ y x) z) (*.f64 z y)) |
(*.f64 z y) |
| Outputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(* y z) |
(+ (* x z) (* y z)) |
(* x z) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(* x (+ z (/ (* y z) x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ z (/ (* x z) y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(+ x y) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (* z x) (* (+ x y) (+ z 1)) (* (+ y x) z) (* z y)) |
| 1.0ms | z | @ | inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (* z x) (* (+ x y) (+ z 1)) (* (+ y x) z) (* z y)) |
| 1.0ms | z | @ | 0 | ((* (+ x y) (+ z 1)) (* (+ y x) z) (* z x) (* (+ x y) (+ z 1)) (* (+ y x) z) (* z y)) |
| 1.0ms | y | @ | -inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (* z x) (* (+ x y) (+ z 1)) (* (+ y x) z) (* z y)) |
| 1.0ms | y | @ | inf | ((* (+ x y) (+ z 1)) (* (+ y x) z) (* z x) (* (+ x y) (+ z 1)) (* (+ y x) z) (* z y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 105 |
| 1 | 255 | 105 |
| 2 | 1149 | 105 |
| 3 | 4293 | 105 |
| 0 | 8464 | 103 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(* y z) |
(+ (* x z) (* y z)) |
(* x z) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(* x (+ z (/ (* y z) x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ z (/ (* x z) y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(+ x y) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
| Outputs |
|---|
(* y (+ 1 z)) |
(fma.f64 z y y) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* y z) |
(*.f64 z y) |
(+ (* x z) (* y z)) |
(*.f64 z (+.f64 y x)) |
(* x z) |
(*.f64 z x) |
(* x (+ 1 z)) |
(fma.f64 z x x) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* x (+ z (/ (* y z) x))) |
(*.f64 z (+.f64 y x)) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* x (+ (* -1 z) (* -1 (/ (* y z) x))))) |
(*.f64 z (+.f64 y x)) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* y (+ z (/ (* x z) y))) |
(*.f64 z (+.f64 y x)) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* y (+ (* -1 z) (* -1 (/ (* x z) y))))) |
(*.f64 z (+.f64 y x)) |
(+ x y) |
(+.f64 y x) |
(+ x (+ y (* z (+ x y)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* z (+ x y)) |
(*.f64 z (+.f64 y x)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 58 |
| 0 | 17 | 58 |
| 1 | 66 | 58 |
| 0 | 524 | 58 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ y x) z) (*.f64 z x)) |
(*.f64 z x) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ y x) z) (*.f64 z y)) |
(*.f64 z y) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ y x) z) (*.f64 z x)) |
(*.f64 z x) |
(*.f64 x z) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ y x) z) (*.f64 z y)) |
(*.f64 z y) |
(*.f64 y z) |
Compiled 226 to 38 computations (83.2% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 1 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 1 | 3 | 4 |
| Total | 14 | 6 | 20 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
| ✓ | 49.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
| ▶ | 56.2% | #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| ✓ | 45.3% | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
| ✓ | 24.4% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
| ✓ | 25.2% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
Compiled 82 to 61 computations (25.6% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 0 | 10 | 16 |
| 1 | 21 | 16 |
| 2 | 62 | 16 |
| 3 | 320 | 16 |
| 4 | 1195 | 16 |
| 5 | 5014 | 16 |
| 0 | 8011 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
(+.f64 y x) |
y |
x |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
(+.f64 y x) |
y |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y x) | |
| accuracy | 28.018083147583525 | #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| 12.0ms | 256× | 0 | valid |
Compiled 14 to 10 computations (28.6% saved)
ival-add: 4.0ms (71.8% of total)ival-mult: 2.0ms (35.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
(+.f64 y x) |
| Outputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((* (+ x y) (+ z 1)) (+ y x)) |
| 0.0ms | x | @ | inf | ((* (+ x y) (+ z 1)) (+ y x)) |
| 0.0ms | y | @ | -inf | ((* (+ x y) (+ z 1)) (+ y x)) |
| 0.0ms | x | @ | -inf | ((* (+ x y) (+ z 1)) (+ y x)) |
| 0.0ms | z | @ | -inf | ((* (+ x y) (+ z 1)) (+ y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 88 |
| 1 | 220 | 88 |
| 2 | 1060 | 88 |
| 3 | 4164 | 88 |
| 0 | 8716 | 86 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* y (+ 1 z)) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
y |
(+ x y) |
(* x (+ 1 z)) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+ x (+ y (* z (+ x y)))) |
(* z (+ x y)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
| Outputs |
|---|
(* y (+ 1 z)) |
(fma.f64 z y y) |
(+ (* x (+ 1 z)) (* y (+ 1 z))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
y |
(+ x y) |
(+.f64 y x) |
(* x (+ 1 z)) |
(fma.f64 z x x) |
(* x (+ 1 (+ z (/ (* y (+ 1 z)) x)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (* x (+ (* -1 (+ 1 z)) (* -1 (/ (* y (+ 1 z)) x))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* y (+ 1 (+ z (/ (* x (+ 1 z)) y)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 (* y (+ (* -1 (+ 1 z)) (* -1 (/ (* x (+ 1 z)) y))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(+ x (+ y (* z (+ x y)))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* z (+ x y)) |
(*.f64 z (+.f64 y x)) |
(* z (+ x (+ y (+ (/ x z) (/ y z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
(* -1 (* z (+ (* -1 (+ x y)) (* -1 (/ (+ x y) z))))) |
(*.f64 (-.f64 z #s(literal -1 binary64)) (+.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 0 | 10 | 14 |
| 1 | 55 | 14 |
| 0 | 527 | 14 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
(+.f64 y x) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
(*.f64 #s(literal 1 binary64) (+.f64 y x)) |
(*.f64 (+.f64 y x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 x #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y))) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.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 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(+.f64 y x) |
(+.f64 x y) |
Compiled 722 to 122 computations (83.1% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 38 | 6 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
| ✓ | 49.7% | #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
| ✓ | 56.2% | #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| ✓ | 45.3% | #s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
| ✓ | 24.4% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
| ✓ | 25.2% | #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
Compiled 180 to 90 computations (50% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
6 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (+.f64 x y) |
| 3.0ms | z |
| 3.0ms | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 z #s(literal 1 binary64)) |
| 100.0% | 1 | (+.f64 x y) |
| 100.0% | 1 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
Compiled 16 to 25 computations (-56.3% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
#s(approx (* (+ x y) (+ z 1)) (*.f64 (+.f64 y x) z)) |
(*.f64 (+.f64 x y) #s(approx (+ z 1) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y)) |
6 calls:
| 19.0ms | x |
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | (+.f64 x y) |
| 2.0ms | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 3 | (+.f64 z #s(literal 1 binary64)) |
| 98.1% | 2 | (+.f64 x y) |
| 84.7% | 4 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 83.8% | 2 | x |
| 82.1% | 2 | y |
| 97.6% | 3 | z |
Compiled 16 to 25 computations (-56.3% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) |
6 calls:
| 2.0ms | (+.f64 x y) |
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 73.5% | 3 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 68.6% | 2 | y |
| 71.7% | 3 | x |
| 80.2% | 3 | (+.f64 z #s(literal 1 binary64)) |
| 80.2% | 3 | z |
| 80.6% | 4 | (+.f64 x y) |
Compiled 16 to 25 computations (-56.3% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) |
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
2 calls:
| 2.0ms | z |
| 1.0ms | (+.f64 z #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.8% | 3 | (+.f64 z #s(literal 1 binary64)) |
| 79.8% | 3 | z |
Compiled 4 to 8 computations (-100% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
#s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) |
3 calls:
| 1.0ms | z |
| 1.0ms | (+.f64 x y) |
| 1.0ms | (+.f64 z #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 59.4% | 3 | (+.f64 x y) |
| 77.8% | 3 | (+.f64 z #s(literal 1 binary64)) |
| 77.8% | 3 | z |
Compiled 7 to 12 computations (-71.4% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| Outputs |
|---|
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
6 calls:
| 20.0ms | y |
| 1.0ms | (+.f64 x y) |
| 1.0ms | x |
| 1.0ms | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.2% | 1 | (+.f64 x y) |
| 56.2% | 1 | y |
| 56.2% | 1 | x |
| 56.2% | 1 | (*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
| 56.2% | 1 | (+.f64 z #s(literal 1 binary64)) |
| 56.2% | 1 | z |
Compiled 16 to 25 computations (-56.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -4.002093406442401e-295 | 1.3063878768671532e-226 |
Compiled 10 to 13 computations (-30% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 4.0ms | 1.9899693983196657e-6 | 2.7486539594950446e-6 |
| 11.0ms | -2001.377048229106 | -1.9169013057429442e-6 |
| 8.0ms | 192× | 0 | valid |
Compiled 331 to 280 computations (15.4% saved)
ival-add: 2.0ms (60% of total)ival-mult: 1.0ms (30% 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 |
|---|---|---|
| 9.0ms | 54912820105678.53 | 4389282411285681.0 |
| 1.0ms | -2001.377048229106 | -1.9169013057429442e-6 |
| 4.0ms | 112× | 0 | valid |
Compiled 458 to 381 computations (16.8% saved)
ival-add: 1.0ms (52.4% of total)ival-mult: 1.0ms (52.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 54912820105678.53 | 4389282411285681.0 |
| 1.0ms | -2001.377048229106 | -1.9169013057429442e-6 |
Compiled 458 to 381 computations (16.8% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 186 |
| 1 | 54 | 186 |
| 2 | 91 | 186 |
| 3 | 366 | 186 |
| 4 | 1685 | 186 |
| 5 | 7287 | 186 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 x y) #s(literal -4602094425247529/11505236063118821809467553221049758295155052665230762065499525194094891251552061640493342548634082305351687288311769174890162545204122663839542235560926343960177145179191391057683342054479750023644997308933440369205641643669917624414330439074612943178454432683813523087356623740062701843509462805095950344781824 binary64)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 2597301565578305/1180591620717411303424 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))))) |
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (+.f64 z #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 x y) #s(literal -4602094425247529/11505236063118821809467553221049758295155052665230762065499525194094891251552061640493342548634082305351687288311769174890162545204122663839542235560926343960177145179191391057683342054479750023644997308933440369205641643669917624414330439074612943178454432683813523087356623740062701843509462805095950344781824 binary64)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z y y))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 2597301565578305/1180591620717411303424 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) (fma.f64 z x x)))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z y))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))))) |
(if (<=.f64 z #s(literal -1 binary64)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) (if (<=.f64 z #s(literal 55000000000000 binary64)) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))))) |
(if (or (<=.f64 z #s(literal -1 binary64)) (not (<=.f64 z #s(literal 55000000000000 binary64)))) #s(approx (* (+ x y) (+ z 1)) #s(approx (* (+ y x) z) (*.f64 z x))) #s(approx (* (+ x y) (+ z 1)) (+.f64 y x))) |
#s(approx (* (+ x y) (+ z 1)) (+.f64 y x)) |
| 1× | done |
Compiled 186 to 41 computations (78% saved)
(sort x y)
Compiled 414 to 124 computations (70% saved)
Loading profile data...