🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1769

It started with the Basel Problem [Euler 1707 - 1783] (Re: The proof in a nutshell [Arithmetic Derivative])

#1769
From: Mild Shock
Date: Sun, 22 Nov 2026 11:35
92 lines
3079 bytes
Hi,

The Riemann paper, "Ueber die Anzahl der
Primzahlen unter einer gegebenen Grösse."
starts with an observation by Euler.

A special case is the Basel Problem:

?- basel(1000,X).
X = 1.6447251902386728.

?- X is pi^2/6.
X = 1.6449340668482264.

Have Fun!

Bye

Prolog code:

% sieve(+Integer, +Integer, +List, -List)
sieve(N, M, L, L) :- N > M, !.
sieve(N, M, L, R) :-
    member(X, L),
    N mod X =:=0, !,
    J is N+1,
    sieve(J, M, L, R).
sieve(N, M, L, R) :-
    J is N+1,
    sieve(J, M, [N|L], R).

% basel(+Integer, -Float)
basel(M, F) :-
    sieve(3,M,[2],L),
    foldl(euler, L,1, F).

% euler(+Integer, +Float, -Float)
euler(K, I, O) :-
    O is I*K^2/(K^2-1).


Mild Shock schrieb:
> Hi,
> 
> How it started, a differential field has:
> 
> D (a + b) = D a + D b
> D (a * b) = D a * b + a * D b
> 
> Annoying things constants always have
> zero derivative, i.e. D 17 = 0. Trick
> by Alpöge, introduce "arithmetic derivative"
> 
> only requiring:
> 
> D (a * b) = D a * b + a * D b
> 
> And make prime numbers p have D p = 1.
> Then you can do some reduction along
> some chain.
> 
> Bye
> 
> 
> Mild Shock schrieb:
>>
>>
>> Hi,
>>
>> Check out:
>>
>> riemann-hypothesis checks passing
>> https://github.com/leanprover-community/riemann-hypothesis
>>
>> I guess some people didn't sleep the last 24 hours.
>>
>> Bye
>>
>> Stefan Ram schrieb:
>>  > sobriquet <dohduhdah@yahoo.com> wrote or quoted:
>>  >> Pretty amazing to see that it has now been verified in LEAN. I guess
>>  >> 2026 will be remembered as the year when the AI math apocalypse 
>> started.
>>  >
>>  >    There still need to be some verification done, like making sure
>>  >    that what LEAN verified really /is/ the Riemann hypothesis, but
>>  >    these seem to be days of miracle and wonder . . .
>>  >
>>  >
>>
> 
Technical Details
Message-ID: <11duk20$a08t$3@solani.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
References: <11dt3ig$8v8c$3@solani.org> <11duio7$9v62$4@solani.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: Mild Shock <janburse@fastmail.fm>
Newsgroups: comp.theory,comp.lang.c,comp.lang.c++
Subject: It started with the Basel Problem [Euler 1707 - 1783] (Re: The proof
 in a nutshell [Arithmetic Derivative])
Date: Sun, 22 Nov 2026 12:35:28 +0100
Message-ID: <11duk20$a08t$3@solani.org>
References: <11dt3ig$8v8c$3@solani.org> <11duio7$9v62$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 22 Nov 2026 11:35:28 -0000 (UTC)
Injection-Info: solani.org;
	logging-data="327965"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:M6tEowWj00EiIPttRW9nGK/9xc8=
In-Reply-To: <11duio7$9v62$4@solani.org>
X-User-ID: eJwFwYkBwCAIA8CVlCfRcSSF/UfoXTo2xEAicnIYfrCunR4hlst4kfO2vmpbhD0L0OHfS9sSmbKuAnVa9QMvpRU2