
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 9 to 7 computations (22.2% saved)
| 563.0ms | 8 256× | 0 | valid |
ival-add: 138.0ms (57.1% of total)ival-div: 99.0ms (40.9% of total)ival-assert: 3.0ms (1.2% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 y y) |
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 0 | 0 | - | 0 | - | y |
| 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 |
| 22.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-add: 5.0ms (51.3% of total)ival-div: 4.0ms (41.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 48 |
| 1 | 43 | 46 |
| 2 | 115 | 46 |
| 3 | 277 | 42 |
| 4 | 600 | 42 |
| 5 | 1442 | 42 |
| 6 | 4892 | 42 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 14 | 7 |
| 2 | 24 | 7 |
| 3 | 41 | 7 |
| 4 | 73 | 7 |
| 5 | 172 | 7 |
| 6 | 1251 | 7 |
| 7 | 7699 | 7 |
| 0 | 8015 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y y) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 14 | 15 |
| 2 | 24 | 15 |
| 3 | 41 | 15 |
| 4 | 73 | 15 |
| 5 | 172 | 15 |
| 6 | 1251 | 15 |
| 7 | 7699 | 15 |
| 0 | 8015 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
x |
y |
(+.f64 y y) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) y)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
(+.f64 y y) |
(*.f64 #s(literal 2 binary64) y) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y y) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.0078125 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 11.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-add: 3.0ms (61.8% of total)ival-div: 2.0ms (41.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
(+.f64 y y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 119 |
| 1 | 123 | 119 |
| 2 | 285 | 119 |
| 3 | 880 | 119 |
| 4 | 4137 | 119 |
| 0 | 8189 | 111 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) y) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) x) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
#s(approx (+ x y) (+.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 36 | 13 |
| 0 | 267 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
(+.f64 y y) |
| Outputs |
|---|
(*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(*.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) y) |
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) (-.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) |
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)) (-.f64 (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))))) |
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 (fma.f64 x (*.f64 #s(literal -2 binary64) y) (*.f64 (*.f64 #s(literal -2 binary64) y) y)) (*.f64 (*.f64 #s(literal -2 binary64) y) (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 #s(literal -2 binary64) y))) |
(/.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)) (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y)) |
(neg.f64 (*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64))) |
(fma.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 y #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(+.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(+.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(/.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) |
(*.f64 #s(literal -2 binary64) y) |
(*.f64 #s(literal 2 binary64) (neg.f64 y)) |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 y #s(literal 2 binary64)) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64))) |
(neg.f64 (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64)))) |
(+.f64 (neg.f64 y) (neg.f64 y)) |
(+.f64 y y) |
Compiled 679 to 144 computations (78.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 3 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 4 | 50 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
| ▶ | 49.6% | (/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
| ▶ | 99.8% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| ▶ | 51.9% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 39 to 27 computations (30.8% saved)
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y y) | |
| cost-diff | 0 | #s(approx (+ x y) x) | |
| cost-diff | 0 | (/.f64 #s(approx (+ x y) x) (+.f64 y y)) | |
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 55 |
| 0 | 18 | 55 |
| 1 | 28 | 55 |
| 2 | 50 | 55 |
| 3 | 87 | 55 |
| 4 | 152 | 55 |
| 5 | 395 | 53 |
| 6 | 2797 | 53 |
| 0 | 8458 | 53 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
#s(approx (+ x y) x) |
x |
(+.f64 y y) |
y |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
(/.f64 (/.f64 #s(approx (+ x y) x) y) #s(literal 2 binary64)) |
#s(approx (+ x y) x) |
x |
(+.f64 y y) |
(*.f64 #s(literal 2 binary64) y) |
y |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y y) | |
| accuracy | 0.0078125 | (/.f64 #s(approx (+ x y) x) (+.f64 y y)) | |
| accuracy | 32.38280258907384 | #s(approx (+ x y) x) | |
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) | |
| accuracy | 0.11328125 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) | |
| accuracy | 30.81037188892166 | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| 18.0ms | 256× | 0 | valid |
Compiled 45 to 11 computations (75.6% saved)
ival-div: 4.0ms (41.4% of total)ival-add: 4.0ms (41.4% of total)ival-mult: 2.0ms (20.7% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
#s(approx (+ x y) x) |
(+.f64 y y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y) (/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y) (/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y) (/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y) (/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y) (/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 208 |
| 1 | 148 | 208 |
| 2 | 322 | 208 |
| 3 | 927 | 208 |
| 4 | 4283 | 208 |
| 0 | 8447 | 190 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) y) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) x) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* (/ 1/2 y) x) 1/2) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (/ 1/2 y) #s(hole binary64 (/ 1/2 y))) |
#s(approx (/ 1/2 y) (/.f64 #s(literal 1/2 binary64) y)) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
#s(approx (+ x y) (+.f64 y x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 49 |
| 0 | 18 | 49 |
| 1 | 70 | 49 |
| 0 | 469 | 49 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
#s(approx (+ x y) x) |
(+.f64 y y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) |
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))) |
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) x)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y))) |
(/.f64 #s(literal 1/2 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) y)) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y))) |
(*.f64 (/.f64 #s(approx (+ x y) x) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(*.f64 (/.f64 #s(approx (+ x y) x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 (/.f64 #s(approx (+ x y) x) #s(literal 2 binary64)) y) |
(/.f64 (neg.f64 (neg.f64 #s(approx (+ x y) x))) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 (neg.f64 #s(approx (+ x y) x)) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 #s(approx (+ x y) x) (*.f64 #s(literal -2 binary64) y)) |
(neg.f64 (*.f64 (/.f64 #s(approx (+ x y) x) #s(literal 0 binary64)) #s(literal 0 binary64))) |
#s(approx (+ x y) x) |
(*.f64 #s(literal -2 binary64) y) |
(*.f64 #s(literal 2 binary64) (neg.f64 y)) |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 y #s(literal 2 binary64)) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64))) |
(neg.f64 (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64)))) |
(+.f64 (neg.f64 y) (neg.f64 y)) |
(+.f64 y y) |
Compiled 823 to 153 computations (81.4% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 50 | 1 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 1 | 0 | 1 |
| Total | 52 | 3 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.6% | (/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
| ▶ | 100.0% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
| ✓ | 51.9% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 32 to 22 computations (31.3% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 0 | 12 | 26 |
| 1 | 22 | 26 |
| 2 | 43 | 26 |
| 3 | 76 | 26 |
| 4 | 149 | 26 |
| 5 | 433 | 25 |
| 6 | 3492 | 25 |
| 0 | 8087 | 25 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(/.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(/.f64 x y) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) | |
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
| 31.0ms | 256× | 0 | valid |
Compiled 22 to 11 computations (50% saved)
ival-mult: 16.0ms (67.4% of total)ival-div: 4.0ms (16.9% of total)ival-add: 4.0ms (16.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (+ (* 1/2 (/ x y)) 1/2) (/ x y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (+ (* 1/2 (/ x y)) 1/2) (/ x y)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (+ (* 1/2 (/ x y)) 1/2) (/ x y)) |
| 1.0ms | x | @ | 0 | ((/ (+ x y) (+ y y)) (+ (* 1/2 (/ x y)) 1/2) (/ x y)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (+ (* 1/2 (/ x y)) 1/2) (/ x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 156 |
| 1 | 82 | 156 |
| 2 | 200 | 156 |
| 3 | 635 | 156 |
| 4 | 2761 | 156 |
| 5 | 7706 | 156 |
| 0 | 8132 | 138 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 1/2)) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 (/ x y))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (/ x y) #s(hole binary64 (/ x y))) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* 1/2 (/ x y)))) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) 1/2) #s(hole binary64 (/ (+ (* 1/2 x) (* 1/2 y)) y))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 0 | 12 | 23 |
| 1 | 61 | 23 |
| 0 | 442 | 23 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(+.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
(/.f64 x y) |
(neg.f64 (/.f64 (neg.f64 x) y)) |
(neg.f64 (/.f64 x (neg.f64 y))) |
Compiled 495 to 93 computations (81.2% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 0 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 24 | 3 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.6% | (/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
| ✓ | 100.0% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
| ✓ | 51.9% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 85 to 40 computations (52.9% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(/.f64 (+.f64 x y) (+.f64 y y)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
3 calls:
| 3.0ms | y |
| 2.0ms | x |
| 2.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
| Outputs |
|---|
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
(/.f64 #s(approx (+ x y) x) (+.f64 y y)) |
3 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.9% | 3 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 76.0% | 3 | x |
| 77.7% | 3 | y |
Compiled 9 to 9 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
3 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.9% | 1 | x |
| 51.9% | 1 | y |
| 51.9% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.596820072685887 | 7.033735460909783 |
| 0.0ms | -7.588912563618299 | 0.49847805841230397 |
Compiled 10 to 10 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 62 |
| 1 | 32 | 62 |
| 2 | 44 | 62 |
| 3 | 70 | 62 |
| 4 | 157 | 62 |
| 5 | 1050 | 62 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) (/.f64 #s(approx (+ x y) x) (+.f64 y y)))) |
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) (/.f64 #s(approx (+ x y) x) (+.f64 y y)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| 1× | done |
Compiled 62 to 22 computations (64.5% saved)
Compiled 152 to 66 computations (56.6% saved)
Loading profile data...