
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 6 computations (40% saved)
| 629.0ms | 8 256× | 0 | valid |
ival-pow2: 96.0ms (56% of total)ival-sqrt: 51.0ms (29.7% of total)ival-add!: 23.0ms (13.4% of total)adjust: 1.0ms (0.6% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 25 | 19 |
| 2 | 72 | 19 |
| 3 | 189 | 19 |
| 4 | 609 | 19 |
| 5 | 3566 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.9% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 16 to 10 computations (37.5% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 51 |
| 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 |
|---|
#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)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (pow x 2) (pow.f64 x #s(literal 2 binary64))) |
#s(approx x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | inf |
| 1.0ms | x | -inf |
| 1.0ms | x | 0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 20 |
| 0 | 8 | 16 |
| 0 | 35 | 13 |
| 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)) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fabs.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.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)) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x x) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 x x))) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (neg.f64 (*.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 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
#s(literal 2 binary64) |
Compiled 260 to 67 computations (74.2% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 4 | 23 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 20 | 4 | 24 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 54.9% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| ▶ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 37 to 27 computations (27% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 47 |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 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 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* -1 (* x (sqrt 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx x x) |
#s(approx (* 2 (* x x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 2.0ms | x | inf |
| 1.0ms | x | 0 |
| 1.0ms | x | -inf |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 60 |
| 0 | 23 | 45 |
| 0 | 72 | 45 |
| 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 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 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 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(*.f64 (*.f64 #s(literal -1 binary64) x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(literal -1 binary64) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(fabs.f64 (sqrt.f64 #s(literal 2 binary64))) |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(fabs.f64 (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) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 x x))) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (+.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.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) (neg.f64 (*.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 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(fabs.f64 (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) |
Compiled 564 to 134 computations (76.2% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 2 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 2 | 4 |
| Done | 0 | 0 | 0 |
| Total | 56 | 4 | 60 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 55.0% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 36 to 25 computations (30.6% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 46 |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg (* (sqrt 2) x)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx x x) |
#s(approx (* x (+ x x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 2.0ms | x | -inf |
| 1.0ms | x | inf |
| 1.0ms | x | 0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 41 |
| 0 | 18 | 39 |
| 0 | 69 | 33 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(fabs.f64 (sqrt.f64 #s(literal 2 binary64))) |
#s(literal 2 binary64) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x 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)) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x x) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 x x))) (*.f64 x x)) |
(*.f64 (+.f64 x x) x) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (+.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (neg.f64 (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x x)) x) |
(*.f64 #s(literal 2 binary64) x) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(-.f64 x (neg.f64 x)) |
(+.f64 x x) |
Compiled 379 to 109 computations (71.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 1 | 32 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 2 | 2 |
| Total | 31 | 5 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 55.0% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 43 to 30 computations (30.2% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 104 |
| 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) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x 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 (pow.f64 x #s(literal 2 binary64)) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))) |
#s(approx (sqrt x) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x x)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 2 binary64) x)))) |
#s(approx (sqrt x) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x x)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | 0 |
| 1.0ms | x | -inf |
| 1.0ms | x | inf |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 17 |
| 0 | 9 | 16 |
| 0 | 34 | 16 |
| 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) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(fabs.f64 (sqrt.f64 x)) |
x |
(pow.f64 (+.f64 x x) #s(literal 1/2 binary64)) |
(sqrt.f64 (+.f64 x x)) |
(fabs.f64 (sqrt.f64 (+.f64 x x))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x x)) x) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(-.f64 x (neg.f64 x)) |
(+.f64 x x) |
Compiled 244 to 79 computations (67.6% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 1 | 20 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| 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))) |
| 99.4% | (*.f64 (sqrt.f64 x) #s(approx (sqrt (+ x x)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))) | |
| ✓ | 55.0% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 57 to 40 computations (29.8% saved)
Total -62.1b remaining (-7673.9%)
Threshold costs -62.1b (-7673.9%)
| Inputs |
|---|
#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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| Inputs |
|---|
#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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 x) #s(approx (sqrt (+ x x)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| Inputs |
|---|
#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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 x) #s(approx (sqrt (+ x x)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 2 binary64) x))))) |
(hypot.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
12 calls:
| 13.0ms | x |
| 4.0ms | x |
| 3.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 3.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)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.3% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.3% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.3% | 1 | x |
| 99.5% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.5% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.5% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.5% | 1 | x |
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 100.0% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | x |
Compiled 143 to 74 computations (48.3% saved)
| 1× | fuel |
Compiled 23 to 14 computations (39.1% saved)
Compiled 77 to 51 computations (33.8% saved)
Loading profile data...