arXiv:2611.26507cs.LONov 2026

Manuscript Offprint

arXiv:2611.26507

Hereditary permutations for simple types revisited: A baby case for University Algebra

Thorsten Altenkirch

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

It is a classical result that the definable isomorphisms of the simply typed λ\lambda-calculus with function types are exactly the hereditary permutations, and that they are generated by A→B→C≅B→A→CA\to B\to C\cong B\to A\to C and congruence. We give a new proof of this result that stays inside β\beta-normal η\eta-long typed terms and uses no completeness theorem: an induction that descends through both components of an isomorphism at once. We then go one level up and prove a coherence theorem: two derivations of an isomorphism denote the same isomorphism if and only if they are equal modulo an explicit list of equations (groupoid laws, functoriality, involution, naturality and the braid equation), so these equations present the groupoid of isomorphisms, a hereditary version of the Coxeter presentation of the symmetric groups. All results are formalised in Agda, on intrinsically typed syntax with hereditary substitution, without postulates. The work is a case study for the syntactic completeness conjecture of University Algebra, a proposed solution of Tarski’s high school algebra problem using dependent types, whose semantic counterpart is open. We explain the motivation and which parts of the method we expect to carry over.

1 Introduction