
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 10 to 6 computations (40% saved)
| 618.0ms | 8 256× | 0 | valid |
ival-pow2: 92.0ms (44.2% of total)ival-sqrt: 59.0ms (28.3% of total)ival-add: 47.0ms (22.6% of total)ival-true: 5.0ms (2.4% of total)ival-assert: 3.0ms (1.4% of total)adjust: 2.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 132 | 0 | - | 3 | (-4.5976766556772086e-158) | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | oflow-rescue | 76 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | overflow | 76 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | overflow | 152 | |
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | uflow-rescue | 53 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | underflow | 53 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | underflow | 106 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 129 | 3 |
| - | 0 | 124 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 129 | 0 | 3 |
| - | 0 | 0 | 124 |
| number | freq |
|---|---|
| 0 | 127 |
| 1 | 129 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 23.0ms | 512× | 0 | valid |
Compiled 52 to 19 computations (63.5% saved)
ival-pow2: 6.0ms (49.1% of total)ival-sqrt: 3.0ms (24.5% of total)ival-add: 2.0ms (16.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 | 7 | 15 |
| 1 | 11 | 13 |
| 2 | 33 | 13 |
| 3 | 112 | 13 |
| 4 | 272 | 13 |
| 5 | 890 | 13 |
| 6 | 4745 | 13 |
| 0 | 5 | 8 |
| 0 | 8 | 6 |
| 1 | 12 | 6 |
| 2 | 28 | 6 |
| 3 | 80 | 6 |
| 4 | 244 | 6 |
| 5 | 826 | 6 |
| 6 | 5361 | 6 |
| 0 | 8499 | 3 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(hypot.f64 x x) |
Compiled 8 to 5 computations (37.5% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.8% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
Compiled 8 to 5 computations (37.5% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (pow.f64 x #s(literal 2 binary64)) | |
| cost-diff | 2 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | |
| cost-diff | 3 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 20 |
| 0 | 8 | 16 |
| 1 | 12 | 16 |
| 2 | 28 | 16 |
| 3 | 80 | 16 |
| 4 | 244 | 16 |
| 5 | 826 | 16 |
| 6 | 5361 | 16 |
| 0 | 8499 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(hypot.f64 x x) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (pow.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.0078125 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | |
| accuracy | 30.208176384583858 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 11.0ms | 256× | 0 | valid |
Compiled 22 to 7 computations (68.2% saved)
ival-pow2: 3.0ms (51.2% of total)ival-sqrt: 2.0ms (34.1% of total)ival-add: 1.0ms (17.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)| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 41 |
| 1 | 24 | 41 |
| 2 | 56 | 41 |
| 3 | 131 | 41 |
| 4 | 425 | 41 |
| 5 | 1325 | 41 |
| 6 | 4914 | 41 |
| 0 | 8053 | 35 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 18 |
| 0 | 8 | 14 |
| 1 | 29 | 6 |
| 0 | 204 | 6 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
| Outputs |
|---|
(*.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 #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 #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)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(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)))) |
Compiled 305 to 94 computations (69.2% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 28 | 4 | 32 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 29 | 4 | 33 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.8% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
| ▶ | 5.2% | (sqrt.f64 #s(literal 2 binary64)) |
| ▶ | 52.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 49.5% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 43 to 31 computations (27.9% saved)
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) | |
| cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) | |
| cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) | |
| cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) | |
| cost-diff | 0 | (*.f64 x (sqrt.f64 #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 86 |
| 0 | 22 | 78 |
| 1 | 36 | 78 |
| 2 | 88 | 78 |
| 3 | 223 | 78 |
| 4 | 440 | 78 |
| 5 | 1320 | 78 |
| 6 | 5403 | 78 |
| 0 | 8382 | 72 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.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) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.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) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 30.208176384583858 | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) | |
| accuracy | 0.0 | (sqrt.f64 #s(literal 2 binary64)) | |
| accuracy | 0.0 | (sqrt.f64 #s(literal 2 binary64)) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.4453125 | (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) | |
| accuracy | 30.520861866982123 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) | |
| accuracy | 0.0 | (sqrt.f64 #s(literal 2 binary64)) | |
| accuracy | 0.4453125 | (*.f64 x (sqrt.f64 #s(literal 2 binary64))) | |
| accuracy | 32.110509142028874 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| 45.0ms | 256× | 0 | valid |
Compiled 65 to 13 computations (80% saved)
ival-mult: 27.0ms (74.9% of total)ival-sqrt: 3.0ms (8.3% of total)ival-pow2: 3.0ms (8.3% of total)ival-add: 1.0ms (2.8% of total)ival-neg: 1.0ms (2.8% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (sqrt 2)) #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 (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (* x (sqrt 2)) (sqrt 2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (* x (sqrt 2)) (sqrt 2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (* x (sqrt 2)) (sqrt 2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (* (* x x) 2) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 77 |
| 1 | 41 | 77 |
| 2 | 104 | 77 |
| 3 | 275 | 77 |
| 4 | 579 | 77 |
| 5 | 1394 | 77 |
| 6 | 5683 | 77 |
| 0 | 8020 | 71 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (sqrt 2)) #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 (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (sqrt 2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (sqrt 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (neg x) (sqrt 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 75 |
| 0 | 22 | 67 |
| 1 | 54 | 39 |
| 0 | 329 | 39 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #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 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #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)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(neg.f64 x) |
(*.f64 (pow.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.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 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 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)))) |
Compiled 1 101 to 203 computations (81.6% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 72 | 3 | 75 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 72 | 7 | 79 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 48.6% | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
| ✓ | 52.8% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
| ✓ | 5.2% | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | 52.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 51.9% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
| ✓ | 49.5% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 49.4% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
Compiled 83 to 62 computations (25.3% saved)
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) | |
| cost-diff | 3 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) | |
| cost-diff | 3 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 96 |
| 0 | 28 | 80 |
| 1 | 45 | 74 |
| 2 | 91 | 74 |
| 3 | 254 | 74 |
| 4 | 989 | 74 |
| 5 | 7286 | 74 |
| 0 | 8020 | 68 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
x |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(neg.f64 x) |
x |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
x |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 0.0 | (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 0.15234375 | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) | |
| accuracy | 0.0 | (log.f64 #s(literal 2 binary64)) | |
| accuracy | 0.21875 | (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) | |
| accuracy | 0.48828125 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) | |
| accuracy | 30.520861866982123 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) | |
| accuracy | 0.0 | (log.f64 #s(literal 2 binary64)) | |
| accuracy | 0.0 | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) | |
| accuracy | 0.21875 | (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) | |
| accuracy | 0.48828125 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
| 38.0ms | 125× | 0 | valid |
| 17.0ms | 131× | 0 | invalid |
Compiled 81 to 18 computations (77.8% saved)
ival-mult: 7.0ms (31.8% of total)ival-sqrt: 4.0ms (18.2% of total)ival-pow2: 3.0ms (13.6% of total)ival-exp: 2.0ms (9.1% of total)ival-log: 2.0ms (9.1% of total)ival-add: 1.0ms (4.5% of total)ival-neg: 1.0ms (4.5% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(neg.f64 x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(log.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (exp (* (log 2) 1/2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((exp (* (log 2) 1/2)) (sqrt (+ (pow x 2) (pow x 2))) (* x (exp (* (log 2) 1/2))) (* (log 2) 1/2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (log 2)) |
| 1.0ms | x | @ | 0 | ((exp (* (log 2) 1/2)) (sqrt (+ (pow x 2) (pow x 2))) (* x (exp (* (log 2) 1/2))) (* (log 2) 1/2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (log 2)) |
| 1.0ms | x | @ | inf | ((exp (* (log 2) 1/2)) (sqrt (+ (pow x 2) (pow x 2))) (* x (exp (* (log 2) 1/2))) (* (log 2) 1/2) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (* 2 x) (log 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 119 |
| 1 | 88 | 117 |
| 2 | 218 | 117 |
| 0 | 603 | 111 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (exp (* (log 2) 1/2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (exp (* (log 2) 1/2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (exp (* (log 2) 1/2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (sqrt (* 2 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (sqrt x) (sqrt (* 2 x))) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) (neg.f64 x))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (* 2 x)) (*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 77 |
| 0 | 28 | 57 |
| 1 | 67 | 36 |
| 0 | 304 | 36 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(neg.f64 x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(log.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
(*.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 x (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))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 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))))) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (sqrt.f64 #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 x (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))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 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))))) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 (sqrt.f64 #s(literal 2 binary64))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 (sqrt.f64 #s(literal 2 binary64))) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x))) |
(fma.f64 (neg.f64 x) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x)) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x))) |
(+.f64 (*.f64 (neg.f64 x) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (neg.f64 x) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(neg.f64 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 x (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))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 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))))) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 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))) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 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))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) (-.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) |
(log.f64 #s(literal 2 binary64)) |
Compiled 1 595 to 275 computations (82.8% saved)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 90 | 2 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 4 | 4 |
| Total | 91 | 8 | 99 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 48.4% | (*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
| ▶ | 48.6% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 52.8% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
| ✓ | 5.2% | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | 52.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 51.9% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
| ✓ | 49.5% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 49.4% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
Compiled 95 to 69 computations (27.4% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | (pow.f64 x #s(literal 1/4 binary64)) | |
| cost-diff | 0 | (*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) | |
| cost-diff | 5 | (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) | |
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 x x)) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 49 |
| 0 | 21 | 39 |
| 1 | 38 | 39 |
| 2 | 71 | 39 |
| 3 | 129 | 39 |
| 4 | 212 | 39 |
| 5 | 528 | 39 |
| 6 | 4216 | 39 |
| 7 | 6540 | 39 |
| 0 | 8152 | 39 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 x #s(literal 1/4 binary64)) |
x |
#s(literal 1/4 binary64) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(sqrt.f64 x) |
(pow.f64 x #s(literal 1/4 binary64)) |
x |
#s(literal 1/4 binary64) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 0.0 | (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) | |
| accuracy | 0.15234375 | (*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) | |
| accuracy | 0.26304628907376804 | (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) | |
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 0.0 | (sqrt.f64 (+.f64 x x)) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 0.15234375 | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| 16.0ms | 125× | 0 | valid |
| 10.0ms | 131× | 0 | invalid |
Compiled 51 to 14 computations (72.5% saved)
ival-mult: 9.0ms (49% of total)ival-sqrt: 5.0ms (27.2% of total)ival-pow: 3.0ms (16.3% of total)ival-add: 1.0ms (5.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)| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 x #s(literal 1/4 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (sqrt x))) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/4) #s(hole binary64 (pow (* 1 x) 1/4))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -1) (* -1 (log (/ -1 x)))))))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 90.0ms | x | @ | 0 | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/4) (pow x 1/4)) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) (pow x 1/4) (sqrt (* 2 x)) (* 2 x)) |
| 19.0ms | x | @ | -inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/4) (pow x 1/4)) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) (pow x 1/4) (sqrt (* 2 x)) (* 2 x)) |
| 11.0ms | x | @ | inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/4) (pow x 1/4)) (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) (pow x 1/4) (sqrt (* 2 x)) (* 2 x)) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 160 |
| 1 | 112 | 159 |
| 2 | 293 | 158 |
| 0 | 1102 | 158 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (sqrt x))) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/4) #s(hole binary64 (pow (* 1 x) 1/4))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -1) (* -1 (log (/ -1 x)))))))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (pow x 1/4) #s(hole binary64 (pow (* 1 x) 1/4))) |
#s(approx (pow x 1/4) (pow.f64 x #s(literal 1/4 binary64))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (neg.f64 x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ x x)) (*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
#s(approx (* (pow x 1/4) (pow x 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (* (* (pow x 1/4) (pow x 1/4)) (sqrt (* 2 x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (neg.f64 x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))))) |
#s(approx (pow x 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -1) (* -1 (log (/ -1 x)))))))) |
#s(approx (pow x 1/4) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) x) #s(literal -1/4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 1/4 binary64)))) |
#s(approx (sqrt (* 2 x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ x x)) (*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 45 |
| 0 | 21 | 33 |
| 0 | 63 | 33 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 x #s(literal 1/4 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (neg.f64 (pow.f64 x #s(literal 1/4 binary64))) (neg.f64 (pow.f64 x #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 x #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 x #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(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) |
(*.f64 (neg.f64 (pow.f64 x #s(literal 1/4 binary64))) (neg.f64 (pow.f64 x #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 x #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 x #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 (*.f64 x x) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(sqrt.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (pow.f64 x #s(literal 1/8 binary64)) (pow.f64 x #s(literal 1/8 binary64))) |
(pow.f64 x #s(literal 1/4 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(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) |
Compiled 427 to 112 computations (73.8% saved)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 2 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 1 | 5 | 6 |
| Total | 35 | 8 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| 48.4% | (*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (+.f64 x x))) | |
| ✓ | 48.6% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| 52.8% | (sqrt.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x))) | |
| ✓ | 5.2% | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | 52.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 51.9% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
| ✓ | 49.5% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 49.4% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
Compiled 211 to 107 computations (49.3% saved)
| Inputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (pow.f64 x #s(literal 1/4 binary64)) #s(literal 2 binary64)) (sqrt.f64 (+.f64 x x))) |
(*.f64 (*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
4 calls:
| 27.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 4.0ms | x |
| 3.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 3.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 76.5% | 3 | (pow.f64 x #s(literal 2 binary64)) |
| 76.5% | 3 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 76.5% | 3 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.4% | 2 | x |
Compiled 19 to 13 computations (31.6% saved)
| Inputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 2 | x |
Compiled 1 to 1 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| Outputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.5% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 49.5% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 49.5% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 51.3% | 2 | x |
Compiled 19 to 13 computations (31.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
(sqrt.f64 #s(literal 2 binary64)) |
4 calls:
| 20.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.2% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 5.2% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 5.2% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 5.2% | 1 | x |
Compiled 19 to 13 computations (31.6% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | -1.3700854308635707e-306 | 1.3901452499748658e-305 |
| 6.0ms | 144× | 0 | valid |
Compiled 200 to 161 computations (19.5% saved)
ival-pow2: 2.0ms (62.3% of total)ival-add: 1.0ms (31.1% of total)ival-sqrt: 1.0ms (31.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | -1.3700854308635707e-306 | 1.3901452499748658e-305 |
Compiled 254 to 197 computations (22.4% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 10.0ms | -6.659521666114716e-203 | -9.827286392257744e-207 |
| 5.0ms | 128× | 0 | valid |
Compiled 131 to 120 computations (8.4% saved)
ival-add: 1.0ms (34.2% of total)ival-sqrt: 1.0ms (34.2% of total)ival-pow2: 1.0ms (34.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 69 |
| 1 | 32 | 69 |
| 2 | 52 | 69 |
| 3 | 109 | 69 |
| 4 | 275 | 69 |
| 5 | 1479 | 69 |
| 6 | 5175 | 69 |
| 1× | node limit |
| Inputs |
|---|
(if (<=.f64 x #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))) |
(if (<=.f64 x #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(if (<=.f64 x #s(literal -7229475734293037/180736893357325919804742965901096183254486650358500961579737723575212405143116703993975930943694719806137463391890175780999890999416217020648099397663164550811570949854893831716648452639533025774320471006645409943407034368 binary64)) (sqrt.f64 #s(literal 2 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
(if (<=.f64 x #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))) |
(if (<=.f64 x #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(if (<=.f64 x #s(literal -7229475734293037/180736893357325919804742965901096183254486650358500961579737723575212405143116703993975930943694719806137463391890175780999890999416217020648099397663164550811570949854893831716648452639533025774320471006645409943407034368 binary64)) (sqrt.f64 #s(literal 2 binary64)) #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
| 1× | fuel |
Compiled 77 to 23 computations (70.1% saved)
Compiled 170 to 56 computations (67.1% saved)
Loading profile data...