Kachapova, F2022-10-312022-10-312022-10-302022-10-30Journal of Mathematics and Statistics, 18(1), 148-162. https://doi.org/10.3844/jmssp.2022.148.1621549-36441558-6359https://hdl.handle.net/10292/15568Type theory plays an important role in the foundations of mathematics as a framework for formalizing mathematics and a base for proof assistants providing semi-automatic proof checking and construction. Derivation of each theorem in type theory results in a formal term encapsulating the whole proof process. This study uses a variant of type theory, namely the Calculus of Constructions with Definitions, to formalize the standard theory of binary relations. This includes basic operations on relations, criteria for special properties of relations, invariance of these properties under the basic operations, equivalence relation, well-ordering, and transfinite induction. Definitions and proofs are presented as flag-style derivations.© 2022 Farida Kachapova. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.Type Theory; Calculus of Constructions; Binary Relation; Transfinite Induction; Flag-Style DerivationFormalizing Relations in Type TheoryJournal ArticleOpenAccess10.3844/jmssp.2022.148.162