Saphyra 2025 Spring Report

Screenshot

On April 1, 2025, the following theorem was successfully formalized in Saphyra:

✅ √2 is irrational

Which brings the percentage of Prof. Wiedijk's 100 theorems formalized in Saphyra to:

1%

This is an important milestone for Saphyra: I consider it to be the first nontrivial theorem, one that requires significantly more organization and care than basic theorems (such as the associativity of +). I have bumped the version to v0.3.0 after the addition of this proof.

The theorem and its proof can be viewed on Saphyra Web as the statement: ∀ n ↦ (r2denom:<OP> @ n) -> false which can be read as “no natural number can be a denominator of √2”.

Please allow a few seconds for the proof repository to load. The theorem can be found at the bottom of the page (on the left side). Click on a “open/close” button to see details of a part of the proof.

What's new

From v0.2.0 to v0.3.0, a lot of new features were added. All of them are crucial for a fully-featured proof assistant, and most of them are crucial for the proof of “√2 is irrational”.

All of this made the trip to the first nontrivial theorem much easier.

What's next

Although the first nontrivial theorem is now proven, a lot of things are still missing.

This is the largest and most fun personal project I have made, and I'd love to see how far I can go.