Complexity transfer from classical fragments to modal predicate logics of finite Kripke frames
Over a single Kripke frame with finitely many worlds but possibly infinite domains, the decidable fragments of classical predicate logic pass to modal predicate logic at no cost in complexity. With equality interpreted as identity, the two-variable and monadic fragments with and without counting quantifiers, the fluted fragments with or without counting quantifiers, and the guarded fragments are, without any monodicity restriction, each polynomial-time equivalent to their classical counterparts, also when the frame is part of the input. Wherever the classical fragment has the finite model property, the modal fragment has the finite domain property, with explicit bounds. The results extend to rigid constants, except for the fluted fragments with counting quantifiers, and, under a mild condition, to other operators definable on the frame, such as the universal modality and nominals. Over the usual classes of frames, by contrast, decidability typically requires monodicity, and can fail even then with counting quantifiers. Our main tool is a translation into classical logic that preserves the arity of predicate letters and the number of variables, made polynomial by renaming subformulas within each fragment. The monadic fragments, where renaming fails, are treated by histograms counting the elements of each type up to a cap; for a fixed frame, this gives PSPACE for a fixed number of predicate letters and polynomial time if the numbers of variables and constants are fixed too, and, as a by-product, coNEXP-completeness of the classical monadic fragment with counting quantifiers, with a parameterwise optimal bound on model size.