In this article, we check with the Mizar system , , the converse of Desargues’ theorem and the converse of Pappus’ theorem of the real projective plane. It is well known that in the projective plane, the notions of points and lines are dual , , , . Some results (analytical, synthetic, combinatorial) of projective geometry are already present in some libraries Lean/Hott , Isabelle/Hol , Coq , , , Agda , . . . .
Proofs of dual statements by proof assistants have already been proposed, using an axiomatic method (for example see in  - the section on duality: “[...] For every theorem we prove, we can easily derive its dual using our function swap [...]2”).
In our formalisation, we use an analytical rather than a synthetic approach using the definitions of Leończuk and Prażmowski of the projective plane . Our motivation is to show that it is possible by developing dual definitions to find proofs of dual theorems in a few lines of code.
In the first part, rather technical, we introduce definitions that allow us to construct the duality between the points of the real projective plane and the lines associated to this projective plane. In the second part, we give a natural definition of line concurrency and prove that this definition is dual to the definition of alignment. Finally, we apply these results to find, in a few lines, the dual properties and theorems of those defined in the article  (transitive, Vebleian, at_least_3rank, Fanoian, Desarguesian, 2-dimensional).
We hope that this methodology will allow us to continued more quickly the proof started in  that the Beltrami-Klein plane is a model satisfying the axioms of the hyperbolic plane (in the sense of Tarski geometry ).
- Principle of Duality
- real projective plane
- converse theorem