|
Still trying his defective spambot: Member 16005103 - Professional Profile[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
|
|
|
|
|
|
Or maybe this guy is trolling the troll?
|
|
|
|
|
Looking at his reply on his other copy of the same question:
I know that the answer is dead obvious (at least to me) I need to know whether or not the answer is equally dead obvious to other professional software engineers. I have been a professional C++ software engineer since 2004.
So he posted multiple copies of the same question, to which he already claims to know the answer, just to gauge whether we're as clever as him.
Troll[^] and trolling[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Although people have very consistently treated me very badly what I have been saying is clearly correct software engineering.
Can D simulated by H terminate normally?
The x86utm operating system based on an open source x86 emulator. This system enables one C function to execute another C function in debug step mode. When H simulates D it creates a separate process context for D with its own memory, stack and virtual registers. H is able to simulate D simulating itself, thus the only limit to recursive simulations is RAM.
01 int D(int (*x)())
02 {
03 int Halt_Status = H(x, x);
04 if (Halt_Status)
05 HERE: goto HERE;
06 return Halt_Status;
07 }
08
09 void main()
10 {
11 H(D,D);
12 }
Execution Trace
main() calls H(D,D) that simulates D(D) at line 11
keeps repeating:
simulated D(D) calls simulated H(D,D) that simulates D(D) at line 03 ...
Is this clear enough to see that D correctly simulated by H can never terminate normally? (because D remains stuck in recursive simulation)
I never mentioned this next part in any of my questions because it extends beyond the scope of software engineering.
Quote: For any program H that might determine whether programs halt, a "pathological" program D, called with some input, can pass its own source and its input to H and then specifically do the opposite of what H predicts D will do. No H can exist that handles this case.
Wikipedia: Halting Problem
ADDENDUM
By showing the above at the software engineering level with fully operational code there cannot be any gaps in reasoning that occur when examining these things at the Turing Machine level. Once these things are fully understood at the software engineering level then they can be applied to the Peter Linz (Turing machine based) Halting Problem proof on pages 1-2 of this paper: Simulating (partial) Halt Deciders Defeat the Halting Problem Proofs It is easy to see that these two examples are isomorphic once the software engineering of the above example is fully understood.
modified 20-May-23 11:15am.
|
|
|
|
|
Yes we've all seen the infinite recursive simulation, can you stop now?
|
|
|
|
|
Not one person has acknowledged that D correctly simulated by H cannot possibly terminate normally.
Many people have been terribly rude and very unprofessional. Even now you did not directly answer the question.
|
|
|
|
|
Except recursion will never be infinite in the real world, it will blow the stack first, yes?
|
|
|
|
|
Yes that is why the title of the original question was:
Can D simulated by H terminate normally?
I updated my post (above) to show this.
So far there has not been one answer.
What you said was close to an answer.
modified 20-May-23 10:21am.
|
|
|
|
|
|
|
|
|
|
Even more Russian Telegram drivel: Member 16004703 - Professional Profile[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Pushing his dev company of the same name: Neetable - Professional Profile[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Yet more Russian telegram cr@p: Member 16004571 - Professional Profile[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Tammy Gombez - Professional Profile[^]
Latest Messages[^]
Initially thought it was just in the wrong forum; then I spotted that "i7 laptop" is a link.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|