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 <dohd…@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 . . .
>> >
>> >
>>
>