
Time bar (total: 1.9s)
| 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% | 100% | 0% | 0% | 0% | 0% | 2 |
| 0% | 0% | 50% | 0% | 0% | 50% | 0% | 3 |
| 50% | 25% | 25% | 0% | 0% | 50% | 0% | 4 |
| 75% | 37.5% | 12.5% | 0% | 0% | 50% | 0% | 5 |
| 87.5% | 43.7% | 6.2% | 0% | 0% | 50% | 0% | 6 |
| 93.8% | 46.9% | 3.1% | 0% | 0% | 50% | 0% | 7 |
| 96.9% | 48.4% | 1.6% | 0% | 0% | 50% | 0% | 8 |
| 98.4% | 49.2% | 0.8% | 0% | 0% | 50% | 0% | 9 |
| 99.2% | 49.6% | 0.4% | 0% | 0% | 50% | 0% | 10 |
| 99.6% | 49.8% | 0.2% | 0% | 0% | 50% | 0% | 11 |
| 99.8% | 49.9% | 0.1% | 0% | 0% | 50% | 0% | 12 |
Compiled 8 to 7 computations (12.5% saved)
| 576.0ms | 8 256× | 0 | valid |
| 0.0ms | 4× | 0 | invalid |
ival-mult: 182.0ms (51.8% of total)ival-sqrt: 110.0ms (31.3% of total)ival-sub: 43.0ms (12.2% of total)ival-true: 6.0ms (1.7% of total)exact: 5.0ms (1.4% of total)ival-assert: 3.0ms (0.9% of total)adjust: 2.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 22.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult: 4.0ms (36.1% of total)ival-sub: 3.0ms (27.1% of total)ival-sqrt: 3.0ms (27.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 19 |
| 1 | 26 | 19 |
| 2 | 52 | 19 |
| 3 | 76 | 19 |
| 4 | 135 | 19 |
| 5 | 342 | 19 |
| 6 | 2414 | 19 |
| 7 | 5901 | 19 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 16 | 6 |
| 2 | 40 | 6 |
| 3 | 79 | 6 |
| 4 | 138 | 6 |
| 5 | 345 | 6 |
| 6 | 2407 | 6 |
| 7 | 5971 | 6 |
| 0 | 8210 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(abs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (- 1 (* x x)) #s(hole binary64 1)) |
#s(approx (- 1 (* x x)) #s(hole binary64 (+ 1 (* -1 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* -1 (pow x 2)))) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | ((sqrt (- 1 (* x x))) (- 1 (* x x)) 1 (* x x) x) |
| 2.0ms | x | @ | -inf | ((sqrt (- 1 (* x x))) (- 1 (* x x)) 1 (* x x) x) |
| 1.0ms | x | @ | 0 | ((sqrt (- 1 (* x x))) (- 1 (* x x)) 1 (* x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 336 |
| 1 | 186 | 335 |
| 2 | 668 | 319 |
| 0 | 3421 | 313 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (- 1 (* x x)) #s(hole binary64 1)) |
#s(approx (- 1 (* x x)) #s(hole binary64 (+ 1 (* -1 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* -1 (pow x 2)))) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (- 1 (* x x)) #s(hole binary64 1)) |
#s(approx (- 1 (* x x)) #s(literal 1 binary64)) |
#s(approx (- 1 (* x x)) #s(hole binary64 (+ 1 (* -1 (pow x 2))))) |
#s(approx (- 1 (* x x)) (neg.f64 (fma.f64 x x #s(literal -1 binary64)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x #s(hole binary64 x)) |
#s(approx x x) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x)) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* -1 (pow x 2)))) |
#s(approx (- 1 (* x x)) (*.f64 (neg.f64 x) x)) |
#s(approx (- 1 (* x x)) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1)))) |
#s(approx (- 1 (* x x)) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) x) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 16 |
| 0 | 8 | 13 |
| 1 | 38 | 13 |
| 0 | 273 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64))) |
(pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 1 binary64)))) |
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(sin.f64 (+.f64 (asin.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (acos.f64 (neg.f64 x))) |
(sin.f64 (acos.f64 (fabs.f64 x))) |
(sin.f64 (acos.f64 x)) |
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(cos.f64 (neg.f64 (asin.f64 x))) |
(cos.f64 (asin.f64 (neg.f64 x))) |
(cos.f64 (asin.f64 (fabs.f64 x))) |
(cos.f64 (asin.f64 x)) |
(exp.f64 (*.f64 (log1p.f64 (*.f64 (neg.f64 x) x)) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (-.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (+.f64 #s(literal 1 binary64) (fabs.f64 x)) (-.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x))))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 x x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) |
(fma.f64 (neg.f64 x) x #s(literal 1 binary64)) |
(fma.f64 x (neg.f64 x) #s(literal 1 binary64)) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(+.f64 (*.f64 (neg.f64 x) x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
#s(literal 1 binary64) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
Compiled 835 to 252 computations (69.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 73 | 2 | 75 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 73 | 3 | 76 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| ▶ | 99.2% | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
| ▶ | 98.6% | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Compiled 27 to 22 computations (18.5% saved)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 1)) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (- 1 (* x x))) 1 (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x) x -1/2) |
| 1.0ms | x | @ | -inf | ((sqrt (- 1 (* x x))) 1 (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x) x -1/2) |
| 1.0ms | x | @ | 0 | ((sqrt (- 1 (* x x))) 1 (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x) x -1/2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 346 |
| 1 | 184 | 346 |
| 2 | 629 | 330 |
| 0 | 2864 | 319 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 1)) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 1)) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 1)) |
#s(approx (+ (* (* x x) -1/2) 1) #s(literal 1 binary64)) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (+ (* (* x x) -1/2) 1) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x #s(hole binary64 x)) |
#s(approx x x) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (sqrt -1)))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x)) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* -1/2 (pow x 2)))) |
#s(approx (+ (* (* x x) -1/2) 1) (*.f64 (*.f64 x x) #s(literal -1/2 binary64))) |
#s(approx (+ (* (* x x) -1/2) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)))) |
#s(approx (+ (* (* x x) -1/2) 1) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (sqrt -1))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x)) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))))) |
#s(approx (sqrt (- 1 (* x x))) #s(hole binary64 (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))))) |
#s(approx (sqrt (- 1 (* x x))) (*.f64 (neg.f64 x) (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 (/.f64 #s(literal -1/2 binary64) x) x) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 33 |
| 0 | 13 | 27 |
| 1 | 57 | 27 |
| 0 | 436 | 27 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))) |
(/.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64)))) |
(-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/2 binary64))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x))) |
(+.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))) |
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
#s(literal -1/2 binary64) |
Compiled 1 247 to 236 computations (81.1% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 0 | 71 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 71 | 3 | 74 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| ✓ | 99.2% | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
| ✓ | 98.6% | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Compiled 54 to 35 computations (35.2% saved)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
4 calls:
| 2.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 100.0% | 1 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 100.0% | 1 | x |
Compiled 15 to 12 computations (20% saved)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (*.f64 x x) |
| 99.2% | 1 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 99.2% | 1 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 99.2% | 1 | x |
Compiled 15 to 12 computations (20% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.6% | 1 | (*.f64 x x) |
| 98.6% | 1 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 98.6% | 1 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 98.6% | 1 | x |
Compiled 15 to 12 computations (20% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 27 |
| 1 | 25 | 27 |
| 2 | 57 | 27 |
| 3 | 99 | 27 |
| 4 | 149 | 27 |
| 5 | 353 | 27 |
| 6 | 2705 | 27 |
| 7 | 6821 | 27 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| Outputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| 1× | done |
Compiled 27 to 13 computations (51.9% saved)
(abs x)
Compiled 90 to 56 computations (37.8% saved)
Loading profile data...