
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 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 499.0ms | 8 256× | 0 | valid |
ival-add: 115.0ms (60.7% of total)ival-mult: 64.0ms (33.8% of total)ival-true: 5.0ms (2.6% of total)ival-assert: 3.0ms (1.6% of total)adjust: 2.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) y) |
| 0 | 0 | - | 0 | - | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 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 45 to 19 computations (57.8% saved)
ival-add: 5.0ms (54.1% of total)ival-mult: 4.0ms (43.3% 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 | 15 | 41 |
| 1 | 47 | 38 |
| 2 | 121 | 36 |
| 3 | 198 | 35 |
| 4 | 312 | 35 |
| 5 | 382 | 35 |
| 6 | 590 | 35 |
| 7 | 1382 | 35 |
| 8 | 6127 | 35 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 16 | 7 |
| 2 | 38 | 7 |
| 3 | 82 | 7 |
| 4 | 117 | 7 |
| 5 | 155 | 7 |
| 6 | 247 | 7 |
| 7 | 608 | 7 |
| 8 | 2900 | 7 |
| 0 | 8274 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x x) y) y) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x x) y) y) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(abs x)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (+.f64 (*.f64 x x) y) y) |
Compiled 7 to 5 computations (28.6% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (+.f64 (+.f64 (*.f64 x x) y) y) | |
| cost-diff | 1 | (+.f64 (*.f64 x x) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 17 |
| 0 | 8 | 17 |
| 1 | 16 | 17 |
| 2 | 38 | 17 |
| 3 | 82 | 17 |
| 4 | 117 | 17 |
| 5 | 155 | 17 |
| 6 | 247 | 17 |
| 7 | 608 | 17 |
| 8 | 2900 | 17 |
| 0 | 8274 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x x) y) y) |
(+.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x x) y) y) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(+.f64 (*.f64 x x) y) |
(fma.f64 x x y) |
(*.f64 x x) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (+.f64 (+.f64 (*.f64 x x) y) y) | |
| accuracy | 0.0078125 | (+.f64 (*.f64 x x) y) |
| 11.0ms | 256× | 0 | valid |
Compiled 19 to 7 computations (63.2% saved)
ival-add: 2.0ms (42.7% of total)ival-mult: 2.0ms (42.7% 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 x) y) |
(+.f64 (+.f64 (*.f64 x x) y) y) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (* x x) y) (+ (+ (* x x) y) y) (* x x)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) y) (+ (+ (* x x) y) y) (* x x)) |
| 1.0ms | y | @ | -inf | ((+ (* x x) y) (+ (+ (* x x) y) y) (* x x)) |
| 0.0ms | x | @ | -inf | ((+ (* x x) y) (+ (+ (* x x) y) y) (* x x)) |
| 0.0ms | y | @ | inf | ((+ (* x x) y) (+ (+ (* x x) y) y) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 149 |
| 1 | 107 | 149 |
| 2 | 345 | 149 |
| 3 | 1940 | 149 |
| 0 | 8901 | 129 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
| Outputs |
|---|
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (+ (* x x) y) y) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (+ (* x x) y) y) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (+ (* x x) y) y) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (+ (* x x) y) y) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (+ (* x x) y) y) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 41 | 15 |
| 0 | 356 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) y) |
(+.f64 (+.f64 (*.f64 x x) y) y) |
(*.f64 x x) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) y) |
(fma.f64 (neg.f64 x) (neg.f64 x) y) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) y) |
(fma.f64 x x y) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 y (*.f64 (neg.f64 x) x)) |
(-.f64 y (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 y (*.f64 x x)) |
(+.f64 (*.f64 x x) y) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))) (-.f64 y (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 #s(literal 2 binary64) y))) (-.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) y))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 #s(literal 2 binary64) y)) (*.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (fma.f64 x x y) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (fma.f64 x x y) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 (fma.f64 x x y) y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (-.f64 (fma.f64 x x y) y)) (/.f64 (*.f64 y y) (-.f64 (fma.f64 x x y) y))) |
(+.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) |
(+.f64 (fma.f64 x x y) y) |
(+.f64 y (fma.f64 x x y)) |
(+.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) y)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 819 to 186 computations (77.3% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 5 | 64 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 60 | 5 | 65 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
| ▶ | 100.0% | (+.f64 (fma.f64 x x y) y) |
| ▶ | 63.2% | (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
| ▶ | 45.4% | (+.f64 #s(approx (+ (* x x) y) y) y) |
| ▶ | 56.4% | #s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
Compiled 86 to 58 computations (32.6% saved)
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x x y) | |
| cost-diff | 0 | (+.f64 (fma.f64 x x y) y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) y) (*.f64 x x)) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (+ (* x x) y) y) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (* x x) y) y) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (* x x) y) y) y) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) y) | |
| cost-diff | 0 | (fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 76 |
| 0 | 23 | 76 |
| 1 | 40 | 76 |
| 2 | 79 | 76 |
| 3 | 154 | 76 |
| 4 | 271 | 76 |
| 5 | 684 | 76 |
| 6 | 3096 | 76 |
| 0 | 8470 | 76 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
x |
(*.f64 #s(literal 2 binary64) y) |
#s(literal 2 binary64) |
y |
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (* x x) y) y) |
y |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(*.f64 x x) |
x |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
x |
y |
(+.f64 (fma.f64 x x y) y) |
(fma.f64 x x y) |
x |
y |
| Outputs |
|---|
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 x x (*.f64 y #s(literal 2 binary64))) |
x |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 y #s(literal 2 binary64)) |
#s(literal 2 binary64) |
y |
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (* x x) y) y) |
y |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(*.f64 x x) |
x |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
x |
y |
(+.f64 (fma.f64 x x y) y) |
(fma.f64 x x (*.f64 y #s(literal 2 binary64))) |
(fma.f64 x x y) |
x |
y |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 x x y) | |
| accuracy | 0.0078125 | (+.f64 (fma.f64 x x y) y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) | |
| accuracy | 27.892453315972816 | #s(approx (+ (* x x) y) (*.f64 x x)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 27.90609101974888 | #s(approx (+ (+ (* x x) y) y) (*.f64 x x)) | |
| accuracy | 0.0078125 | (+.f64 #s(approx (+ (* x x) y) y) y) | |
| accuracy | 34.98751740086854 | #s(approx (+ (* x x) y) y) | |
| accuracy | 0.0 | (fma.f64 x x (*.f64 #s(literal 2 binary64) y)) | |
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) y) |
| 87.0ms | 256× | 0 | valid |
Compiled 70 to 10 computations (85.7% saved)
ival-add: 3.0ms (44.3% of total)ival-mult: 3.0ms (44.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
(*.f64 #s(literal 2 binary64) y) |
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(+.f64 (fma.f64 x x y) y) |
(fma.f64 x x y) |
| Outputs |
|---|
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (* 2 y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ (* x x) (* 2 y)) (* 2 y) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (* x x) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (+ (* x x) y)) |
| 1.0ms | y | @ | inf | ((+ (* x x) (* 2 y)) (* 2 y) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (* x x) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (+ (* x x) y)) |
| 1.0ms | x | @ | inf | ((+ (* x x) (* 2 y)) (* 2 y) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (* x x) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (+ (* x x) y)) |
| 1.0ms | x | @ | -inf | ((+ (* x x) (* 2 y)) (* 2 y) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (* x x) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (+ (* x x) y)) |
| 0.0ms | x | @ | 0 | ((+ (* x x) (* 2 y)) (* 2 y) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (* x x) (+ (+ (* x x) y) y) (+ (* x x) y) (+ (+ (* x x) y) y) (+ (* x x) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 238 |
| 1 | 118 | 238 |
| 2 | 356 | 238 |
| 3 | 1962 | 238 |
| 0 | 8893 | 208 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (* 2 y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
| Outputs |
|---|
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (* 2 y)) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) (*.f64 x x)) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (* 2 y)) (*.f64 x x)) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (* 2 y) #s(hole binary64 (* 2 y))) |
#s(approx (* 2 y) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (+ (* x x) (* 2 y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (+ (* x x) y) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (* x x) (* 2 y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 64 |
| 0 | 23 | 64 |
| 1 | 94 | 64 |
| 0 | 719 | 64 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
(*.f64 #s(literal 2 binary64) y) |
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(+.f64 (fma.f64 x x y) y) |
(fma.f64 x x y) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))) (-.f64 y (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 #s(literal -2 binary64) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 #s(literal -2 binary64) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (fma.f64 x x y) y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (*.f64 y y)))) (neg.f64 (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (fma.f64 x x y) y)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (*.f64 y y))) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 (fma.f64 x x y) y)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 y y) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) y)))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) (*.f64 x x)) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(fma.f64 x x (*.f64 y #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (-.f64 (fma.f64 x x y) y)) (/.f64 (*.f64 y y) (-.f64 (fma.f64 x x y) y))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) #s(literal 2 binary64))) |
(-.f64 (*.f64 x x) (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (*.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) (*.f64 y #s(literal 2 binary64))) |
(+.f64 (fma.f64 x x y) y) |
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) |
(+.f64 y (fma.f64 x x y)) |
(*.f64 y #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) y) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 y y)) (-.f64 y y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 y y) (*.f64 y y)))) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y)) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.f64 y y) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 2 binary64))) (-.f64 y #s(approx (+ (* x x) y) y))) |
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx (+ (* x x) y) y) y) (-.f64 #s(approx (+ (* x x) y) y) y))) (neg.f64 (-.f64 #s(approx (+ (* x x) y) y) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (+ (* x x) y) y) #s(approx (+ (* x x) y) y) (*.f64 y (-.f64 y #s(approx (+ (* x x) y) y)))))) |
(/.f64 (*.f64 (+.f64 #s(approx (+ (* x x) y) y) y) (-.f64 #s(approx (+ (* x x) y) y) y)) (-.f64 #s(approx (+ (* x x) y) y) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 2 binary64)) (*.f64 #s(approx (+ (* x x) y) y) y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 3 binary64))) (fma.f64 #s(approx (+ (* x x) y) y) #s(approx (+ (* x x) y) y) (*.f64 y (-.f64 y #s(approx (+ (* x x) y) y))))) |
(-.f64 (/.f64 (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 2 binary64)) (-.f64 #s(approx (+ (* x x) y) y) y)) (/.f64 (*.f64 y y) (-.f64 #s(approx (+ (* x x) y) y) y))) |
(+.f64 (/.f64 (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* x x) y) y) #s(approx (+ (* x x) y) y) (*.f64 y (-.f64 y #s(approx (+ (* x x) y) y))))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* x x) y) y) #s(approx (+ (* x x) y) y) (*.f64 y (-.f64 y #s(approx (+ (* x x) y) y)))))) |
(+.f64 #s(approx (+ (* x x) y) y) y) |
(+.f64 y #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 y #s(approx (+ (* x x) y) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y #s(approx (+ (* x x) y) (*.f64 x x))) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y #s(approx (+ (* x x) y) (*.f64 x x))) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)))) |
(-.f64 (/.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)) (/.f64 (*.f64 y y) (-.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y))) |
(+.f64 (/.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 3 binary64)) (fma.f64 y (-.f64 y #s(approx (+ (* x x) y) (*.f64 x x))) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y #s(approx (+ (* x x) y) (*.f64 x x))) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 2 binary64))))) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
(+.f64 y #s(approx (+ (* x x) y) (*.f64 x x))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(/.f64 (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))) (-.f64 y (fma.f64 x x y))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 #s(literal -2 binary64) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 #s(literal -2 binary64) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (fma.f64 x x y) y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (*.f64 y y)))) (neg.f64 (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (fma.f64 x x y) y)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (*.f64 y y))) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (*.f64 (fma.f64 x x y) y)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 y y) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) y)))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) (*.f64 x x)) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(fma.f64 x x (*.f64 y #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)) (-.f64 (fma.f64 x x y) y)) (/.f64 (*.f64 y y) (-.f64 (fma.f64 x x y) y))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) #s(literal 2 binary64))) |
(-.f64 (*.f64 x x) (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (fma.f64 x x y)) (pow.f64 (fma.f64 x x y) #s(literal 2 binary64))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (*.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) (*.f64 y #s(literal 2 binary64))) |
(+.f64 (fma.f64 x x y) y) |
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x x)) |
(+.f64 y (fma.f64 x x y)) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) y)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) y) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x y) |
(fma.f64 (neg.f64 x) (neg.f64 x) y) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) y) |
(fma.f64 x x y) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 y (*.f64 (neg.f64 x) x)) |
(-.f64 y (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) y) |
(+.f64 y (*.f64 x x)) |
Compiled 2 104 to 328 computations (84.4% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 127 | 1 | 128 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 129 | 4 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 x x (+.f64 y y)) |
| ✓ | 63.2% | (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
| ✓ | 45.4% | (+.f64 #s(approx (+ (* x x) y) y) y) |
| ✓ | 56.4% | #s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
Compiled 37 to 24 computations (35.1% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y y) | |
| cost-diff | 0 | (fma.f64 x x (+.f64 y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 11 |
| 0 | 7 | 11 |
| 1 | 16 | 11 |
| 2 | 45 | 11 |
| 3 | 97 | 11 |
| 4 | 156 | 11 |
| 5 | 248 | 11 |
| 6 | 619 | 11 |
| 7 | 2909 | 11 |
| 0 | 8283 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x x (+.f64 y y)) |
x |
(+.f64 y y) |
y |
| Outputs |
|---|
(fma.f64 x x (+.f64 y y)) |
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
x |
(+.f64 y y) |
(*.f64 #s(literal 2 binary64) y) |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 x x (+.f64 y y)) | |
| accuracy | 0.0 | (+.f64 y y) |
| 38.0ms | 256× | 0 | valid |
Compiled 14 to 7 computations (50% saved)
ival-add: 4.0ms (54.6% of total)ival-mult: 3.0ms (40.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 x x (+.f64 y y)) |
(+.f64 y y) |
| Outputs |
|---|
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ (* x x) (+ y y)) (+ y y)) |
| 1.0ms | y | @ | inf | ((+ (* x x) (+ y y)) (+ y y)) |
| 0.0ms | x | @ | inf | ((+ (* x x) (+ y y)) (+ y y)) |
| 0.0ms | x | @ | -inf | ((+ (* x x) (+ y y)) (+ y y)) |
| 0.0ms | y | @ | 0 | ((+ (* x x) (+ y y)) (+ y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 89 |
| 1 | 73 | 89 |
| 2 | 261 | 89 |
| 3 | 1578 | 89 |
| 0 | 8435 | 79 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
| Outputs |
|---|
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* 2 y))) |
#s(approx (+ (* x x) (+ y y)) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (+ (* 2 y) (pow x 2)))) |
#s(approx (+ (* x x) (+ y y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ y y)) (*.f64 x x)) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) (+ y y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ y y) #s(hole binary64 (* 2 y))) |
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y)) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* y (+ 2 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) (+ y y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
#s(approx (+ (* x x) (+ y y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 2))))) |
#s(approx (+ (* x x) (+ y y)) (fma.f64 #s(literal 2 binary64) y (*.f64 x x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 9 |
| 0 | 7 | 9 |
| 1 | 38 | 9 |
| 0 | 383 | 9 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x x (+.f64 y y)) |
(+.f64 y y) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (fma.f64 x x y) (fma.f64 x x y)) (*.f64 y y)) (-.f64 (fma.f64 x x y) y)) |
(/.f64 (-.f64 (*.f64 #s(literal 2 binary64) y) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x y) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (fma.f64 x x y) (fma.f64 x x y) (-.f64 (*.f64 y y) (*.f64 (fma.f64 x x y) y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) y))) (neg.f64 (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) y (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 2 binary64) y) (-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) y)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (fma.f64 #s(literal 2 binary64) y (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 2 binary64) y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) y)))) |
(/.f64 (fma.f64 #s(literal 2 binary64) y (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) y) (-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) y (*.f64 x x)) |
(fma.f64 (pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3/2 binary64)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (neg.f64 (*.f64 #s(literal 2 binary64) y)) (neg.f64 (*.f64 #s(literal 2 binary64) y)) (*.f64 x x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (fabs.f64 (*.f64 #s(literal 2 binary64) y)) (fabs.f64 (*.f64 #s(literal 2 binary64) y)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 #s(literal 4 binary64) (*.f64 y y) (*.f64 x x)) |
(fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 #s(literal 2 binary64) y)) |
(fma.f64 #s(literal 2 binary64) (*.f64 y (*.f64 #s(literal 2 binary64) y)) (*.f64 x x)) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) |
(fma.f64 y #s(literal 2 binary64) (*.f64 x x)) |
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x (*.f64 #s(literal -2 binary64) y))) (/.f64 (*.f64 #s(literal 2 binary64) y) (fma.f64 x x (*.f64 #s(literal -2 binary64) y)))) |
(-.f64 (*.f64 x x) (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) y) (-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (*.f64 #s(literal 2 binary64) y) (fma.f64 (*.f64 #s(literal 2 binary64) y) (-.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (fma.f64 x x y) y) |
(+.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) y)) |
(+.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 x x)) |
(+.f64 y (fma.f64 x x y)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) y) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3/2 binary64))) |
(*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) y)) (neg.f64 (*.f64 #s(literal 2 binary64) y))) |
(*.f64 (fabs.f64 (*.f64 #s(literal 2 binary64) y)) (fabs.f64 (*.f64 #s(literal 2 binary64) y))) |
(*.f64 #s(literal 4 binary64) (*.f64 y y)) |
(*.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 #s(literal 2 binary64) y))) |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 #s(literal 2 binary64) y)) |
(*.f64 y #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 3 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) y)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) y)) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) y) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 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 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 y y #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 y y #s(literal 0 binary64)) (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 y y #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #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))) |
(fma.f64 (*.f64 #s(literal 2 binary64) y) y (*.f64 (*.f64 #s(literal 2 binary64) y) y)) |
(fma.f64 y (*.f64 #s(literal 2 binary64) y) (*.f64 y (*.f64 #s(literal 2 binary64) y))) |
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) y)) #s(literal 3 binary64))) |
(+.f64 (*.f64 y (*.f64 #s(literal 2 binary64) y)) (*.f64 y (*.f64 #s(literal 2 binary64) y))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) y) y) (*.f64 (*.f64 #s(literal 2 binary64) y) y)) |
(+.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 y y) |
Compiled 860 to 182 computations (78.8% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 70 | 0 | 70 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 70 | 4 | 74 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 x x (+.f64 y y)) |
| ✓ | 63.2% | (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
| ✓ | 45.4% | (+.f64 #s(approx (+ (* x x) y) y) y) |
| ✓ | 56.4% | #s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
Compiled 93 to 44 computations (52.7% saved)
| Inputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
(+.f64 (fma.f64 x x y) y) |
(fma.f64 x x (+.f64 y y)) |
(+.f64 (+.f64 (*.f64 x x) y) y) |
(fma.f64 x x (*.f64 #s(literal 2 binary64) y)) |
| Outputs |
|---|
(fma.f64 x x (+.f64 y y)) |
4 calls:
| 123.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 12 to 12 computations (0% saved)
| Inputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
(+.f64 (fma.f64 x x y) y) |
| Outputs |
|---|
(+.f64 (fma.f64 x x y) y) |
4 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 12 to 12 computations (0% saved)
| Inputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
| Outputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y) |
4 calls:
| 94.0ms | (*.f64 x x) |
| 2.0ms | y |
| 2.0ms | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 90.9% | 2 | (*.f64 x x) |
| 80.8% | 2 | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 90.9% | 2 | x |
| 71.5% | 3 | y |
Compiled 12 to 12 computations (0% saved)
| Inputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
| Outputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
#s(approx (+ (+ (* x x) y) y) (*.f64 x x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.9% | 2 | (*.f64 x x) |
| 89.9% | 2 | x |
Compiled 4 to 5 computations (-25% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
| Outputs |
|---|
(+.f64 #s(approx (+ (* x x) y) y) y) |
4 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 45.4% | 1 | y |
| 45.4% | 1 | (+.f64 (+.f64 (*.f64 x x) y) y) |
| 45.4% | 1 | (*.f64 x x) |
| 45.4% | 1 | x |
Compiled 12 to 12 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 2.312319214002237e-34 | 1.1319310204202939e-32 |
| 4.0ms | 112× | 0 | valid |
Compiled 150 to 115 computations (23.3% saved)
ival-add: 1.0ms (55.7% of total)ival-mult: 1.0ms (55.7% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 2.312319214002237e-34 | 1.1319310204202939e-32 |
| 3.0ms | 96× | 0 | valid |
Compiled 150 to 115 computations (23.3% saved)
ival-add: 1.0ms (64.6% of total)ival-mult: 1.0ms (64.6% 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 | 21 | 69 |
| 1 | 29 | 69 |
| 2 | 51 | 69 |
| 3 | 94 | 69 |
| 4 | 130 | 69 |
| 5 | 173 | 69 |
| 6 | 323 | 69 |
| 7 | 1506 | 69 |
| 8 | 5871 | 69 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x x (+.f64 y y)) |
(+.f64 (fma.f64 x x y) y) |
(if (<=.f64 x #s(literal 63940696633227/45671926166590716193865151022383844364247891968 binary64)) (+.f64 #s(approx (+ (* x x) y) y) y) (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)) |
(if (<=.f64 x #s(literal 6284457040522883/1461501637330902918203684832716283019655932542976 binary64)) (+.f64 #s(approx (+ (* x x) y) y) y) #s(approx (+ (+ (* x x) y) y) (*.f64 x x))) |
(+.f64 #s(approx (+ (* x x) y) y) y) |
| Outputs |
|---|
(fma.f64 x x (+.f64 y y)) |
(+.f64 (fma.f64 x x y) y) |
(if (<=.f64 x #s(literal 63940696633227/45671926166590716193865151022383844364247891968 binary64)) (+.f64 #s(approx (+ (* x x) y) y) y) (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)) |
(if (<=.f64 x #s(literal 6284457040522883/1461501637330902918203684832716283019655932542976 binary64)) (+.f64 #s(approx (+ (* x x) y) y) y) #s(approx (+ (+ (* x x) y) y) (*.f64 x x))) |
(+.f64 #s(approx (+ (* x x) y) y) y) |
| 1× | done |
Compiled 69 to 21 computations (69.6% saved)
(abs x)
Compiled 178 to 70 computations (60.7% saved)
Loading profile data...