
Time bar (total: 1.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 7 to 7 computations (0% saved)
| 601.0ms | 8 256× | 0 | valid |
ival-div: 111.0ms (51.4% of total)ival-add: 94.0ms (43.5% of total)exact: 6.0ms (2.8% of total)ival-assert: 3.0ms (1.4% of total)adjust: 2.0ms (0.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 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 |
| 25.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 3.0ms (39.6% of total)ival-add: 3.0ms (39.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 34 |
| 1 | 35 | 34 |
| 2 | 65 | 34 |
| 3 | 99 | 34 |
| 4 | 155 | 34 |
| 5 | 372 | 30 |
| 6 | 1603 | 30 |
| 7 | 5470 | 30 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 13 | 5 |
| 2 | 17 | 5 |
| 3 | 25 | 5 |
| 4 | 51 | 5 |
| 5 | 165 | 5 |
| 6 | 935 | 5 |
| 7 | 5449 | 5 |
| 0 | 8357 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(/.f64 (+.f64 y x) #s(literal 2 binary64)) |
(sort x y)
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
Compiled 5 to 5 computations (0% saved)
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(+.f64 x y) |
x |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ (+ x y) 2) (+ x y) x y 2) |
| 1.0ms | y | @ | inf | ((/ (+ x y) 2) (+ x y) x y 2) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) 2) (+ x y) x y 2) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) 2) (+ x y) x y 2) |
| 0.0ms | x | @ | 0 | ((/ (+ x y) 2) (+ x y) x y 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 181 |
| 0 | 59 | 173 |
| 1 | 258 | 173 |
| 0 | 1962 | 169 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(+.f64 x y) |
x |
y |
#s(literal 2 binary64) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64))) (*.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))) (-.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 y #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))) (*.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))))) |
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) #s(literal 2 binary64)) |
(/.f64 (fma.f64 x #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) y)) #s(literal 4 binary64)) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (+.f64 y x)) #s(literal -2 binary64)) |
(/.f64 (+.f64 y x) #s(literal 2 binary64)) |
(neg.f64 (/.f64 (neg.f64 (+.f64 y x)) #s(literal 2 binary64))) |
(neg.f64 (/.f64 (+.f64 y x) #s(literal -2 binary64))) |
(+.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 x #s(literal 2 binary64))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))) |
(/.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))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x 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) |
x |
y |
#s(literal 2 binary64) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx x x) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ x y) x) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))) |
#s(approx (+ x y) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) (/.f64 y x) #s(literal -1 binary64)))) |
#s(approx y y) |
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y)) |
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y)) |
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64)))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
Compiled 489 to 134 computations (72.6% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 3 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 39 | 3 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
| ▶ | 49.9% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
| ▶ | 52.5% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 29 to 25 computations (13.8% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(*.f64 #s(literal 1/2 binary64) (+.f64 y x)) |
(+.f64 y x) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (+ y x) #s(hole binary64 y)) |
#s(approx (+ y x) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (+ y x) #s(hole binary64 x)) |
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* 1/2 (+ y x)) (+ y x)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* 1/2 (+ y x)) (+ y x)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* 1/2 (+ y x)) (+ y x)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* 1/2 (+ y x)) (+ y x)) |
| 1.0ms | x | @ | 0 | ((/ (+ x y) 2) (* 1/2 x) 1/2 x (/ (+ x y) 2) (* 1/2 y) y (/ (+ x y) 2) (* 1/2 (+ y x)) (+ y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 325 |
| 0 | 76 | 313 |
| 1 | 288 | 313 |
| 0 | 2073 | 307 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(*.f64 #s(literal 1/2 binary64) (+.f64 y x)) |
(+.f64 y x) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y)))) |
#s(approx (+ y x) #s(hole binary64 y)) |
#s(approx (+ y x) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (+ y x) #s(hole binary64 x)) |
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (/ (+ x y) 2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (* 1/2 (+ y x)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 #s(literal 1/2 binary64) y) |
(*.f64 y #s(literal 1/2 binary64)) |
y |
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (+.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1/2 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/2 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/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y)) |
(/.f64 (*.f64 #s(literal 1/2 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/2 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 (pow.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) |
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64))))) |
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))))) |
(fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)) |
(fma.f64 y #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) y)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/2 binary64) x)) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))))) (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))))) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) 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))) |
(-.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 (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) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx (/ (+ x y) 2) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx x x) |
#s(approx (* 1/2 (+ y x)) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx (* 1/2 (+ y x)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (+ y x) y) |
#s(approx (+ y x) (+.f64 y x)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (* 1/2 (+ y x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* 1/2 (+ y x)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ y x) x) |
#s(approx (+ y x) (fma.f64 (/.f64 y x) x x)) |
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))) |
#s(approx (* 1/2 (+ y x)) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))) |
#s(approx (+ y x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) (/.f64 y x) #s(literal -1 binary64)))) |
#s(approx (* 1/2 y) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx y y) |
#s(approx (/ (+ x y) 2) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y)) |
#s(approx (* 1/2 (+ y x)) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y)) |
#s(approx (+ y x) (fma.f64 (/.f64 x y) y y)) |
#s(approx (/ (+ x y) 2) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64)))) |
#s(approx (* 1/2 (+ y x)) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64)))) |
#s(approx (+ y x) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
Compiled 1 445 to 262 computations (81.9% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 0 | 81 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 81 | 3 | 84 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
| ✓ | 49.9% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
| ✓ | 52.5% | #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 63 to 41 computations (34.9% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
4 calls:
| 6.0ms | y |
| 3.0ms | x |
| 3.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 2.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x y) |
| 100.0% | 1 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 10 to 12 computations (-20% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
4 calls:
| 29.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 1.0ms | (+.f64 x y) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 2 | (+.f64 x y) |
| 99.2% | 2 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 84.7% | 2 | x |
| 84.8% | 2 | y |
Compiled 10 to 12 computations (-20% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
4 calls:
| 1.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 1.0ms | (+.f64 x y) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.5% | 1 | x |
| 52.5% | 1 | y |
| 52.5% | 1 | (+.f64 x y) |
| 52.5% | 1 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
Compiled 10 to 12 computations (-20% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.924588983685395e-244 | 1.6975423251006182e-243 |
Compiled 8 to 10 computations (-25% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 46 |
| 1 | 24 | 46 |
| 2 | 28 | 46 |
| 3 | 37 | 46 |
| 4 | 75 | 46 |
| 5 | 424 | 46 |
| 6 | 3579 | 46 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(if (<=.f64 (/.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal -7687697232696013/15375394465392026070980930960402958051966483647589383243116337952281869440244186537876296086692518667977838631290276787444086150484586994200087471936798525767761360737466168478385414860572969804431318564695864578364068534363514095860253929241066696020120829952 binary64)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(if (<=.f64 (/.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal -7687697232696013/15375394465392026070980930960402958051966483647589383243116337952281869440244186537876296086692518667977838631290276787444086150484586994200087471936798525767761360737466168478385414860572969804431318564695864578364068534363514095860253929241066696020120829952 binary64)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
| 1× | done |
Compiled 46 to 19 computations (58.7% saved)
(sort x y)
Compiled 124 to 66 computations (46.8% saved)
Loading profile data...