Re: Bad faith and dishonesty

Liste des GroupesRevenir à theory 
Sujet : Re: Bad faith and dishonesty
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : comp.theory
Date : 30. May 2025, 11:24:41
Autres entêtes
Organisation : Fix this later
Message-ID : <101c11c$eeca$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Mozilla Thunderbird
On 30/05/2025 10:19, vallor wrote:
On Thu, 29 May 2025 19:40:57 +0100, Richard Heathfield <rjh@cpax.org.uk>
wrote in <101a9np$gl7$1@dont-email.me>:
 
On 29/05/2025 19:14, olcott wrote:
<snip>

>
It is a tautology that any input D to termination analyzer H that
*would never stop running unless aborted*
DOES SPECIFY NON-TERMINATING BEHAVIOR.
>
But in making that claim you assume that you correctly know the
termination behaviour of D.
>
I can easily sketch out a program that your HHH analyser would
impatiently abort as non-terminating, but which could conceivably stop
running this year, next year, sometime... or never.
 Was wondering when someone would mention that...what does his HHH()
do with arbitrary programs?
 $ cat ddd.c
#include <stdio.h>
 void ddd(int r)
     {
     r--;
     if(r <= 0) return;
     fprintf(stderr,"calling ddd(%d)\n",r);
     ddd(r);
     fprintf(stderr,"returning, r=%d\n",r);
     return;
     }
  int main(void)
{
 ddd(50);
 return 0;
}
 I'd bet his HHH() would say this is non-terminating.
