Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

When Dexter's on the Internet, can Hell be far behind?"


devel / comp.theory / Re: Did I encode Sipser correctly? (it seemed too easy)

SubjectAuthor
* Did I encode Sipser correctly? (it seemed too easy)olcott
+- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
+* Did I encode Sipser correctly? (it seemed too easy)olcott
|`* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| +* Did I encode Sipser correctly? (it seemed too easy)olcott
| |+* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||`* Did I encode Sipser correctly? (it seemed too easy)olcott
| || `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||  `* Did I encode Sipser correctly? (it seemed too easy)olcott
| ||   `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||    +* Did I encode Sipser correctly? (it seemed too easy)olcott
| ||    |`* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||    | +* Did I encode Sipser correctly? (it seemed too easy)olcott
| ||    | |`* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||    | | `* Did I encode Sipser correctly? (it seemed too easy)olcott
| ||    | |  `- Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| ||    | `- Did I encode Sipser correctly? (it seemed too easy)olcott
| ||    `- Did I encode Sipser correctly? (it seemed too easy)olcott
| |`* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| | `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  +* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  |+* Did I encode Sipser correctly? (it seemed too easy)Mike Terry
| |  ||`* Did I encode Sipser correctly? (it seemed too easy)Ben Bacarisse
| |  || `* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||  `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||   +* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||   |`* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||   | `* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||   |  +- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||   |  +* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||   |  |`* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||   |  | `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||   |  `* Did I encode Sipser correctly? (it seemed too easy)dklei...@gmail.com
| |  ||   |   `* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||   |    +* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||   |    |`* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  ||   |    | `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||   |    `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||   `* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||    `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||     `* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  ||      `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  ||       `- Did I encode Sipser correctly? (it seemed too easy)olcott
| |  |`* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  | `* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  |  `* Did I encode Sipser correctly? (it seemed too easy)André G. Isaak
| |  |   `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  +* Did I encode Sipser correctly? (it seemed too easy)olcott
| |  |`- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| |  `- Did I encode Sipser correctly? (it seemed too easy) [wrong sourceolcott
| `- Did I encode Sipser correctly? (it seemed too easy)olcott
+* Did I encode Sipser correctly? (it seemed too easy)Mikko
|`* Did I encode Sipser correctly? (it seemed too easy)olcott
| +- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
| `* Did I encode Sipser correctly? (it seemed too easy)Mikko
|  +* Did I encode Sipser correctly? (it seemed too easy)olcott
|  |`- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
|  `* Did I encode Sipser correctly? (it seemed too easy)olcott
|   +* Did I encode Sipser correctly? (it seemed too easy)Mikko
|   |`* Did I encode Sipser correctly? (it seemed too easy)olcott
|   | `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
|   `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon
`* Did I encode Sipser correctly? (it seemed too easy)Mikko
 `* Did I encode Sipser correctly? (it seemed too easy)Richard Damon
  `* Did I encode Sipser correctly? (it seemed too easy)Mikko
   `- Did I encode Sipser correctly? (it seemed too easy)Richard Damon

Pages:123
Re: Did I encode Sipser correctly? (it seemed too easy)

<EZydnSuL4qwJZlT_nZ2dnUU7_8xh4p2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35545&group=comp.theory#35545

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.software-eng
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 17:05:08 -0500
Date: Sat, 9 Jul 2022 17:05:07 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory,sci.logic,sci.math,comp.software-eng
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<tacmvd$14jr5$1@dont-email.me>
<pomdnedR5ulWdVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<tacqei$14ttq$1@dont-email.me>
<FLCdndE-T7YCcFT_nZ2dnUU7_8xh4p2d@giganews.com>
<tacqvi$14vrs$1@dont-email.me>
<U42dnYFcnbexbFT_nZ2dnUU7_83NnZ2d@giganews.com>
<tacs8d$15373$1@dont-email.me>
<O_ydnRe-ob-Sa1T_nZ2dnUU7_8xh4p2d@giganews.com>
<tact85$156gr$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tact85$156gr$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <EZydnSuL4qwJZlT_nZ2dnUU7_8xh4p2d@giganews.com>
Lines: 82
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-IwQ7OFMFiFql6NBRGJXlfBctVQt+EB931gm7oENGgGBvOxrysjtz8TXJwKzkERibe9KDoug0Bh5JoeS!AxkDU3tb2degTx8goKWMaEvt1Ckkz8Ty2TRDcDogKwUfknfcg/bpWtc8QrHGfD0PYeSzf8zaAsAL!Nw==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4256
 by: olcott - Sat, 9 Jul 2022 22:05 UTC

On 7/9/2022 4:51 PM, André G. Isaak wrote:
> On 2022-07-09 15:41, olcott wrote:
>> On 7/9/2022 4:34 PM, André G. Isaak wrote:
>>> On 2022-07-09 15:20, olcott wrote:
>>>> On 7/9/2022 4:12 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 15:05, olcott wrote:
>>>>>> On 7/9/2022 4:03 PM, André G. Isaak wrote:
>>>>>
>>>>>>> You said you were talking about the "diagonal argument of the
>>>>>>> halting theorem", so I assumed you were talking about Sipser's
>>>>>>> proof of the halting theorem. The diagonalization argument you
>>>>>>> are discussing here doesn't deal directly with the halting
>>>>>>> problem (though it is closely related to it). That proof
>>>>>>> demonstrates that not all languages are decidable.
>>>>>>>
>>>>>>> André
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> So you also never noticed the title of the post?
>>>>>> Did I encode Sipser correctly?
>>>>>
>>>>> "Sipser" is the name of an individual and/or book, not of a proof.
>>>>> Sipser gives many proofs.
>>>>>
>>>>
>>>> And I provided the whole proof that I was referring to.
>>>>
>>>>> It was perfectly reasonably of me to assume
>>>>
>>>> It is always totally unreasonable to ever assume anything contrary
>>>> to what was explicitly specified.
>>>>
>>>> I need to carefully analyze the diagonal argument and when I did
>>>> this with Kaz it was obvious that it is not the same as Linz.
>>>>
>>>> L15: Proof by Diagonalization that ATM (Halting Problem) is Not
>>>> Decidable
>>>> https://www.youtube.com/watch?v=jM6osxSX9GA
>>>
>>> ATM as described in both the textbook and the above video is *not*
>>> the halting problem.
>>>
>>> André
>>>
>>>
>>
>> What do you mean by this?
>
> ATM is a language consisting of all strings <M, w> such that M *accepts*
> w. His diagonalization proof shows that ATM is not a decidable language.
> It follows as a straightforward corollary that halting is undecidable,
> but whether ATM is decidable and whether halting is decidable are two
> separate (though related) problems.
>
> André
>

I still need to know whether or not I encoded Sipser correctly:

typedef void (*ptr)();

// Sipser's diagonal argument
int D(ptr x)
{ if (H(x,x) == 0) // reject
return 1;
else // accept
return 0;
}

int main()
{ Output("Input_Halts = ", H(D, D));
}

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<tacv7c$15cb4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35546&group=comp.theory#35546

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.software-eng
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory,sci.logic,sci.math,comp.software-eng
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 16:24:43 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 89
Message-ID: <tacv7c$15cb4$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<tacmvd$14jr5$1@dont-email.me>
<pomdnedR5ulWdVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<tacqei$14ttq$1@dont-email.me>
<FLCdndE-T7YCcFT_nZ2dnUU7_8xh4p2d@giganews.com>
<tacqvi$14vrs$1@dont-email.me>
<U42dnYFcnbexbFT_nZ2dnUU7_83NnZ2d@giganews.com>
<tacs8d$15373$1@dont-email.me>
<O_ydnRe-ob-Sa1T_nZ2dnUU7_8xh4p2d@giganews.com>
<tact85$156gr$1@dont-email.me>
<EZydnSuL4qwJZlT_nZ2dnUU7_8xh4p2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Jul 2022 22:24:44 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="953b48188cb15d8289d538a6f697859c";
logging-data="1225060"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ou6IbbDQZ7/L5jRyVYALp"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:M9FqNZgIGGxauvUPeB2g2Bp7/3Q=
Content-Language: en-US
In-Reply-To: <EZydnSuL4qwJZlT_nZ2dnUU7_8xh4p2d@giganews.com>
 by: André G. Isaak - Sat, 9 Jul 2022 22:24 UTC

On 2022-07-09 16:05, olcott wrote:
> On 7/9/2022 4:51 PM, André G. Isaak wrote:
>> On 2022-07-09 15:41, olcott wrote:
>>> On 7/9/2022 4:34 PM, André G. Isaak wrote:
>>>> On 2022-07-09 15:20, olcott wrote:
>>>>> On 7/9/2022 4:12 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 15:05, olcott wrote:
>>>>>>> On 7/9/2022 4:03 PM, André G. Isaak wrote:
>>>>>>
>>>>>>>> You said you were talking about the "diagonal argument of the
>>>>>>>> halting theorem", so I assumed you were talking about Sipser's
>>>>>>>> proof of the halting theorem. The diagonalization argument you
>>>>>>>> are discussing here doesn't deal directly with the halting
>>>>>>>> problem (though it is closely related to it). That proof
>>>>>>>> demonstrates that not all languages are decidable.
>>>>>>>>
>>>>>>>> André
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> So you also never noticed the title of the post?
>>>>>>> Did I encode Sipser correctly?
>>>>>>
>>>>>> "Sipser" is the name of an individual and/or book, not of a proof.
>>>>>> Sipser gives many proofs.
>>>>>>
>>>>>
>>>>> And I provided the whole proof that I was referring to.
>>>>>
>>>>>> It was perfectly reasonably of me to assume
>>>>>
>>>>> It is always totally unreasonable to ever assume anything contrary
>>>>> to what was explicitly specified.
>>>>>
>>>>> I need to carefully analyze the diagonal argument and when I did
>>>>> this with Kaz it was obvious that it is not the same as Linz.
>>>>>
>>>>> L15: Proof by Diagonalization that ATM (Halting Problem) is Not
>>>>> Decidable
>>>>> https://www.youtube.com/watch?v=jM6osxSX9GA
>>>>
>>>> ATM as described in both the textbook and the above video is *not*
>>>> the halting problem.
>>>>
>>>> André
>>>>
>>>>
>>>
>>> What do you mean by this?
>>
>> ATM is a language consisting of all strings <M, w> such that M
>> *accepts* w. His diagonalization proof shows that ATM is not a
>> decidable language. It follows as a straightforward corollary that
>> halting is undecidable, but whether ATM is decidable and whether
>> halting is decidable are two separate (though related) problems.
>>
>> André
>>
>
> I still need to know whether or not I encoded Sipser correctly:

You mean did you translate it into C correctly? Since you've presented a
program below that won't compile due to the fact that H() is undefined,
who can possibly tell? But since the Sipser proof shows that neither H
nor D are possible, this should come as no surprise.

André

> typedef void (*ptr)();
>
> // Sipser's diagonal argument
> int D(ptr x)
> {
>   if (H(x,x) == 0) // reject
>     return 1;
>   else             // accept
>     return 0;
> }
>
> int main()
> {
>   Output("Input_Halts = ", H(D, D));
> }
>

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<MqnyK.29250$Ae2.25994@fx35.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35547&group=comp.theory#35547

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.software-eng
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx35.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory,sci.logic,sci.math,comp.software-eng
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tactol$156v8$1@dont-email.me>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <tactol$156v8$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 34
Message-ID: <MqnyK.29250$Ae2.25994@fx35.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 18:37:31 -0400
X-Received-Bytes: 2367
 by: Richard Damon - Sat, 9 Jul 2022 22:37 UTC

On 7/9/22 5:59 PM, André G. Isaak wrote:
> On 2022-07-09 14:26, Richard Damon wrote:
>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>
>>>> H is REQUIRED (to be correct) to give the answer that D will give if
>>>> D will give an answer,
>>>
>>> No, H is required to answer "true" if D will give an answer,
>>> regardless of what that answer might be.
>>
>> I though in Sipser, H was supposed to be a decider where H accepts D,x
>> if D will accept x, and reject if D doesn't accept x (either reject or
>> not-answer).
>>
>> D is then defined to accept if T rejects and rejects if T accepts.
>
> mea culpa. I was confused by Sipser's use of H to refer not to a halt
> decider but to a decider of A_TM. Admittedly I should have verified this
> against the PDF.
>
> André
>

