
Time bar (total: 1.1s)
| 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)
| 535.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
ival-mult!: 94.0ms (59.6% of total)ival-sqrt: 63.0ms (39.9% of total)adjust: 2.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 119 | 0 | - | 3 | (-6.488495928786544e-156) | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) | oflow-rescue | 65 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (*.f64 x x)) | overflow | 65 | |
| ↳ | (*.f64 x x) | overflow | 65 | |
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) | uflow-rescue | 51 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (*.f64 x x)) | underflow | 51 | |
| ↳ | (*.f64 x x) | underflow | 51 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 116 | 3 |
| - | 0 | 137 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 116 | 0 | 3 |
| - | 0 | 0 | 137 |
| number | freq |
|---|---|
| 0 | 140 |
| 1 | 116 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 24.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult!: 10.0ms (73.3% of total)ival-sqrt: 4.0ms (29.3% of total)adjust: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 19 |
| 1 | 28 | 19 |
| 2 | 90 | 19 |
| 3 | 185 | 19 |
| 4 | 578 | 19 |
| 5 | 1314 | 19 |
| 6 | 4975 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 57.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(abs x)
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
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 (* x x) #s(hole binary64 (pow x 2))) |
#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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x) |
| 1.0ms | x | @ | 0 | ((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x) |
| 1.0ms | x | @ | -inf | ((sqrt (* 2 (* x x))) (* 2 (* x x)) 2 (* x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 61 |
| 0 | 22 | 60 |
| 1 | 50 | 54 |
| 0 | 171 | 49 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
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 (* x x) #s(hole binary64 (pow x 2))) |
#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 x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 x (neg.f64 (neg.f64 x))) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) x (neg.f64 x))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.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))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.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 (neg.f64 x) (neg.f64 x) (*.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 x (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 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)) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(approx (sqrt (* 2 (* x x))) (hypot.f64 x x)) |
#s(approx (* 2 (* x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (* 2 (* x x))) (neg.f64 (hypot.f64 x x))) |
Compiled 533 to 156 computations (70.7% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 3 | 62 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 59 | 4 | 63 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.4% | (*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
| ▶ | 99.2% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 57.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
Compiled 20 to 17 computations (15% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(sqrt.f64 x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* x 2)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* x 2) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (* x 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (* x 2)) (sqrt x)) (sqrt (* x 2)) (* x 2) (sqrt x) (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 135 |
| 0 | 52 | 117 |
| 0 | 123 | 117 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(sqrt.f64 x) |
(hypot.f64 x x) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* x 2)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* x 2) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (* x 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (*.f64 x (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64)))) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
(+.f64 x x) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(pow.f64 (*.f64 x (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (*.f64 x #s(literal 2 binary64)))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (* x 2)) (sqrt.f64 (*.f64 x #s(literal 2 binary64)))) |
#s(approx (* x 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt (* x 2)) (neg.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 303 to 93 computations (69.3% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 2 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 38 | 5 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.4% | (*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
| ✓ | 99.2% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 57.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| ▶ | 2.0% | #s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 33 to 27 computations (18.2% saved)
| Inputs |
|---|
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 x) |
| Outputs |
|---|
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -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 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) (sqrt x)) |
| 1.0ms | x | @ | inf | ((* (sqrt (* x 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) (sqrt x)) |
| 1.0ms | x | @ | 0 | ((* (sqrt (* x 2)) (sqrt x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) (sqrt x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 173 |
| 0 | 58 | 148 |
| 0 | 127 | 148 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (sqrt (+ x x)) (sqrt x)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
| Outputs |
|---|
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal -1 binary64) x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 x (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.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 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(+.f64 x x) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (neg (* (sqrt 2) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
Compiled 427 to 119 computations (72.1% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 0 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 36 | 5 | 41 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.4% | (*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
| ✓ | 99.2% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 57.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| ✓ | 2.0% | #s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 73 to 49 computations (32.9% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 28.0ms | x |
| 2.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 2.0ms | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 100.0% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 100.0% | 1 | x |
Compiled 15 to 12 computations (20% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 2.0ms | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | (*.f64 x x) |
| 99.4% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 99.4% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 99.4% | 1 | x |
Compiled 15 to 12 computations (20% saved)
Total -62.2b remaining (-12440.2%)
Threshold costs -62.2b (-12440.2%)
| Inputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
#s(approx (* (sqrt (* x 2)) (sqrt x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 1.0ms | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (*.f64 x x) |
| 99.2% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 99.2% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 99.2% | 1 | x |
Compiled 15 to 12 computations (20% saved)
| 1× | done |
Compiled 14 to 9 computations (35.7% saved)
Compiled 48 to 36 computations (25% saved)
Loading profile data...