A Rocq-Based Formalization of Hilbert’s Geometry: Building a Reusable Foundation for 3D Perpendicularity Theory and Verification

Read full text
Authors: Qimeng Zhang, Wensheng Yu
Cited by: 1
References: 53

Abstract

Hilbert’s axiom system for geometry is a landmark in formal methods. This paper presents a complete formalization of spatial perpendicularity—a theory not fully developed in Hilbert’s original work—using the Rocq proof assistant. We systematically defined the relations of perpendicularity between lines and planes based solely on Hilbert’s primitive notions and axioms. Within this framework, we mechanized the proof of a significant spatial congruence theorem that Hilbert stated without proof—a theorem that fundamentally reveals the relationship between congruence and motion. The formal proof of this theorem demonstrates the intrinsic completeness of Hilbert’s system for three-dimensional (3D) space. Crucially, no additional spatial congruence axioms are needed, as all properties are derived rigorously from the original planar axioms. All proofs are mechanically verified by Rocq, ensuring logical correctness. This work completes Hilbert’s geometry system. It also delivers a reusable Rocq library that offers a rigorous foundation for verifying geometric reasoning in safety-critical software systems.

Fields of Study & Subjects

Logic programming and type systems Formal Methods in Verification Constraint Satisfaction and Optimization

Publication details

Journal / source
Mathematical and Computational Applications
Publisher
MDPI AG
Volume
31
Issue
1
Pages
25–25
Publication date
7 February 2026
Language
EN