
Time bar (total: 2.8s)
| 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)
| 610.0ms | 8 249× | 0 | valid |
| 1.0ms | 12× | 0 | invalid |
| 1.0ms | 7× | 1 | valid |
ival-sqrt: 357.0ms (76.7% of total)ival-sub: 47.0ms (10.1% of total)ival-mult: 46.0ms (9.9% of total)ival-true: 5.0ms (1.1% of total)exact: 5.0ms (1.1% of total)ival-assert: 3.0ms (0.6% of total)adjust: 2.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 |
| 57.0ms | 510× | 0 | valid |
| 0.0ms | 2× | 1 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-sqrt: 40.0ms (85.7% of total)ival-mult: 3.0ms (6.4% of total)ival-sub: 3.0ms (6.4% 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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 15 | 19 |
| 2 | 20 | 19 |
| 3 | 29 | 19 |
| 4 | 59 | 19 |
| 5 | 218 | 19 |
| 6 | 1680 | 19 |
| 7 | 4738 | 19 |
| 0 | 6 | 7 |
| 0 | 10 | 7 |
| 1 | 13 | 7 |
| 2 | 16 | 7 |
| 3 | 25 | 7 |
| 4 | 55 | 7 |
| 5 | 214 | 7 |
| 6 | 1678 | 7 |
| 7 | 4741 | 7 |
| 0 | 8282 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64)))) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.3% | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
Compiled 7 to 6 computations (14.3% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (sqrt.f64 (-.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 10 | 18 |
| 1 | 13 | 18 |
| 2 | 16 | 18 |
| 3 | 25 | 18 |
| 4 | 55 | 18 |
| 5 | 214 | 18 |
| 6 | 1678 | 18 |
| 7 | 4741 | 18 |
| 0 | 8282 | 18 |
| 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) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64)))) |
(sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(sqrt.f64 x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0 | (sqrt.f64 (-.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 0.44921875 | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 12.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 20 to 8 computations (60% saved)
ival-sqrt: 3.0ms (47% of total)ival-mult: 1.0ms (15.7% of total)ival-sub: 1.0ms (15.7% 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 |
|---|
(*.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)) |
(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 (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 | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x)) |
| 1.0ms | x | @ | 0 | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x)) |
| 1.0ms | x | @ | inf | ((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 183 | 644 |
| 1 | 529 | 575 |
| 2 | 2419 | 564 |
| 0 | 8365 | 534 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#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 (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 |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))) |
#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)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (sqrt x)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt -1))) |
#s(approx (sqrt (- x 1)) (sqrt.f64 #s(literal -1 binary64))) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ x (sqrt -1)))))) |
#s(approx (sqrt (- x 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x (sqrt.f64 #s(literal -1 binary64)))) |
#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)) (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) x (sqrt.f64 #s(literal -1 binary64)))) |
#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 (sqrt (- x 1)) (fma.f64 (fma.f64 (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) #s(literal 1/16 binary64)) x (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(literal -1 binary64)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x 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)) (fma.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) (/.f64 x 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)) (sqrt x)) (fma.f64 (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x)) x) x x)) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (- x 1)) (sqrt.f64 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)) (*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)) |
#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)) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)) |
#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 (sqrt (- x 1)) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal -1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) x) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (- x 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#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)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
#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)) (fma.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64)) (/.f64 x x) x)) |
#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)) (sqrt x)) (fma.f64 (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x)) x) x x)) |
#s(approx (sqrt (- x 1)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (- x 1)) (sqrt.f64 x)) |
#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)) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)) |
#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)) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)) |
#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 (sqrt (- x 1)) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
#s(approx (- x 1) (*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 10 | 15 |
| 1 | 32 | 15 |
| 0 | 181 | 15 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 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)) |
(sqrt.f64 x) |
| 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)) |
(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 (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) (sqrt.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (sqrt.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(sqrt.f64 (-.f64 x #s(literal 1 binary64))) |
(exp.f64 (*.f64 (log.f64 (-.f64 x #s(literal 1 binary64))) #s(literal 1/2 binary64))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (fma.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 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 x #s(literal -1 binary64)) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/2 binary64))) |
Compiled 764 to 198 computations (74.1% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 3 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 45 | 3 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.3% | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
| ▶ | 99.7% | #s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
| ▶ | 98.8% | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Compiled 29 to 22 computations (24.1% saved)
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal 1 binary64)) x) | |
| cost-diff | 0 | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) | |
| cost-diff | 0 | (/.f64 #s(literal -1/2 binary64) x) | |
| cost-diff | 0 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) | |
| cost-diff | 3 | (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) | |
| cost-diff | 0 | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 51 |
| 0 | 20 | 51 |
| 1 | 30 | 51 |
| 2 | 45 | 45 |
| 3 | 90 | 45 |
| 4 | 241 | 45 |
| 5 | 1596 | 45 |
| 6 | 7682 | 45 |
| 0 | 8169 | 45 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
x |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) |
(/.f64 #s(literal -1/2 binary64) x) |
#s(literal -1/2 binary64) |
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)) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
x |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) |
(-.f64 x #s(literal 1/2 binary64)) |
(/.f64 #s(literal -1/2 binary64) x) |
#s(literal -1/2 binary64) |
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)) |
x |
#s(literal 1 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 (-.f64 x #s(literal 1 binary64)) x) | |
| accuracy | 31.834371600126993 | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) | |
| accuracy | 0.0 | (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) | |
| accuracy | 0.0 | (/.f64 #s(literal -1/2 binary64) x) | |
| accuracy | 0.22088489789981264 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) | |
| accuracy | 0.7430489050044757 | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
| 39.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 5 | exit |
Compiled 45 to 14 computations (68.9% saved)
ival-sqrt: 22.0ms (69% of total)ival-mult: 4.0ms (12.5% of total)ival-div: 2.0ms (6.3% of total)ival-sub: 2.0ms (6.3% of total)ival-add: 1.0ms (3.1% 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 |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
(/.f64 #s(literal -1/2 binary64) 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)) |
| 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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 -1/2)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (- x 1/2))) |
#s(approx (/ -1/2 x) #s(hole binary64 (/ -1/2 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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* x (- 1 (* 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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#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)) (+ (* (/ -1/2 x) x) x) (* (sqrt (- x 1)) (sqrt x)) (/ -1/2 x) (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1)) |
| 1.0ms | x | @ | 0 | ((* (sqrt (- x 1)) (sqrt x)) (+ (* (/ -1/2 x) x) x) (* (sqrt (- x 1)) (sqrt x)) (/ -1/2 x) (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1)) |
| 1.0ms | x | @ | inf | ((* (sqrt (- x 1)) (sqrt x)) (+ (* (/ -1/2 x) x) x) (* (sqrt (- x 1)) (sqrt x)) (/ -1/2 x) (sqrt (* (- x 1) x)) (* (- x 1) x) (- x 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 158 | 697 |
| 1 | 411 | 656 |
| 2 | 1684 | 578 |
| 0 | 6037 | 566 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 -1/2)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (- x 1/2))) |
#s(approx (/ -1/2 x) #s(hole binary64 (/ -1/2 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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* x (- 1 (* 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 (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#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)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))) |
#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)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (sqrt x)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 -1/2)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(literal -1/2 binary64)) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (- x 1/2))) |
#s(approx (+ (* (/ -1/2 x) x) x) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ -1/2 x) #s(hole binary64 (/ -1/2 x))) |
#s(approx (/ -1/2 x) (/.f64 #s(literal -1/2 binary64) x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (sqrt (* (- x 1) x)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))) |
#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)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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 (sqrt (* (- x 1) x)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#s(approx (* (- x 1) x) #s(hole binary64 (* -1 x))) |
#s(approx (* (- x 1) x) (neg.f64 x)) |
#s(approx (* (- x 1) x) #s(hole binary64 (* x (- x 1)))) |
#s(approx (* (- x 1) x) (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
#s(approx (- x 1) #s(hole binary64 -1)) |
#s(approx (- x 1) #s(literal -1 binary64)) |
#s(approx (- x 1) #s(hole binary64 (- x 1))) |
#s(approx (- x 1) (-.f64 x #s(literal 1 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
#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)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#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)) (sqrt x)) (-.f64 x (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)))) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ -1/2 x) x) x) x) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (+ (* (/ -1/2 x) x) x) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 x)) |
#s(approx (sqrt (* (- x 1) x)) x) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (sqrt (* (- x 1) x)) (-.f64 x #s(literal 1/2 binary64))) |
#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)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#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 (sqrt (* (- x 1) x)) (-.f64 x (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)))) |
#s(approx (* (- x 1) x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x 1) x) (*.f64 x x)) |
#s(approx (* (- x 1) x) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 x))))) |
#s(approx (* (- x 1) x) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x) x)) |
#s(approx (- x 1) #s(hole binary64 x)) |
#s(approx (- x 1) x) |
#s(approx (- x 1) #s(hole binary64 (* x (- 1 (/ 1 x))))) |
#s(approx (- x 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#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)) (-.f64 x #s(literal 1/2 binary64))) |
#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)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#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)) (sqrt x)) (-.f64 x (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)))) |
#s(approx (+ (* (/ -1/2 x) x) x) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (+ (* (/ -1/2 x) x) x) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (* (- x 1) x)) (neg.f64 x)) |
#s(approx (sqrt (* (- x 1) x)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (* (- x 1) x)) (-.f64 #s(literal 1/2 binary64) 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)) (-.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) 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 (sqrt (* (- x 1) x)) (-.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)) x)) |
#s(approx (- x 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 1))))) |
#s(approx (- x 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (neg.f64 x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 46 |
| 0 | 20 | 44 |
| 1 | 61 | 44 |
| 0 | 363 | 44 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
(/.f64 #s(literal -1/2 binary64) 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)) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
(*.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64))) (-.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 x x) x) |
(fma.f64 x (/.f64 #s(literal -1/2 binary64) x) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal -1/2 binary64) x)) x)) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal -1/2 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x)) (pow.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) x) x) |
(+.f64 x (*.f64 (/.f64 #s(literal -1/2 binary64) x) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) x x)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 x)) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal -1/2 binary64) x) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) x)) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) (neg.f64 x))) |
(*.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 1/4 binary64))) |
(*.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)) |
(/.f64 #s(literal 1 binary64) (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)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) #s(literal 1/2 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 x (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (fma.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 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 x #s(literal -1 binary64)) |
Compiled 1 301 to 252 computations (80.6% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 75 | 2 | 77 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 76 | 4 | 80 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.3% | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
| ▶ | 99.8% | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
| ▶ | 99.7% | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
| ✓ | 98.8% | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Compiled 41 to 33 computations (19.5% saved)
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1/8 binary64) x) | |
| cost-diff | 0 | (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) | |
| cost-diff | 0 | (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) | |
| cost-diff | 0 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) | |
| cost-diff | 0 | (-.f64 x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 49 |
| 0 | 19 | 49 |
| 1 | 24 | 49 |
| 2 | 28 | 49 |
| 3 | 39 | 49 |
| 4 | 69 | 49 |
| 5 | 227 | 49 |
| 6 | 1757 | 49 |
| 7 | 4817 | 49 |
| 0 | 8356 | 49 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(-.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
(-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
x |
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1/8 binary64) x) |
#s(literal 1/8 binary64) |
#s(literal -1/2 binary64) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(-.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
(-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
x |
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1/8 binary64) x) |
#s(literal 1/8 binary64) |
#s(literal -1/2 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 #s(literal 1/8 binary64) x) | |
| accuracy | 0.0 | (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) | |
| accuracy | 0.0 | (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) | |
| accuracy | 0.1168016444237873 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) | |
| accuracy | 0.0 | (-.f64 x #s(literal 1/2 binary64)) | |
| accuracy | 0.22088489789981264 | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
| 23.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 39 to 15 computations (61.5% saved)
ival-sqrt: 7.0ms (44.4% of total)ival-sub: 5.0ms (31.7% of total)ival-div: 2.0ms (12.7% of total)ival-mult: 2.0ms (12.7% 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 |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(-.f64 x #s(literal 1/2 binary64)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
(-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1/8 binary64) 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 (- x 1/2) #s(hole binary64 -1/2)) |
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ -1/8 x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* -1/2 x) 1/8) x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* x (- x 1/2)) 1/8) x))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ 1/8 x))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ (+ 1/8 (* 1/2 x)) x))) |
#s(approx (/ 1/8 x) #s(hole binary64 (/ 1/8 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 (- x 1/2) #s(hole binary64 x)) |
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 x)) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 1/2)) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (+ 1/2 (* 1/8 (/ 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 (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((* (sqrt (- x 1)) (sqrt x)) (- x 1/2) (* (sqrt (- x 1)) (sqrt x)) (- x (- (/ 1/8 x) -1/2)) (- (/ 1/8 x) -1/2) (/ 1/8 x)) |
| 1.0ms | x | @ | -inf | ((* (sqrt (- x 1)) (sqrt x)) (- x 1/2) (* (sqrt (- x 1)) (sqrt x)) (- x (- (/ 1/8 x) -1/2)) (- (/ 1/8 x) -1/2) (/ 1/8 x)) |
| 1.0ms | x | @ | inf | ((* (sqrt (- x 1)) (sqrt x)) (- x 1/2) (* (sqrt (- x 1)) (sqrt x)) (- x (- (/ 1/8 x) -1/2)) (- (/ 1/8 x) -1/2) (/ 1/8 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 144 | 478 |
| 1 | 374 | 460 |
| 2 | 1528 | 414 |
| 0 | 5782 | 408 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#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 1/2) #s(hole binary64 -1/2)) |
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ -1/8 x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* -1/2 x) 1/8) x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* x (- x 1/2)) 1/8) x))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ 1/8 x))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ (+ 1/8 (* 1/2 x)) x))) |
#s(approx (/ 1/8 x) #s(hole binary64 (/ 1/8 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 (- x 1/2) #s(hole binary64 x)) |
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 x)) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 1/2)) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (+ 1/2 (* 1/8 (/ 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 (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1))))) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* (sqrt x) (sqrt -1)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))) |
#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)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#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)) (sqrt x)) (fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#s(approx (- x 1/2) #s(hole binary64 -1/2)) |
#s(approx (- x 1/2) #s(literal -1/2 binary64)) |
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2))) |
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ -1/8 x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (/.f64 #s(literal -1/8 binary64) x)) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* -1/2 x) 1/8) x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (/ (- (* x (- x 1/2)) 1/8) x))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ 1/8 x))) |
#s(approx (- (/ 1/8 x) -1/2) (/.f64 #s(literal 1/8 binary64) x)) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (/ (+ 1/8 (* 1/2 x)) x))) |
#s(approx (- (/ 1/8 x) -1/2) (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
#s(approx (/ 1/8 x) #s(hole binary64 (/ 1/8 x))) |
#s(approx (/ 1/8 x) (/.f64 #s(literal 1/8 binary64) x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 x)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
#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)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 1/2 binary64))) |
#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)) (sqrt x)) (-.f64 x (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)) #s(literal 1 binary64)))) |
#s(approx (- x 1/2) #s(hole binary64 x)) |
#s(approx (- x 1/2) x) |
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 x)) |
#s(approx (- x (- (/ 1/8 x) -1/2)) x) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 1/2)) |
#s(approx (- (/ 1/8 x) -1/2) #s(literal 1/2 binary64)) |
#s(approx (- (/ 1/8 x) -1/2) #s(hole binary64 (+ 1/2 (* 1/8 (/ 1 x))))) |
#s(approx (- (/ 1/8 x) -1/2) (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) #s(hole binary64 (* -1 (* x (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#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)) (-.f64 x #s(literal 1/2 binary64))) |
#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)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 1/2 binary64))) |
#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)) (sqrt x)) (-.f64 x (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal -1/8 binary64)) x) #s(literal -1/2 binary64)) #s(literal 1 binary64)))) |
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) #s(hole binary64 (* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1))))) |
#s(approx (- x (- (/ 1/8 x) -1/2)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 44 |
| 0 | 19 | 42 |
| 1 | 79 | 42 |
| 0 | 568 | 42 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(-.f64 x #s(literal 1/2 binary64)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
(-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1/8 binary64) x) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1/4 binary64))) (neg.f64 (+.f64 #s(literal 1/2 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))) |
(/.f64 (fma.f64 x x #s(literal -1/4 binary64)) (+.f64 #s(literal 1/2 binary64) x)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))) |
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1/2 binary64) x)) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) x))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))) |
(-.f64 x #s(literal 1/2 binary64)) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
(/.f64 (-.f64 (*.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) (-.f64 x (/.f64 #s(literal 1/8 binary64) x))) #s(literal 1/4 binary64)) (-.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal -1/2 binary64))) |
(/.f64 (+.f64 (pow.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) (-.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 2 binary64))) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x) (*.f64 x x))) |
(-.f64 (/.f64 (*.f64 x x) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x)) (/.f64 (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x) (*.f64 x x))) (/.f64 (pow.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) (+.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x) (*.f64 x x)))) |
(-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))) |
(+.f64 (-.f64 x (/.f64 #s(literal 1/8 binary64) x)) #s(literal -1/2 binary64)) |
(+.f64 #s(literal -1/2 binary64) (-.f64 x (/.f64 #s(literal 1/8 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (+.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) #s(literal -1/8 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/16 binary64) x)))) |
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (+.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) x))) |
(/.f64 (-.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/16 binary64) x))) |
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) (+.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) x))) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) x)))) |
(-.f64 (/.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/16 binary64) x))) (/.f64 #s(literal -1/8 binary64) (+.f64 (+.f64 (pow.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/16 binary64) x)))) |
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal -1/8 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1/8 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1/8 binary64) x) |
(neg.f64 (/.f64 #s(literal -1/8 binary64) x)) |
(neg.f64 (/.f64 #s(literal 1/8 binary64) (neg.f64 x))) |
Compiled 1 150 to 221 computations (80.8% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 0 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 2 | 2 |
| Total | 51 | 4 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.3% | (sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
| ✓ | 99.8% | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
| ✓ | 99.7% | #s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
| ✓ | 98.8% | #s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
Compiled 103 to 59 computations (42.7% saved)
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) 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)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
2 calls:
| 2.0ms | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 99.8% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
2 calls:
| 2.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)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) 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 |
|---|---|---|
| 98.8% | 1 | (*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x)) |
| 98.8% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 35 |
| 1 | 25 | 35 |
| 2 | 41 | 35 |
| 3 | 68 | 35 |
| 4 | 109 | 35 |
| 5 | 311 | 35 |
| 6 | 2513 | 35 |
| 7 | 6021 | 35 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
| Outputs |
|---|
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64))) |
#s(approx (* (sqrt (- x 1)) (sqrt x)) x) |
| 1× | done |
Compiled 35 to 16 computations (54.3% saved)
Compiled 84 to 44 computations (47.6% saved)
Loading profile data...