Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #8735 > unrolled thread
| Started by | programmernovice <ivandenisovich826@gmail.com> |
|---|---|
| First post | 2018-04-30 11:09 -0700 |
| Last post | 2018-05-01 08:58 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.programming
Question about algorithm numerical domain programmernovice <ivandenisovich826@gmail.com> - 2018-04-30 11:09 -0700
Re: Question about algorithm numerical domain Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-04-30 19:38 +0100
Re: Question about algorithm numerical domain programmernovice <ivandenisovich826@gmail.com> - 2018-05-01 08:58 -0700
| From | programmernovice <ivandenisovich826@gmail.com> |
|---|---|
| Date | 2018-04-30 11:09 -0700 |
| Subject | Question about algorithm numerical domain |
| Message-ID | <8f53ddc2-e18b-4935-a2e5-1be81e1e04e6@googlegroups.com> |
Hi everyone. My book (Smith's "An Introduction to Goedel's Theorems") defines the numerical domain of an algorithm as the set of naturals that, when input individually to the algorithm, result in its "working", that is to terminate and output some result. In the book it is also stated that any wff of a programming language (e. g. C++) can be considered an algorithm, having a numerical domain. I'm not clear about how an instruction such as "Go To" can be considered an algorithm, or if it is, then how does one determine its numerical domain. Can someone please explain this? All help greatly appreciated.
[toc] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2018-04-30 19:38 +0100 |
| Message-ID | <87d0ygr14e.fsf@bsb.me.uk> |
| In reply to | #8735 |
programmernovice <ivandenisovich826@gmail.com> writes: > Hi everyone. My book (Smith's "An Introduction to Goedel's Theorems") > defines the numerical domain of an algorithm as the set of naturals > that, when input individually to the algorithm, result in its > "working", that is to terminate and output some result. In the book it > is also stated that any wff of a programming language (e. g. C++) can > be considered an algorithm, having a numerical domain. > > I'm not clear about how an instruction such as "Go To" can be > considered an algorithm, or if it is, then how does one determine its > numerical domain. Quite. But then it almost certainly does not come under the definition of "WFF of a programming language". A goto hidden in a function, f, is OK because we can consider f(x) to be WFF with a numerical domain. -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | programmernovice <ivandenisovich826@gmail.com> |
|---|---|
| Date | 2018-05-01 08:58 -0700 |
| Message-ID | <8f0a069c-2b17-408a-aa09-b9fcd3865611@googlegroups.com> |
| In reply to | #8736 |
On Monday, April 30, 2018 at 1:38:13 PM UTC-5, Ben Bacarisse wrote: > programmernovice writes: > > > Hi everyone. My book (Smith's "An Introduction to Goedel's Theorems") > > defines the numerical domain of an algorithm as the set of naturals > > that, when input individually to the algorithm, result in its > > "working", that is to terminate and output some result. In the book it > > is also stated that any wff of a programming language (e. g. C++) can > > be considered an algorithm, having a numerical domain. > > > > I'm not clear about how an instruction such as "Go To" can be > > considered an algorithm, or if it is, then how does one determine its > > numerical domain. > > Quite. But then it almost certainly does not come under the definition > of "WFF of a programming language". A goto hidden in a function, f, is > OK because we can consider f(x) to be WFF with a numerical domain. > > -- > Ben. Thanks for your reply.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web