On 8/20/2025 8:58 AM, Richard Heathfield wrote:Wrong, obviously.
On 20/08/2025 10:23, joes wrote:
Am Tue, 19 Aug 2025 21:17:50 -0500 schrieb olcott:
On 8/19/2025 8:15 PM, Richard Heathfield wrote:
Context:
#define HHH(x) 0
correctly simulates HHH(DD).
OK, let’s have it simulate one instruction then. Where’s theOf course, it ignores HHH's source code, but I haveSaying that not doing any simulation is the correct way to do a
precedent to tell
me that that's okay when correctly simulating.
simulation in ridiculously incorrect and you know it.
cutoff?
One instruction.
HHH only bothers simulating DD's call to HHH. It ignores the
rest of DD.
As Mr Olcott puts it: "Saying that not doing any simulation is
the correct way to do a simulation in ridiculously incorrect
and you know it."
But my simulation correctly simulates just as many lines as his
does.
Your macro simulates zero lines of DD.
My HHH emulates 10 lines of DD.
On 8/21/2025 11:50 AM, Richard Heathfield wrote:
On 21/08/2025 16:41, olcott wrote:
Your macro simulates zero lines of DD.Wrong, obviously.
#define HHH(x) 0
Prevents Halt7.c from compiling.
On 8/21/2025 12:24 PM, Richard Heathfield wrote:
On 21/08/2025 18:05, olcott wrote:
On 8/21/2025 11:50 AM, Richard Heathfield wrote:
On 21/08/2025 16:41, olcott wrote:
<snip>
Your macro simulates zero lines of DD.Wrong, obviously.
#define HHH(x) 0
Prevents Halt7.c from compiling.
Well, it would. But it doesn't stop DD from compiling.
$ cat dd.c
#include <stdio.h>
#define HHH(x) 0
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
int main()
{
int hhh = HHH(DD);
int dd = DD();
printf("Because we got here, we know that both HHH and DD
halted.\n");
printf("But is that what they claim?\n\n");
printf("HHH(DD) yields %d (%s).\n", hhh, hhh ? "halted" :
"incorrect claim of non-halting");
printf("DD yields %d (%s).\n", dd, dd ? "halted" :
"incorrect claim of non-halting");
return 0;
}
$ gcc -o dd dd.c
$ ./dd
Because we got here, we know that both HHH and DD halted.
But is that what they claim?
HHH(DD) yields 0 (incorrect claim of non-halting).
DD yields 0 (incorrect claim of non-halting).
Thus proving that you lied about the number
of instructions of DD correctly simulated by HHH
being the same as #define HHH(x) 0.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:06:29 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,566 |