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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Ryosuke Kozaki, Sachio Hirokawa, Katsuyuki Kunida, Tomohiro Akiyama et al.
Zenodo (CERN European Organization for Nuclear Research)
RNA and protein synthesis mechanisms
preprint

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

Ryosuke Kozaki, Sachio Hirokawa, Katsuyuki Kunida, Tomohiro Akiyama, Sayaka Matsumoto, Kunihiko Takamatsu, Katsuhiko Murakami, Satoshi Takahashi, Ford Lumban Gaol, Shimpei Matsumoto, Masao Mori, Tokuro Matsuo, Shuto Nishida, Koma Takamatsu, Kazuya Tsuruta
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
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)
RNA and protein synthesis mechanisms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon