arXiv:2611.01062cs.DSOct 2026

Manuscript Offprint

arXiv:2611.01062

A smaller kernel for Ptolemaic Vertex Deletion

Dekel Tsur

Abstract

In the PTOLEMAIC VERTEX DELETION problem, the input consists of an undirected graph GG and an integer kk. The goal is to decide whether there is a set of at most kk vertices whose removal from GG results in a Ptolemaic graph. In this paper, we give a kernel for PTOLEMAIC VERTEX DELETION with O(k5)O(k^5) vertices. Our result improves upon the O(k6)O(k^6) kernel of Agrawal et al. [IPEC 2021].

Keywords graph algorithms, parameterized complexity, kernelization.

1 Introduction

Let Π\Pi be a class of graphs. In the Π\Pi VERTEX DELETION problem, the input consists of an undirected graph GG and an integer kk. The goal is to decide whether there is a set of at most kk vertices whose removal from GG results in a graph belonging to Π\Pi. Many vertex deletion problems have been studied in the computer science literature, for example, FEEDBACK VERTEX SET (where Π\Pi is the class of acyclic graphs), VERTEX COVER (where Π\Pi is the class of edgeless graphs), and CLUSTER VERTEX DELETION (where Π\Pi is the class of graphs in which every connected component is a clique).

In this work, we study the class of Ptolemaic graphs. A graph GG is a Ptolemaic graph if for every four vertices u,v,w,xu, v, w, x in the same connected component of GG, the following inequality holds:

d(u,v)d(w,x)+d(u,x)d(v,w)≥d(u,w)d(v,x),d(u,v)d(w,x)+d(u,x)d(v,w)\geq d(u,w)d(v,x),

where d(y,z)d(y,z) denotes the distance between vertices yy and zz. Agrawal et al. (2021) gave a kernel for PTOLEMAIC VERTEX DELETION with O(k6)O(k^6) vertices.

In this paper, we give a kernel for PTOLEMAIC VERTEX DELETION with O(k5)O(k^5) vertices. Our kernel is based on the kernel of Agrawal et al. (2021) and uses ideas from the kernel of Tsur (2025) for 3-LEAF POWER VERTEX DELETION.

The kernel of Agrawal et al. works by constructing a set AA such that G−AG-A is a Ptolemaic graph and ∣A∣=O(k)|A|=O(k), and then considering the maximal cliques in the graph G−A−RG-A-R, where RR is a set of O(k5)O(k^5) vertices constructed by the algorithm. Their kernel reduces the number of maximal cliques in G−A−RG-A-R by considering the inter-clique graph of G−A−RG-A-R (see Section 2). Using reduction rules, the number of vertices in the inter-clique graph is reduced to O(k5)O(k^5), providing a bound of O(k5)O(k^5) on the number of maximal cliques in G−A−RG-A-R. The kernel uses additional reduction rules to bound the sizes of the maximal cliques. After applying these rules, there are O(k3)O(k^3) maximal cliques with O(k3)O(k^3) vertices each and O(k5)O(k^5) maximal cliques with O(k)O(k) vertices each, excluding O(k5)O(k^5) special vertices. Thus, the number of vertices in GG is O(k3⋅k3+k5⋅k+k5)=O(k6)O(k^3 \cdot k^3 + k^5 \cdot k + k^5) = O(k^6).

*Faculty of Computer and Information Science, Ben-Gurion University of the Negev.

In contrast, our kernel considers a partition of the vertices of G−A−RG-A-R into clique-modules, based on the inter-clique graph of G−A−RG-A-R. We show that the number of vertices of the inter-clique graph can be reduced to O(k4)O(k^4), and therefore the number of clique-modules in the partition is O(k4)O(k^4). We then use a reduction rule that reduces the sizes of the clique-modules. After applying this rule, there are O(k3)O(k^3) clique-modules with O(k2)O(k^2) vertices each, and O(k4)O(k^4) clique-modules with O(k)O(k) vertices each, excluding O(k5)O(k^5) special vertices. Therefore, the number of vertices in GG is O(k3⋅k2+k4⋅k+k5)=O(k5)O(k^3 \cdot k^2 + k^4 \cdot k + k^5) = O(k^5).

Related work The class of Ptolemaic graphs is the intersection of chordal graphs and distance-hereditary graphs. For CHORDAL VERTEX DELETION, Marx (2010) showed that the problem is fixed-parameter tractable. Cao and Marx (2016) later gave a faster parameterized algorithm. Regarding kernelization, Jansen and Pilipczuk (2018) gave a kernel with O(k161log⁡58k)O(k^{161} \log^{58} k) vertices, and Agrawal et al. (2018) gave a kernel with O(k12log⁡10k)O(k^{12} \log^{10} k) vertices. For DISTANCE-HEREDITARY VERTEX DELETION, Eiben et al. (2018) gave an O∗(37k)O^*(37^k)-time algorithm, and Kim and Kwon (2021) gave a kernel with O(k30log⁡5k)O(k^{30} \log^5 k) vertices.

Another related class of graphs is the 3-leaf power graphs, which is a subset of the class of Ptolemaic graphs. For 3-LEAF POWER VERTEX DELETION, Dom et al. (2006) gave an O∗(6k)O^*(6^k)-time algorithm. Regarding kernelization, Ahn et al. (2023) gave a kernel with O(k14)O(k^{14}) vertices, and Tsur (2025) later gave an improved kernel with O(k6)O(k^6) vertices.