Liste des Groupes | Revenir à c theory |
On 7/4/2024 10:24 AM, Richard Damon wrote:Why does HHH simulate a program that does not abort?On 7/4/24 9:43 AM, olcott wrote:*No you are stupidly wrong*On 7/4/2024 8:38 AM, joes wrote:And, since it does (since you claim HHH(DDD) is correct in returningAm Thu, 04 Jul 2024 07:50:51 -0500 schrieb olcott:Unless the outermost one aborts none of them do.On 7/4/2024 5:38 AM, joes wrote:>Am Wed, 03 Jul 2024 11:21:01 -0500 schrieb olcott:On 7/3/2024 11:09 AM, Fred. Zwarts wrote:Op 03.jul.2024 om 17:55 schreef olcott:On 7/3/2024 10:52 AM, Fred. Zwarts wrote:Op 03.jul.2024 om 15:24 schreef olcott:On 7/3/2024 3:42 AM, Fred. Zwarts wrote:Op 03.jul.2024 om 05:55 schreef olcott:On 7/2/2024 10:50 PM, joes wrote:Am Tue, 02 Jul 2024 14:46:38 -0500 schrieb olcott:On 7/2/2024 2:17 PM, Fred. Zwarts wrote:Op 02.jul.2024 om 21:00 schreef olcott:On 7/2/2024 1:42 PM, Fred. Zwarts wrote:Op 02.jul.2024 om 14:22 schreef olcott:On 7/2/2024 3:22 AM, Fred. Zwarts wrote:Op 02.jul.2024 om 03:25 schreef olcott:Stupidly incorrect is thinking that the next one wouldn’t abort justHHH always meets its abort criteria first because it always sees atNo. HHH is simulating itself, not a different function that doesHHH is required to report on what would happen if HHH did notHHH is unable to simulate main correctly, because it unable toSimilarly, if you think that HHH can simulate itself correctly,main correctly emulated by H never stops running unless aborted.
you are wrong.
int H(ptr p, ptr i);
int main()
{
return H(main, 0);
}
You showed that H returns, but that the simulation thinks it
does not return.
DDD is making it unnecessarily complex, but has the same
problem.
simulate itself correctly.
The 'unless phrase' is misleading, because we are talking about a
H *does* abort. Dreaming of one that does not abort, is
irrelevant. The correctly simulated main would stop, because the
simulated H is only one cycle away from its return when its
simulation is aborted.
abort.
HHH is forbidden from getting its own self stuck in infinite
execution. Emulated instances of itself is not its actual self.
not abort. All calls are instances of the same code with the same
parameters. They all do the same thing: aborting.
least one fully execution trace of DDD before the next inner one. It
is stupidly incorrect to think that HHH can wait on the next one.
because that part isn’t simulated.
>
>
non-halting) the all do, and thus DDD halts.
This the same same as saying the when everyone in a foot race is in
single file and 15 feet behind the one in front of them that everyone
will come in first place.
Les messages affichés proviennent d'usenet.