arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.08154cs.LOcs.PL
收藏

单纯形 HoTT 中与证明相关的有向逻辑关系

Directed proof-relevant logical relations in simplicial HoTT

Carnegie Mellon University(卡内基梅隆大学)

Runming Li, Harrison Grodin, Robert Harper

AI总结:

研究在单纯形同伦类型理论中构建有向证明相关逻辑关系,通过将归约内化,利用逆变族构造模型,证明布尔正则性,扩展到依赖类型和全域,应用于二元逻辑关系,实现表示独立性。

摘要:

类型理论的内在类型表示通常使用元语言中的等式来表示对象语言的判断相等性。在这种等式语法中,与证明相关的逻辑关系在类型和项的判断等价类上定义可计算性谓词。然而,这种方法没有直接考虑归约,而归约是有向的且在许多逻辑关系论证中起核心作用。本文在单纯形同伦类型理论中开发了一种与证明相关的有向逻辑关系版本,其中归约被内化为“不等式类型”。我们将对象语法构造为有向商归纳类型。核心观察是单纯形类型理论中的逆变族为逻辑关系提供了在展开下与证明相关的闭包形式:可计算性证据可以沿着归约向后传输,并内置所需的函子性和泛性质。利用这一观察结果,我们构造了一个具有逆变可计算性谓词的一元逻辑关系模型,并证明了有向布尔正则性:每个闭布尔项都归约为真或假。然后我们将构造扩展到依赖类型和全域,其中一个余单子平坦模态提供了类型转换和全域谓词所需的离散性。最后,我们将该方法应用于二元逻辑关系,将垂直归约与水平参数性分开,并获得了与证明相关的表示独立性说明。

英文摘要:

Intrinsically-typed presentations of type theory often use equality in the meta-language to represent object-language judgmental equality. In such equational syntax, proof-relevant logical relations define computability predicates on judgmental equivalence classes of types and terms. This approach, however, does not directly account for reduction, which is directed and plays a central role in many logical-relations arguments. This paper develops a directed version of proof-relevant logical relations in simplicial homotopy type theory, where reductions are internalized as \emph{inequality types}. We construct object syntax as a directed quotient inductive type. The central observation is that contravariant families in simplicial type theory provide exactly the proof-relevant form of closure under expansion for logical relations: computability evidence can be transported backward along reductions, with the required functoriality and universal property built in. Using this observation, we construct a unary logical relations model with contravariant computability predicates and prove directed Boolean canonicity: every closed Boolean term reduces to either true or false. We then extend the construction to dependent types and universes, where a comonadic flat modality provides the discreteness needed for type conversion and universe predicates. Finally, we adapt the method to binary logical relations, separating vertical reduction from horizontal parametricity and obtaining a proof-relevant account of representation independence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