
Time bar (total: 1.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 9 to 9 computations (0% saved)
| 469.0ms | 8 256× | 0 | valid |
ival-div: 103.0ms (41.9% of total)ival-add: 71.0ms (28.9% of total)ival-mult: 56.0ms (22.8% of total)exact: 9.0ms (3.7% of total)adjust: 3.0ms (1.2% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 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 |
| 56.0ms | 512× | 0 | valid |
Compiled 45 to 25 computations (44.4% saved)
ival-div: 4.0ms (36.2% of total)ival-add: 3.0ms (27.1% of total)ival-mult: 3.0ms (27.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 | 18 | 34 |
| 1 | 58 | 34 |
| 2 | 179 | 30 |
| 3 | 724 | 30 |
| 4 | 1690 | 30 |
| 5 | 5931 | 30 |
| 0 | 7 | 5 |
| 0 | 11 | 5 |
| 1 | 22 | 5 |
| 2 | 36 | 5 |
| 3 | 61 | 5 |
| 4 | 142 | 5 |
| 5 | 454 | 5 |
| 6 | 4055 | 5 |
| 0 | 8118 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| Outputs |
|---|
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(sort x y)
Compiled 7 to 7 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (* (/ 1 2) (+ x y)) #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 | ((* (/ 1 2) (+ x y)) (/ 1 2) 1 2 (+ x y) x y) |
| 1.0ms | x | @ | -inf | ((* (/ 1 2) (+ x y)) (/ 1 2) 1 2 (+ x y) x y) |
| 1.0ms | y | @ | inf | ((* (/ 1 2) (+ x y)) (/ 1 2) 1 2 (+ x y) x y) |
| 1.0ms | y | @ | -inf | ((* (/ 1 2) (+ x y)) (/ 1 2) 1 2 (+ x y) x y) |
| 0.0ms | x | @ | 0 | ((* (/ 1 2) (+ x y)) (/ 1 2) 1 2 (+ x y) x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 183 |
| 0 | 63 | 175 |
| 1 | 257 | 175 |
| 0 | 1927 | 171 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
(+.f64 x y) |
x |
y |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (* (/ 1 2) (+ x y)) #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 y x) #s(literal 1/2 binary64)) |
(*.f64 #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 y (-.f64 y x) (*.f64 x 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 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))) |
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 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 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) (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) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 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 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) |
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/4 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) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 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 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/4 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 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 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 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 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)) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
#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(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx x x) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.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 795 to 168 computations (78.9% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 3 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 54 | 3 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
| ▶ | 50.5% | #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
| ▶ | 50.8% | #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 27 to 25 computations (7.4% saved)
| Inputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
| Outputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (* (+ y x) 1/2) #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 | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | ((* (/ 1 2) (+ x y)) (* 1/2 x) 1/2 x (* (/ 1 2) (+ x y)) (* 1/2 y) y (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | inf | ((* (/ 1 2) (+ x y)) (* 1/2 x) 1/2 x (* (/ 1 2) (+ x y)) (* 1/2 y) y (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | x | @ | -inf | ((* (/ 1 2) (+ x y)) (* 1/2 x) 1/2 x (* (/ 1 2) (+ x y)) (* 1/2 y) y (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | -inf | ((* (/ 1 2) (+ x y)) (* 1/2 x) 1/2 x (* (/ 1 2) (+ x y)) (* 1/2 y) y (* (+ y x) 1/2) (+ y x)) |
| 0.0ms | x | @ | 0 | ((* (/ 1 2) (+ x y)) (* 1/2 x) 1/2 x (* (/ 1 2) (+ x y)) (* 1/2 y) y (* (+ y x) 1/2) (+ y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 314 |
| 0 | 75 | 302 |
| 1 | 277 | 302 |
| 0 | 2013 | 296 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (/ 1 2) (+ x y)) #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 (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x)))))) |
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2))))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y)))))) |
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2))))) |
#s(approx (* (+ y x) 1/2) #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 (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 y #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
(*.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 x y)) #s(literal 1/2 binary64)) (-.f64 x y)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.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 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 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 x #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))))) |
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))))))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) |
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 (*.f64 (*.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64))))) |
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))))) |
(fma.f64 y #s(literal 1/2 binary64) (*.f64 x #s(literal 1/2 binary64))) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 y #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) y (*.f64 x #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 y #s(literal 1/2 binary64))) |
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) |
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y)) |
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) x)) |
(+.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))))) (/.f64 (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))))))) |
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))) |
(+.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))) |
(/.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 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #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 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(-.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 (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 (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64))) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 x) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx x x) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64))) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (+ y x) y) |
#s(approx (+ y x) (+.f64 y x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))) |
#s(approx (* (/ 1 2) (+ x y)) (*.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 y #s(literal 1/2 binary64))) |
#s(approx y y) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y)) |
#s(approx (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64)))) |
#s(approx (* (/ 1 2) (+ x y)) (*.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 022 to 198 computations (80.6% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 74 | 0 | 74 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 74 | 3 | 77 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
| ✓ | 50.5% | #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
| ✓ | 50.8% | #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 61 to 44 computations (27.9% saved)
| Inputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| Outputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
4 calls:
| 2.0ms | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x y) |
| 100.0% | 1 | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 12 to 14 computations (-16.7% saved)
| Inputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
| Outputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)) |
4 calls:
| 1.0ms | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.1% | 2 | (+.f64 x y) |
| 98.1% | 2 | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 84.9% | 2 | x |
| 80.1% | 2 | y |
Compiled 12 to 14 computations (-16.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
4 calls:
| 1.0ms | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
| 1.0ms | x |
| 1.0ms | (+.f64 x y) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.8% | 1 | y |
| 50.8% | 1 | x |
| 50.8% | 1 | (+.f64 x y) |
| 50.8% | 1 | (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) |
Compiled 12 to 14 computations (-16.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.386729799730696e-243 | 4.681830054124883e-283 |
Compiled 10 to 12 computations (-20% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 42 |
| 1 | 33 | 42 |
| 2 | 62 | 42 |
| 3 | 237 | 42 |
| 4 | 1199 | 42 |
| 5 | 4907 | 42 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(if (<=.f64 (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #s(literal -75075168288047/15015033657609400459942315391018513722623519187099007073355798781525263125238463415894820397160662761697108038369410925238365381332604486523522921813279810320079453845181805154673256699778290824639959535835805252308660678089369234238529227774479195332149248 binary64)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(if (<=.f64 (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #s(literal -75075168288047/15015033657609400459942315391018513722623519187099007073355798781525263125238463415894820397160662761697108038369410925238365381332604486523522921813279810320079453845181805154673256699778290824639959535835805252308660678089369234238529227774479195332149248 binary64)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) |
| 1× | done |
Compiled 48 to 22 computations (54.2% saved)
(sort x y)
Compiled 130 to 78 computations (40% saved)
Loading profile data...