[논문 리뷰] For Generalised Algebraic Theories, Two Sorts Are Enough
논문은 일반화 대수적 이론(GAT)이 두-sort GAT로 축소될 수 있음을 증명하고, 두-sort 간의 엄격한 핵심 반사(coreflection)을 설정하여 두-sortification 및 QIIT 구현을 가능하게 한다.
Generalised algebraic theories (GATs) allow multiple sorts indexed over each other. For example, the theories of categories or Martin-L{ö}f type theories form GATs. Categories have two sorts, objects and morphisms, and the latter are double-indexed over the former. Martin-L{ö}f type theory has four sorts: contexts, substitutions, types and terms. For example, types are indexed over contexts, and terms are indexed over both contexts and types. In this paper we show that any GAT can be reduced to a GAT with only two sorts, and there is a section-retraction correspondence (formally, a strict coreflection) between models of the original and the reduced GAT. In particular, any model of the original GAT can be turned into a model of the reduced (two-sorted) GAT and back, and this roundtrip is the identity. The reduced GAT is simpler than the original GAT in the following aspects: it does not have sort equalities; it does not have interleaved sorts and operations; if the original GAT did not have interleaved sorts and operations, then the reduced GAT won't have operations interleaved between different sorts. In a type-theoretic metatheory, the initial algebra of a GAT is called a quotient inductive-inductive type (QIIT). Our reduction provides a way to implement QIITs with sort equalities or interleaved constructors which are not allowed by Cubical Agda. An instance of our reduction is the well-known method of reducing mutual inductive types to a single indexed family. Our approach is semantic in that it does not rely on a syntactic description of GATs, but instead, on Uemura's bi-initial characterisation of the category of (finite) GATs in the 2-category of finitely complete categories with a chosen exponentiable morphism.
연구 동기 및 목표
- 다중 순서를 갖는 GAT를 두-sort 프레임워크로 축소하는 문제를 동기화하고 형식화한다.
- 의미론적 번역을 가능하게 하기 위해 유한 GAT의 범주에 대해 bi-initial, CartExp-구조를 정의한다.
- Fam 이론의 가족(Fam) 위의 임의의 GAT를 두-sort GAT로 매핑하는 two-sort translation(two-sortification)를 구성한다.
- 번역이 원래 GAT와 축약된 GAT의 모델 간에 엄격한 coreflection을 산출함을 보인다.
- bi-initiality 속성을 통해 무한 GAT로 확장될 때 초기 모델 보존을 보이고 확장한다.
제안 방법
- FinGat에서 FinGat/Fam으로의 bi-initial CartExp-함자(bi-initial CartExp-functor)로서 두-sortification을 정의한다.
- Fam에 해당하는 지수가능한 형태를 선택하여 FinGat/Fam에 CartExp-구조를 갖추는다.
- 번역된 GAT에서 원래 GAT으로의 coreflector 사상을 구성한다.
- GAT에 대해 그 모델의 범주를 할당하는 모델 함자를 정의하고 지수가능한 사상의 pushforward를 보존함을 보인다.
- 두-sortification이 완전히 충실하고(fully faithful) 모델 범주 간에 엄격한 coreflection이 존재함을 증명한다.
실험 결과
연구 질문
- RQ1임의의 GAT를 핵심 구조의 손실 없이 두-sort GAT로 축소할 수 있는가?
- RQ2모델의 범주와 그 두-sortification 간에 엄격한 coreflection이 존재하는가?
- RQ3두-sortification이 타입 이론 메타 이론에서 초기 모델과 QIIT에 어떻게 상호 작용하는가?
- RQ4bi-initiality를 통해 무한 GAT로 축소를 확장할 수 있는가?
주요 결과
- 있다 bi-initial CartExp-functor가 FinGat에서 FinGat/Fam으로의 two-sortification을 구현한다.
- 번역된 이론은 Fam의 두-sort GAT로서, sort 방정식과 간섭적 연산자들이 있을 때 제거된다.
- 번역된 GAT에서 원래 GAT으로의 coreflector 사상이 존재하여 모델 범주에 엄격한 핵심 반사를 제공한다.
- 모델 함수가 coreflector의 이미지를 좌측 사단으로 보낸다는 것을 보여주며 원래와 축약된 GAT 모델 간의 엄격한 왕복 동등성을 확립한다.
- 모든 유한 GAT은 초기 모델을 가지며, 두-sortification은 모델에 대해 완전히 충실하다.
- bi-initiality 개념을 통해 무한 GAT로의 확장이 가능하며 번역의 속성을 보존한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.