Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.theory > #135653

Re: The halting problem is incorrect two different ways

From Mikko <mikko.levanto@iki.fi>
Newsgroups comp.theory
Subject Re: The halting problem is incorrect two different ways
Date 2025-11-15 12:15 +0200
Organization -
Message-ID <10f9js7$3e65b$1@dont-email.me> (permalink)
References (12 earlier) <10f201m$1ekh0$1@dont-email.me> <10f4604$21bpf$2@dont-email.me> <10f4uof$28hb9$1@dont-email.me> <10f6sb3$2o84l$1@dont-email.me> <10f7g5q$2tkbn$1@dont-email.me>

Show all headers | View raw


On 2025-11-14 15:00:09 +0000, olcott said:

> On 11/14/2025 3:21 AM, Mikko wrote:
>> On 2025-11-13 15:50:37 +0000, olcott said:
>> 
>>> On 11/13/2025 2:48 AM, Mikko wrote:
>>>> On 2025-11-12 12:54:12 +0000, olcott said:
>>>> 
>>>>> On 11/12/2025 1:09 AM, Mikko wrote:
>>>>>> On 2025-11-11 13:04:13 +0000, olcott said:
>>>>>> 
>>>>>>> On 11/11/2025 2:59 AM, Mikko wrote:
>>>>>>>> On 2025-11-10 14:48:00 +0000, olcott said:
>>>>>>>> 
>>>>>>>>> On 11/10/2025 3:43 AM, Mikko wrote:
>>>>>>>>>> On 2025-11-09 12:51:57 +0000, olcott said:
>>>>>>>>>> 
>>>>>>>>>>> On 11/9/2025 4:22 AM, Mikko wrote:
>>>>>>>>>>>> On 2025-11-08 13:36:06 +0000, olcott said:
>>>>>>>>>>>> 
>>>>>>>>>>>>> On 11/8/2025 2:05 AM, Mikko wrote:
>>>>>>>>>>>>>> On 2025-11-07 12:57:48 +0000, olcott said:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On 11/7/2025 2:05 AM, Mikko wrote:
>>>>>>>>>>>>>>>> On 2025-11-06 20:48:02 +0000, olcott said:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> D simulated by H cannot possibly reach its own
>>>>>>>>>>>>>>>>> simulated final halt state.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> That is merely a defect in H and irrelevanto to the semantic and other
>>>>>>>>>>>>>>>> properties of D.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> That's a stupid statement.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Stupid is better than false.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> It is stupidly false because you didn't bother
>>>>>>>>>>>>> to pay any attention at all.
>>>>>>>>>>>> 
>>>>>>>>>>>> A statement about me is off topic in comp.theory.
>>>>>>>>>>>> 
>>>>>>>>>>>>> H simulates D that calls H(D) that
>>>>>>>>>>>>> simulates D that calls H(D) that
>>>>>>>>>>>>> simulates D that calls H(D) that
>>>>>>>>>>>>> simulates D that calls H(D) that never reaches
>>>>>>>>>>>>> the simulated "return" statement final halt
>>>>>>>>>>>>> state of D because D calls H(D) in recursive
>>>>>>>>>>>>> simulation.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Have you ever done any actual programming?
>>>>>>>>>>>> 
>>>>>>>>>>>> A question about me is off topic in comp.theory. But yes, I did yesterday.
>>>>>>>>>>> 
>>>>>>>>>>> *This is my key foundational point*
>>>>>>>>>>> 
>>>>>>>>>>> int H(char* P);
>>>>>>>>>>> 
>>>>>>>>>>> int D()
>>>>>>>>>>> {
>>>>>>>>>>>    int Halt_Status = H(D);
>>>>>>>>>>>    if (Halt_Status)
>>>>>>>>>>>      HERE: goto HERE;
>>>>>>>>>>>    return Halt_Status;
>>>>>>>>>>> }
>>>>>>>>>>> 
>>>>>>>>>>> The above is in test.c
>>>>>>>>>>> 
>>>>>>>>>>> simulate.exe implements a C interpreter.
>>>>>>>>>>> 
>>>>>>>>>>> simulate test.c
>>>>>>>>>>> 
>>>>>>>>>>> runs the interpreter on the above source file
>>>>>>>>>>> from the command prompt.
>>>>>>>>>> 
>>>>>>>>>> Any program that does not correctly tell whether test.c halts is not
>>>>>>>>>> a halt decider. A program that gives an incorrect answer is not even
>>>>>>>>>> a partial halt decider.
>>>>>>>>>> 
>>>>>>>>>>> When this interpreter sees the call to H(D)
>>>>>>>>>>> it calls itself with the text body of D.
>>>>>>>>>> 
>>>>>>>>>> According to C semanttics it should simulate H(D), either simultating
>>>>>>>>>> instructions of H or simulating the return from H(D) with the same
>>>>>>>>>> returned value as H(D) would return if executed, or do whatever H would
>>>>>>>>>> do if H would not not return.
>>>>>>>>> 
>>>>>>>>> That is not the behavior that the input to H(D) specifies.
>>>>>>>>> simulator.exe simulates Test.c. This simulates D that
>>>>>>>>> calls H(D) that the simulator recognizes as itself.
>>>>>>>> 
>>>>>>>> It is the behavour C semantics specifies. According to C semantics
>>>>>>>> any other behavour that produces the same result is equally valid.
>>>>>>>> 
>>>>>>>>> So D remains stuck in recursive simulation never being
>>>>>>>>> able to complete its first statement before calling H(D)
>>>>>>>>> again and again.
>>>>>>>> 
>>>>>>>> If that happens then H does not return and therefore is not a decider.
>>>>>>> 
>>>>>>> Maybe my work is over your head.
>>>>>> 
>>>>>> Maybe the definition of "decider" is over your head.
>>>>> 
>>>>> typedef int (*ptr)();
>>>>> int HHH(ptr P);
>>>>> 
>>>>> int DD()
>>>>> {
>>>>>    int Halt_Status = HHH(DD);
>>>>>    if (Halt_Status)
>>>>>      HERE: goto HERE;
>>>>>    return Halt_Status;
>>>>> }
>>>>> 
>>>>> int main()
>>>>> {
>>>>>    HHH(DD);
>>>>> }
>>>>> 
>>>>> People here have consistently lied about
>>>>> DD simulated by HHH reaching its own "return"
>>>>> statement final halt state for three years.
>>>>> 
>>>>> You yourself have not told the truth about
>>>>> this even once.
>>>> 
>>>> That seems to confirm that the definition of "decider" is over your head.
>>> 
>>> I am just talking at the level of the execution
>>> trace of C functions. D does specify non-halting
>>> behavior to its termination analyzer.
>> 
>> The termination problem is not about specifying "to its termination
>> analyzer". Instead the termination problem is to determine whether
>> a program terminates every time when used as it was designed to be
>> used.
> 
> The halting problem requires that a halt decider
> correctly report on the behavior of its caller
> and no halt decider can even see its actual caller.

