Back to Creators
SSSatnam Singh

Satnam Singh

@satnam6502
Tech & ProductEnglishEmerging (1K–30K)Tracked since 2026-11-26

HarmonicMath team member sharing formal verification, theorem proving, and programming insights.

Scottish-Punjabi-American working at @HarmonicMath. Cook, cyclist, Lost In Music. ∃🇮🇳 ∧ ∀🇬🇧 ∧ ∃🇪🇺 ∧ ∀🇺🇸 #celiac ex-{Microsoft, Google, Facebook, Xilinx}

Followers
24.1K
Following 3.5K
Typical Views
2.8K
30d · 19 posts8/7d
Bookmark %
0.5%
Like 2.1%Eng. 2.6%
Authority
52/ 100
30d Breakout Hits
4
Peak 9.9×
Reach RatioTypical Views / FollowersEmerging (1K–30K)
Typical views ≈ 12% of followers·▲ Peer Median 24%0.5×
0%▲

3-Day Follower Growth

Hover to inspect daily follower changes

3d Change
-1(0.0%)
24.20K24.15K24.10K24.05K11-2611-2811-29

14-Week Posting Cadence

2026-11-29 Sun1 post
14w Posts
19
Active Days
10/13
Active Weeks
2/2
Avg / Week
10.2
Peak Day
3
Peak Day/Wk
Tue
AugOctNovMonWedFriSun
08-24 → 11-29
LessMore
Public Interactions12
Mention 5 · Repost 4 · Quote 3
Repost
5×
Repost
2×
Quote
1×
Mention
1×
Mention
1×
Followed & Endorsed By10
Follow 9 · Quote 1
Peak Outlier9.9×
Top Post Views27.6K
Peak Bookmark %1.6%
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followersThread · 2
typical 2.8K

"Writing is thinking, and programming is thinking too". An excellent blog post by @dorchard. Don't rob yoursef. t.co/M7w5JclNxJ

  • The first quote presents writing and programming as forms of thinking.
  • The second quote suggests programming an idea can test whether it is truly understood.
24.2K387(1.6%)451667
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followersLean
typical 2.8K

Believe me, you really want to know the Curry–Howard correspondence is. A great explanation in a tweet.

There are quite a few doubts regarding the correctness and nature of Alpöge’s proof of the Riemann Hypothesis itself. I would like to provide a somewhat technical explanation here of what was actually done.

Imagine that you want to prove the implication P → R, and you have two assumptions, f : P → Q and g : Q → R. In the Curry–Howard correspondence, a statement is a type, and its proof is a term of that type. The implication P → Q is a function type. The function f accepts the proof of P and returns the proof of Q.

Similarly, g takes the proof of Q as an argument and returns the proof of R. Lean is based on the “Calculus of Constructions” variant, i.e., dependent type theory, extended, among other things, to include inductive and quotient types. (t.co/w4L1xgPaCM)

An example theorem and proof in Lean for a logical formula: If P implies Q and Q implies R, then P implies R.

theorem h {P Q R : Prop} (f : P → Q) (g : Q → R) : P → R := fun p => g (f p) -- here we provide the proof

You compose the functions f and g. From the proof p : P, you obtain f(p) : Q, and then g (f p) : R. Thus, from the proof of P, you obtain the proof of R, so the entire (lambda) function fun p => g (f (p)) has type P → R. Applying f to p is, in this notation, the detachment rule.

What does the Lean kernel do when you enter this code? The elaborator translates the notation of the theorem and proof into terms in Lean’s internal language. The kernel checks whether the proof term has the type declared in the theorem. You can write the same proof using tactics.

- intro p introduces the assumption p : P, - exact provides the proof of the remaining goal R.

Tactic-based proof (as in Alpöge)

theorem h_tactics {P Q R : Prop} (f : P → Q) (g : Q → R) : P → R := by intro p exact g (f p)

The elaborator runs the tactics and constructs a proof term from them. In both examples, #print displays the same term, meaning it is the same proof.

The Riemann Hypothesis already had its formulation in Mathlib as RiemannHypothesis : Prop. It was necessary to construct a term of this type—that is, a proof. Alpöge and Claude provided the code from which Lean constructs this term, using the entire library of intermediate theorems.

I also independently verified the code on Helios; this took many hours of parallel kernel processing across multiple CPUs. In the public verification, the type of the proven theorem was compared with an independently prepared template based on Mathlib. Several verifiers accepted the proof export. The audit showed that the proof, including its intermediate dependencies, uses only three of Lean’s standard axioms (propext, Classical.choice, and Quot.sound).

Comparator checks for compliance with the test case and the list of allowed axioms. The --paranoid mode runs additional verifiers. - verification report: t.co/kseXGk4D2i, - Comparator documentation: t.co/YOLf9am4Rs