Yes, the notation adopted in that paper is a bit confusing.

Not certain which book he his violating the Copyrights of, but it seems
poorly edited.

It looks like he has created a dummy Word Press sight just to post these
copyright violations on.

I can't see how without attached comments (just highlighting) it comes
close to the requirements of "Fair Use"

Re: Did I encode Sipser correctly? (it seemed too easy)

<tad0jh$15g8p$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35548&group=comp.theory#35548

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.software-eng
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory,sci.logic,sci.math,comp.software-eng
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 16:48:17 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 44
Message-ID: <tad0jh$15g8p$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tactol$156v8$1@dont-email.me>
<MqnyK.29250$Ae2.25994@fx35.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Jul 2022 22:48:17 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="953b48188cb15d8289d538a6f697859c";
logging-data="1229081"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hCFRSFyOCEFX6n9NGNjNP"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:SeJc9weOb5O6LwDCyc7bEasi6F0=
In-Reply-To: <MqnyK.29250$Ae2.25994@fx35.iad>
Content-Language: en-US
 by: André G. Isaak - Sat, 9 Jul 2022 22:48 UTC

On 2022-07-09 16:37, Richard Damon wrote:
> On 7/9/22 5:59 PM, André G. Isaak wrote:
>> On 2022-07-09 14:26, Richard Damon wrote:
>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>
>>>>> H is REQUIRED (to be correct) to give the answer that D will give
>>>>> if D will give an answer,
>>>>
>>>> No, H is required to answer "true" if D will give an answer,
>>>> regardless of what that answer might be.
>>>
>>> I though in Sipser, H was supposed to be a decider where H accepts
>>> D,x if D will accept x, and reject if D doesn't accept x (either
>>> reject or not-answer).
>>>
>>> D is then defined to accept if T rejects and rejects if T accepts.
>>
>> mea culpa. I was confused by Sipser's use of H to refer not to a halt
>> decider but to a decider of A_TM. Admittedly I should have verified
>> this against the PDF.
>>
>> André
>>
>
> Yes, the notation adopted in that paper is a bit confusing.
>
> Not certain which book he his violating the Copyrights of, but it seems
> poorly edited.
>
> It looks like he has created a dummy Word Press sight just to post these
> copyright violations on.
>
> I can't see how without attached comments (just highlighting) it comes
> close to the requirements of "Fair Use"

It is a bit strange that someone who insists on putting a copyright
notice on even the most asinine things has such little regard for copyright.

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<87czedubvi.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35549&group=comp.theory#35549

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sun, 10 Jul 2022 00:04:01 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <87czedubvi.fsf@bsb.me.uk>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="e082f5ddb793bab6eec93a76a5c04c8b";
logging-data="1229905"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gNB/C2icebE1PuvFWd03pc4BFmtF1GaI="
Cancel-Lock: sha1:2AU/Y/OrveB8yzV/N+7s5fER+qA=
sha1:TwY69AkPJtyN9JbtKm/PqSjbBFA=
X-BSB-Auth: 1.05b145c292873a32833e.20220710000401BST.87czedubvi.fsf@bsb.me.uk
 by: Ben Bacarisse - Sat, 9 Jul 2022 23:04 UTC

Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:

> On 09/07/2022 21:26, Richard Damon wrote:
>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>
>>>> H is REQUIRED (to be correct) to give the answer that D will give if D will give an answer,
>>>
>>> No, H is required to answer "true" if D will give an answer, regardless of what that answer might be.
>> I though in Sipser, H was supposed to be a decider where H accepts D,x if D will accept x, and
>> reject if D doesn't accept x (either reject or not-answer).
>> D is then defined to accept if T rejects and rejects if T accepts.
>
> Yes, this is what PO is talking about in Sipser. (You use T above,
> but Sipser uses H as the proposed decider, and D as the derived test
> TM for H, which reveals the contradiction.) H is supposed to be
> deciding
>
> A_TM = {<M,w)> : M is a TM and M accepts w}.
>
> H is not PO's normal proposed Halting decider, which has caused some
> confusion.

Can I add a plea? Given the mess that PO has made by ignoring encoding,
I don't think he should be allowed to get away with ignoring it for this
new, closely related, problem. H (in Sipser) is a function of /strings/
so the translation into C should be a function with const char *
parameters. That way PO must explain how to write the string the
represents a computation -- the obvious one being C source code.

I can't be bothered, but there are people still talking to him so why
let him make the same mistakes again?

--
Ben.

Re: Did I encode Sipser correctly? (it seemed too easy)

<GWnyK.157745$vZ1.98646@fx04.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35550&group=comp.theory#35550

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.software-eng
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory,sci.logic,sci.math,comp.software-eng
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tactol$156v8$1@dont-email.me>
<MqnyK.29250$Ae2.25994@fx35.iad> <tad0jh$15g8p$1@dont-email.me>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <tad0jh$15g8p$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 46
Message-ID: <GWnyK.157745$vZ1.98646@fx04.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 19:11:33 -0400
X-Received-Bytes: 2915
 by: Richard Damon - Sat, 9 Jul 2022 23:11 UTC

On 7/9/22 6:48 PM, André G. Isaak wrote:
> On 2022-07-09 16:37, Richard Damon wrote:
>> On 7/9/22 5:59 PM, André G. Isaak wrote:
>>> On 2022-07-09 14:26, Richard Damon wrote:
>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>
>>>>>> H is REQUIRED (to be correct) to give the answer that D will give
>>>>>> if D will give an answer,
>>>>>
>>>>> No, H is required to answer "true" if D will give an answer,
>>>>> regardless of what that answer might be.
>>>>
>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>> D,x if D will accept x, and reject if D doesn't accept x (either
>>>> reject or not-answer).
>>>>
>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>
>>> mea culpa. I was confused by Sipser's use of H to refer not to a halt
>>> decider but to a decider of A_TM. Admittedly I should have verified
>>> this against the PDF.
>>>
>>> André
>>>
>>
>> Yes, the notation adopted in that paper is a bit confusing.
>>
>> Not certain which book he his violating the Copyrights of, but it
>> seems poorly edited.
>>
>> It looks like he has created a dummy Word Press sight just to post
>> these copyright violations on.
>>
>> I can't see how without attached comments (just highlighting) it comes
>> close to the requirements of "Fair Use"
>
> It is a bit strange that someone who insists on putting a copyright
> notice on even the most asinine things has such little regard for
> copyright.
>
> André
>

Just shows that he really doesn't know what copyright means, just like
he doesn't bother to find out what a lot of things actually mean.

Re: Did I encode Sipser correctly? (it seemed too easy)

<1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35551&group=comp.theory#35551

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 18:36:04 -0500
Date: Sat, 9 Jul 2022 18:36:03 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <87czedubvi.fsf@bsb.me.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
Lines: 52
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-dVMKJlZYKu61/jv+aL2jqTmQfED22OEzTVdqGf0S1R2q/no7iBDAGZrlHqnO8Z88Ybcmhrhg/X8lzC7!1fU383kyTx9Q/3lMUrkSrfnQj9+kTdJ889M/+iInU94XVoJFAe1kUqVkqZf+1JShuk/ko0rBvewl!ig==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3663
X-Received-Bytes: 3754
 by: olcott - Sat, 9 Jul 2022 23:36 UTC

On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>
>> On 09/07/2022 21:26, Richard Damon wrote:
>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>
>>>>> H is REQUIRED (to be correct) to give the answer that D will give if D will give an answer,
>>>>
>>>> No, H is required to answer "true" if D will give an answer, regardless of what that answer might be.
>>> I though in Sipser, H was supposed to be a decider where H accepts D,x if D will accept x, and
>>> reject if D doesn't accept x (either reject or not-answer).
>>> D is then defined to accept if T rejects and rejects if T accepts.
>>
>> Yes, this is what PO is talking about in Sipser. (You use T above,
>> but Sipser uses H as the proposed decider, and D as the derived test
>> TM for H, which reveals the contradiction.) H is supposed to be
>> deciding
>>
>> A_TM = {<M,w)> : M is a TM and M accepts w}.
>>
>> H is not PO's normal proposed Halting decider, which has caused some
>> confusion.
>
> Can I add a plea? Given the mess that PO has made by ignoring encoding,
> I don't think he should be allowed to get away with ignoring it for this
> new, closely related, problem. H (in Sipser) is a function of /strings/
> so the translation into C should be a function with const char *
> parameters. That way PO must explain how to write the string the
> represents a computation -- the obvious one being C source code.

