
Time bar (total: 1.9s)
| 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 4 computations (60% saved)
| 683.0ms | 8 256× | 0 | valid |
ival-hypot: 527.0ms (99% of total)ival-assert: 3.0ms (0.6% of total)adjust: 2.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 129 | 0 | - | 3 | (-1.0351157896225813e-157) | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) | uflow-rescue | 64 | 0 |
| ↳ | (+.f64 (*.f64 x x) (*.f64 x x)) | underflow | 64 | |
| ↳ | (*.f64 x x) | underflow | 128 | |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) | oflow-rescue | 62 | 0 |
| ↳ | (+.f64 (*.f64 x x) (*.f64 x x)) | overflow | 62 | |
| ↳ | (*.f64 x x) | overflow | 124 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 126 | 3 |
| - | 0 | 127 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 126 | 0 | 3 |
| - | 0 | 0 | 127 |
| number | freq |
|---|---|
| 0 | 130 |
| 1 | 126 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 28.0ms | 512× | 0 | valid |
Compiled 50 to 16 computations (68% saved)
ival-hypot: 8.0ms (44.6% of total)ival-add: 5.0ms (27.9% of total)ival-mult: 4.0ms (22.3% 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 | 9 | 19 |
| 1 | 29 | 19 |
| 2 | 84 | 19 |
| 3 | 144 | 19 |
| 4 | 298 | 19 |
| 5 | 663 | 19 |
| 6 | 1542 | 19 |
| 7 | 3518 | 19 |
| 0 | 4 | 8 |
| 0 | 7 | 6 |
| 1 | 17 | 6 |
| 2 | 54 | 6 |
| 3 | 135 | 6 |
| 4 | 264 | 6 |
| 5 | 612 | 6 |
| 6 | 1430 | 6 |
| 7 | 5304 | 6 |
| 0 | 8068 | 3 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(hypot.f64 x x) |
(abs x)
Compiled 8 to 4 computations (50% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.8% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
Compiled 8 to 4 computations (50% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 37.0ms | x | @ | inf | ((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x) x) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x) x) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x) x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 70 |
| 0 | 23 | 59 |
| 1 | 60 | 35 |
| 0 | 352 | 35 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| 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 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(literal 2 binary64) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.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 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.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)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 546 to 150 computations (72.5% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 5 | 58 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 53 | 6 | 59 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.4% | (*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
| ▶ | 99.4% | (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
| ✓ | 53.8% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| ▶ | 50.9% | (sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
| ▶ | 5.4% | (sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| ▶ | 99.3% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 106 to 74 computations (30.2% saved)
| Inputs |
|---|
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(pow.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(*.f64 x x) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(log.f64 x) |
| Outputs |
|---|
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#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 (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x)))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x))))) |
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #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)))))) |
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x))))))) |
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 66.0ms | x | @ | 0 | ((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
| 52.0ms | x | @ | -inf | ((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
| 8.0ms | x | @ | inf | ((* (pow x 1/2) (pow (* 2 x) 1/2)) (pow x 1/2) x 1/2 (pow (* 2 x) 1/2) (* 2 x) 2 (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt 2) (* (sqrt x) (sqrt (* 2 x))) (sqrt x) (sqrt (* 2 x)) (sqrt (+ (* x x) (exp (* (log x) 2)))) (+ (* x x) (exp (* (log x) 2))) (* x x) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 96 | 442 |
| 0 | 118 | 353 |
| 0 | 263 | 317 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(pow.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(sqrt.f64 x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(*.f64 x x) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(log.f64 x) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#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 (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x)))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x))))) |
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (pow (* 2 x) 1/2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #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)))))) |
#s(approx (sqrt (+ (* x x) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x))))))) |
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x)))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(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) (pow.f64 x #s(literal 1 binary64))) |
(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)) (pow.f64 x #s(literal 1 binary64))) |
(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 (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(*.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))) |
x |
#s(literal 1/2 binary64) |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 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)) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(+.f64 x x) |
#s(literal 2 binary64) |
(pow.f64 #s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64))) |
#s(approx (+ (* x x) (exp (* (log x) 2))) #s(literal 2 binary64)) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 x (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(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) (pow.f64 x #s(literal 1 binary64))) |
(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)) (pow.f64 x #s(literal 1 binary64))) |
(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 (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(*.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 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 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)) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(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) (pow.f64 x #s(literal 1 binary64))) |
(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)) (pow.f64 x #s(literal 1 binary64))) |
(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 (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 #s(literal 2 binary64) 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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.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 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 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)))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 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)))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (log.f64 x)) |
(+.f64 (log.f64 x) (log.f64 x)) |
(log.f64 (*.f64 x x)) |
(log.f64 x) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x x) |
#s(approx (pow (* 2 x) 1/2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (* x x) (exp (* (log x) 2))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (pow (* 2 x) 1/2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (* x x) (exp (* (log x) 2))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (exp (* (log x) 2)) (*.f64 x x)) |
#s(approx (exp (* (log x) 2)) (*.f64 x x)) |
#s(approx (* (log x) 2) (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(approx (log x) (log.f64 x)) |
#s(approx (* (log x) 2) (*.f64 (neg.f64 (log.f64 x)) #s(literal -2 binary64))) |
#s(approx (log x) (neg.f64 (neg.f64 (log.f64 x)))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (pow (* 2 x) 1/2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (pow (* 2 x) 1/2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (* (pow x 1/2) (pow (* 2 x) 1/2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (* (log x) 2) (*.f64 (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64))) #s(literal 2 binary64))) |
#s(approx (log x) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64)))) |
Compiled 1 257 to 276 computations (78% saved)
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 118 | 4 | 122 |
| Fresh | 0 | 0 | 0 |
| Picked | 3 | 2 | 5 |
| Done | 1 | 0 | 1 |
| Total | 122 | 6 | 128 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.1% | (*.f64 (pow.f64 x #s(literal 1/2 binary64)) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
| ▶ | 99.4% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ▶ | 53.8% | (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 5.4% | (sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 54 to 35 computations (35.2% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(*.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/2 binary64)) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(pow.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 1/4 binary64) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 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 x #s(hole binary64 x)) |
#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/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x)))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x)))))))) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#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/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x)))))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 40.0ms | x | @ | -inf | ((sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) x 2 (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) (pow x 1/2) 1/2 (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) (pow (* 2 x) 1/4) (* 2 x) 1/4 (sqrt (+ (* x x) (* x x)))) |
| 36.0ms | x | @ | 0 | ((sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) x 2 (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) (pow x 1/2) 1/2 (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) (pow (* 2 x) 1/4) (* 2 x) 1/4 (sqrt (+ (* x x) (* x x)))) |
| 8.0ms | x | @ | inf | ((sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) x 2 (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x) (* (pow x 1/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) (pow x 1/2) 1/2 (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) (pow (* 2 x) 1/4) (* 2 x) 1/4 (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 375 |
| 0 | 107 | 258 |
| 0 | 316 | 258 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(*.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/2 binary64)) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(pow.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 1/4 binary64) |
(hypot.f64 x x) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 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 x #s(hole binary64 x)) |
#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/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow x 1/2) #s(hole binary64 (sqrt x))) |
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x)))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x)))))))) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#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/2) (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow x 1/2) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (pow (* 2 x) 1/4) (pow (* 2 x) 1/4)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x)))))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 #s(literal 2 binary64) 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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.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 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
#s(literal 2 binary64) |
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
(*.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 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(+.f64 x x) |
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
(*.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))) |
#s(literal 1/2 binary64) |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 (exp.f64 #s(literal 1/4 binary64)) (log.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) (sinh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)))) |
(*.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) |
#s(literal 1/4 binary64) |
(*.f64 (*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -2 binary64))))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 1 256 to 250 computations (80.1% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 2 | 111 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 2 | 2 |
| Total | 110 | 7 | 117 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.1% | (*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
| ▶ | 99.1% | (*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 99.4% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 53.8% | (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 5.4% | (sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 57 to 40 computations (29.8% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 1/4 binary64) |
| Outputs |
|---|
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x)))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x)))))))) |
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2)))))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x)))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 9.0ms | x | @ | -inf | ((* (sqrt x) (* (sqrt x) (sqrt 2))) (sqrt x) x (* (sqrt x) (sqrt 2)) (sqrt 2) 2 (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (pow (pow (* 2 x) 1/4) 2) (pow (* 2 x) 1/4) (* 2 x) 1/4) |
| 9.0ms | x | @ | inf | ((* (sqrt x) (* (sqrt x) (sqrt 2))) (sqrt x) x (* (sqrt x) (sqrt 2)) (sqrt 2) 2 (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (pow (pow (* 2 x) 1/4) 2) (pow (* 2 x) 1/4) (* 2 x) 1/4) |
| 8.0ms | x | @ | 0 | ((* (sqrt x) (* (sqrt x) (sqrt 2))) (sqrt x) x (* (sqrt x) (sqrt 2)) (sqrt 2) 2 (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (pow (pow (* 2 x) 1/4) 2) (pow (* 2 x) 1/4) (* 2 x) 1/4) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 71 | 250 |
| 0 | 82 | 201 |
| 0 | 263 | 201 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 1/4 binary64) |
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (log x)))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log 2) (* -1 (log (/ 1 x)))))))) |
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) #s(hole binary64 (* -1 (* x (* (pow (sqrt -1) 2) (sqrt 2)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (* (sqrt x) (sqrt 2)) #s(hole binary64 (* -1 (* (sqrt x) (* (pow (sqrt -1) 2) (sqrt 2)))))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (pow (* 2 x) 1/4) 2) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
#s(approx (pow (* 2 x) 1/4) #s(hole binary64 (exp (* 1/4 (+ (log -2) (* -1 (log (/ -1 x)))))))) |
| Outputs |
|---|
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
x |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
(pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64)) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/8 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
(pow.f64 (exp.f64 #s(literal 1/4 binary64)) (log.f64 (*.f64 #s(literal 2 binary64) x))) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64))) (sinh.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1/4 binary64)))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(+.f64 x x) |
#s(literal 1/4 binary64) |
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x x) |
#s(approx (* (sqrt x) (sqrt 2)) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (pow (pow (* 2 x) 1/4) 2) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 #s(literal 2 binary64))))) |
#s(approx (* (sqrt x) (* (sqrt x) (sqrt 2))) (neg.f64 (*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (* (sqrt x) (sqrt 2)) (neg.f64 (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x))))) |
#s(approx (* (sqrt x) (pow (pow (* 2 x) 1/4) 2)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (pow (pow (* 2 x) 1/4) 2) (neg.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (pow (* 2 x) 1/4) (pow.f64 (exp.f64 #s(literal 1/4 binary64)) (fma.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64) (log.f64 #s(literal -2 binary64))))) |
Compiled 729 to 159 computations (78.2% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 1 | 63 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 5 | 5 |
| Total | 63 | 7 | 70 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| 99.1% | (*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (+.f64 x x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) | |
| ✓ | 99.1% | (*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 99.4% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 53.8% | (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 5.4% | (sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 173 to 83 computations (52% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(hypot.f64 x x) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (+.f64 x x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (pow.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
(sqrt.f64 (+.f64 (*.f64 x x) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1/4 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 4.0ms | x |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 3.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 100.0% | 1 | x |
Compiled 19 to 10 computations (47.4% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
4 calls:
| 7.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | (*.f64 x x) |
| 99.4% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 99.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 99.4% | 1 | x |
Compiled 19 to 10 computations (47.4% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 1 | (*.f64 x x) |
| 99.3% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 99.3% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 99.3% | 1 | x |
Compiled 19 to 10 computations (47.4% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.4% | 1 | (*.f64 x x) |
| 5.4% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 5.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 5.4% | 1 | x |
Compiled 19 to 10 computations (47.4% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 29 |
| 1 | 26 | 29 |
| 2 | 64 | 29 |
| 3 | 156 | 29 |
| 4 | 345 | 29 |
| 5 | 1586 | 29 |
| 6 | 5163 | 29 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
| 1× | fuel |
Compiled 33 to 15 computations (54.5% saved)
(abs x)
Compiled 88 to 42 computations (52.3% saved)
Loading profile data...