Every halt decider is required to report on the behaviour asked about.
Whether the halt decider itself is a part of question does not affect
the requirement. A solution of the halting problem must include rules
of encoding of the input that ensure a sufficient description is given
to the decider. Obviously the description is sufficient if there is a
universal Turing machine that simulates that behaviour when given the
same input.

-- 
Mikko

Back to comp.theory | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

#135170 
  #135171 
  #135174 
    #135176 
      #135178 
        #135181 
          #135183 
            #135185 
              #135186 
                #135188 
                #135190 
                #135194 
                #135195 
                #135197 
                #135198 
                #135201 
                #135204 
                #135207 
                #135210 
                #135212 
                #135214 
                #135217 
                #135218 
      #135179 
    #135182 
      #135184 
        #135187 
          #135189 
            #135193 
              #135196 
                #135199 
                #135200 
                #135202 
                #135206 
                #135224 
                #135225 
                #135226 
                #135233 
                #135234 
                #135235 
                #135243 
                #135244 
                #135249 
                #135251 
                #135252 
                #135254 
                #135256 
                #135257 
                #135258 
                #135259 
                #135260 
                #135261 
                #135262 
                #135264 
                #135267 
                #135253 
                #135255 
                #135227 
                #135229 
                #135230 
                #135231 
                #135232 
                #135236 
                #135351 
                #135352 
                #135203 
                #135205 
                #135208 
                #135209 
                #135211 
                #135213 
                #135215 
                #135216 
                #135219 
                #135220 
      #135222 
        #135223 
          #135228 
            #135350 
  #135237 
    #135245 
      #135303 
        #135317 
          #135358 
            #135359 
              #135367 
                #135370 
                #135379 
                #135383 
                #135463 
                #135374 
                #135375 
                #135380 
                #135385 
              #135368 
                #135371 
                #135377 
                #135382 
                #135384 
                #135386 
                #135388 
                #135397 
                #135399 
                #135404 
                #135407 
                #135408 
                #135409 
                #135410 
                #135412 
                #135414 
                #135415 
                #135417 
                #135418 
                #135420 
                #135426 
                #136052 
                #136051 
                #136050 
                #135411 
                #135413 
                #135419 
                #135425 
                #135430 
                #135432 
                #135433 
                #135449 
                #135450 
                #135453 
                #135456 
                #135466 
                #135470 
                #135475 
                #135495 
                #135496 
                #135505 
                #135510 
                #135511 
                #135512 
                #135395 
                #135400 
                #135402 
                #135421 
                #135427 
                #135478 
                #135499 
                #135552 
                #135572 
                #135653 
                #135670 
                #135778 
                #135815 
                #135842 
                #135854 
                #135974 
                #135993 
                #135996 
                #135997 
                #135998 
                #136000 
                #136004 
                #136005 
                #136009 
                #136010 
                #136012 
                #136014 
                #136063 
                #136075 
                #136177 
                #135855 
                #136561 
                #136578 
                #136583 
                #136596 
                #136603 
                #136604 
                #136608 
                #136611 
                #136613 
                #136614 
                #136615 
                #136616 
                #136617 
                #136618 
                #136619 
                #136620 
                #136621 
                #136623 
                #136626 
                #136629 
                #136635 
                #136637 
                #136653 
                #136686 
                #136690 
                #136705 
                #136683 
                #136682 
                #136655 
                #136622 
                #136624 
                #136625 
                #136628 
                #136636 
                #136638 
                #136639 
                #136640 
                #136656 
                #136658 
                #136659 
                #136662 
                #136687 
                #136694 
                #136702 
                #136703 
                #136706 
                #136764 
                #136772 
                #137033 
                #137034 
                #136657 
                #136663 
                #136665 
                #136711 
                #136721 
                #136730 
                #136788 
                #136815 
                #136841 
                #136983 
                #136995 
                #136998 
                #136999 
                #137000 
                #137002 
                #137003 
                #137005 
                #137006 
                #137007 
                #137008 
                #137009 
                #137010 
                #137011 
                #137012 
                #137013 
                #137036 
                #137172 
                #137178 
                #137046 
                #137057 
                #137150 
                #137156 
                #137192 
                #137197 
                #137263 
                #137277 
                #137296 
                #136692 
                #136695 
                #136708 
                #136707 
                #136712 
                #136722 
                #136731 
                #135373 
                #135394 
                #135398 
                #135401 
                #135405 
                #135422 
                #135428 
                #135479 
                #135480 
                #135500 
                #135509 
                #135513 
                #135553 
                #135573 
                #135654 
                #135671 
                #135779 
                #135784 
                #135788 
                #135789 
                #135790 
                #135794 
                #135796 
                #135843 
                #135857 
                #135975 
                #135994 
                #136007 
                #136008 
                #136013 
                #136033 
                #136037 
                #136043 
                #136045 
                #136048 
                #136049 
                #136055 
                #136056 
                #136057 
                #136058 
                #136059 
                #136073 
                #136074 
                #136321 
                #136324 
                #136329 
                #136332 
                #136064 
                #136076 
                #136178 
                #136235 
                #136237 
                #136249 
                #136253 
                #136261 
                #136271 
                #136274 
                #136277 
                #136278 
                #136289 
                #136255 
                #136263 
                #136272 
                #136283 
                #136290 
                #136297 
                #136298 
                #136299 
                #136320 
                #136322 
                #136325 
                #136326 
                #136327 
                #136328 
                #136334 
                #136335 
                #136336 
                #136339 
                #136340 
                #136347 
                #136350 
                #136355 
                #136359 
                #136362 
                #136365 
                #136389 
                #136390 
                #136397 
                #136556 
                #136557 
                #136565 
                #136589 
                #136592 
                #136593 
                #136595 
                #136594 
                #136436 
                #136337 
                #136343 
                #136341 
                #136342 
                #136349 
                #136351 
                #136354 
                #136358 
                #136364 
                #136344 
                #136346 
                #136348 
                #136353 
                #136357 
                #136363 
                #136372 
                #136375 
                #136379 
                #136382 
                #136387 
                #136367 
                #136376 
                #136377 
                #136381 
                #136386 
                #136398 
                #136356 
                #136360 
                #136385 
                #136361 
                #136366 
                #136380 
                #136383 
                #136388 
                #136391 
                #136392 
                #136395 
                #136402 
                #136409 
                #136413 
                #136418 
                #136414 
                #136417 
                #136399 
                #136400 
                #136427 
                #136429 
                #136432 
                #136433 
                #136437 
                #136448 
                #136435 
                #136439 
                #136447 
                #136736 
                #136740 
                #136256 
  #136384 
  #136396 
    #136401 
      #136403 
        #136404 
          #136407 
          #136408 
      #136405 
  #136406 
    #136410 
      #136412 
        #136416 
          #136420 
            #136421 
              #136424 
                #136428 
                #136450 
                #136434 
              #136449 
                #136550 
                #136566 
                #136588 
                #136651 
                #136652 
      #136419 
  #136411 
    #136415 
      #136422 
        #136426 
        #136430 
          #136431 
            #136438 
              #136440 
                #136441 
                #136442 
                #136443 
                #136444 
                #136446 
                #136451 
                #136452 
                #136453 
                #136455 
                #136456 
                #136457 
                #136458 
                #136461 
                #136463 
                #136465 
                #136466 
                #136467 
                #136470 
                #136472 
                #136473 
                #136471 
                #136474 
                #136475 
                #136479 
                #136481 
                #136484 
                #136489 
                #136499 
                #136501 
                #136503 
                #136505 
                #136511 
                #136568 
                #137242 
                #137248 
                #136486 
                #136492 
                #136630 
                #136634 
                #136555 
                #136488 
                #136496 
                #136510 
                #136515 
                #136524 
                #136530 
                #136552 
                #136569 
                #136560 
                #136577 

(Thread has 637 articles, showing 500 — browse group in flat view)


csiph-web