As I have told you every time that you keep bringing this up the input
to H <is> a pointer to finite string of machine-code bytes.

As you already know (yet disingenuously pretend to not know) there are
no strings in C besides pointers to sequences of bytes.

Since I am clearly correct on the important stuff you conti9nue to
nitpick at trivialities.

>
> I can't be bothered, but there are people still talking to him so why
> let him make the same mistakes again?
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<tad469$15q87$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35552&group=comp.theory#35552

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 17:49:28 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 55
Message-ID: <tad469$15q87$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Jul 2022 23:49:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="953b48188cb15d8289d538a6f697859c";
logging-data="1239303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pHe7qHypYwB8DUXkYabtQ"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:85oXVdoHY9wJ7INj50XCaHFec4I=
Content-Language: en-US
In-Reply-To: <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
 by: André G. Isaak - Sat, 9 Jul 2022 23:49 UTC

On 2022-07-09 17:36, olcott wrote:
> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>
>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>
>>>>>> H is REQUIRED (to be correct) to give the answer that D will give
>>>>>> if D will give an answer,
>>>>>
>>>>> No, H is required to answer "true" if D will give an answer,
>>>>> regardless of what that answer might be.
>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>> D,x if D will accept x, and
>>>> reject if D doesn't accept x (either reject or not-answer).
>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>
>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>> but Sipser uses H as the proposed decider, and D as the derived test
>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>> deciding
>>>
>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>
>>> H is not PO's normal proposed Halting decider, which has caused some
>>> confusion.
>>
>> Can I add a plea?  Given the mess that PO has made by ignoring encoding,
>> I don't think he should be allowed to get away with ignoring it for this
>> new, closely related, problem.  H (in Sipser) is a function of /strings/
>> so the translation into C should be a function with const char *
>> parameters.  That way PO must explain how to write the string the
>> represents a computation -- the obvious one being C source code.
>
> As I have told you every time that you keep bringing this up the input
> to H <is> a pointer to finite string of machine-code bytes.
>
> As you already know (yet disingenuously pretend to not know) there are
> no strings in C besides pointers to sequences of bytes.

Of course there are strings in C. A string and a pointer to a string are
two different types.

Yes, conventionally functions dealing with strings are passed pointers
to the strings rather than the strings themselves, but there is nothing
that prevents you from writing code in C in which the actual string is
passed as an argument. It's a bit more cumbersome, but it is what is
required by the definition of the problem under consideration.

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35553&group=comp.theory#35553

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 19:08:20 -0500
Date: Sat, 9 Jul 2022 19:08:18 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tad469$15q87$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
Lines: 70
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-5aW4sQVX0Yr39RB33laTMF7tAGhv9DXonuDdP8WpUUwvap7QeMz/Cw4TCmpwaAyQCas6Y4M4K6pUhnM!pZ9KcAJIYUwiWrW3jW9VzJVlwRFh4g3/o9J45ETrsDCJdaC1yfQyO/7HKTkYO6Kh6U1AcgeMsMha!/g==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4522
X-Received-Bytes: 4613
 by: olcott - Sun, 10 Jul 2022 00:08 UTC

On 7/9/2022 6:49 PM, André G. Isaak wrote:
> On 2022-07-09 17:36, olcott wrote:
>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>
>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>
>>>>>>> H is REQUIRED (to be correct) to give the answer that D will give
>>>>>>> if D will give an answer,
>>>>>>
>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>> regardless of what that answer might be.
>>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>>> D,x if D will accept x, and
>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>
>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>> deciding
>>>>
>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>
>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>> confusion.
>>>
>>> Can I add a plea?  Given the mess that PO has made by ignoring encoding,
>>> I don't think he should be allowed to get away with ignoring it for this
>>> new, closely related, problem.  H (in Sipser) is a function of /strings/
>>> so the translation into C should be a function with const char *
>>> parameters.  That way PO must explain how to write the string the
>>> represents a computation -- the obvious one being C source code.
>>
>> As I have told you every time that you keep bringing this up the input
>> to H <is> a pointer to finite string of machine-code bytes.
>>
>> As you already know (yet disingenuously pretend to not know) there are
>> no strings in C besides pointers to sequences of bytes.
>
> Of course there are strings in C. A string and a pointer to a string are
> two different types.
>
> Yes, conventionally functions dealing with strings are passed pointers
> to the strings rather than the strings themselves,

And Ben keeps pretending to not know this:
any little trick to stay focused on rebuttal mode.

Ben and David may still fail to comprehend that x86 machine language
(having ready-made indexed directed graphs of all control flow) are much
easier for a halt decider to process than C source code.

> but there is nothing
> that prevents you from writing code in C in which the actual string is
> passed as an argument. It's a bit more cumbersome, but it is what is
> required by the definition of the problem under consideration.
>
> André
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<SfpyK.448556$J0r9.391803@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35554&group=comp.theory#35554

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <tad469$15q87$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 62
Message-ID: <SfpyK.448556$J0r9.391803@fx11.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 20:42:24 -0400
X-Received-Bytes: 4081
 by: Richard Damon - Sun, 10 Jul 2022 00:42 UTC

On 7/9/22 7:49 PM, André G. Isaak wrote:
> On 2022-07-09 17:36, olcott wrote:
>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>
>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>
>>>>>>> H is REQUIRED (to be correct) to give the answer that D will give
>>>>>>> if D will give an answer,
>>>>>>
>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>> regardless of what that answer might be.
>>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>>> D,x if D will accept x, and
>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>
>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>> deciding
>>>>
>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>
>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>> confusion.
>>>
>>> Can I add a plea?  Given the mess that PO has made by ignoring encoding,
>>> I don't think he should be allowed to get away with ignoring it for this
>>> new, closely related, problem.  H (in Sipser) is a function of /strings/
>>> so the translation into C should be a function with const char *
>>> parameters.  That way PO must explain how to write the string the
>>> represents a computation -- the obvious one being C source code.
>>
>> As I have told you every time that you keep bringing this up the input
>> to H <is> a pointer to finite string of machine-code bytes.
>>
>> As you already know (yet disingenuously pretend to not know) there are
>> no strings in C besides pointers to sequences of bytes.
>
> Of course there are strings in C. A string and a pointer to a string are
> two different types.
>
> Yes, conventionally functions dealing with strings are passed pointers
> to the strings rather than the strings themselves, but there is nothing
> that prevents you from writing code in C in which the actual string is
> passed as an argument. It's a bit more cumbersome, but it is what is
> required by the definition of the problem under consideration.
>
> André
>

