Liste des Groupes | Revenir à c theory |
On 8/16/2024 3:13 AM, Mikko wrote:Thanks!On 2024-08-15 13:18:06 +0000, olcott said:void YYY()
On 8/15/2024 2:01 AM, joes wrote:That DDD halts if HHH halts but at least your HHH fails to simulateAm Wed, 14 Aug 2024 16:08:34 -0500 schrieb olcott:I did in the other post.On 8/14/2024 3:56 PM, Mike Terry wrote:Would you please point it out again?On 14/08/2024 18:45, olcott wrote:*You corrected Joes most persistent error*On 8/14/2024 11:31 AM, joes wrote:Lol, dude... I mentioned nothing about complete/incompleteAm Wed, 14 Aug 2024 08:42:33 -0500 schrieb olcott:Please go read how Mike corrected you.On 8/14/2024 2:30 AM, Mikko wrote:What do we care about a complete simulation? HHH isn't doing one.On 2024-08-13 13:30:08 +0000, olcott said:A complete emulation is not required to correctly predict that aOn 8/13/2024 6:23 AM, Richard Damon wrote:That is not a meaningful prediction because a complete andOn 8/12/24 11:45 PM, olcott wrote:A complete emulation of a non-terminating input has always been a*DDD correctly emulated by HHH cannot possibly reach its* *ownWhich is only correct if HHH actuallly does a complete and
"return" instruction final halt state, thus never halts*
correct emulation, or the behavior DDD (but not the emulation of
DDD by HHH)
will reach that return.
contradiction in terms.
HHH correctly predicts that a correct and unlimited emulation of
DDD by HHH cannot possibly reach its own "return" instruction
final halt state.
unlimited emulation of DDD by HHH never happens.
complete emulation would never halt.
simulations.
She made sure to ignore this correction.
A simulating termination analyzer can correctly simulateYes, HHH can't simulate itself completely. I guess no simulator can.But while we're here - a complete simulation of input D() would clearlyA complete simulation *by HHH* remains stuck in infinite recursion until
halt.
aborted.
itself simulating an input that halts.
void DDD()
{
HHH(DDD);
return;
}
itself with DDD as parameter to its return. Perhaps it can simulate
void XXX() {
HHH(YYY);
}
void YYY() {
Output("Hello!");
}
{
OutputString("Hello!\n");
}
void XXX()
{
HHH(YYY);
}
int main()
{
XXX();
}
When corrected your code ran fine.
You never have HHH simulating itself.
Les messages affichés proviennent d'usenet.