
Time bar (total: 1.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 4 computations (60% saved)
| 592.0ms | 8 256× | 0 | valid |
ival-hypot: 456.0ms (99.6% of total)adjust: 1.0ms (0.2% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 34 | 19 |
| 2 | 100 | 19 |
| 3 | 171 | 19 |
| 4 | 422 | 19 |
| 5 | 2055 | 19 |
| 6 | 7408 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.1% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(abs x)
Compiled 10 to 8 computations (20% 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 | |
|---|---|---|---|---|
| 1.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 | 22 | 59 |
| 1 | 59 | 35 |
| 0 | 350 | 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 x 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 x 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 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 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 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.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 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(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 218 to 105 computations (51.8% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 4 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 29 | 5 | 34 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 52.1% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| ▶ | 5.5% | (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)) |
| ▶ | 2.2% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 36 to 32 computations (11.1% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#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(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (+ (* x 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) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 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 (* (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)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* x x))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x)) |
| 2.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* x x))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x)) |
| 2.0ms | x | @ | inf | ((sqrt (+ (* x x) (* x x))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (+ (* x x) (* x x))) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* (sqrt x) (sqrt (+ x x))) (sqrt x) (sqrt (+ x x)) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 190 |
| 0 | 66 | 160 |
| 0 | 150 | 145 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#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(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (+ (* x 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) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 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 (* (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)))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 x) |
x |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.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))) |
(pow.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) (* x x)) #s(literal 2 binary64))) |
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(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)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x x) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (+.f64 x x) #s(literal 1/2 binary64)) |
(sqrt.f64 (+.f64 x 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) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (neg x) (sqrt 2)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx x x) |
#s(approx (+ (* x x) (* x x)) (*.f64 x (+.f64 x x))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (+.f64 x x))) |
#s(approx (+ x x) (+.f64 x x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 (sqrt.f64 x) #s(literal -1 binary64)))) |
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (+.f64 x x)))) |
Compiled 245 to 143 computations (41.6% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 2 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 1 | 0 | 1 |
| Total | 54 | 6 | 60 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ▶ | 52.1% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 5.5% | (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)) |
| ✓ | 2.2% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 37 to 34 computations (8.1% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 63 |
| 0 | 28 | 55 |
| 1 | 75 | 31 |
| 0 | 428 | 31 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
(hypot.f64 x x) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (* 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 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 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)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
x |
#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 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 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)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx x x) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 79 to 50 computations (36.7% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 0 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 19 | 6 | 25 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 52.1% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 5.5% | (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)) |
| ✓ | 2.2% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 71 to 57 computations (19.7% 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)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 7.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 3.0ms | x |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.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 12 to 10 computations (16.7% 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)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
4 calls:
| 2.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.5% | 1 | (*.f64 x x) |
| 99.5% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 99.5% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 99.5% | 1 | x |
Compiled 12 to 10 computations (16.7% 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)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 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 |
| 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 |
|---|---|---|
| 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 12 to 10 computations (16.7% 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.5% | 1 | (*.f64 x x) |
| 5.5% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 5.5% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 5.5% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
| 1× | done |
Compiled 19 to 15 computations (21.1% saved)
(abs x)
Compiled 70 to 61 computations (12.9% saved)
Loading profile data...