Proving Claims about Biological Data in Lean: An Exhaustive Symmetry Classification of the Genetic Codes and Closed-World Presence/Absence on Phylogenies, Based on Eduinformatics
Proof assistants have been used in the life sciences mainly to verify properties of models and of algorithms. Curated biological data have recently begun to appear inside checked artifacts: codon tables, reaction and coding-sequence databases, a taxonomy. In a survey of 71 publications and software packages, re-checked before posting, our searches found no machine-checked symmetry classification of the genetic codes, and no proof-assistant derivation, from a presence/absence table placed on a given rooted phylogeny, of a lower bound on the number of independent gains of a trait without reversal, together with a theorem on its robustness to unexamined species. Machine-checked lower bounds on event counts from binary data do exist for other models: parsimony scores, which allow reversal, and the Hudson-Kaplan bound on recombinations. These are negative search results and may be incomplete. With two test cases in Lean 4, a classification of the genetic codes and presence/absence on a phylogeny applied to three published cases, we show that such claims about data can be proved, and what the proofs do and do not establish. First, for each of the 27 translation tables of the NCBI genetic-code file we determine the stabiliser of the table in the group of 82,944 codon transformations (permutations of the three positions and of the four bases at each position) and prove that the list is complete. In 23 tables the stabiliser has order 2 (the exchange of U and C at the third position); in exactly four mitochondrial tables (2, 3, 5 and 13) it is the Klein four-group. The orders 2 and 4 had been stated for the standard code and for some mitochondrial codes, with no completeness proof that we could find; nine other mitochondrial tables have only the order-2 group. Three notions of symmetry coincide on every table. Second, we formalize dated rooted trees and prove that, with distinct species at the leaves, clades are exactly the closed balls of the induced ultrametric, that a trait whose set of species scored present is non-empty and not one clade needs at least two gains under any history without reversal, and that this conclusion, unlike "the trait is exactly this clade", is not overturned by adding species that were not examined, as long as the recorded observations and the branching order among the examined species are correct. We apply the theorems to three published cases. Loss of vitamin C synthesis (human, macaque, guinea pig; retained in mouse) fits no single clade, so every history without regain contains at least two losses of the function. The proof uses the phenotype table only; it agrees with the sequence evidence on the human and guinea-pig pseudogenes, which it does not use. Two traits defined at the syncytin-1 locus, the provirus with its envelope gene (intact or as a rearranged remnant) and an intact envelope reading frame, each fit one clade of the examined primates (Catarrhini; Hominoidea). Inactivation of urate oxidase fits one clade (Hominoidea) although sequences show two events: one clade does not imply one event. The proofs use no axioms beyond propext, Classical.choice and Quot.sound, with no sorry and no native_decide. They guarantee the step from a closed table to its consequences; that the table is correct remains an empirical claim.
Authors
- Ryosuke Kozaki (ORCID: https://orcid.org/0000-0001-8428-9371)
- Sachio Hirokawa (ORCID: https://orcid.org/0000-0002-8050-1109)
- Katsuyuki Kunida (ORCID: https://orcid.org/0000-0002-6346-2638)
- Tomohiro Akiyama (ORCID: https://orcid.org/0000-0002-6720-8995)
- Sayaka Matsumoto (ORCID: https://orcid.org/0000-0002-4556-0744)
- Kunihiko Takamatsu (ORCID: https://orcid.org/0000-0003-4172-7612)
- Katsuhiko Murakami (ORCID: https://orcid.org/0000-0002-1923-4259)
- Satoshi Takahashi (ORCID: https://orcid.org/0000-0001-5573-7841)
- Ford Lumban Gaol (ORCID: https://orcid.org/0000-0002-5116-5708)
- Shimpei Matsumoto (ORCID: https://orcid.org/0000-0001-6732-9116)
- Masao Mori (ORCID: https://orcid.org/0000-0002-2883-8943)
- Tokuro Matsuo (ORCID: https://orcid.org/0009-0000-3551-8799)
- Shuto Nishida
- Koma Takamatsu (ORCID: https://orcid.org/0009-0001-8144-6797)
- Kazuya Tsuruta (ORCID: https://orcid.org/0009-0004-7386-2290)
Institutions
- Kyushu University (JP)
- Hiroshima Institute of Technology (JP)
- Fujita Health University (JP)
- International Pacific University (JP)
- Binus University (ID)
- University of Electro-Communications (JP)
- Kwansei Gakuin University (JP)
- Research Institute for Humanity and Nature (JP)
- Institute of Science Tokyo (JP)
- The University of Tokyo (JP)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24801698
- Primary Topic
- RNA and protein synthesis mechanisms
- Type
- preprint