
Time bar (total: 1000.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 50% | 0% | 0% | 50% | 0% | 2 |
| 50% | 25% | 25% | 0% | 0% | 50% | 0% | 3 |
| 66.7% | 25% | 12.5% | 0% | 0% | 62.5% | 0% | 4 |
| 80% | 25% | 6.2% | 0% | 0% | 68.7% | 0% | 5 |
| 88.9% | 25% | 3.1% | 0% | 0% | 71.8% | 0% | 6 |
| 94.1% | 25% | 1.6% | 0% | 0% | 73.4% | 0% | 7 |
| 97% | 25% | 0.8% | 0% | 0% | 74.2% | 0% | 8 |
| 98.5% | 25% | 0.4% | 0% | 0% | 74.6% | 0% | 9 |
| 99.2% | 25% | 0.2% | 0% | 0% | 74.8% | 0% | 10 |
| 99.6% | 25% | 0.1% | 0% | 0% | 74.9% | 0% | 11 |
| 99.8% | 25% | 0% | 0% | 0% | 74.9% | 0% | 12 |
Compiled 9 to 8 computations (11.1% saved)
| 417.0ms | 8 249× | 0 | valid |
| 1.0ms | 14× | 0 | invalid |
| 0.0ms | 7× | 1 | valid |
ival-sqrt: 187.0ms (67.9% of total)ival-mult!: 48.0ms (17.4% of total)ival-sub!: 39.0ms (14.2% of total)adjust: 1.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 0 | 0 | - | 0 | - | (sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (sqrt.f64 x) |
| 0 | 0 | - | 0 | - | (-.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 1 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 |
| 45.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-sqrt: 30.0ms (88.4% of total)ival-sub!: 2.0ms (5.9% of total)ival-mult!: 2.0ms (5.9% of total)adjust: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 26 |
| 1 | 20 | 26 |
| 2 | 25 | 26 |
| 3 | 35 | 26 |
| 4 | 69 | 26 |
| 5 | 250 | 26 |
| 6 | 1936 | 26 |
| 7 | 5071 | 26 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.2% | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
Compiled 14 to 12 computations (14.3% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(sqrt.f64 x) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5))))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7)))))))))) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x)) |
| 1.0ms | x | @ | 0 | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x)) |
| 1.0ms | x | @ | inf | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) x 1 (sqrt x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 188 | 753 |
| 0 | 193 | 596 |
| 0 | 1106 | 575 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(sqrt.f64 x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))))) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5))))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7)))))))))) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64)))) |
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (sqrt.f64 (*.f64 #s(literal -1 binary64) x)))) |
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64))) |
#s(approx (sqrt (- x 1)) (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (/.f64 x (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- x 1)) (fma.f64 (fma.f64 (fma.f64 (/.f64 x (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) #s(literal 1/16 binary64) (*.f64 #s(literal -1/8 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (- x 1) #s(literal -1 binary64)) |
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64))) |
#s(approx x x) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (sqrt (- x 1)) (sqrt.f64 x)) |
#s(approx (sqrt (- x 1)) (*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (- x 1)) (*.f64 (+.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) (fma.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal -1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1/8 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (- x 1) x) |
#s(approx (- x 1) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 #s(literal -1 binary64) x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)) x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (*.f64 (fma.f64 (/.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)) x))) |
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))) x))) |
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64)))) x))) |
#s(approx (sqrt (- x 1)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) #s(literal -1 binary64)) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -3 binary64))) #s(literal -1 binary64)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal -1 binary64))))) x))) |
#s(approx (- x 1) (neg.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
Compiled 760 to 210 computations (72.4% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 2 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 45 | 2 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 47.9% | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
| ▶ | 99.7% | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Compiled 15 to 12 computations (20% saved)
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
x |
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* -1 x))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1)))) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (* (- x 1) x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x))))) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x))))))) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* (sqrt (- x 1)) (sqrt x)) x (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1) 1) |
| 0.0ms | x | @ | inf | ((* (sqrt (- x 1)) (sqrt x)) x (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1) 1) |
| 0.0ms | x | @ | 0 | ((* (sqrt (- x 1)) (sqrt x)) x (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 149 | 755 |
| 0 | 152 | 624 |
| 0 | 792 | 612 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
x |
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1))))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5))))))))))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* -1 x))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1)))) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x)))))) |
#s(approx (* (- x 1) x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x))))) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x))))))) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64)))) |
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(pow.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (neg.f64 x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (sqrt.f64 (neg.f64 x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (sqrt.f64 (neg.f64 x)))) |
#s(approx x x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (sqrt.f64 (neg.f64 x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (sqrt.f64 (neg.f64 x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 x)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) (*.f64 x x) (sqrt.f64 (neg.f64 x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -3 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)) (*.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -5 binary64)))) (*.f64 x x))) (*.f64 x x) (sqrt.f64 (neg.f64 x)))) |
#s(approx (* (- x 1) x) (neg.f64 x)) |
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
#s(approx (- x 1) #s(literal -1 binary64)) |
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (-.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) (*.f64 x x)) #s(literal -1 binary64) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) x)) x)) |
#s(approx (* (- x 1) x) (*.f64 x x)) |
#s(approx (* (- x 1) x) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) (*.f64 x x))) |
#s(approx (- x 1) x) |
#s(approx (- x 1) (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 (neg.f64 x))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) x) #s(literal -1 binary64) #s(literal -1 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (neg.f64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) x)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64) #s(literal 1 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (+.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) x)) x) #s(literal -1 binary64) #s(literal 1 binary64)))) |
#s(approx (- x 1) (*.f64 (neg.f64 x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))) |
Compiled 567 to 153 computations (73% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 0 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 41 | 2 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 47.9% | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
| ✓ | 99.7% | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Compiled 37 to 26 computations (29.7% saved)
Total -33.6b remaining (-18280.9%)
Threshold costs -33.6b (-18280.9%)
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
2 calls:
| 1.0ms | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 99.7% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
| 1× | done |
Compiled 9 to 7 computations (22.2% saved)
Compiled 32 to 26 computations (18.8% saved)
Loading profile data...