We study finite first-order satisfiability (FSAT) in the constructive setting of dependent type theory. Employing synthetic accounts of enumerability and decidability, we give a full classification of FSAT depending on the first-order signature of non-logical symbols. On the one hand, our development focuses on Trakhtenbrot's theorem, stating that FSAT is undecidable as soon as the signature contains an at least binary relation symbol. Our proof proceeds by a many-one reduction chain starting from the Post correspondence problem. On the other hand, we establish the decidability of FSAT for monadic first-order logic, i.e. where the signature only contains at most unary function and relation symbols, as well as the enumerability of FSAT for arbitrary enumerable signatures. To showcase an application of Trakhtenbrot's theorem, we continue our reduction chain with a many-one reduction from FSAT to separation logic. All our results are mechanised in the framework of a growing Coq library of synthetic undecidability proofs.
翻译:我们研究从属类型理论的建设性设置中的有限一阶相对性(FSAT) 。 使用数量和可变性的合成账户,我们根据非逻辑符号的第一阶签名对FSAT进行全面分类。 一方面, 我们的发展侧重于Trakhtenbrot的理论, 指出一旦签名含有至少二进制关系符号, FSAT便不可更改。 我们的证据从邮递通信问题开始, 由多个递减链进行。 另一方面, 我们确定FSAT对一阶逻辑的衰减性, 即签名仅包含大多数未变函数和关系符号的FSAT, 以及任意的可数签名的倍数。 为了展示Trakhtenbrot的理论应用, 我们继续我们的削减链, 从FSAT到分离逻辑, 从一个多减为一个。 我们的所有结果都在一个合成不可变数证据库的不断增长的 Coq 库框架中被机械化。