What about a swapped kernel? For the tampered code to pass this way, the verifiers would also have to be made to run the swapped binaries. In the public verifications, tools obtained independently of the proof archive were used. Some of the verifiers, including con-leche and con-ron, were compiled on-site from source code in separate repositories. Tools from the official Lean release were also used. Recompiling the proof in an isolated environment produced an export that was identical byte-for-byte, and the verifiers were able to verify it without running Alpöge’s source code. In this situation, it is practically impossible to forge consistent results simply by swapping out the kernel. One would also have to interfere with the verification process. If we were to accept the hypothesis that we live in a simulation, it would have to explain the consistent results of different verifiers in separate environments. Lean FRO and the Mathlib Initiative have confirmed the correctness of both the formulation and the proof. We now have a formally verified proof of the Riemann Hypothesis (t.co/ZiCw4knB8l).

However, the proof itself contains many interesting elements from arithmetic geometry and the theory of automorphic forms. Among other things, it involves Iwasawa towers and Galois representations. Its structure is also intriguing. Alpöge describes it as an extension of Stepanov’s idea from the proof of the Riemann Hypothesis for curves over finite fields. In Stepanov’s proof, differentiation helps achieve a high order of vanishing. On the side of the integers, a chain of successive theta lifts between unitary groups plays an analogous role. [Alpöge’s note](t.co/GvijK58wlE)

On December 11, I will give the Ulam Lecture at Adam Mickiewicz University in Poznań on the proof and will share the details. You are cordially invited!

16.2K95(0.6%)185156
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

Today Andrew Kennedy joined @HarmonicMath to help us on our mission to automate the formal verification of software and hardware. At Microsoft Research Cambridge he co-designed and built generics for .NET and C#, and designed the units-of-measure type system in F#, grounded in his POPL work on relational parametricity. He formalised x86 in Rocq, with a verified assembler and separation logic for machine code. At Meta he worked on the type system for Hack. Welcome, Andrew!

7.9K27(0.3%)1951310
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

The worst presentations I have given are the ones I have prepared for the most. I end up giving a stilted presentation, distracted by trying to read my slide notes. I think some of the best presentations I have given are the ones where I just walked into the room and started talking, those end up with flow, energy and excitment, but some chaos and disorder too.

@satnam6502 The beast part is that you have fresh perspectives 😉! Seriously, overthinking complicates most presentations.

5.0K11(0.2%)7626
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

Maki di roti and saag, my favourite meal, this time made by mother for me on my last evening here. Excellent. I've been away from my wife and kids for a month now, and it's high time I got back to them.

4.4K4(0.1%)14215
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

When I talk about AI with people outside computer science, I struggle to convey how fast it’s moving. We’re used to exponentials. Most people aren’t, because they rarely meet one outside an epidemic. So even eminent, brilliant people underestimate the pace. That worries me most when it comes to government policy.

Humans are bad at extrapolating the exponential.

4.0K11(0.3%)80613
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

A great talk by @danghica on how to civilize AI coding at Huawei. Some common approaches to the talk I will give later in the day.

3.8K14(0.4%)3473
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers
typical 2.8K

Andhra style cod is the first dish I've made from my new Gunpowder cookbook. My mum approved. The marinade is ground black pepper, freshly grated ginger and I used mango powder instead of lemon. The sauce was made from mustard seeds, cumin seeds, fenugreek seeds, curry leaves, onion, tomato, ground coriander, Kashmiri chili powder, ground turmeric, tamarind paste and coconut cream, and tasted excellent. I got a lovely piece of cod from Waitrose.

3.1K11(0.4%)7016
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followersThread · 2
typical 2.8K

I've had months to prepare for my University of Cambridge talk. When am I actually preparing it? On the train down of course!

2.8K4(0.1%)6937
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

My name is in this edition of Notices of the American Mathematical Society! Although all I had to do was make a donation earlier this year. This edition includes an article co-authored by my friend Mateja Jamnik on Shaping the Future of Mathematics in the Age of AI which reports on a meeting held in Leiden in September 2025. Much has changed since then, although the line "Means reshape ends: the capabilities of new technology risk dictating what counts as mathematically significant, rather than serving our priorities." A very interesting sentence.

1.4K4(0.3%)5201
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

The mushroom XO linguini with a Cantabrian anchovy, crispy leeks, and 36-month-aged parmesan was one of the many hits at Brett restaurant in Glasgow last night.

1.5K3(0.2%)3003
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

My University of Cambridge Wednesday seminar is done. The video recording of the talk will go up at

1.6K7(0.4%)3522
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followersThread · 2

One of the great dishes Ann Duncan and I had at Margo in Glasgow was cured chalkstream trout, tiger milk, salted plum and shiso.

1.3K0(0.0%)2413
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

Dinner at my favourite restaurant in the UK. Brett in #Glasgow.

1.4K2(0.1%)3501
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

Striking dresses at the Azzedine Alaïa exhibition at the Legion of Honor in San Francisco.

1.0K0(0.0%)901
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followersStrava

A lovely 4.7 mile walk around the west end of Glasgow, crossing the river Kelvin several times. Sadly there was a police detour in Kelvingrove Park after a grim episode late last night.

1.2K1(0.1%)3001
View on X
SSSatnam Singh
Satnam Singh@satnam6502Tech & Product24.1K followers

Prof. George Constantinides and I met in Cambridge to discuss UK deployment of AI infrastructure. Nice to visit AI Commons and see what they are up to at their Fora digs.

1.5K2(0.1%)3600
View on X