
Time bar (total: 4.5s)
| 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 10 computations (9.1% saved)
| 808.0ms | 8 256× | 0 | valid |
ival-mult: 145.0ms (55% of total)ival-sub: 61.0ms (23.1% of total)ival-add: 42.0ms (15.9% of total)ival-true: 5.0ms (1.9% of total)exact: 5.0ms (1.9% of total)ival-assert: 3.0ms (1.1% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 4 | 0 | - | 0 | - | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 x #s(literal 1 binary64)) z) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | nan-rescue | 4 | 0 |
| ↳ | (*.f64 x y) | overflow | 31 | |
| ↳ | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | overflow | 32 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 4 | 0 |
| - | 0 | 252 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 4 | 0 | 0 |
| - | 0 | 0 | 252 |
| number | freq |
|---|---|
| 0 | 252 |
| 1 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 33.0ms | 512× | 0 | valid |
Compiled 61 to 28 computations (54.1% saved)
ival-mult: 7.0ms (54.3% of total)ival-sub: 3.0ms (23.3% of total)ival-add: 2.0ms (15.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 | 32 | 90 |
| 1 | 80 | 84 |
| 2 | 168 | 83 |
| 3 | 302 | 83 |
| 4 | 369 | 83 |
| 5 | 665 | 83 |
| 6 | 4180 | 82 |
| 7 | 7460 | 82 |
| 0 | 8 | 9 |
| 0 | 12 | 9 |
| 1 | 20 | 9 |
| 2 | 37 | 9 |
| 3 | 66 | 9 |
| 4 | 117 | 9 |
| 5 | 294 | 9 |
| 6 | 2018 | 9 |
| 7 | 5449 | 9 |
| 0 | 8616 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(fma.f64 z (-.f64 x #s(literal 1 binary64)) (*.f64 y x)) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
Compiled 9 to 8 computations (11.1% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 24 |
| 0 | 12 | 24 |
| 1 | 20 | 24 |
| 2 | 37 | 24 |
| 3 | 66 | 24 |
| 4 | 117 | 24 |
| 5 | 294 | 24 |
| 6 | 2018 | 24 |
| 7 | 5449 | 24 |
| 0 | 8616 | 23 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
x |
y |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
z |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(fma.f64 z (-.f64 x #s(literal 1 binary64)) (*.f64 y x)) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| accuracy | 0.9140583716604116 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 20.0ms | 256× | 0 | valid |
Compiled 26 to 10 computations (61.5% saved)
ival-mult: 5.0ms (62.1% of total)ival-sub: 1.0ms (12.4% of total)ival-add: 1.0ms (12.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)| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | z | @ | 0 | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | x | @ | 0 | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 113 |
| 1 | 192 | 105 |
| 2 | 608 | 105 |
| 3 | 1885 | 105 |
| 4 | 5714 | 105 |
| 0 | 8030 | 105 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
(neg.f64 z) |
(+ (* -1 z) (* x (+ y z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* x y) |
(*.f64 y x) |
(+ (* -1 z) (* x z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
-1 |
#s(literal -1 binary64) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(* x (+ y z)) |
(*.f64 (+.f64 z y) x) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* x z) |
(*.f64 z x) |
(* x (+ z (* -1 (/ z x)))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
x |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
(* z (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(+ (* x y) (* z (- x 1))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* y (+ x (/ (* z (- x 1)) y))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 0 | 12 | 20 |
| 1 | 46 | 20 |
| 0 | 348 | 19 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 y x))) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (neg.f64 (*.f64 z (-.f64 x #s(literal 1 binary64)))) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (+.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) (*.f64 (*.f64 y x) (neg.f64 (*.f64 z (-.f64 x #s(literal 1 binary64)))))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) (*.f64 z (-.f64 x #s(literal 1 binary64)))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.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 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (*.f64 z (-.f64 x #s(literal 1 binary64))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 y x) z) (-.f64 x #s(literal 1 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(fma.f64 z (-.f64 x #s(literal 1 binary64)) (*.f64 y x)) |
(fma.f64 (-.f64 x #s(literal 1 binary64)) z (*.f64 y x)) |
(fma.f64 y x (*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal 1 binary64)))) z)) |
(fma.f64 y x (*.f64 z (-.f64 x #s(literal 1 binary64)))) |
(fma.f64 x y (*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal 1 binary64)))) z)) |
(fma.f64 x y (*.f64 z (-.f64 x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (*.f64 z (-.f64 x #s(literal 1 binary64))))) (/.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) (-.f64 (*.f64 y x) (*.f64 z (-.f64 x #s(literal 1 binary64)))))) |
(-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 (neg.f64 y) x)) |
(-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 (neg.f64 x) y)) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 z) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 (*.f64 y x) (neg.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))))) |
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) #s(literal 3 binary64)) (fma.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (-.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 z (-.f64 x #s(literal 1 binary64))) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal 1 binary64)))) z)) |
(+.f64 (*.f64 y x) (*.f64 z (-.f64 x #s(literal 1 binary64)))) |
(*.f64 y x) |
(*.f64 x y) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) z) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) z) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 z (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 z (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 x #s(literal -1 binary64)) |
Compiled 780 to 146 computations (81.3% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 6 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 42 | 6 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| 98.8% | (fma.f64 (-.f64 x #s(literal 1 binary64)) z (*.f64 y x)) | |
| ▶ | 65.9% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
| ▶ | 100.0% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
| ▶ | 60.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ▶ | 67.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
| ▶ | 34.8% | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
Compiled 160 to 124 computations (22.5% saved)
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z x) | |
| cost-diff | 0 | #s(approx (* (- x 1) z) (*.f64 z x)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 1 | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) | |
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| cost-diff | 0 | (+.f64 z y) | |
| cost-diff | 0 | (*.f64 (+.f64 z y) x) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) | |
| cost-diff | 0 | (neg.f64 z) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) | |
| cost-diff | 0 | (neg.f64 z) | |
| cost-diff | 0 | (+.f64 z y) | |
| cost-diff | 0 | (fma.f64 (+.f64 z y) x (neg.f64 z)) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 130 |
| 0 | 31 | 130 |
| 1 | 44 | 130 |
| 2 | 69 | 130 |
| 3 | 131 | 130 |
| 4 | 253 | 130 |
| 5 | 468 | 130 |
| 6 | 2327 | 122 |
| 7 | 6021 | 122 |
| 0 | 8031 | 121 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(+.f64 z y) |
z |
y |
x |
(neg.f64 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
(neg.f64 z) |
z |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(*.f64 (+.f64 z y) x) |
(+.f64 z y) |
z |
y |
x |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
z |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
(*.f64 x y) |
x |
y |
#s(approx (* (- x 1) z) (*.f64 z x)) |
(*.f64 z x) |
z |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(+.f64 z y) |
z |
y |
x |
(neg.f64 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
(neg.f64 z) |
z |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(*.f64 (+.f64 z y) x) |
(+.f64 z y) |
z |
y |
x |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
z |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
(fma.f64 y x #s(approx (* (- x 1) z) (*.f64 z x))) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
#s(approx (* (- x 1) z) (*.f64 z x)) |
(*.f64 z x) |
z |
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 z x) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.9140583716604116 | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) | |
| accuracy | 29.82417718266038 | #s(approx (* (- x 1) z) (*.f64 z x)) | |
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| accuracy | 25.253117790094386 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| accuracy | 0.0 | (+.f64 z y) | |
| accuracy | 0.01171875 | (*.f64 (+.f64 z y) x) | |
| accuracy | 20.818362445598982 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) | |
| accuracy | 0.0 | (neg.f64 z) | |
| accuracy | 41.699561245840506 | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) | |
| accuracy | 0.0 | (+.f64 z y) | |
| accuracy | 0.0 | (neg.f64 z) | |
| accuracy | 0.0 | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) | |
| accuracy | 0.01171875 | (fma.f64 (+.f64 z y) x (neg.f64 z)) |
| 26.0ms | 256× | 0 | valid |
Compiled 102 to 15 computations (85.3% saved)
ival-mult: 6.0ms (48.2% of total)ival-add: 3.0ms (24.1% of total)ival-sub: 1.0ms (8% of total)ival-neg: 1.0ms (8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(+.f64 z y) |
(neg.f64 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(*.f64 (+.f64 z y) x) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
(*.f64 x y) |
#s(approx (* (- x 1) z) (*.f64 z x)) |
(*.f64 z x) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(- (* x (+ y z)) z) |
(* x (+ y z)) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x y) |
(* x z) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 (+ y z)) (/ z x)))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(- (* x z) z) |
(- (+ (* x y) (* x z)) z) |
z |
(+ y z) |
(+ (* x y) (* x z)) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* y (- (+ x (/ (* x z) y)) (/ z y))) |
y |
(* y (+ 1 (/ z y))) |
(* y (+ x (/ (* x z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (- (* x z) z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* z (+ 1 (/ y z))) |
(* z (+ x (/ (* x y) z))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ 1 (* -1 x)))) |
(* -1 (* z (+ 1 (+ (* -1 x) (* -1 (/ (* x y) z)))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (+ (* (+ z y) x) (neg z)) (+ z y) (neg z) (+ (* x y) (* (- x 1) z)) (+ (* x y) (* (- x 1) z)) (* (+ z y) x) (+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (* z x)) |
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (+ (* (+ z y) x) (neg z)) (+ z y) (neg z) (+ (* x y) (* (- x 1) z)) (+ (* x y) (* (- x 1) z)) (* (+ z y) x) (+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (* z x)) |
| 1.0ms | z | @ | -inf | ((+ (* x y) (* (- x 1) z)) (+ (* (+ z y) x) (neg z)) (+ z y) (neg z) (+ (* x y) (* (- x 1) z)) (+ (* x y) (* (- x 1) z)) (* (+ z y) x) (+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (* z x)) |
| 1.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (+ (* (+ z y) x) (neg z)) (+ z y) (neg z) (+ (* x y) (* (- x 1) z)) (+ (* x y) (* (- x 1) z)) (* (+ z y) x) (+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (* z x)) |
| 1.0ms | x | @ | 0 | ((+ (* x y) (* (- x 1) z)) (+ (* (+ z y) x) (neg z)) (+ z y) (neg z) (+ (* x y) (* (- x 1) z)) (+ (* x y) (* (- x 1) z)) (* (+ z y) x) (+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (* z x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 100 | 221 |
| 1 | 359 | 207 |
| 2 | 1152 | 207 |
| 3 | 3542 | 207 |
| 4 | 5933 | 207 |
| 0 | 8312 | 205 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(- (* x (+ y z)) z) |
(* x (+ y z)) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x y) |
(* x z) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 (+ y z)) (/ z x)))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(- (* x z) z) |
(- (+ (* x y) (* x z)) z) |
z |
(+ y z) |
(+ (* x y) (* x z)) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* y (- (+ x (/ (* x z) y)) (/ z y))) |
y |
(* y (+ 1 (/ z y))) |
(* y (+ x (/ (* x z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (- (* x z) z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* z (+ 1 (/ y z))) |
(* z (+ x (/ (* x y) z))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ 1 (* -1 x)))) |
(* -1 (* z (+ 1 (+ (* -1 x) (* -1 (/ (* x y) z)))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
(neg.f64 z) |
(+ (* -1 z) (* x (+ y z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(- (* x (+ y z)) z) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* x (+ y z)) |
(*.f64 (+.f64 z y) x) |
(+ (* -1 z) (* x z)) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
-1 |
#s(literal -1 binary64) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(* x y) |
(*.f64 y x) |
(* x z) |
(*.f64 z x) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* x (+ z (* -1 (/ z x)))) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
x |
(* x (- 1 (/ 1 x))) |
(fma.f64 (/.f64 #s(literal -1 binary64) x) x x) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* x (+ (* -1 (+ y z)) (/ z x)))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(* -1 (* x (- (/ 1 x) 1))) |
(fma.f64 (/.f64 #s(literal -1 binary64) x) x x) |
(* z (- x 1)) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(+ (* x y) (* z (- x 1))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(- (* x z) z) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(- (+ (* x y) (* x z)) z) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
z |
(+ y z) |
(+.f64 z y) |
(+ (* x y) (* x z)) |
(*.f64 (+.f64 z y) x) |
(* y (+ x (/ (* z (- x 1)) y))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* y (- (+ x (/ (* x z) y)) (/ z y))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
y |
(* y (+ 1 (/ z y))) |
(+.f64 z y) |
(* y (+ x (/ (* x z) y))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (- (* x z) z) y))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+.f64 z y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(*.f64 (+.f64 z y) x) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* z (+ 1 (/ y z))) |
(+.f64 z y) |
(* z (+ x (/ (* x y) z))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* z (+ 1 (* -1 x)))) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(* -1 (* z (+ 1 (+ (* -1 x) (* -1 (/ (* x y) z)))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
(+.f64 z y) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(*.f64 (+.f64 z y) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 112 |
| 0 | 31 | 112 |
| 1 | 104 | 112 |
| 0 | 741 | 107 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(+.f64 z y) |
(neg.f64 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(*.f64 (+.f64 z y) x) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
(*.f64 x y) |
#s(approx (* (- x 1) z) (*.f64 z x)) |
(*.f64 z x) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(/.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64))) (-.f64 (neg.f64 z) (*.f64 (+.f64 z y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 (+.f64 z y) x) (neg.f64 z)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (neg.f64 z) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (neg.f64 z) (-.f64 (neg.f64 z) (*.f64 (+.f64 z y) x)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)) (*.f64 z z)) (-.f64 (*.f64 (+.f64 z y) x) (neg.f64 z))) |
(/.f64 (+.f64 (pow.f64 (neg.f64 z) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 3 binary64))) (fma.f64 z z (-.f64 (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (+.f64 z y) x) (neg.f64 z))))) |
(/.f64 (+.f64 (pow.f64 (neg.f64 z) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 3 binary64))) (fma.f64 (neg.f64 z) (-.f64 (neg.f64 z) (*.f64 (+.f64 z y) x)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(fma.f64 x (+.f64 z y) (neg.f64 z)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (+.f64 z y) x) (neg.f64 z))) (/.f64 (*.f64 z z) (-.f64 (*.f64 (+.f64 z y) x) (neg.f64 z)))) |
(-.f64 (neg.f64 z) (*.f64 (neg.f64 (+.f64 z y)) x)) |
(-.f64 (neg.f64 z) (*.f64 (neg.f64 x) (+.f64 z y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 3 binary64)) (fma.f64 (neg.f64 z) (-.f64 (neg.f64 z) (*.f64 (+.f64 z y) x)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (neg.f64 z) #s(literal 3 binary64)) (fma.f64 (neg.f64 z) (-.f64 (neg.f64 z) (*.f64 (+.f64 z y) x)) (pow.f64 (*.f64 (+.f64 z y) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (+.f64 z y) x) (neg.f64 z)) |
(+.f64 (neg.f64 z) (*.f64 (+.f64 z y) x)) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 z z)) (-.f64 y z)) |
(/.f64 (neg.f64 (*.f64 (+.f64 z y) (-.f64 z y))) (neg.f64 (-.f64 z y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y z) (*.f64 z z)))) |
(/.f64 (*.f64 (+.f64 z y) (-.f64 z y)) (-.f64 z y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 z z) (*.f64 z y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) (fma.f64 y (-.f64 y z) (*.f64 z z))) |
(-.f64 (/.f64 (*.f64 z z) (-.f64 z y)) (/.f64 (*.f64 y y) (-.f64 z y))) |
(+.f64 (/.f64 (pow.f64 z #s(literal 3 binary64)) (fma.f64 y (-.f64 y z) (*.f64 z z))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y z) (*.f64 z z)))) |
(+.f64 z y) |
(+.f64 y z) |
(neg.f64 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(*.f64 (+.f64 z y) x) |
(*.f64 x (+.f64 z y)) |
(/.f64 (*.f64 (*.f64 (+.f64 z y) (-.f64 z y)) x) (-.f64 z y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64))) x) (fma.f64 y (-.f64 y z) (*.f64 z z))) |
(/.f64 (*.f64 x (*.f64 (+.f64 z y) (-.f64 z y))) (-.f64 z y)) |
(/.f64 (*.f64 x (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 z #s(literal 3 binary64)))) (fma.f64 y (-.f64 y z) (*.f64 z z))) |
(fma.f64 z x (*.f64 y x)) |
(fma.f64 y x (*.f64 z x)) |
(fma.f64 x z (*.f64 y x)) |
(fma.f64 x y (*.f64 z x)) |
(+.f64 (*.f64 z x) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 z x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) z) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) z) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 z (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 z (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 x #s(literal -1 binary64)) |
(/.f64 (-.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y x) #s(approx (* (- x 1) z) (*.f64 z x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.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 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 2 binary64))) (-.f64 (*.f64 y x) #s(approx (* (- x 1) z) (*.f64 z x)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) |
(fma.f64 y x #s(approx (* (- x 1) z) (*.f64 z x))) |
(fma.f64 x y #s(approx (* (- x 1) z) (*.f64 z x))) |
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (* (- x 1) z) (*.f64 z x)))) (/.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 2 binary64)) (-.f64 (*.f64 y x) #s(approx (* (- x 1) z) (*.f64 z x))))) |
(-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 (neg.f64 y) x)) |
(-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 (neg.f64 x) y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (* (- x 1) z) (*.f64 z x)) #s(literal 3 binary64)) (fma.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (-.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(+.f64 #s(approx (* (- x 1) z) (*.f64 z x)) (*.f64 y x)) |
(+.f64 (*.f64 y x) #s(approx (* (- x 1) z) (*.f64 z x))) |
(*.f64 y x) |
(*.f64 x y) |
#s(approx (* (- x 1) z) (*.f64 z x)) |
(*.f64 z x) |
(*.f64 x z) |
Compiled 2 305 to 293 computations (87.3% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 96 | 1 | 97 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 98 | 5 | 103 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
| ▶ | 66.3% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
| ✓ | 60.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 67.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
| ✓ | 34.8% | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
Compiled 75 to 56 computations (25.3% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) | |
| cost-diff | 1 | (fma.f64 z x (*.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 28 |
| 0 | 14 | 26 |
| 1 | 31 | 26 |
| 2 | 61 | 26 |
| 3 | 107 | 26 |
| 4 | 175 | 26 |
| 5 | 374 | 26 |
| 6 | 2210 | 26 |
| 7 | 5839 | 26 |
| 0 | 8109 | 25 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
(fma.f64 z x (*.f64 y x)) |
z |
x |
(*.f64 y x) |
y |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
(fma.f64 z x (*.f64 y x)) |
(*.f64 (+.f64 z y) x) |
z |
x |
(*.f64 y x) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.7538979928166807 | (fma.f64 z x (*.f64 y x)) | |
| accuracy | 20.818362445598982 | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
| 20.0ms | 256× | 0 | valid |
Compiled 24 to 13 computations (45.8% saved)
ival-mult: 6.0ms (58.7% of total)ival-add: 2.0ms (19.6% of total)ival-sub: 1.0ms (9.8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 z x (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
(*.f64 y x) |
| Outputs |
|---|
(* x (+ y z)) |
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* x z) |
(+ (* x y) (* x z)) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* x z) y))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (+ x (/ (* x y) z))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* z x) (* y x)) (+ (* x y) (* (- x 1) z)) (* y x)) |
| 1.0ms | x | @ | inf | ((+ (* z x) (* y x)) (+ (* x y) (* (- x 1) z)) (* y x)) |
| 0.0ms | y | @ | -inf | ((+ (* z x) (* y x)) (+ (* x y) (* (- x 1) z)) (* y x)) |
| 0.0ms | x | @ | 0 | ((+ (* z x) (* y x)) (+ (* x y) (* (- x 1) z)) (* y x)) |
| 0.0ms | z | @ | -inf | ((+ (* z x) (* y x)) (+ (* x y) (* (- x 1) z)) (* y x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 116 |
| 1 | 218 | 108 |
| 2 | 737 | 108 |
| 3 | 2295 | 108 |
| 4 | 6186 | 108 |
| 0 | 8430 | 108 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x (+ y z)) |
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* x z) |
(+ (* x y) (* x z)) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* x z) y))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (+ x (/ (* x y) z))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* x (+ y z)) |
(*.f64 (+.f64 y z) x) |
(* -1 z) |
(neg.f64 z) |
(+ (* -1 z) (* x (+ y z))) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
(* x y) |
(*.f64 y x) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(*.f64 (-.f64 y (-.f64 (/.f64 z x) z)) x) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(*.f64 (+.f64 y z) x) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(*.f64 (-.f64 y (-.f64 (/.f64 z x) z)) x) |
(* x z) |
(*.f64 x z) |
(+ (* x y) (* x z)) |
(*.f64 (+.f64 y z) x) |
(* z (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(+ (* x y) (* z (- x 1))) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
(* y (+ x (/ (* x z) y))) |
(*.f64 (+.f64 y z) x) |
(* y (+ x (/ (* z (- x 1)) y))) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(*.f64 (+.f64 y z) x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
(* z (+ x (/ (* x y) z))) |
(*.f64 (+.f64 y z) x) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(*.f64 (+.f64 y z) x) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(fma.f64 (+.f64 y z) x (neg.f64 z)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 25 |
| 0 | 14 | 23 |
| 1 | 74 | 23 |
| 0 | 517 | 22 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 z x (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
(*.f64 y x) |
| Outputs |
|---|
(*.f64 (+.f64 y z) x) |
(*.f64 x (-.f64 z (neg.f64 y))) |
(*.f64 x (+.f64 y z)) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (*.f64 x z) #s(literal 2 binary64))) (-.f64 (*.f64 y x) (*.f64 x z))) |
(/.f64 (-.f64 (pow.f64 (*.f64 x z) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 y) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 x z) #s(literal 2 binary64)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 x z) (*.f64 (neg.f64 y) x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x z) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (*.f64 x (-.f64 z y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 x z) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x z)) (pow.f64 (*.f64 x z) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 x z) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 z y))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 x z) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 x z) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 x z) y) x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 x z) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x z)) (pow.f64 (*.f64 x z) #s(literal 2 binary64)))) |
(fma.f64 y x (*.f64 x z)) |
(fma.f64 x y (*.f64 x z)) |
(fma.f64 x z (*.f64 (neg.f64 (neg.f64 y)) x)) |
(fma.f64 x z (*.f64 y x)) |
(fma.f64 z x (*.f64 (neg.f64 (neg.f64 y)) x)) |
(fma.f64 z x (*.f64 y x)) |
(-.f64 (/.f64 (pow.f64 (*.f64 x z) #s(literal 2 binary64)) (*.f64 x (-.f64 z y))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 x (-.f64 z y)))) |
(-.f64 (*.f64 x z) (*.f64 (neg.f64 x) y)) |
(-.f64 (*.f64 x z) (*.f64 (neg.f64 y) x)) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) z)) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 z) x)) |
(+.f64 (/.f64 (pow.f64 (*.f64 x z) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x z)) (pow.f64 (*.f64 x z) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x z)) (pow.f64 (*.f64 x z) #s(literal 2 binary64))))) |
(+.f64 (*.f64 x z) (*.f64 (neg.f64 (neg.f64 y)) x)) |
(+.f64 (*.f64 x z) (*.f64 y x)) |
(+.f64 (*.f64 y x) (*.f64 x z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 y z) x)) |
(*.f64 y x) |
(*.f64 x y) |
Compiled 780 to 126 computations (83.8% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 1 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 34 | 6 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
| ✓ | 66.3% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
| ✓ | 60.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 67.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
| ✓ | 34.8% | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
| ▶ | 28.4% | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
Compiled 96 to 70 computations (27.1% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x z) | |
| cost-diff | 0 | #s(approx (+ (* z x) (* y x)) (*.f64 x z)) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 37 |
| 0 | 15 | 33 |
| 1 | 31 | 33 |
| 2 | 61 | 33 |
| 3 | 107 | 33 |
| 4 | 175 | 33 |
| 5 | 374 | 33 |
| 6 | 2207 | 33 |
| 7 | 5827 | 33 |
| 0 | 8098 | 32 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* z x) (* y x)) (*.f64 x z)) |
(*.f64 x z) |
x |
z |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 z x))) |
#s(approx (+ (* z x) (* y x)) (*.f64 x z)) |
#s(approx (+ (* z x) (* y x)) (*.f64 z x)) |
(*.f64 x z) |
(*.f64 z x) |
x |
z |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x z) | |
| accuracy | 20.818362445598982 | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) | |
| accuracy | 30.585600343184836 | #s(approx (+ (* z x) (* y x)) (*.f64 x z)) |
| 58.0ms | 256× | 0 | valid |
Compiled 23 to 14 computations (39.1% saved)
ival-mult: 35.0ms (69% of total)ival-add: 14.0ms (27.6% of total)ival-sub: 1.0ms (2% 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) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* z x) (* y x)) (*.f64 x z)) |
(*.f64 x z) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x z) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(+ (* x y) (* x z)) |
(* x y) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* y (+ x (/ (* x z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* z (+ x (/ (* x y) z))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (+ (* z x) (* y x)) (* x z)) |
| 1.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (+ (* z x) (* y x)) (* x z)) |
| 1.0ms | z | @ | -inf | ((+ (* x y) (* (- x 1) z)) (+ (* z x) (* y x)) (* x z)) |
| 0.0ms | x | @ | 0 | ((+ (* x y) (* (- x 1) z)) (+ (* z x) (* y x)) (* x z)) |
| 0.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (+ (* z x) (* y x)) (* x z)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 116 |
| 1 | 218 | 108 |
| 2 | 737 | 108 |
| 3 | 2302 | 108 |
| 4 | 6169 | 108 |
| 0 | 8418 | 108 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x z) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(+ (* x y) (* x z)) |
(* x y) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* y (+ x (/ (* x z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* z (+ x (/ (* x y) z))) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
(neg.f64 z) |
(+ (* -1 z) (* x (+ y z))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* x (+ y z)) |
(*.f64 (+.f64 z y) x) |
(* x z) |
(*.f64 z x) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(*.f64 (-.f64 z (-.f64 (/.f64 z x) y)) x) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(*.f64 (-.f64 z (-.f64 (/.f64 z x) y)) x) |
(* z (- x 1)) |
(*.f64 z (-.f64 x #s(literal 1 binary64))) |
(+ (* x y) (* z (- x 1))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(+ (* x y) (* x z)) |
(*.f64 (+.f64 z y) x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ (* z (- x 1)) y))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* y (+ x (/ (* x z) y))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(*.f64 (+.f64 z y) x) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* z (+ x (/ (* x y) z))) |
(*.f64 (+.f64 z y) x) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
(fma.f64 (+.f64 z y) x (neg.f64 z)) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(*.f64 (+.f64 z y) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 35 |
| 0 | 15 | 31 |
| 1 | 74 | 31 |
| 0 | 517 | 30 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* z x) (* y x)) (*.f64 x z)) |
(*.f64 x z) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 z x))) |
#s(approx (+ (* z x) (* y x)) (*.f64 z x)) |
(*.f64 z x) |
(*.f64 x z) |
Compiled 223 to 41 computations (81.6% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 1 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 11 | 7 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
| ✓ | 66.3% | #s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
| ✓ | 60.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 67.5% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
| 42.0% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) | |
| ✓ | 34.8% | #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
| ✓ | 28.4% | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
Compiled 248 to 115 computations (53.6% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (*.f64 z x))) |
(fma.f64 (-.f64 x #s(literal 1 binary64)) z (*.f64 y x)) |
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
4 calls:
| 3.0ms | z |
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 z x (*.f64 y x))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
4 calls:
| 16.0ms | x |
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 76.6% | 3 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 86.5% | 3 | x |
| 83.4% | 3 | y |
| 82.5% | 3 | z |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 86.2% | 3 | x |
Compiled 1 to 3 computations (-200% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) |
4 calls:
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.2% | 4 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 63.0% | 4 | z |
| 58.6% | 3 | y |
| 67.7% | 5 | x |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) |
2 calls:
| 1.0ms | x |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 41.6% | 2 | z |
| 60.0% | 3 | x |
Compiled 2 to 6 computations (-200% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
4 calls:
| 18.0ms | y |
| 1.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 1.0ms | z |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 34.8% | 1 | z |
| 34.8% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 34.8% | 1 | y |
| 34.8% | 1 | x |
Compiled 12 to 17 computations (-41.7% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 1.7777412456006056e-6 | 1642733.431299433 |
| 10.0ms | -2.7082285804126528e-48 | -1.163851164090708e-49 |
| 13.0ms | 272× | 0 | valid |
Compiled 522 to 439 computations (15.9% saved)
ival-mult: 4.0ms (58% of total)ival-sub: 1.0ms (14.5% of total)ival-add: 1.0ms (14.5% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 1.7777412456006056e-6 | 1642733.431299433 |
| 1.0ms | -2.7082285804126528e-48 | -1.163851164090708e-49 |
| 5.0ms | 112× | 0 | valid |
Compiled 471 to 405 computations (14% saved)
ival-mult: 1.0ms (38% of total)ival-sub: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 4× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 5.011304681307206e+106 | 6.793601848403332e+107 |
| 11.0ms | 1.7777412456006056e-6 | 1642733.431299433 |
| 6.0ms | -2.7082285804126528e-48 | -1.163851164090708e-49 |
| 34.0ms | -6.856817060179455e+151 | -1.447195156473725e+149 |
| 43.0ms | 416× | 0 | valid |
Compiled 993 to 792 computations (20.2% saved)
ival-sub: 25.0ms (75.8% of total)ival-mult: 6.0ms (18.2% of total)ival-add: 2.0ms (6.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 1.7777412456006056e-6 | 1642733.431299433 |
| 11.0ms | -342.5800542496408 | -0.040587935753040885 |
| 6.0ms | 128× | 0 | valid |
Compiled 606 to 482 computations (20.5% saved)
ival-mult: 2.0ms (64.2% of total)ival-sub: 1.0ms (32.1% of total)ival-add: 1.0ms (32.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 236 |
| 1 | 81 | 236 |
| 2 | 114 | 236 |
| 3 | 167 | 236 |
| 4 | 242 | 236 |
| 5 | 512 | 236 |
| 6 | 3281 | 236 |
| 7 | 7610 | 236 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(if (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) (if (<=.f64 x #s(literal 7932099951695107/9223372036854775808 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)))) |
(if (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) (if (<=.f64 x #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)))) |
(if (<=.f64 x #s(literal -1150000000000000005217387759388239174758730811935036650316390557451642389590112839696716313161076449489271771072236114785246647415871337048015940616192 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) (if (<=.f64 x #s(literal -4031486165436955/1645504557321206042154969182557350504982735865633579863348609024 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) (if (<=.f64 x #s(literal 359999999999999975735952320767026188249284162800586651134521442848057486420715447554874090138070265725190144 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)))))) |
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))))) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (fma.f64 (+.f64 z y) x (neg.f64 z))) |
(if (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) (if (<=.f64 x #s(literal 7932099951695107/9223372036854775808 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)))) |
(if (or (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) (not (<=.f64 x #s(literal 7932099951695107/9223372036854775808 binary64)))) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z))) |
(if (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) (if (<=.f64 x #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)))) |
(if (or (<=.f64 x #s(literal -4607412760499377/3291009114642412084309938365114701009965471731267159726697218048 binary64)) (not (<=.f64 x #s(literal 4722366482869645/2361183241434822606848 binary64)))) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 (+.f64 z y) x)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z))) |
(if (<=.f64 x #s(literal -1150000000000000005217387759388239174758730811935036650316390557451642389590112839696716313161076449489271771072236114785246647415871337048015940616192 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) (if (<=.f64 x #s(literal -4031486165436955/1645504557321206042154969182557350504982735865633579863348609024 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) (if (<=.f64 x #s(literal 359999999999999975735952320767026188249284162800586651134521442848057486420715447554874090138070265725190144 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 y x)))))) |
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))))) |
(if (or (<=.f64 x #s(literal -1 binary64)) (not (<=.f64 x #s(literal 1 binary64)))) #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (+ (* z x) (* y x)) (*.f64 x z))) #s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z))) |
#s(approx (+ (* x y) (* (- x 1) z)) (neg.f64 z)) |
| 1× | fuel |
Compiled 242 to 55 computations (77.3% saved)
Compiled 502 to 126 computations (74.9% saved)
Loading profile data...