
Time bar (total: 2.9s)
| 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 15 to 11 computations (26.7% saved)
| 951.0ms | 8 256× | 0 | valid |
ival-pow2: 577.0ms (76% of total)ival-fmax: 83.0ms (10.9% of total)ival-add: 43.0ms (5.7% of total)ival-sub: 41.0ms (5.4% of total)ival-true: 6.0ms (0.8% of total)exact: 5.0ms (0.7% of total)ival-assert: 3.0ms (0.4% of total)adjust: 2.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (pow.f64 y #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (fmax.f64 x y) |
| 0 | 0 | - | 0 | - | #s(literal 1/2 binary64) |
| 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 |
| 40.0ms | 512× | 0 | valid |
Compiled 101 to 34 computations (66.3% saved)
ival-pow2: 10.0ms (48.3% of total)ival-fmax: 5.0ms (24.2% of total)ival-sub: 2.0ms (9.7% of total)ival-add: 2.0ms (9.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 75 |
| 1 | 39 | 71 |
| 2 | 84 | 71 |
| 3 | 159 | 71 |
| 4 | 218 | 71 |
| 5 | 356 | 71 |
| 6 | 879 | 71 |
| 7 | 5949 | 71 |
| 0 | 10 | 13 |
| 0 | 16 | 13 |
| 1 | 23 | 13 |
| 2 | 45 | 13 |
| 3 | 101 | 13 |
| 4 | 201 | 13 |
| 5 | 336 | 13 |
| 6 | 833 | 13 |
| 7 | 5603 | 13 |
| 0 | 8964 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 13 to 10 computations (23.1% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 13 to 10 computations (23.1% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (pow.f64 y #s(literal 2 binary64)) | |
| cost-diff | 0 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) | |
| cost-diff | 1 | (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | |
| cost-diff | 1 | (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 42 |
| 0 | 16 | 42 |
| 1 | 23 | 42 |
| 2 | 45 | 42 |
| 3 | 101 | 42 |
| 4 | 201 | 42 |
| 5 | 336 | 42 |
| 6 | 833 | 42 |
| 7 | 5603 | 42 |
| 0 | 8964 | 37 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 y #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 1/2 binary64) |
(fmax.f64 x y) |
| Outputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 y #s(literal 2 binary64)) |
(*.f64 y y) |
y |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
(fmax.f64 x y) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 0.0 | (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) | |
| accuracy | 0.00390625 | (pow.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.00390625 | (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 22.0ms | 256× | 0 | valid |
Compiled 44 to 12 computations (72.7% saved)
ival-pow2: 5.0ms (49.3% of total)ival-fmax: 2.0ms (19.7% of total)ival-sub: 1.0ms (9.9% of total)ival-add: 1.0ms (9.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 |
|---|
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(pow.f64 y #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(fmax.f64 x y) |
| Outputs |
|---|
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (pow y 2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (pow y 2) (pow x 2) (fmax x y)) |
| 1.0ms | x | @ | inf | ((- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (pow y 2) (pow x 2) (fmax x y)) |
| 1.0ms | x | @ | 0 | ((- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (pow y 2) (pow x 2) (fmax x y)) |
| 1.0ms | x | @ | -inf | ((- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (pow y 2) (pow x 2) (fmax x y)) |
| 1.0ms | y | @ | -inf | ((- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (pow y 2) (pow x 2) (fmax x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 228 |
| 1 | 89 | 228 |
| 2 | 263 | 228 |
| 3 | 1549 | 228 |
| 0 | 8849 | 194 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (pow y 2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
| Outputs |
|---|
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 y y)) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 x x)) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (pow y 2) #s(hole binary64 (pow y 2))) |
#s(approx (pow y 2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 38 |
| 0 | 16 | 38 |
| 1 | 61 | 38 |
| 0 | 442 | 35 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(pow.f64 y #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(fmax.f64 x y) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (-.f64 (*.f64 y y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (*.f64 (*.f64 y y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) |
(fma.f64 (neg.f64 y) (neg.f64 y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64))) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (-.f64 (*.f64 y y) #s(literal 1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 x x (-.f64 (*.f64 y y) #s(literal 1/2 binary64))) |
(fma.f64 y y (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) |
(+.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) |
(+.f64 (*.f64 x x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64))) |
(+.f64 (*.f64 y y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fmax.f64 (-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fmax.f64 x y) |
Compiled 1 333 to 287 computations (78.5% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 68 | 4 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 69 | 4 | 73 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
| ▶ | 68.5% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ▶ | 55.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ▶ | 61.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
Compiled 73 to 51 computations (30.1% saved)
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y y #s(literal -1/2 binary64)) | |
| cost-diff | 0 | (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) | |
| cost-diff | 0 | (fmax.f64 x y) | |
| cost-diff | 0 | (fma.f64 x x #s(literal -1/2 binary64)) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) | |
| cost-diff | 0 | (fmax.f64 x y) | |
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) | |
| cost-diff | 0 | (fmax.f64 x y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
Useful iterations: 6 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 173 |
| 0 | 33 | 173 |
| 1 | 53 | 173 |
| 2 | 116 | 173 |
| 3 | 234 | 173 |
| 4 | 324 | 173 |
| 5 | 403 | 173 |
| 6 | 900 | 157 |
| 7 | 5757 | 157 |
| 0 | 9118 | 157 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
x |
(fmax.f64 x y) |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
y |
(fmax.f64 x y) |
x |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x x #s(literal -1/2 binary64)) |
x |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
x |
(fma.f64 y y #s(literal -1/2 binary64)) |
y |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
x |
(fmax.f64 x y) |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
y |
(fmax.f64 x y) |
x |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x x #s(literal -1/2 binary64)) |
x |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
x |
(fma.f64 y y #s(literal -1/2 binary64)) |
y |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) | |
| accuracy | 0.0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) | |
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 0.0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) | |
| accuracy | 0.0 | (fma.f64 x x #s(literal -1/2 binary64)) | |
| accuracy | 0.0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) | |
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 20.83402705190863 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) | |
| accuracy | 0.0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) | |
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 38.05779379415326 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) | |
| accuracy | 0.0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) | |
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 34.079234932928024 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
| 32.0ms | 256× | 0 | valid |
Compiled 137 to 17 computations (87.6% saved)
ival-mult: 7.0ms (34.6% of total)ival-pow2: 5.0ms (24.7% of total)ival-add: 4.0ms (19.8% of total)ival-fmax: 2.0ms (9.9% of total)ival-sub: 1.0ms (4.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x x #s(literal -1/2 binary64)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y #s(literal -1/2 binary64)) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | y | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2)) |
| 1.0ms | y | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2)) |
| 1.0ms | x | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2)) |
| 1.0ms | x | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2)) |
| 1.0ms | x | @ | 0 | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 390 |
| 1 | 112 | 390 |
| 2 | 383 | 374 |
| 3 | 1847 | 374 |
| 0 | 8534 | 314 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (* y y) (*.f64 y y)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 154 |
| 0 | 33 | 154 |
| 1 | 121 | 154 |
| 0 | 947 | 146 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x x #s(literal -1/2 binary64)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y #s(literal -1/2 binary64)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 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 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(neg.f64 (*.f64 y (neg.f64 y))) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 x x) #s(literal -1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64)) |
(fma.f64 x x #s(literal -1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 x x) #s(literal -1/2 binary64)))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(literal -1/2 binary64) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 #s(literal -1/2 binary64) (*.f64 x x)) |
(+.f64 (*.f64 x x) #s(literal -1/2 binary64)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))) |
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) x)) |
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) |
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) |
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y))) |
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))) |
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))) |
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 y y) #s(literal -1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1/8 binary64))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 y y) #s(literal -1/2 binary64))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 #s(literal -1/2 binary64) (*.f64 y y))))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1/8 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 y) (neg.f64 y) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(literal -1/2 binary64)) |
(fma.f64 y y #s(literal -1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 y y) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 y y) #s(literal -1/2 binary64)))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y))) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) y)) |
(-.f64 #s(literal -1/2 binary64) (*.f64 y (neg.f64 y))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 #s(literal -1/2 binary64) (*.f64 y y)) |
(+.f64 (*.f64 y y) #s(literal -1/2 binary64)) |
Compiled 3 303 to 514 computations (84.4% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 136 | 2 | 138 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 137 | 5 | 142 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 92.0% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
| ✓ | 68.5% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 55.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 61.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ▶ | 25.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 99 to 70 computations (29.3% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ (* y y) -1/2) (*.f64 y y)) | |
| cost-diff | 0 | (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) | |
| cost-diff | 0 | (fmax.f64 x y) | |
| cost-diff | 0 | #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) | |
| cost-diff | 0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) | |
| cost-diff | 0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 128 |
| 0 | 27 | 128 |
| 1 | 45 | 128 |
| 2 | 105 | 128 |
| 3 | 204 | 128 |
| 4 | 286 | 128 |
| 5 | 365 | 128 |
| 6 | 862 | 128 |
| 7 | 5670 | 128 |
| 0 | 9031 | 113 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
x |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
x |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
(*.f64 y y) |
y |
(fmax.f64 x y) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
x |
y |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
x |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
(*.f64 y y) |
y |
(fmax.f64 x y) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) | |
| accuracy | 30.41610474682694 | #s(approx (+ (* y y) -1/2) (*.f64 y y)) | |
| accuracy | 0.0 | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) | |
| accuracy | 0.0 | (fmax.f64 x y) | |
| accuracy | 20.83402705190863 | #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) | |
| accuracy | 35.755929146674895 | #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
| 30.0ms | 256× | 0 | valid |
Compiled 79 to 17 computations (78.5% saved)
ival-add: 8.0ms (39.6% of total)ival-pow2: 5.0ms (24.7% of total)ival-mult: 3.0ms (14.8% of total)ival-fmax: 2.0ms (9.9% of total)ival-sub: 1.0ms (4.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y)) |
| 1.0ms | y | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y)) |
| 1.0ms | x | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y)) |
| 1.0ms | x | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y)) |
| 0.0ms | y | @ | 0 | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 383 |
| 1 | 110 | 383 |
| 2 | 381 | 367 |
| 3 | 1853 | 367 |
| 0 | 8524 | 307 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (* y y) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 120 |
| 0 | 27 | 120 |
| 1 | 112 | 120 |
| 0 | 884 | 109 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (/.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))) |
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) |
(+.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(neg.f64 (*.f64 y (neg.f64 y))) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
Compiled 1 840 to 264 computations (85.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 0 | 61 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 61 | 5 | 66 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 92.0% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
| ✓ | 68.5% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 55.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 61.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ✓ | 25.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 232 to 112 computations (51.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
3 calls:
| 7.0ms | x |
| 4.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)) |
3 calls:
| 2.0ms | y |
| 2.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 92.0% | 1 | x |
| 100.0% | 3 | y |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
3 calls:
| 2.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 85.6% | 3 | x |
| 90.5% | 3 | y |
| 68.5% | 1 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
2 calls:
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 85.5% | 3 | x |
| 83.7% | 3 | y |
Compiled 2 to 4 computations (-100% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
3 calls:
| 4.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 68.3% | 2 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 61.7% | 1 | y |
| 68.3% | 3 | x |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
3 calls:
| 1.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 25.3% | 1 | y |
| 25.3% | 1 | x |
| 25.3% | 1 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 15 to 14 computations (6.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 166610315357236.47 | 5009968748327628.0 |
Compiled 16 to 15 computations (6.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 4.646035019329716e+75 | 5.634012038531379e+91 |
| 16.0ms | -4.661490566975151e+57 | -1.9058242307629457e+47 |
| 24.0ms | 320× | 0 | valid |
Compiled 716 to 554 computations (22.6% saved)
ival-pow2: 10.0ms (60.7% of total)ival-fmax: 3.0ms (18.2% of total)ival-sub: 1.0ms (6.1% of total)ival-add: 1.0ms (6.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 3.9947925729479136e-16 | 0.8267010268873837 |
| 10.0ms | -1.989772753603199e+51 | -3.0108917526419835e+50 |
| 16.0ms | 256× | 0 | valid |
Compiled 560 to 430 computations (23.2% saved)
ival-pow2: 5.0ms (50.3% of total)ival-fmax: 2.0ms (20.1% of total)ival-sub: 1.0ms (10.1% of total)ival-add: 1.0ms (10.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.005334160300138e-62 | 8.070022450677092e-62 |
Compiled 16 to 15 computations (6.3% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 243 |
| 1 | 82 | 243 |
| 2 | 142 | 243 |
| 3 | 238 | 243 |
| 4 | 328 | 243 |
| 5 | 648 | 243 |
| 6 | 3723 | 243 |
| 1× | node limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
(if (<=.f64 (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) #s(literal 200000000000000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))) |
(if (<=.f64 y #s(literal -639999999999999995609484183006093628650188439552 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (if (<=.f64 y #s(literal 5199999999999999698353764330651748179343881336095363139875911071997525753856 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)))) |
(if (<=.f64 x #s(literal -370000000000000007460960977900671398069385075621888 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) (if (<=.f64 x #s(literal 7385903388887613/9007199254740992 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)))) |
(if (<=.f64 (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) #s(literal 578960446186581/28948022309329048855892746252171976963317496166410141009864396001978282409984 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y)) |
(if (<=.f64 (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) #s(literal 200000000000000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))) |
(if (<=.f64 y #s(literal -639999999999999995609484183006093628650188439552 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (if (<=.f64 y #s(literal 5199999999999999698353764330651748179343881336095363139875911071997525753856 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)))) |
(if (or (<=.f64 y #s(literal -639999999999999995609484183006093628650188439552 binary64)) (not (<=.f64 y #s(literal 5199999999999999698353764330651748179343881336095363139875911071997525753856 binary64)))) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))) |
(if (<=.f64 x #s(literal -370000000000000007460960977900671398069385075621888 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) (if (<=.f64 x #s(literal 7385903388887613/9007199254740992 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)))) |
(if (or (<=.f64 x #s(literal -370000000000000007460960977900671398069385075621888 binary64)) (not (<=.f64 x #s(literal 7385903388887613/9007199254740992 binary64)))) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))) |
(if (<=.f64 (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) #s(literal 578960446186581/28948022309329048855892746252171976963317496166410141009864396001978282409984 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Loading profile data...