vix.ing · top · new · best · stats · spec

Definability of some k-ary Relations Over Second Order kinds of Logics

2025/09/16 by Simone Costa, Costa, Simone, Marco Dalai +5
Computer Science · #Advanced Algebra and Logic #Computability, Logic, AI Algorithms #FOS: Mathematics #Logic (math.LO) #Logic, Reasoning, and Knowledge

paper · pdf · doi:10.48550/arxiv.2509.13063

openalex publication_date 2025/09/16 · openalex created_date 2025/10/12 · openalex updated_date 2026/07/28

Abstract

We consider the exprissibility in monadic second order logic of certain relations of importance in computer science. For integers n≥ 1 and k≤ b, a k-tuple of sequences in \0,1,…, b-1\n are said to be k-hashed if there is a coordinate where they all differ. A set C of sequences is said to be a k-hash code if any k distinct elements are k-hashed. Testing whether a code is k-hashing and determining the largest size of k-hash codes is an important problem in computer science. The use of general purpose solvers for this problem leads to question what minimal logic is needed to represent the problem. In this paper, we prove that the k-hashing relation on k-tuples is not definable in Monadic Second Order Logic (MSO), highlighting its limitations for this problem. Instead, the property can be expressed in extensions of the MSO that add the equi-cardinality relation.

Citations

Related