Since in C strings are arrays of characters with a terminating NUL, you
can not pass a string by itself, only as the element of a structure
(which also requires the string to be of known and declared maximum length.

You run into the problem that arrays aren't full objects by themselves,
so you can't pass array values around except by encasing them in a
structure.

Re: Did I encode Sipser correctly? (it seemed too easy)

<tad85l$164s3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35555&group=comp.theory#35555

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 18:57:23 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 73
Message-ID: <tad85l$164s3$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me> <SfpyK.448556$J0r9.391803@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Jul 2022 00:57:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="953b48188cb15d8289d538a6f697859c";
logging-data="1250179"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18paDt4+L42uSKmx1jq9gKP"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:NXmp9eQzXpIDXC/mYiMDTsehE0I=
In-Reply-To: <SfpyK.448556$J0r9.391803@fx11.iad>
Content-Language: en-US
 by: André G. Isaak - Sun, 10 Jul 2022 00:57 UTC

On 2022-07-09 18:42, Richard Damon wrote:
>
> On 7/9/22 7:49 PM, André G. Isaak wrote:
>> On 2022-07-09 17:36, olcott wrote:
>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>
>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>
>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>> give if D will give an answer,
>>>>>>>
>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>> regardless of what that answer might be.
>>>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>>>> D,x if D will accept x, and
>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>
>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>> deciding
>>>>>
>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>
>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>> confusion.
>>>>
>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>> encoding,
>>>> I don't think he should be allowed to get away with ignoring it for
>>>> this
>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>> /strings/
>>>> so the translation into C should be a function with const char *
>>>> parameters.  That way PO must explain how to write the string the
>>>> represents a computation -- the obvious one being C source code.
>>>
>>> As I have told you every time that you keep bringing this up the
>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>
>>> As you already know (yet disingenuously pretend to not know) there
>>> are no strings in C besides pointers to sequences of bytes.
>>
>> Of course there are strings in C. A string and a pointer to a string
>> are two different types.
>>
>> Yes, conventionally functions dealing with strings are passed pointers
>> to the strings rather than the strings themselves, but there is
>> nothing that prevents you from writing code in C in which the actual
>> string is passed as an argument. It's a bit more cumbersome, but it is
>> what is required by the definition of the problem under consideration.
>>
>> André
>>
>
> Since in C strings are arrays of characters with a terminating NUL, you
> can not pass a string by itself, only as the element of a structure
> (which also requires the string to be of known and declared maximum length.

It is possible to pass a variable-length sequence of bytes to a function
using stdarg. Of course, calling such a function with a string of
arbitrary length would be a PITA (probably easiest to manually push the
arguments onto the stack), but its not impossible.

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<tad8io$165t1$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35556&group=comp.theory#35556

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 19:04:23 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 80
Message-ID: <tad8io$165t1$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Jul 2022 01:04:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="953b48188cb15d8289d538a6f697859c";
logging-data="1251233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+n/KvYv+MjFNHdCmi7G4kg"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:4B026CoLfKx+j7ZKEU05/vQh5V0=
In-Reply-To: <9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
Content-Language: en-US
 by: André G. Isaak - Sun, 10 Jul 2022 01:04 UTC

On 2022-07-09 18:08, olcott wrote:
> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>> On 2022-07-09 17:36, olcott wrote:
>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>
>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>
>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>> give if D will give an answer,
>>>>>>>
>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>> regardless of what that answer might be.
>>>>>> I though in Sipser, H was supposed to be a decider where H accepts
>>>>>> D,x if D will accept x, and
>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>
>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>> deciding
>>>>>
>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>
>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>> confusion.
>>>>
>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>> encoding,
>>>> I don't think he should be allowed to get away with ignoring it for
>>>> this
>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>> /strings/
>>>> so the translation into C should be a function with const char *
>>>> parameters.  That way PO must explain how to write the string the
>>>> represents a computation -- the obvious one being C source code.
>>>
>>> As I have told you every time that you keep bringing this up the
>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>
>>> As you already know (yet disingenuously pretend to not know) there
>>> are no strings in C besides pointers to sequences of bytes.
>>
>> Of course there are strings in C. A string and a pointer to a string
>> are two different types.
>>
>> Yes, conventionally functions dealing with strings are passed pointers
>> to the strings rather than the strings themselves,
>
> And Ben keeps pretending to not know this:

No. He doesn't.

> any little trick to stay focused on rebuttal mode.
>
> Ben and David may still fail to comprehend that x86 machine language
> (having ready-made indexed directed graphs of all control flow) are much
> easier for a halt decider to process than C source code.

There is no 'ready-made indexed directed graph of all control flow'
provided by x86 machine code. You can work out such a directed graph
just as one can work out such a directed graph from C source code using
a more-or-less identical procedure.

Despite what you may believe, a program trace is not a directed graph,
nor does it represent the control flow of a program.

André

>> but there is nothing that prevents you from writing code in C in which
>> the actual string is passed as an argument. It's a bit more
>> cumbersome, but it is what is required by the definition of the
>> problem under consideration.

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<t5qyK.37750$Qd2.1584@fx37.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35557&group=comp.theory#35557

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me> <SfpyK.448556$J0r9.391803@fx11.iad>
<tad85l$164s3$1@dont-email.me>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <tad85l$164s3$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 81
Message-ID: <t5qyK.37750$Qd2.1584@fx37.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 21:39:37 -0400
X-Received-Bytes: 4896
 by: Richard Damon - Sun, 10 Jul 2022 01:39 UTC

On 7/9/22 8:57 PM, André G. Isaak wrote:
> On 2022-07-09 18:42, Richard Damon wrote:
>>
>> On 7/9/22 7:49 PM, André G. Isaak wrote:
>>> On 2022-07-09 17:36, olcott wrote:
>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>
>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>
>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>> give if D will give an answer,
>>>>>>>>
>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>> regardless of what that answer might be.
>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>> accepts D,x if D will accept x, and
>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>
>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>> deciding
>>>>>>
>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>
>>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>>> confusion.
>>>>>
>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>> encoding,
>>>>> I don't think he should be allowed to get away with ignoring it for
>>>>> this
>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>> /strings/
>>>>> so the translation into C should be a function with const char *
>>>>> parameters.  That way PO must explain how to write the string the
>>>>> represents a computation -- the obvious one being C source code.
>>>>
>>>> As I have told you every time that you keep bringing this up the
>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>
>>>> As you already know (yet disingenuously pretend to not know) there
>>>> are no strings in C besides pointers to sequences of bytes.
>>>
>>> Of course there are strings in C. A string and a pointer to a string
>>> are two different types.
>>>
>>> Yes, conventionally functions dealing with strings are passed
>>> pointers to the strings rather than the strings themselves, but there
>>> is nothing that prevents you from writing code in C in which the
>>> actual string is passed as an argument. It's a bit more cumbersome,
>>> but it is what is required by the definition of the problem under
>>> consideration.
>>>
>>> André
>>>
>>
>> Since in C strings are arrays of characters with a terminating NUL,
>> you can not pass a string by itself, only as the element of a
>> structure (which also requires the string to be of known and declared
>> maximum length.
>
> It is possible to pass a variable-length sequence of bytes to a function
> using stdarg. Of course, calling such a function with a string of
> arbitrary length would be a PITA (probably easiest to manually push the
> arguments onto the stack), but its not impossible.
>
> André
>

Trying to imagine how you pass the actual string to the function except
by calling it a struct that embeds the string (in which case you
technically are not passing a string, but a struct containing a string).

The problem you run into is that the struct may require stricter
alignment than the string, so the casting conversion may be undefined
behavior.

Re: Did I encode Sipser correctly? (it seemed too easy)

<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35558&group=comp.theory#35558

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 20:41:52 -0500
Date: Sat, 9 Jul 2022 20:41:50 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tad8io$165t1$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
Lines: 96
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-R60FWR9AiyGvmK6bVX2pYcFtDQodLY65LLai1Ry5/SUL5Lvh977aIt6RLt8jORqw7EBspZE97EdGbZl!1kzIwELisGFjFZfQGR83omweKU7DhqGd/YFBYwkg1PKHDjQ8zC1lAPgFc4TCRasW1bD8Bo4u/nzY!+g==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 5469
 by: olcott - Sun, 10 Jul 2022 01:41 UTC

On 7/9/2022 8:04 PM, André G. Isaak wrote:
> On 2022-07-09 18:08, olcott wrote:
>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>> On 2022-07-09 17:36, olcott wrote:
>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>
>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>
>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>> give if D will give an answer,
>>>>>>>>
>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>> regardless of what that answer might be.
>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>> accepts D,x if D will accept x, and
>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>
>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>> deciding
>>>>>>
>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>
>>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>>> confusion.
>>>>>
>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>> encoding,
>>>>> I don't think he should be allowed to get away with ignoring it for
>>>>> this
>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>> /strings/
>>>>> so the translation into C should be a function with const char *
>>>>> parameters.  That way PO must explain how to write the string the
>>>>> represents a computation -- the obvious one being C source code.
>>>>
>>>> As I have told you every time that you keep bringing this up the
>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>
>>>> As you already know (yet disingenuously pretend to not know) there
>>>> are no strings in C besides pointers to sequences of bytes.
>>>
>>> Of course there are strings in C. A string and a pointer to a string
>>> are two different types.
>>>
>>> Yes, conventionally functions dealing with strings are passed
>>> pointers to the strings rather than the strings themselves,
>>
>> And Ben keeps pretending to not know this:
>
> No. He doesn't.
>
>> any little trick to stay focused on rebuttal mode.
>>
>> Ben and David may still fail to comprehend that x86 machine language
>> (having ready-made indexed directed graphs of all control flow) are
>> much easier for a halt decider to process than C source code.
>
> There is no 'ready-made indexed directed graph of all control flow'
> provided by x86 machine code.

*Sure there is this is it*
address call address
address jmp address
address jmp-condition address

The first address is the current node
The second address is the next node on the directed path

> You can work out such a directed graph
> just as one can work out such a directed graph from C source code using
> a more-or-less identical procedure.
>
> Despite what you may believe, a program trace is not a directed graph,
> nor does it represent the control flow of a program.
>
> André
>
>>> but there is nothing that prevents you from writing code in C in
>>> which the actual string is passed as an argument. It's a bit more
>>> cumbersome, but it is what is required by the definition of the
>>> problem under consideration.
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<6lqyK.496867$JVi.321916@fx17.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35559&group=comp.theory#35559

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 108
Message-ID: <6lqyK.496867$JVi.321916@fx17.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 21:56:18 -0400
X-Received-Bytes: 5818
 by: Richard Damon - Sun, 10 Jul 2022 01:56 UTC

On 7/9/22 9:41 PM, olcott wrote:
> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>> On 2022-07-09 18:08, olcott wrote:
>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>> On 2022-07-09 17:36, olcott wrote:
>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>>
>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>
>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>> give if D will give an answer,
>>>>>>>>>
>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>> regardless of what that answer might be.
>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>>
>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>> deciding
>>>>>>>
>>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>
>>>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>>>> confusion.
>>>>>>
>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>> encoding,
>>>>>> I don't think he should be allowed to get away with ignoring it
>>>>>> for this
>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>> /strings/
>>>>>> so the translation into C should be a function with const char *
>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>> represents a computation -- the obvious one being C source code.
>>>>>
>>>>> As I have told you every time that you keep bringing this up the
>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>
>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>
>>>> Of course there are strings in C. A string and a pointer to a string
>>>> are two different types.
>>>>
>>>> Yes, conventionally functions dealing with strings are passed
>>>> pointers to the strings rather than the strings themselves,
>>>
>>> And Ben keeps pretending to not know this:
>>
>> No. He doesn't.
>>
>>> any little trick to stay focused on rebuttal mode.
>>>
>>> Ben and David may still fail to comprehend that x86 machine language
>>> (having ready-made indexed directed graphs of all control flow) are
>>> much easier for a halt decider to process than C source code.
>>
>> There is no 'ready-made indexed directed graph of all control flow'
>> provided by x86 machine code.
>
> *Sure there is this is it*
> address call address
> address jmp address
> address jmp-condition address
>
> The first address is the current node
> The second address is the next node on the directed path
>

Obviously, you have never tried to disassemble code.

First, only by actually tracing though the code can you find where the
instruction boundries are (maybe you nave never seen intentionally
obfuscated assembly that uses jumps to middle of instructions to confuse
people trying to decode the program).

You also need to add EVERY instruction to the list to add the address to
next address links or you don't actually get a 'graph' as you
destinations won't match your sources.

You can do exactly the same operations with the source code and get
around the ability to intentionally obfusact the beginning and ends of
source blocks.

>> You can work out such a directed graph just as one can work out such a
>> directed graph from C source code using a more-or-less identical
>> procedure.
>>
>> Despite what you may believe, a program trace is not a directed graph,
>> nor does it represent the control flow of a program.
>>
>> André
>>
>>>> but there is nothing that prevents you from writing code in C in
>>>> which the actual string is passed as an argument. It's a bit more
>>>> cumbersome, but it is what is required by the definition of the
>>>> problem under consideration.
>>
>
>

Re: Did I encode Sipser correctly? (it seemed too easy)

<tadc2o$198ju$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35560&group=comp.theory#35560

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 20:04:07 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 85
Message-ID: <tadc2o$198ju$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Jul 2022 02:04:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3ca44d60ba4d640370f3eca769cc908d";
logging-data="1352318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kW8CjWYAJEMtN9mGQnAeT"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:UexE1OfoHhxspcgey00jQoOlMM8=
In-Reply-To: <3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
Content-Language: en-US
 by: André G. Isaak - Sun, 10 Jul 2022 02:04 UTC

On 2022-07-09 19:41, olcott wrote:
> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>> On 2022-07-09 18:08, olcott wrote:
>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>> On 2022-07-09 17:36, olcott wrote:
>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>>
>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>
>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>> give if D will give an answer,
>>>>>>>>>
>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>> regardless of what that answer might be.
>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>>
>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>> deciding
>>>>>>>
>>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>
>>>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>>>> confusion.
>>>>>>
>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>> encoding,
>>>>>> I don't think he should be allowed to get away with ignoring it
>>>>>> for this
>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>> /strings/
>>>>>> so the translation into C should be a function with const char *
>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>> represents a computation -- the obvious one being C source code.
>>>>>
>>>>> As I have told you every time that you keep bringing this up the
>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>
>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>
>>>> Of course there are strings in C. A string and a pointer to a string
>>>> are two different types.
>>>>
>>>> Yes, conventionally functions dealing with strings are passed
>>>> pointers to the strings rather than the strings themselves,
>>>
>>> And Ben keeps pretending to not know this:
>>
>> No. He doesn't.
>>
>>> any little trick to stay focused on rebuttal mode.
>>>
>>> Ben and David may still fail to comprehend that x86 machine language
>>> (having ready-made indexed directed graphs of all control flow) are
>>> much easier for a halt decider to process than C source code.
>>
>> There is no 'ready-made indexed directed graph of all control flow'
>> provided by x86 machine code.
>
> *Sure there is this is it*
> address call address
> address jmp address
> address jmp-condition address
>
> The first address is the current node
> The second address is the next node on the directed path

What you have above is a list of instructions, not a graph. Sure you can
construct a graph (putting aside the difficulties that Richard pointed
out), but doing so is no easier for assembly than it is for a list of C
instructions or pascal instructions or fortran instructions or....

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<tadcog$19a2j$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35561&group=comp.theory#35561

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 20:15:44 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 20
Message-ID: <tadcog$19a2j$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me> <SfpyK.448556$J0r9.391803@fx11.iad>
<tad85l$164s3$1@dont-email.me> <t5qyK.37750$Qd2.1584@fx37.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Jul 2022 02:15:44 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3ca44d60ba4d640370f3eca769cc908d";
logging-data="1353811"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JAgNsg5fSD6hGydcUMMcz"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:vOsJIZOHp7d25qmUfQYX7Hvhdcc=
Content-Language: en-US
In-Reply-To: <t5qyK.37750$Qd2.1584@fx37.iad>
 by: André G. Isaak - Sun, 10 Jul 2022 02:15 UTC

On 2022-07-09 19:39, Richard Damon wrote:

> Trying to imagine how you pass the actual string to the function except
> by calling it a struct that embeds the string (in which case you
> technically are not passing a string, but a struct containing a string).
>
> The problem you run into is that the struct may require stricter
> alignment than the string, so the casting conversion may be undefined
> behavior.

Of course, Olcott insists that he is using the "x86 programming
language" and that the C is just there for human readers. You can
certainly push the bytes of an arbitrary-length zero-terminated string
onto the stack in assembly.

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35562&group=comp.theory#35562

  copy link   Newsgroups: comp.theory
X-Received: by 2002:a05:6214:29c4:b0:472:fb62:3a03 with SMTP id gh4-20020a05621429c400b00472fb623a03mr8553192qvb.93.1657419656450;
Sat, 09 Jul 2022 19:20:56 -0700 (PDT)
X-Received: by 2002:a05:6902:124e:b0:668:222c:e8da with SMTP id
t14-20020a056902124e00b00668222ce8damr11016174ybu.383.1657419656206; Sat, 09
Jul 2022 19:20:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.theory
Date: Sat, 9 Jul 2022 19:20:56 -0700 (PDT)
In-Reply-To: <3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=47.208.151.23; posting-account=7Xc2EwkAAABXMcQfERYamr3b-64IkBws
NNTP-Posting-Host: 47.208.151.23
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com> <taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com> <JhlyK.97102$ze2.63628@fx36.iad>
<tacnih$14las$1@dont-email.me> <YvlyK.448525$J0r9.661@fx11.iad>
<tact7s$1trj$1@gioia.aioe.org> <87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me> <9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me> <3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
From: dkleine...@gmail.com (dklei...@gmail.com)
Injection-Date: Sun, 10 Jul 2022 02:20:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 115
 by: dklei...@gmail.com - Sun, 10 Jul 2022 02:20 UTC

On Saturday, July 9, 2022 at 6:42:00 PM UTC-7, olcott wrote:
> On 7/9/2022 8:04 PM, André G. Isaak wrote:
> > On 2022-07-09 18:08, olcott wrote:
> >> On 7/9/2022 6:49 PM, André G. Isaak wrote:
> >>> On 2022-07-09 17:36, olcott wrote:
> >>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
> >>>>> Mike Terry <news.dead.p...@darjeeling.plus.com> writes:
> >>>>>
> >>>>>> On 09/07/2022 21:26, Richard Damon wrote:
> >>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
> >>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
> >>>>>>>>
> >>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
> >>>>>>>>> give if D will give an answer,
> >>>>>>>>
> >>>>>>>> No, H is required to answer "true" if D will give an answer,
> >>>>>>>> regardless of what that answer might be.
> >>>>>>> I though in Sipser, H was supposed to be a decider where H
> >>>>>>> accepts D,x if D will accept x, and
> >>>>>>> reject if D doesn't accept x (either reject or not-answer).
> >>>>>>> D is then defined to accept if T rejects and rejects if T accepts..
> >>>>>>
> >>>>>> Yes, this is what PO is talking about in Sipser. (You use T above,
> >>>>>> but Sipser uses H as the proposed decider, and D as the derived test
> >>>>>> TM for H, which reveals the contradiction.) H is supposed to be
> >>>>>> deciding
> >>>>>>
> >>>>>> A_TM = {<M,w)> : M is a TM and M accepts w}.
> >>>>>>
> >>>>>> H is not PO's normal proposed Halting decider, which has caused some
> >>>>>> confusion.
> >>>>>
> >>>>> Can I add a plea? Given the mess that PO has made by ignoring
> >>>>> encoding,
> >>>>> I don't think he should be allowed to get away with ignoring it for
> >>>>> this
> >>>>> new, closely related, problem. H (in Sipser) is a function of
> >>>>> /strings/
> >>>>> so the translation into C should be a function with const char *
> >>>>> parameters. That way PO must explain how to write the string the
> >>>>> represents a computation -- the obvious one being C source code.
> >>>>
> >>>> As I have told you every time that you keep bringing this up the
> >>>> input to H <is> a pointer to finite string of machine-code bytes.
> >>>>
> >>>> As you already know (yet disingenuously pretend to not know) there
> >>>> are no strings in C besides pointers to sequences of bytes.
> >>>
> >>> Of course there are strings in C. A string and a pointer to a string
> >>> are two different types.
> >>>
> >>> Yes, conventionally functions dealing with strings are passed
> >>> pointers to the strings rather than the strings themselves,
> >>
> >> And Ben keeps pretending to not know this:
> >
> > No. He doesn't.
> >
> >> any little trick to stay focused on rebuttal mode.
> >>
> >> Ben and David may still fail to comprehend that x86 machine language
> >> (having ready-made indexed directed graphs of all control flow) are
> >> much easier for a halt decider to process than C source code.
> >
> > There is no 'ready-made indexed directed graph of all control flow'
> > provided by x86 machine code.
> *Sure there is this is it*
> address call address
> address jmp address
> address jmp-condition address
>
> The first address is the current node
> The second address is the next node on the directed path
> > You can work out such a directed graph
> > just as one can work out such a directed graph from C source code using
> > a more-or-less identical procedure.
> >
> > Despite what you may believe, a program trace is not a directed graph,
> > nor does it represent the control flow of a program.
>
Suppose I am given a program in assembly form. What exactly do I do to
understand the control structure?

First I simplify by throwing away every instruction that is neither a jump
nor a jump target. Note all calls are removed. Then I mark all the
instructions as UNTESTED. Then I start the test loop.

In the test loop I look at the next instruction. If it is UNTESTED I change
that attribute to TESTED and go back for another step in the loop. If it
is TESTED I have discovered a loop. I create a loop record and copy all
the instructions from the current place around the the loop into the
loop record. If any of instruction is in a loop I add a loop dependency
record - the new loop is in the old one. For efficiency I probably make
loop membership an instruction attribute. Finally I pop the alternative
stack and get the next instruction to be tasted. The alternative is built
by pushing the target of every jump instruction onto it. If the alternative
stack is empty we are done.

Jumps to outside the program do not generate alternatives.

After that things get messy. But I do find the loops.

Re: Did I encode Sipser correctly? (it seemed too easy)

<qPmdnbVTCKQ3qlf_nZ2dnUU7_83NnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35563&group=comp.theory#35563

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 21:21:30 -0500
Date: Sat, 9 Jul 2022 21:21:28 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<tadc2o$198ju$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tadc2o$198ju$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <qPmdnbVTCKQ3qlf_nZ2dnUU7_83NnZ2d@giganews.com>
Lines: 108
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-kRuP3K/YTuS1nD6fSYEMRgbWhizB28P23JRIKO/xdbI6F6TccooH468IJ0lxoOo6P8viLk1jetjf/VN!K3GjhNKXiZs1Z4hv/7GKpG8yoLC2jXK0idCUp35mTLBQKTcMiAkjQbEWu0lEGZorETc+AuXPeEIE!+Q==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 6232
X-Received-Bytes: 6354
 by: olcott - Sun, 10 Jul 2022 02:21 UTC

On 7/9/2022 9:04 PM, André G. Isaak wrote:
> On 2022-07-09 19:41, olcott wrote:
>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>> On 2022-07-09 18:08, olcott wrote:
>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>>>
>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>
>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>
>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>>>
>>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T above,
>>>>>>>> but Sipser uses H as the proposed decider, and D as the derived
>>>>>>>> test
>>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>>> deciding
>>>>>>>>
>>>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>
>>>>>>>> H is not PO's normal proposed Halting decider, which has caused
>>>>>>>> some
>>>>>>>> confusion.
>>>>>>>
>>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>>> encoding,
>>>>>>> I don't think he should be allowed to get away with ignoring it
>>>>>>> for this
>>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>>> /strings/
>>>>>>> so the translation into C should be a function with const char *
>>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>
>>>>>> As I have told you every time that you keep bringing this up the
>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>
>>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>>
>>>>> Of course there are strings in C. A string and a pointer to a
>>>>> string are two different types.
>>>>>
>>>>> Yes, conventionally functions dealing with strings are passed
>>>>> pointers to the strings rather than the strings themselves,
>>>>
>>>> And Ben keeps pretending to not know this:
>>>
>>> No. He doesn't.
>>>
>>>> any little trick to stay focused on rebuttal mode.
>>>>
>>>> Ben and David may still fail to comprehend that x86 machine language
>>>> (having ready-made indexed directed graphs of all control flow) are
>>>> much easier for a halt decider to process than C source code.
>>>
>>> There is no 'ready-made indexed directed graph of all control flow'
>>> provided by x86 machine code.
>>
>> *Sure there is this is it*
>> address call address
>> address jmp address
>> address jmp-condition address
>>
>> The first address is the current node
>> The second address is the next node on the directed path
>
> What you have above is a list of instructions, not a graph. Sure you can
> construct a graph (putting aside the difficulties that Richard pointed

I never see anything that Richard says.
I gave up on him because he keeps perpetually making the same mistakes.

Neither Richard nor Flibble can possibly understand that every function
called in infinite recursion never returns to its caller. Because of
this I gave up on those technically incompetent two.

It seems that both you and David fail to understand how much more
difficult it would be to analyze control flow without the ready-made
directed graph that machine language provides. Neither one of you can
ever understand that it really is a ready-made directed graph.

At least you would fully understand the concept of unreachable code.

> out), but doing so is no easier for assembly than it is for a list of C
> instructions or pascal instructions or fortran instructions or....
>
> André
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<qPmdnbRTCKSrpVf_nZ2dnUU7_81g4p2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35564&group=comp.theory#35564

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 21:23:50 -0500
Date: Sat, 9 Jul 2022 21:23:48 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me> <SfpyK.448556$J0r9.391803@fx11.iad>
<tad85l$164s3$1@dont-email.me> <t5qyK.37750$Qd2.1584@fx37.iad>
<tadcog$19a2j$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tadcog$19a2j$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <qPmdnbRTCKSrpVf_nZ2dnUU7_81g4p2d@giganews.com>
Lines: 31
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-oslzAVrnU6HayeJFiG++r2Smp0iTl2V3ddWz1yowAzdzDolGjD8CT98sY7cKCp8F68kflxJWiJCgp3/!TXrJ7wXGVnP8mOwUJycZYNms2xJfC6lAHZIaX10Jr3gYdi4WBM96u4oNhdPE1EDkX9h6VgKAGqj+!NA==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2760
X-Received-Bytes: 2851
 by: olcott - Sun, 10 Jul 2022 02:23 UTC

On 7/9/2022 9:15 PM, André G. Isaak wrote:
> On 2022-07-09 19:39, Richard Damon wrote:
>
>> Trying to imagine how you pass the actual string to the function
>> except by calling it a struct that embeds the string (in which case
>> you technically are not passing a string, but a struct containing a
>> string).
>>
>> The problem you run into is that the struct may require stricter
>> alignment than the string, so the casting conversion may be undefined
>> behavior.
>
> Of course, Olcott insists that he is using the "x86 programming
> language" and that the C is just there for human readers. You can
> certainly push the bytes of an arbitrary-length zero-terminated string
> onto the stack in assembly.

Such a crazy idea. You can also cross the street by going all the way
around the world in the opposite direction of crossing the street.

>
> André
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35565&group=comp.theory#35565

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 21:34:04 -0500
Date: Sat, 9 Jul 2022 21:34:02 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
Lines: 123
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-iz6Z84K+J9a+1UXa25m6b5lDb3fDjaRVYSqosAAmbGLKaDJ36PpiJ1gWSN1A3iKyQJUV3wy1r25a5wi!kfE1YiSZBrUO1ELkrL00Mo60H94PSyRMGMOvNvYvMNZavux4EBNGyB79ap9bx2XTwKYwF7lsUInp!DQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 7351
 by: olcott - Sun, 10 Jul 2022 02:34 UTC

On 7/9/2022 9:20 PM, dklei...@gmail.com wrote:
> On Saturday, July 9, 2022 at 6:42:00 PM UTC-7, olcott wrote:
>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>> On 2022-07-09 18:08, olcott wrote:
>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>> Mike Terry <news.dead.p...@darjeeling.plus.com> writes:
>>>>>>>
>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>
>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>
>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>> D is then defined to accept if T rejects and rejects if T accepts.
>>>>>>>>
>>>>>>>> Yes, this is what PO is talking about in Sipser. (You use T above,
>>>>>>>> but Sipser uses H as the proposed decider, and D as the derived test
>>>>>>>> TM for H, which reveals the contradiction.) H is supposed to be
>>>>>>>> deciding
>>>>>>>>
>>>>>>>> A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>
>>>>>>>> H is not PO's normal proposed Halting decider, which has caused some
>>>>>>>> confusion.
>>>>>>>
>>>>>>> Can I add a plea? Given the mess that PO has made by ignoring
>>>>>>> encoding,
>>>>>>> I don't think he should be allowed to get away with ignoring it for
>>>>>>> this
>>>>>>> new, closely related, problem. H (in Sipser) is a function of
>>>>>>> /strings/
>>>>>>> so the translation into C should be a function with const char *
>>>>>>> parameters. That way PO must explain how to write the string the
>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>
>>>>>> As I have told you every time that you keep bringing this up the
>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>
>>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>>
>>>>> Of course there are strings in C. A string and a pointer to a string
>>>>> are two different types.
>>>>>
>>>>> Yes, conventionally functions dealing with strings are passed
>>>>> pointers to the strings rather than the strings themselves,
>>>>
>>>> And Ben keeps pretending to not know this:
>>>
>>> No. He doesn't.
>>>
>>>> any little trick to stay focused on rebuttal mode.
>>>>
>>>> Ben and David may still fail to comprehend that x86 machine language
>>>> (having ready-made indexed directed graphs of all control flow) are
>>>> much easier for a halt decider to process than C source code.
>>>
>>> There is no 'ready-made indexed directed graph of all control flow'
>>> provided by x86 machine code.
>> *Sure there is this is it*
>> address call address
>> address jmp address
>> address jmp-condition address
>>
>> The first address is the current node
>> The second address is the next node on the directed path
>>> You can work out such a directed graph
>>> just as one can work out such a directed graph from C source code using
>>> a more-or-less identical procedure.
>>>
>>> Despite what you may believe, a program trace is not a directed graph,
>>> nor does it represent the control flow of a program.
>>
> Suppose I am given a program in assembly form. What exactly do I do to
> understand the control structure?
>

The machine has to understand the control flow structure. This is
simplest with the ready-made directed graph that machine-code provides.
A human can simply look at the C source to see the control flow.

The human cannot see what the halt decider is doing from the C source
because the halt decider is only looking at the machine-code. I
carefully disassemble this for human consumption.

The stripped down C source-code of the simplest halt decider and its
simplest inputs is down to 313 lines. The most complex version is 647
lines, has four different halt deciders and many sample inputs.

> First I simplify by throwing away every instruction that is neither a jump
> nor a jump target. Note all calls are removed. Then I mark all the
> instructions as UNTESTED. Then I start the test loop.
>
> In the test loop I look at the next instruction. If it is UNTESTED I change
> that attribute to TESTED and go back for another step in the loop. If it
> is TESTED I have discovered a loop. I create a loop record and copy all
> the instructions from the current place around the the loop into the
> loop record. If any of instruction is in a loop I add a loop dependency
> record - the new loop is in the old one. For efficiency I probably make
> loop membership an instruction attribute. Finally I pop the alternative
> stack and get the next instruction to be tasted. The alternative is built
> by pushing the target of every jump instruction onto it. If the alternative
> stack is empty we are done.
>
> Jumps to outside the program do not generate alternatives.
>
> After that things get messy. But I do find the loops.

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer

Re: Did I encode Sipser correctly? (it seemed too easy)

<tadehg$19fku$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35566&group=comp.theory#35566

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: agis...@gm.invalid (André G. Isaak)
Newsgroups: comp.theory
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Date: Sat, 9 Jul 2022 20:46:06 -0600
Organization: Christians and Atheists United Against Creeping Agnosticism
Lines: 113
Message-ID: <tadehg$19fku$1@dont-email.me>
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
<8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Jul 2022 02:46:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3ca44d60ba4d640370f3eca769cc908d";
logging-data="1359518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+7PjDvdFMnN4OgI6JE8Dl"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Cancel-Lock: sha1:BgR1xLvt23A66gh51WjQuzOPyKk=
Content-Language: en-US
In-Reply-To: <8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
 by: André G. Isaak - Sun, 10 Jul 2022 02:46 UTC

On 2022-07-09 20:34, olcott wrote:
> On 7/9/2022 9:20 PM, dklei...@gmail.com wrote:
>> On Saturday, July 9, 2022 at 6:42:00 PM UTC-7, olcott wrote:
>>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>>> On 2022-07-09 18:08, olcott wrote:
>>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>>> Mike Terry <news.dead.p...@darjeeling.plus.com> writes:
>>>>>>>>
>>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>>
>>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>>
>>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>>> D is then defined to accept if T rejects and rejects if T
>>>>>>>>>> accepts.
>>>>>>>>>
>>>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T
>>>>>>>>> above,
>>>>>>>>> but Sipser uses H as the proposed decider, and D as the derived
>>>>>>>>> test
>>>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>>>> deciding
>>>>>>>>>
>>>>>>>>>      A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>>
>>>>>>>>> H is not PO's normal proposed Halting decider, which has caused
>>>>>>>>> some
>>>>>>>>> confusion.
>>>>>>>>
>>>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>>>> encoding,
>>>>>>>> I don't think he should be allowed to get away with ignoring it for
>>>>>>>> this
>>>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>>>> /strings/
>>>>>>>> so the translation into C should be a function with const char *
>>>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>>
>>>>>>> As I have told you every time that you keep bringing this up the
>>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>>
>>>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>>>
>>>>>> Of course there are strings in C. A string and a pointer to a string
>>>>>> are two different types.
>>>>>>
>>>>>> Yes, conventionally functions dealing with strings are passed
>>>>>> pointers to the strings rather than the strings themselves,
>>>>>
>>>>> And Ben keeps pretending to not know this:
>>>>
>>>> No. He doesn't.
>>>>
>>>>> any little trick to stay focused on rebuttal mode.
>>>>>
>>>>> Ben and David may still fail to comprehend that x86 machine language
>>>>> (having ready-made indexed directed graphs of all control flow) are
>>>>> much easier for a halt decider to process than C source code.
>>>>
>>>> There is no 'ready-made indexed directed graph of all control flow'
>>>> provided by x86 machine code.
>>> *Sure there is this is it*
>>> address call address
>>> address jmp address
>>> address jmp-condition address
>>>
>>> The first address is the current node
>>> The second address is the next node on the directed path
>>>> You can work out such a directed graph
>>>> just as one can work out such a directed graph from C source code using
>>>> a more-or-less identical procedure.
>>>>
>>>> Despite what you may believe, a program trace is not a directed graph,
>>>> nor does it represent the control flow of a program.
>>>
>> Suppose I am given a program in assembly form. What exactly do I do to
>> understand the control structure?
>>
>
> The machine has to understand the control flow structure. This is
> simplest with the ready-made directed graph that machine-code provides.

The machine understands the x86 instructions. But it doesn't see any
sort of 'control flow structure' in those instructions, nor does it
generate any sort of graph. It simply executes instructions one at a
time. For a given input there may be many instructions which the machine
may never even see since they lie on branches not taken for that input.

To generate a directed-graph showing flow control would involve writing
a program which analyzes the x86 instructions to create such a graph by
considering *all* possible branches, not just the ones taken for some
input. This isn't something your machine does automagically, nor is it
something present in the x86 assembly listing. And such a program is no
easier to write than one which analyzes C instructions to create such a
graph.

André

--
To email remove 'invalid' & replace 'gm' with well known Google mail
service.

Re: Did I encode Sipser correctly? (it seemed too easy)

<48ryK.448802$J0r9.183308@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35567&group=comp.theory#35567

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<tadc2o$198ju$1@dont-email.me>
<qPmdnbVTCKQ3qlf_nZ2dnUU7_83NnZ2d@giganews.com>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <qPmdnbVTCKQ3qlf_nZ2dnUU7_83NnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 128
Message-ID: <48ryK.448802$J0r9.183308@fx11.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 22:50:39 -0400
X-Received-Bytes: 6690
 by: Richard Damon - Sun, 10 Jul 2022 02:50 UTC

On 7/9/22 10:21 PM, olcott wrote:
> On 7/9/2022 9:04 PM, André G. Isaak wrote:
>> On 2022-07-09 19:41, olcott wrote:
>>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>>> On 2022-07-09 18:08, olcott wrote:
>>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>>> Mike Terry <news.dead.person.stones@darjeeling.plus.com> writes:
>>>>>>>>
>>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>>
>>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>>
>>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>>> D is then defined to accept if T rejects and rejects if T
>>>>>>>>>> accepts.
>>>>>>>>>
>>>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T
>>>>>>>>> above,
>>>>>>>>> but Sipser uses H as the proposed decider, and D as the derived
>>>>>>>>> test
>>>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>>>> deciding
>>>>>>>>>
>>>>>>>>>     A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>>
>>>>>>>>> H is not PO's normal proposed Halting decider, which has caused
>>>>>>>>> some
>>>>>>>>> confusion.
>>>>>>>>
>>>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>>>> encoding,
>>>>>>>> I don't think he should be allowed to get away with ignoring it
>>>>>>>> for this
>>>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>>>> /strings/
>>>>>>>> so the translation into C should be a function with const char *
>>>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>>
>>>>>>> As I have told you every time that you keep bringing this up the
>>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>>
>>>>>>> As you already know (yet disingenuously pretend to not know)
>>>>>>> there are no strings in C besides pointers to sequences of bytes.
>>>>>>
>>>>>> Of course there are strings in C. A string and a pointer to a
>>>>>> string are two different types.
>>>>>>
>>>>>> Yes, conventionally functions dealing with strings are passed
>>>>>> pointers to the strings rather than the strings themselves,
>>>>>
>>>>> And Ben keeps pretending to not know this:
>>>>
>>>> No. He doesn't.
>>>>
>>>>> any little trick to stay focused on rebuttal mode.
>>>>>
>>>>> Ben and David may still fail to comprehend that x86 machine
>>>>> language (having ready-made indexed directed graphs of all control
>>>>> flow) are much easier for a halt decider to process than C source
>>>>> code.
>>>>
>>>> There is no 'ready-made indexed directed graph of all control flow'
>>>> provided by x86 machine code.
>>>
>>> *Sure there is this is it*
>>> address call address
>>> address jmp address
>>> address jmp-condition address
>>>
>>> The first address is the current node
>>> The second address is the next node on the directed path
>>
>> What you have above is a list of instructions, not a graph. Sure you
>> can construct a graph (putting aside the difficulties that Richard
>> pointed
>
> I never see anything that Richard says.
> I gave up on him because he keeps perpetually making the same mistakes.
>
> Neither Richard nor Flibble can possibly understand that every function
> called in infinite recursion never returns to its caller. Because of
> this I gave up on those technically incompetent two.
>

No, you don't understand that a pure function must do the same thing for
every call with the same paramaters, and thus P calling H(P,P) can't
create the infinite recursion you claim if H(P,P) also returns 0 in some
case.

> It seems that both you and David fail to understand how much more
> difficult it would be to analyze control flow without the ready-made
> directed graph that machine language provides. Neither one of you can
> ever understand that it really is a ready-made directed graph.

Nope, you don't understand that the x86 is MORE dificult because it
DOESN'T provide an actual conftol flow until you actually find out where
instructions state.

With C code, you KNOW that blocks are only entered from the top unless
there is a lable inside. There are limited entry and exit points, welll
defined by the syntax of the code (instead of needing to find the
semantics of the x86 code)

>
> At least you would fully understand the concept of unreachable code.

Except that code you call "unreachable" is reached.

>
>> out), but doing so is no easier for assembly than it is for a list of
>> C instructions or pascal instructions or fortran instructions or....
>>
>> André
>>
>
>

Re: Did I encode Sipser correctly? (it seemed too easy)

<1hryK.38050$Eh2.14040@fx41.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35569&group=comp.theory#35569

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
<8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 161
Message-ID: <1hryK.38050$Eh2.14040@fx41.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Jul 2022 23:00:12 -0400
X-Received-Bytes: 8480
 by: Richard Damon - Sun, 10 Jul 2022 03:00 UTC

On 7/9/22 10:34 PM, olcott wrote:
> On 7/9/2022 9:20 PM, dklei...@gmail.com wrote:
>> On Saturday, July 9, 2022 at 6:42:00 PM UTC-7, olcott wrote:
>>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>>> On 2022-07-09 18:08, olcott wrote:
>>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>>> Mike Terry <news.dead.p...@darjeeling.plus.com> writes:
>>>>>>>>
>>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>>
>>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>>
>>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>>> D is then defined to accept if T rejects and rejects if T
>>>>>>>>>> accepts.
>>>>>>>>>
>>>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T
>>>>>>>>> above,
>>>>>>>>> but Sipser uses H as the proposed decider, and D as the derived
>>>>>>>>> test
>>>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>>>> deciding
>>>>>>>>>
>>>>>>>>>      A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>>
>>>>>>>>> H is not PO's normal proposed Halting decider, which has caused
>>>>>>>>> some
>>>>>>>>> confusion.
>>>>>>>>
>>>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>>>> encoding,
>>>>>>>> I don't think he should be allowed to get away with ignoring it for
>>>>>>>> this
>>>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>>>> /strings/
>>>>>>>> so the translation into C should be a function with const char *
>>>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>>
>>>>>>> As I have told you every time that you keep bringing this up the
>>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>>
>>>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>>>
>>>>>> Of course there are strings in C. A string and a pointer to a string
>>>>>> are two different types.
>>>>>>
>>>>>> Yes, conventionally functions dealing with strings are passed
>>>>>> pointers to the strings rather than the strings themselves,
>>>>>
>>>>> And Ben keeps pretending to not know this:
>>>>
>>>> No. He doesn't.
>>>>
>>>>> any little trick to stay focused on rebuttal mode.
>>>>>
>>>>> Ben and David may still fail to comprehend that x86 machine language
>>>>> (having ready-made indexed directed graphs of all control flow) are
>>>>> much easier for a halt decider to process than C source code.
>>>>
>>>> There is no 'ready-made indexed directed graph of all control flow'
>>>> provided by x86 machine code.
>>> *Sure there is this is it*
>>> address call address
>>> address jmp address
>>> address jmp-condition address
>>>
>>> The first address is the current node
>>> The second address is the next node on the directed path
>>>> You can work out such a directed graph
>>>> just as one can work out such a directed graph from C source code using
>>>> a more-or-less identical procedure.
>>>>
>>>> Despite what you may believe, a program trace is not a directed graph,
>>>> nor does it represent the control flow of a program.
>>>
>> Suppose I am given a program in assembly form. What exactly do I do to
>> understand the control structure?
>>
>
> The machine has to understand the control flow structure. This is
> simplest with the ready-made directed graph that machine-code provides.
> A human can simply look at the C source to see the control flow.
>

The machine understand what the code says when it executes it, yes.
Until you know the instruction boundries, you don't know what the
instructions mean.

> The human cannot see what the halt decider is doing from the C source
> because the halt decider is only looking at the machine-code. I
> carefully disassemble this for human consumption.

Only because you have defined your input to be encoded as x86 binary.

Make your decider based on parsing C code, and we can understand that
directly.

>
> The stripped down C source-code of the simplest halt decider and its
> simplest inputs is down to 313 lines. The most complex version is 647
> lines, has four different halt deciders and many sample inputs.

Except you decider gets it wrong, because it presumes that when the
simulate P(P) calls H(P,P) that the results is infinite recursion when
in actuality since H(P,P) aborts its simulation and returns 0, H needed
to have assumed that H(P,P) returned 0, not but non-halting.

H thus is shown to NOT be using valid logic, because you introduced
INCORRECT rules into your logic (i.e. LIES).

You seem to presume that H can be BOTH a complete and correct
enterpreter and also abort its simulation.

You presume that there exists a finite point in time when H can actually
prove that its input is non-halting to be able to correct abort its
simulation.

This is just invoking the fallicy of presuming the conclusion. Yes, if
someone gives you a working Halt Decider, you can build your Halt
Decider around it. Until someone can actually make that ideal halt
decider (that doens't exist) you can't do what you claim.

This is like in a proof you use a step, "If we assume that 2 < 1, then
we can show ...."

>
>> First I simplify by throwing away every instruction that is neither a
>> jump
>> nor a jump target. Note all calls are removed. Then I mark all the
>> instructions as UNTESTED. Then I start the test loop.
>>
>> In the test loop I look at the next instruction. If it is UNTESTED I
>> change
>> that attribute to TESTED and go back for another step in the loop. If it
>> is TESTED I have discovered a loop. I create a loop record and copy all
>> the instructions from the current place around the the loop into the
>> loop record. If any of instruction is in a loop I add a loop dependency
>> record - the new loop is in the old one. For efficiency I probably make
>> loop membership an instruction attribute. Finally I pop the alternative
>> stack and get the next instruction to be tasted. The alternative is built
>> by pushing the target of every jump instruction onto it.  If the
>> alternative
>> stack is empty we are done.
>>
>> Jumps to outside the program do not generate alternatives.
>>
>> After that things get messy. But I do find the loops.
>
>

Re: Did I encode Sipser correctly? (it seemed too easy)

<kOGdndWpEaNg1lf_nZ2dnUU7_83NnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35570&group=comp.theory#35570

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Jul 2022 22:48:13 -0500
Date: Sat, 9 Jul 2022 22:48:11 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Did I encode Sipser correctly? (it seemed too easy)
Content-Language: en-US
Newsgroups: comp.theory
References: <JsCdncZ8o66CWVT_nZ2dnUU7_83NnZ2d@giganews.com>
<8t6dnRve_qHRS1T_nZ2dnUU7_83NnZ2d@giganews.com>
<taclsq$14ggb$1@dont-email.me>
<ztqdna9DoMbFQVT_nZ2dnUU7_8zNnZ2d@giganews.com>
<JhlyK.97102$ze2.63628@fx36.iad> <tacnih$14las$1@dont-email.me>
<YvlyK.448525$J0r9.661@fx11.iad> <tact7s$1trj$1@gioia.aioe.org>
<87czedubvi.fsf@bsb.me.uk> <1cGdnVv6afp5jVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad469$15q87$1@dont-email.me>
<9bqdnZOo-_PphVf_nZ2dnUU7_83NnZ2d@giganews.com>
<tad8io$165t1$1@dont-email.me>
<3_adnYE9b438s1f_nZ2dnUU7_83NnZ2d@giganews.com>
<79d0cc7c-d32e-413a-8f6a-bd6c179896fdn@googlegroups.com>
<8ZidnWYSTLIBp1f_nZ2dnUU7_8zNnZ2d@giganews.com>
<tadehg$19fku$1@dont-email.me>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <tadehg$19fku$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <kOGdndWpEaNg1lf_nZ2dnUU7_83NnZ2d@giganews.com>
Lines: 131
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-lP8RJZsefmJROLSBuHcE/9V49DXSP1YzEEYVSaYx9AQtzSDjteyUBEsIwL/gOPDAtwl1VUkACRpasfh!9I1COp5XfDU51Bj0+orvsNIKe/h+2fm8F6w+5mHBcKrjSUbGsnhjYbRqd2KheSiq7xnXPyEfXQw9!tA==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 7349
 by: olcott - Sun, 10 Jul 2022 03:48 UTC

On 7/9/2022 9:46 PM, André G. Isaak wrote:
> On 2022-07-09 20:34, olcott wrote:
>> On 7/9/2022 9:20 PM, dklei...@gmail.com wrote:
>>> On Saturday, July 9, 2022 at 6:42:00 PM UTC-7, olcott wrote:
>>>> On 7/9/2022 8:04 PM, André G. Isaak wrote:
>>>>> On 2022-07-09 18:08, olcott wrote:
>>>>>> On 7/9/2022 6:49 PM, André G. Isaak wrote:
>>>>>>> On 2022-07-09 17:36, olcott wrote:
>>>>>>>> On 7/9/2022 6:04 PM, Ben Bacarisse wrote:
>>>>>>>>> Mike Terry <news.dead.p...@darjeeling.plus.com> writes:
>>>>>>>>>
>>>>>>>>>> On 09/07/2022 21:26, Richard Damon wrote:
>>>>>>>>>>> On 7/9/22 4:14 PM, André G. Isaak wrote:
>>>>>>>>>>>> On 2022-07-09 14:11, Richard Damon wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> H is REQUIRED (to be correct) to give the answer that D will
>>>>>>>>>>>>> give if D will give an answer,
>>>>>>>>>>>>
>>>>>>>>>>>> No, H is required to answer "true" if D will give an answer,
>>>>>>>>>>>> regardless of what that answer might be.
>>>>>>>>>>> I though in Sipser, H was supposed to be a decider where H
>>>>>>>>>>> accepts D,x if D will accept x, and
>>>>>>>>>>> reject if D doesn't accept x (either reject or not-answer).
>>>>>>>>>>> D is then defined to accept if T rejects and rejects if T
>>>>>>>>>>> accepts.
>>>>>>>>>>
>>>>>>>>>> Yes, this is what PO is talking about in Sipser.  (You use T
>>>>>>>>>> above,
>>>>>>>>>> but Sipser uses H as the proposed decider, and D as the
>>>>>>>>>> derived test
>>>>>>>>>> TM for H, which reveals the contradiction.)  H is supposed to be
>>>>>>>>>> deciding
>>>>>>>>>>
>>>>>>>>>>      A_TM = {<M,w)> : M is a TM and M accepts w}.
>>>>>>>>>>
>>>>>>>>>> H is not PO's normal proposed Halting decider, which has
>>>>>>>>>> caused some
>>>>>>>>>> confusion.
>>>>>>>>>
>>>>>>>>> Can I add a plea?  Given the mess that PO has made by ignoring
>>>>>>>>> encoding,
>>>>>>>>> I don't think he should be allowed to get away with ignoring it
>>>>>>>>> for
>>>>>>>>> this
>>>>>>>>> new, closely related, problem.  H (in Sipser) is a function of
>>>>>>>>> /strings/
>>>>>>>>> so the translation into C should be a function with const char *
>>>>>>>>> parameters.  That way PO must explain how to write the string the
>>>>>>>>> represents a computation -- the obvious one being C source code.
>>>>>>>>
>>>>>>>> As I have told you every time that you keep bringing this up the
>>>>>>>> input to H <is> a pointer to finite string of machine-code bytes.
>>>>>>>>
>>>>>>>> As you already know (yet disingenuously pretend to not know) there
>>>>>>>> are no strings in C besides pointers to sequences of bytes.
>>>>>>>
>>>>>>> Of course there are strings in C. A string and a pointer to a string
>>>>>>> are two different types.
>>>>>>>
>>>>>>> Yes, conventionally functions dealing with strings are passed
>>>>>>> pointers to the strings rather than the strings themselves,
>>>>>>
>>>>>> And Ben keeps pretending to not know this:
>>>>>
>>>>> No. He doesn't.
>>>>>
>>>>>> any little trick to stay focused on rebuttal mode.
>>>>>>
>>>>>> Ben and David may still fail to comprehend that x86 machine language
>>>>>> (having ready-made indexed directed graphs of all control flow) are
>>>>>> much easier for a halt decider to process than C source code.
>>>>>
>>>>> There is no 'ready-made indexed directed graph of all control flow'
>>>>> provided by x86 machine code.
>>>> *Sure there is this is it*
>>>> address call address
>>>> address jmp address
>>>> address jmp-condition address
>>>>
>>>> The first address is the current node
>>>> The second address is the next node on the directed path
>>>>> You can work out such a directed graph
>>>>> just as one can work out such a directed graph from C source code
>>>>> using
>>>>> a more-or-less identical procedure.
>>>>>
>>>>> Despite what you may believe, a program trace is not a directed graph,
>>>>> nor does it represent the control flow of a program.
>>>>
>>> Suppose I am given a program in assembly form. What exactly do I do to
>>> understand the control structure?
>>>
>>
>> The machine has to understand the control flow structure. This is
>> simplest with the ready-made directed graph that machine-code provides.
>
> The machine understands the x86 instructions. But it doesn't see any
> sort of 'control flow structure' in those instructions, nor does it
> generate any sort of graph.

The halt decider generates the graph

> It simply executes instructions one at a
> time. For a given input there may be many instructions which the machine
> may never even see since they lie on branches not taken for that input.
>
> To generate a directed-graph showing flow control would involve writing
> a program which analyzes the x86 instructions to create such a graph by
> considering *all* possible branches, not just the ones taken for some
> input.

The halt decider need not examine all the branches. It only needs to
examine the possibly branches from the current location. It is not even
aware that dead code exists because it never gets there.

> This isn't something your machine does automagically, nor is it
> something present in the x86 assembly listing. And such a program is no
> easier to write than one which analyzes C instructions to create such a
> graph.
>
> André
>
>

--
Copyright 2022 Pete Olcott

"Talent hits a target no one else can hit;
Genius hits a target no one else can see."
Arthur Schopenhauer


devel / comp.theory / Re: Did I encode Sipser correctly? (it seemed too easy)

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor