The foundations of the formal and empirical sciences are conventionally treated as independent: mathematics rests on its axioms, physics on a system of units and calibration, chemistry on the classification of elements, and the life sciences on taxonomic and molecular nomenclature. Each discipline regards its own foundation as primitive, and whether these foundations share a common origin has remained outside the remit of any single field. Here we show that they do. Starting from the principle of identity alone, we construct a single dependency chain that extends from formal reasoning to empirical inference. Within mathematics, the chain unifies the competing foundational frameworks, set theory, type theory, homotopy type theory and category theory, together with classical, intuitionistic and quantum logic, as readings of one structure, and it recovers the incompleteness phenomena as a consequence rather than a premise. The entire formal development, from logic through the foundational systems to arithmetic, is machine-checked in Lean 4, Cubical Agda and Rocq without invoking any axiom. We then test the chain against primary data rather than published results, reprocessing records from gravitational-wave interferometry, collider calorimetry, cosmic microwave background radiometry, spectroscopy, nucleic-acid sequencing, optical microscopy and clinical imaging, among others. Across these datasets, the reported entity, whether a particle, an element, a gene, a cell type or a diagnosis, is determined by the measurement and classification procedure and is not invariant under its admissible alternatives. In chemistry, this leads to a fundamental reconstruction of the periodic classification of the elements, rebuilt directly from raw spectra. These findings indicate that the foundational commitments of distinct disciplines are instances of one underlying form, and they open the prospect of a unified account of knowledge across the sciences.