
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 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 3 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 6 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 7 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 8 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 9 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 10 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0% | 0% | 0% | 0% | 12 |
Compiled 14 to 10 computations (28.6% saved)
| 827.0ms | 4 111× | 2 | valid |
| 291.0ms | 4 145× | 0 | valid |
ival-sqrt: 291.0ms (36.7% of total)ival-div!: 164.0ms (20.7% of total)adjust: 136.0ms (17.2% of total)ival-mult!: 126.0ms (15.9% of total)ival-sub!: 76.0ms (9.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 123 | 0 | - | 0 | - | (sqrt.f64 (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| 0 | 0 | - | 0 | - | (/.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 x x)) | uflow-rescue | 64 | 0 |
| ↳ | (*.f64 x x) | underflow | 64 | |
sqrt.f64 | (sqrt.f64 (*.f64 x x)) | oflow-rescue | 59 | 0 |
| ↳ | (*.f64 x x) | overflow | 59 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 123 | 8 |
| - | 0 | 125 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 123 | 0 | 8 |
| - | 0 | 0 | 125 |
| number | freq |
|---|---|
| 0 | 133 |
| 1 | 123 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 38.0ms | 256× | 2 | valid |
| 24.0ms | 256× | 0 | valid |
Compiled 86 to 28 computations (67.4% saved)
ival-sqrt: 16.0ms (38.8% of total)ival-div!: 8.0ms (19.4% of total)ival-mult!: 8.0ms (19.4% of total)adjust: 7.0ms (17% of total)ival-sub!: 2.0ms (4.8% of total)Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 27 |
| 1 | 61 | 19 |
| 2 | 132 | 18 |
| 3 | 337 | 18 |
| 4 | 1715 | 18 |
| 5 | 6496 | 18 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.4% | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
Compiled 24 to 16 computations (33.3% saved)
| Inputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(/.f64 x x) |
x |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(sqrt.f64 (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0)) |
#s(approx (/ x x) #s(hole binary64 1)) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 1)) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx (sqrt (* x x)) #s(hole binary64 x)) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 -1)) |
#s(approx (sqrt (* x x)) #s(hole binary64 (* -1 x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x)) |
| 1.0ms | x | @ | 0 | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x)) |
| 1.0ms | x | @ | inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (/ x x) x (* (/ 1 x) (sqrt (* x x))) (/ 1 x) 1 (sqrt (* x x)) (* x x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 119 |
| 0 | 38 | 78 |
| 1 | 94 | 51 |
| 0 | 541 | 51 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(/.f64 x x) |
x |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(sqrt.f64 (*.f64 x x)) |
(*.f64 x x) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0)) |
#s(approx (/ x x) #s(hole binary64 1)) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 1)) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx (sqrt (* x x)) #s(hole binary64 x)) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(hole binary64 -1)) |
#s(approx (sqrt (* x x)) #s(hole binary64 (* -1 x))) |
| Outputs |
|---|
#s(literal 0 binary64) |
#s(literal 1 binary64) |
x |
#s(literal 1 binary64) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64))) |
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(pow.f64 x #s(literal -1 binary64)) |
(/.f64 (/.f64 #s(literal -1 binary64) x) #s(literal -1 binary64)) |
(/.f64 (neg.f64 x) (*.f64 (neg.f64 x) x)) |
(/.f64 #s(literal -1 binary64) (neg.f64 x)) |
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1 binary64) x) |
(/.f64 x (*.f64 x x)) |
(neg.f64 (/.f64 #s(literal -1 binary64) x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
#s(literal 1 binary64) |
x |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 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 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x)) |
(*.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x))) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/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 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(sqrt.f64 (*.f64 (*.f64 x x) (*.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)))) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (* x x)) x) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal 1 binary64)) |
#s(approx (/ 1 x) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (sqrt (* x x)) x) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(approx (* (/ 1 x) (sqrt (* x x))) #s(literal -1 binary64)) |
#s(approx (sqrt (* x x)) (neg.f64 x)) |
Compiled 687 to 192 computations (72.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 2 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 2 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.6% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| ▶ | 51.6% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Compiled 28 to 20 computations (28.6% saved)
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2) |
| 0.0ms | x | @ | inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2) |
| 0.0ms | x | @ | -inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 0 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 58 |
| 0 | 12 | 42 |
| 1 | 58 | 14 |
| 0 | 438 | 14 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 0)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(hole binary64 2)) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
Compiled 0 to 1 computations (-∞% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 51.6% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| ✓ | 51.6% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Compiled 68 to 39 computations (42.6% saved)
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
2 calls:
| 2.0ms | x |
| 1.0ms | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.4% | 2 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| 100.0% | 2 | x |
Compiled 13 to 9 computations (30.8% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
2 calls:
| 3.0ms | x |
| 1.0ms | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.6% | 1 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| 51.6% | 1 | x |
Compiled 13 to 9 computations (30.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 20.0ms | -6.397889549203275e-304 | 4.3173520625769903e-303 |
| 6.0ms | 48× | 2 | valid |
| 6.0ms | 112× | 0 | valid |
Compiled 295 to 232 computations (21.4% saved)
ival-div!: 2.0ms (26% of total)ival-sqrt: 2.0ms (26% of total)ival-mult!: 2.0ms (26% of total)adjust: 1.0ms (13% of total)ival-sub!: 1.0ms (13% of total)| 1× | done |
Compiled 46 to 15 computations (67.4% saved)
Compiled 116 to 46 computations (60.3% saved)
Loading profile data...