
Time bar (total: 869.0ms)
| 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)
| 359.0ms | 8 256× | 0 | valid |
ival-hypot: 159.0ms (98.9% of total)adjust: 1.0ms (0.6% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 38 | 19 |
| 2 | 117 | 19 |
| 3 | 209 | 19 |
| 4 | 601 | 19 |
| 5 | 3247 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.4% | (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 | @ | -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) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 70 |
| 0 | 22 | 59 |
| 0 | 66 | 50 |
| 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 |
|---|
(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 1 binary64) (/.f64 (*.f64 x x) (*.f64 x x))) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.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))) |
x |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (* x x) (* x x)) (*.f64 x (+.f64 x x))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 202 to 96 computations (52.5% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 4 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 4 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 51.4% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 25 to 23 computations (8% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (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 |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* x x))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (* x x) (* x x))) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 2.0ms | x | @ | inf | ((sqrt (+ (* x x) (* x x))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (* x x) (* x x))) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* x x))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (* x x) (* x x))) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 88 |
| 0 | 38 | 84 |
| 0 | 101 | 84 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (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 |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(hypot.f64 x x) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal -1 binary64) x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) 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)) |
(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 |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #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)) (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 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 (*.f64 x x) #s(literal 2 binary64)) |
(*.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 (+.f64 #s(literal 1 binary64) (/.f64 x 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 (neg.f64 x)) |
(+.f64 x 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)) (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) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (neg (* (sqrt 2) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx x x) |
#s(approx (* x (+ x x)) (*.f64 (+.f64 x x) x)) |
#s(approx (+ x x) (+.f64 x x)) |
Compiled 265 to 144 computations (45.7% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 1 | 57 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 56 | 5 | 61 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 51.4% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 30 to 28 computations (6.7% saved)
| 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))) #s(hole binary64 (* (sqrt x) (sqrt (* 2 x))))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (sqrt (* 2 x)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (pow x 2) (* (sqrt (/ 1 x)) (sqrt (/ 2 x)))))) |
#s(approx (sqrt x) #s(hole binary64 (* x (sqrt (/ 1 x))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* x (sqrt (/ 2 x))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x)))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* x (sqrt (/ 2 x)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
| 1.0ms | x | @ | -inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
| 1.0ms | x | @ | inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 121 |
| 0 | 41 | 114 |
| 0 | 118 | 114 |
| 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) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (sqrt x) (sqrt (* 2 x))))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (sqrt (* 2 x)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (pow x 2) (* (sqrt (/ 1 x)) (sqrt (/ 2 x)))))) |
#s(approx (sqrt x) #s(hole binary64 (* x (sqrt (/ 1 x))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* x (sqrt (/ 2 x))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* x (sqrt (/ 1 x)))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* x (sqrt (/ 2 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 |
(*.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)) |
(fabs.f64 (sqrt.f64 (+.f64 x x))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x 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 (neg.f64 x)) |
(+.f64 x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (sqrt.f64 (*.f64 x (+.f64 x x)))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x x) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (+.f64 x x))) |
#s(approx (+ x x) (+.f64 x x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x))) |
#s(approx (sqrt x) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x)) |
#s(approx (sqrt (+ x x)) (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x)) |
#s(approx (sqrt x) (neg.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) x))) |
#s(approx (sqrt (+ x x)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) x))) |
Compiled 129 to 86 computations (33.3% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 21 | 1 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 21 | 6 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 51.4% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 47.8% | #s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x))) |
| ✓ | 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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 44 to 42 computations (4.5% saved)
| Inputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x))) |
(*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x)) |
(sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (sqrt x) (sqrt (* 2 x))))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) #s(hole binary64 (/ (sqrt 2) x))) |
#s(approx (* (/ 1 x) (/ 2 x)) #s(hole binary64 (/ 2 (pow x 2)))) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ 2 x) #s(hole binary64 (/ 2 x))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (pow x 2) (* (sqrt (/ 1 x)) (sqrt (/ 2 x)))))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) #s(hole binary64 (* -1 (/ (sqrt 2) x)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* (sqrt x) (sqrt (+ x x))) (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) (sqrt (* (/ 1 x) (/ 2 x))) (* (/ 1 x) (/ 2 x)) (/ 1 x) 1 x (/ 2 x) 2 (* x x)) |
| 1.0ms | x | @ | inf | ((* (sqrt x) (sqrt (+ x x))) (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) (sqrt (* (/ 1 x) (/ 2 x))) (* (/ 1 x) (/ 2 x)) (/ 1 x) 1 x (/ 2 x) 2 (* x x)) |
| 1.0ms | x | @ | 0 | ((* (sqrt x) (sqrt (+ x x))) (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) (sqrt (* (/ 1 x) (/ 2 x))) (* (/ 1 x) (/ 2 x)) (/ 1 x) 1 x (/ 2 x) 2 (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 196 |
| 0 | 54 | 169 |
| 0 | 154 | 169 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x))) |
(*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x)) |
(sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
(*.f64 x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (sqrt x) (sqrt (* 2 x))))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) #s(hole binary64 (/ (sqrt 2) x))) |
#s(approx (* (/ 1 x) (/ 2 x)) #s(hole binary64 (/ 2 (pow x 2)))) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ 2 x) #s(hole binary64 (/ 2 x))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* (pow x 2) (* (sqrt (/ 1 x)) (sqrt (/ 2 x)))))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) #s(hole binary64 (* -1 (/ (sqrt 2) x)))) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (*.f64 x x) (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))))) |
(*.f64 (*.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) (sqrt.f64 (/.f64 #s(literal 2 binary64) x))) |
(*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))) x) x) |
(*.f64 (*.f64 x x) (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)))) |
(*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))) (*.f64 x x)) |
(*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) |
(*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (sqrt.f64 (/.f64 #s(literal 2 binary64) x))) |
(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)))) |
(*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 #s(literal 1 binary64) x)) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) x) |
(/.f64 (*.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) x)) x) |
(/.f64 #s(literal -2 binary64) (neg.f64 (*.f64 x x))) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(pow.f64 x #s(literal -1 binary64)) |
(/.f64 #s(literal -1 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1 binary64) (/.f64 x #s(literal 1 binary64))) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal -2 binary64) (neg.f64 x)) |
(/.f64 #s(literal 2 binary64) x) |
(/.f64 #s(literal 1 binary64) (/.f64 x #s(literal 2 binary64))) |
#s(literal 2 binary64) |
(*.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))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (sqrt.f64 (*.f64 x (+.f64 x x)))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) (/.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (/ 1 x) (/ 2 x)) (/.f64 #s(literal 2 binary64) (*.f64 x x))) |
#s(approx (/ 1 x) (/.f64 #s(literal 1 binary64) x)) |
#s(approx x x) |
#s(approx (/ 2 x) (/.f64 #s(literal 2 binary64) x)) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (*.f64 x x) (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))))) |
#s(approx (* (sqrt (* (/ 1 x) (/ 2 x))) (* x x)) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt (* (/ 1 x) (/ 2 x))) (neg.f64 (/.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 275 to 180 computations (34.5% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 1 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 5 | 5 |
| Total | 39 | 6 | 45 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 51.4% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| 48.7% | #s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))) x) x)) | |
| ✓ | 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))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 90 to 76 computations (15.6% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(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) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x))) x) x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) x))) (*.f64 x x))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 3.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 |
|---|---|---|
| 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 |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(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:
| 24.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.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)
Total -62.1b remaining (-14203.7%)
Threshold costs -62.1b (-14203.7%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(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:
| 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 |
|---|---|---|
| 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)
| 1× | fuel |
Compiled 14 to 13 computations (7.1% saved)
Compiled 51 to 47 computations (7.8% saved)
Loading profile data...