Dunno. I can't test it because I was unable to construct his system locally, but your program terminates quite quickly, so maybe he can cope with it? I'm not sure.
Here's a sketch of a rather more ambitious program that will definitely give his HHH some serious pause for thought.
Imagine if you will a bignum library that can cope with basic arithmetic on integers whose bit patterns are stored in arbitrarily large arrays of unsigned char. (I have written such a library for my own purposes, but you could use Miracl or GMP.)
Clearly, in C this would be implemented using function calls, but for the sake of brevity in my sketch I'll pretend that C has operator overloading.
You could use the bignum library to implement Miller-Rabin, which I'll call is_prime().
Given all of this, we can sketch out a design for a C program that can't prove, but may or may not DISprove, the Goldbach conjecture:
int main(void)
{
   int found = 0;
   bignum even = 4;
   while(!found)
   {
     even += 2;
     found = check(even);
   }
   if(found)
   {
     printf("Goldbach conjecture is FALSE."
            " Pass me a Fields Medal.\n");
   }
   return EXIT_SUCCESS;
}
int check(bignum n)
{
   int found = 1; /* assume n is a counterexample */
   bignum i, j;
   for(i = 3; found && i += 2; i++)
   {
     j = n - i;
     if(is_prime(i) && is_prime(j))
     {
       /* n is NOT a counter-example */
       found = 0;
     }
   }
   return found;
}
Good luck with that, HHH().
--
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Date Sujet#  Auteur
25 May 25 * Re: Bad faith and dishonesty289Mikko
25 May 25 `* Re: Bad faith and dishonesty288olcott
25 May 25  +* Re: Bad faith and dishonesty127Fred. Zwarts
25 May 25  i`* Re: Bad faith and dishonesty126olcott
25 May 25  i +* Re: Bad faith and dishonesty96Alan Mackenzie
25 May 25  i i`* Re: Bad faith and dishonesty95olcott
25 May 25  i i +* Re: Bad faith and dishonesty87dbush
25 May 25  i i i`* Re: Bad faith and dishonesty86olcott
25 May 25  i i i `* Re: Bad faith and dishonesty85dbush
25 May 25  i i i  `* Re: Bad faith and dishonesty84olcott
25 May 25  i i i   +- Re: Bad faith and dishonesty1dbush
25 May 25  i i i   +* Re: Bad faith and dishonesty73Alan Mackenzie
25 May 25  i i i   i`* Re: Bad faith and dishonesty72olcott
25 May 25  i i i   i `* Re: Bad faith and dishonesty71dbush
25 May 25  i i i   i  `* Re: Bad faith and dishonesty70olcott
25 May 25  i i i   i   +- Re: Bad faith and dishonesty1dbush
25 May 25  i i i   i   +* Re: Bad faith and dishonesty5Richard Damon
25 May 25  i i i   i   i`* Re: Bad faith and dishonesty4olcott
26 May 25  i i i   i   i `* Re: Bad faith and dishonesty3Richard Damon
26 May 25  i i i   i   i  `* Re: Bad faith and dishonesty2olcott
26 May 25  i i i   i   i   `- Re: Bad faith and dishonesty1Richard Damon
26 May 25  i i i   i   `* Re: Bad faith and dishonesty63Mike Terry
26 May 25  i i i   i    `* Re: Bad faith and dishonesty62olcott
26 May 25  i i i   i     `* Re: Bad faith and dishonesty61Fred. Zwarts
26 May 25  i i i   i      `* Re: Bad faith and dishonesty60olcott
26 May 25  i i i   i       +* Re: Bad faith and dishonesty58Fred. Zwarts
26 May 25  i i i   i       i`* Re: Bad faith and dishonesty57olcott
26 May 25  i i i   i       i `* Re: Bad faith and dishonesty56Fred. Zwarts
26 May 25  i i i   i       i  `* Re: Bad faith and dishonesty55olcott
26 May 25  i i i   i       i   `* Re: Bad faith and dishonesty54Fred. Zwarts
26 May 25  i i i   i       i    `* Re: Bad faith and dishonesty53olcott
26 May 25  i i i   i       i     `* Re: Bad faith and dishonesty52Fred. Zwarts
26 May 25  i i i   i       i      `* Re: Bad faith and dishonesty51olcott
27 May 25  i i i   i       i       `* Re: Bad faith and dishonesty50Fred. Zwarts
27 May 25  i i i   i       i        `* Re: Bad faith and dishonesty49olcott
27 May 25  i i i   i       i         +- Re: Bad faith and dishonesty1Richard Damon
28 May 25  i i i   i       i         `* Re: Bad faith and dishonesty47Fred. Zwarts
28 May 25  i i i   i       i          `* Re: Bad faith and dishonesty46olcott
28 May 25  i i i   i       i           +* Re: Bad faith and dishonesty43Fred. Zwarts
28 May 25  i i i   i       i           i+* Re: Bad faith and dishonesty39olcott
29 May 25  i i i   i       i           ii`* Re: Bad faith and dishonesty38Mikko
29 May 25  i i i   i       i           ii `* Re: Bad faith and dishonesty37olcott
29 May 25  i i i   i       i           ii  +* Re: Bad faith and dishonesty35Fred. Zwarts
29 May 25  i i i   i       i           ii  i`* Re: Bad faith and dishonesty34olcott
29 May 25  i i i   i       i           ii  i +* Re: Bad faith and dishonesty3dbush
29 May 25  i i i   i       i           ii  i i`* Re: Bad faith and dishonesty2olcott
29 May 25  i i i   i       i           ii  i i `- Re: Bad faith and dishonesty1dbush
29 May 25  i i i   i       i           ii  i +* Re: Bad faith and dishonesty7Mike Terry
29 May 25  i i i   i       i           ii  i i`* Re: Bad faith and dishonesty6olcott
29 May 25  i i i   i       i           ii  i i `* Re: Bad faith and dishonesty5dbush
29 May 25  i i i   i       i           ii  i i  `* Re: Bad faith and dishonesty4olcott
29 May 25  i i i   i       i           ii  i i   `* Re: Bad faith and dishonesty3dbush
29 May 25  i i i   i       i           ii  i i    `* Re: Bad faith and dishonesty2olcott
29 May 25  i i i   i       i           ii  i i     `- Re: Bad faith and dishonesty1dbush
29 May 25  i i i   i       i           ii  i +* Re: Bad faith and dishonesty7Richard Heathfield
29 May 25  i i i   i       i           ii  i i`* Re: Bad faith and dishonesty6olcott
29 May 25  i i i   i       i           ii  i i `* Re: Bad faith and dishonesty5Richard Heathfield
29 May 25  i i i   i       i           ii  i i  `* Re: Bad faith and dishonesty4olcott
29 May 25  i i i   i       i           ii  i i   `* Re: Bad faith and dishonesty3Richard Heathfield
29 May 25  i i i   i       i           ii  i i    `* Re: Bad faith and dishonesty2olcott
29 May 25  i i i   i       i           ii  i i     `- Re: Bad faith and dishonesty1Richard Heathfield
30 May 25  i i i   i       i           ii  i +* Re: Bad faith and dishonesty7Fred. Zwarts
30 May 25  i i i   i       i           ii  i i`* Re: Bad faith and dishonesty6olcott
31 May 25  i i i   i       i           ii  i i +- Re: Bad faith and dishonesty1Richard Damon
31 May 25  i i i   i       i           ii  i i `* Re: Bad faith and dishonesty4Mikko
31 May 25  i i i   i       i           ii  i i  +- Re: Bad faith and dishonesty1Richard Heathfield
31 May 25  i i i   i       i           ii  i i  `* Re: Bad faith and dishonesty2olcott
31 May 25  i i i   i       i           ii  i i   `- Re: Bad faith and dishonesty1Richard Damon
30 May 25  i i i   i       i           ii  i `* Re: Bad faith and dishonesty9Mikko
30 May 25  i i i   i       i           ii  i  +* Re: Bad faith and dishonesty5Richard Heathfield
30 May 25  i i i   i       i           ii  i  i+* The old college try (was: Re: Bad faith and dishonesty)2vallor
30 May 25  i i i   i       i           ii  i  ii`- Re: The old college try1Richard Heathfield
30 May 25  i i i   i       i           ii  i  i`* Re: Bad faith and dishonesty2olcott
31 May 25  i i i   i       i           ii  i  i `- Re: Bad faith and dishonesty1Richard Damon
30 May 25  i i i   i       i           ii  i  `* Re: Bad faith and dishonesty3olcott
31 May 25  i i i   i       i           ii  i   `* Re: Bad faith and dishonesty2Mikko
31 May 25  i i i   i       i           ii  i    `- Re: Bad faith and dishonesty1olcott
30 May 25  i i i   i       i           ii  `- Re: Bad faith and dishonesty1Mikko
29 May 25  i i i   i       i           i`* Re: Bad faith and dishonesty3Mike Terry
29 May 25  i i i   i       i           i `* Re: Bad faith and dishonesty2olcott
29 May 25  i i i   i       i           i  `- Re: Bad faith and dishonesty1Richard Damon
29 May 25  i i i   i       i           +- Re: Bad faith and dishonesty1Mikko
29 May 25  i i i   i       i           `- Re: Bad faith and dishonesty1Richard Damon
26 May 25  i i i   i       `- Re: Bad faith and dishonesty1Richard Damon
25 May 25  i i i   `* Re: Atheism and morality9olcott
26 May 25  i i i    `* Re: Atheism and morality8vallor
26 May 25  i i i     `* Re: Atheism and morality7olcott
26 May 25  i i i      +* Re: Atheism and morality4Fred. Zwarts
26 May 25  i i i      i`* Re: Atheism and morality3olcott
26 May 25  i i i      i +- Re: Atheism and morality1Fred. Zwarts
27 May 25  i i i      i `- Re: Atheism and morality1Mikko
26 May 25  i i i      +- Re: Atheism and morality1Richard Damon
27 May 25  i i i      `- Re: Atheism and morality1Mikko
25 May 25  i i +- Re: Bad faith and dishonesty1Fred. Zwarts
25 May 25  i i `* Re: Bad faith and dishonesty6Alan Mackenzie
25 May 25  i i  `* Re: Bad faith and dishonesty5olcott
25 May 25  i i   +* Re: Bad faith and dishonesty3Alan Mackenzie
25 May 25  i i   i`* Re: Bad faith and dishonesty2olcott
26 May 25  i i   i `- Re: Bad faith and dishonesty1Richard Damon
26 May 25  i i   `- Re: Bad faith and dishonesty1Richard Damon
25 May 25  i +- Re: Bad faith and dishonesty1Richard Damon
25 May 25  i `* Re: Bad faith and dishonesty28Fred. Zwarts
25 May 25  +- Re: Bad faith and dishonesty1Richard Damon
26 May 25  `* Re: Bad faith and dishonesty159Mikko

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal