
Time bar (total: 1.2s)
| 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 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 8 to 7 computations (12.5% saved)
| 385.0ms | 8 256× | 0 | valid |
ival-mult: 142.0ms (69.1% of total)ival-sqrt: 52.0ms (25.3% of total)exact: 7.0ms (3.4% of total)adjust: 3.0ms (1.5% of total)ival-assert: 3.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 128 | 0 | - | 0 | - | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) | oflow-rescue | 75 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | overflow | 75 | |
sqrt.f64 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) | uflow-rescue | 53 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | underflow | 53 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 128 | 0 |
| - | 0 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 128 | 0 | 0 |
| - | 0 | 0 | 128 |
| number | freq |
|---|---|
| 0 | 128 |
| 1 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 26.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult: 7.0ms (61.6% of total)ival-sqrt: 3.0ms (26.4% 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 | 21 |
| 1 | 25 | 19 |
| 2 | 62 | 19 |
| 3 | 196 | 19 |
| 4 | 333 | 19 |
| 5 | 1011 | 19 |
| 6 | 4908 | 19 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 15 | 6 |
| 2 | 28 | 6 |
| 3 | 90 | 6 |
| 4 | 232 | 6 |
| 5 | 818 | 6 |
| 6 | 4263 | 6 |
| 0 | 8038 | 3 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Outputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(hypot.f64 x x) |
(abs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.2% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
| Outputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (* 2 x) x) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 34.0ms | x | @ | inf | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x) 2 x) |
| 1.0ms | x | @ | 0 | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x) 2 x) |
| 1.0ms | x | @ | -inf | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x) 2 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 61 |
| 0 | 22 | 60 |
| 1 | 48 | 60 |
| 0 | 150 | 51 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (* 2 x) x) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (fabs.f64 x)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (exp.f64 (log.f64 x))) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) x) |
(hypot.f64 (fabs.f64 x) (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 x (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x)) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -1 binary64) x) x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x) (-.f64 (*.f64 x x) (*.f64 x x)))) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 x x) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (* (* 2 x) x) (*.f64 (*.f64 x #s(literal 2 binary64)) x)) |
#s(approx (* 2 x) (*.f64 x #s(literal 2 binary64))) |
#s(approx x x) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x))) |
Compiled 540 to 136 computations (74.8% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 58 | 2 | 60 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 59 | 2 | 61 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
| ▶ | 99.5% | (*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
Compiled 16 to 11 computations (31.3% saved)
| Inputs |
|---|
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
(pow.f64 x #s(literal 1/2 binary64)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 #s(literal -1 binary64) x) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* x 2) #s(hole binary64 (* 2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* -1 x) #s(hole binary64 (* -1 x))) |
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1) |
| 2.0ms | x | @ | 0 | ((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1) |
| 1.0ms | x | @ | inf | ((* (pow (* x 2) 1/2) (pow x 1/2)) (pow (* x 2) 1/2) (* x 2) x 2 1/2 (pow x 1/2) (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (* -1 x) -1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 156 |
| 0 | 52 | 120 |
| 0 | 144 | 120 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
(pow.f64 x #s(literal 1/2 binary64)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 #s(literal -1 binary64) x) |
#s(literal -1 binary64) |
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* x 2) #s(hole binary64 (* 2 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* -1 x) #s(hole binary64 (* -1 x))) |
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* x 2) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1/2 binary64)) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 #s(literal -2 binary64) #s(literal 1/2 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(+.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1/2 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))) |
(pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 #s(literal -1 binary64) x) #s(literal 2 binary64)))) |
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (fabs.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (neg.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (neg.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (fabs.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (fabs.f64 (*.f64 #s(literal -1 binary64) x)) (*.f64 #s(literal -1 binary64) x)) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (neg.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (fabs.f64 (*.f64 #s(literal -1 binary64) x))) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 x) |
#s(literal -1 binary64) |
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (pow (* x 2) 1/2) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x)) |
#s(approx x x) |
#s(approx (pow x 1/2) (pow.f64 x #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (* -1 x) (*.f64 #s(literal -1 binary64) x)) |
#s(approx (* (pow (* x 2) 1/2) (pow x 1/2)) (*.f64 (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x) #s(literal -1 binary64))) |
#s(approx (pow (* x 2) 1/2) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) #s(literal -1 binary64))) |
#s(approx (pow x 1/2) (*.f64 (*.f64 (pow.f64 x #s(literal 1/2 binary64)) #s(literal -1 binary64)) #s(literal -1 binary64))) |
#s(approx (sqrt (+ (* (* -1 x) (* -1 x)) (* (* -1 x) (* -1 x)))) (*.f64 (*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) x) #s(literal -1 binary64))) |
Compiled 593 to 112 computations (81.1% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 58 | 0 | 58 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 58 | 2 | 60 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
| ✓ | 99.5% | (*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
Compiled 38 to 24 computations (36.8% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
| Outputs |
|---|
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
3 calls:
| 9.0ms | x |
| 1.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 1.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 100.0% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 100.0% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
3 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 1.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 99.5% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 99.5% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Outputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 1.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.2% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 53.2% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 53.2% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 20 |
| 1 | 16 | 20 |
| 2 | 21 | 20 |
| 3 | 28 | 20 |
| 4 | 60 | 20 |
| 5 | 382 | 20 |
| 6 | 3484 | 20 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Outputs |
|---|
(hypot.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 1× | done |
Compiled 22 to 13 computations (40.9% saved)
(abs x)
Compiled 84 to 52 computations (38.1% saved)
Loading profile data...