计算机科学 > 计算机科学中的逻辑
[提交于 2026年11月19日 (v1),最后修订于 2026年11月23日 (此版本, v2)]
标题:Hereditary permutations for simple types revisited: A baby case for University Algebra
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 \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. It proceeds by showing that both components are linear terms: relevance follows from one of the inverse equations, and no copying from relevance of the other component. 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.
提交历史
来自:Thorsten Altenkirch[v1] 2026年11月19日 星期四 17:55:44 UTC (18 KB)
[v2] 2026年11月23日 星期一 15:15:49 UTC (21 KB)