
Time bar (total: 952.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 8 to 7 computations (12.5% saved)
| 397.0ms | 8 256× | 0 | valid |
ival-mult!: 129.0ms (57.2% of total)ival-sqrt: 95.0ms (42.1% of total)adjust: 1.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 128 | 0 | - | 2 | (3.1361552740938455e-159) | (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 | 68 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | overflow | 68 | |
sqrt.f64 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) | uflow-rescue | 58 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | underflow | 58 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 126 | 2 |
| - | 0 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 126 | 0 | 2 |
| - | 0 | 0 | 128 |
| number | freq |
|---|---|
| 0 | 130 |
| 1 | 126 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 20.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult!: 5.0ms (55.3% of total)ival-sqrt: 4.0ms (44.2% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (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 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.8% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(abs x)
Compiled 12 to 10 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 | |
|---|---|---|---|---|
| 1.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)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (sqrt.f64 #s(literal 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 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.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) (exp.f64 (log.f64 x))) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 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 (neg.f64 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))) (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 x) (neg.f64 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 (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)) |
(*.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 x 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 (sqrt.f64 #s(literal 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 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 477 to 133 computations (72.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 2 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 53 | 2 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 2.1% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 15 to 12 computations (20% saved)
| Inputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 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) x)) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (* (* 2 x) x)) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (* (* 2 x) x)) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 89 |
| 0 | 31 | 75 |
| 1 | 67 | 70 |
| 0 | 328 | 70 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(hypot.f64 x x) |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* (* 2 x) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) x) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 x) |
x |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x #s(literal 2 binary64))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x #s(literal 2 binary64)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (neg x) (sqrt 2)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 399 to 110 computations (72.4% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 0 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 29 | 2 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 2.1% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 36 to 26 computations (27.8% saved)
Total -62.6b remaining (-801698.2%)
Threshold costs -62.6b (-801698.2%)
| Inputs |
|---|
(hypot.f64 x x) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Outputs |
|---|
(hypot.f64 x x) |
3 calls:
| 2.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 |
|---|---|---|
| 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)
| 1× | done |
Compiled 3 to 2 computations (33.3% saved)
(abs x)
Compiled 24 to 18 computations (25% saved)
Loading profile data...