New Distributed Interactive Proofs for Planarity:
A Matter of Left and Right
Abstract
We provide new distributed interactive proofs (DIP) for planarity and related graph families. The notion of a distributed interactive proof (DIP) was introduced by Kol, Oshman, and Saxena (PODC 2018). In this setting, the verifier consists of nodes connected by a communication graph . The prover is a single entity that communicates with all nodes by short messages. The goal is to verify that the graph satisfies a certain property (e.g., planarity) in a small number of rounds, and with a small communication bound, denoted as the proof size.
Prior work by Naor, Parter and Yogev (SODA 2020) presented a DIP for planarity that uses three interaction rounds and a proof size of . Feuilloley et al. (PODC 2020) showed that the same can be achieved with a single interaction round and without randomization, by providing a proof labeling scheme with a proof size of . In a subsequent work, Bousquet, Feuilloley, and Pierron (OPODIS 2021) achieved the same bound for related graph families such as outerplanarity, series-parallel graphs, and graphs of treewidth at most . In this work, we design new DIPs that use exponentially shorter proofs compared to the state-of-the-art bounds. Our main results are:
-
There is a -round protocol with proof size for outerplanarity.
-
There is a -round protocol with proof size for verifying embedded planarity and proof size for general planar graphs, where is the maximum degree in the graph. In the former setting, it is assumed that an embedding of the graph is given (e.g., each node holds a clockwise orientation of its neighbors) and the goal is to verify that it is a valid planar embedding. The latter result should be compared with the non-interactive setting for which there is lower bound of bits for graphs with by Feuilloley et al. (PODC 2020).
-
The non-interactive deterministic lower bound of bits by Feuilloley et al. (PODC 2020) can be extended to hold even if the verifier is randomized. Moreover, the lower bound holds even with the assumption that the verifier’s randomness comes in the form of an unbounded random string shared among the nodes.
We also show that our DIPs can be extended to protocols with similar bounds for verifying series-parallel graphs and graphs with tree-width at most . Perhaps surprisingly, our results demonstrate that the key technical barrier for obtaining labels for all our problems is a basic sorting verification task in which all nodes are embedded on an oriented path and it is desired for each node to distinguish between its left and right -neighbors.
Keywords and phrases:
Distributed interactive proofs, Planar graphsCopyright and License:
2012 ACM Subject Classification:
Theory of computation Interactive proof systems ; Theory of computation Distributed algorithmsFunding:
This project is partially funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme, grant agreement No. 949083.Editor:
Dariusz R. KowalskiSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Planarity is a fundamental graph property that has been widely studied due to its rich combinatorial structure and numerous algorithmic applications. While in the centralized setting, the task of verifying if a given graph is planar can be done in linear time [18], in the distributed setting the running time depends linearly on the diameter of the graph [13]. The non-local nature of planarity motivates the use of a powerful, but potentially untrusted, prover that can aid the distributed verification by providing each node with a short auxiliary string, a.k.a. a proof label. The nodes then engage in brief communication to collectively determine whether to accept or reject the provided proof. This framework has been formalized into proof labeling schemes by Korman, Kutten and Peleg [20]. In this work we focus on the interactive extension of this model to distributed interactive proofs (DIP) as proposed by Kol, Oshman, and Saxena [19]. In this setting, the nodes are allowed to interact with the prover through multiple rounds of communication. The key complexity measures are the number of interaction rounds and the proof size.
The first evidence of the power of such proof systems for certifying planarity was provided by Naor, Parter, and Yogev [21]. Their result for planarity was in fact implied by a more general machinery that translates any (centralized) computation in time – such as, the centralized planarity verification of [18] – into a three-round distributed interactive protocol with proof size. Subsequent work by Feuilloley et al. [6, 7] demonstrated that the same proof size could be achieved with just a single interaction round, effectively reducing to the classical proof labeling scheme setting. Their work is accompanied by a matching lower bound of bits, that holds already for graphs with maximum degree of . These developments bring us back to the fundamental question of whether interaction truly provides an advantage in certifying planarity.
Question 1.1.
What is the power of distributed interactive proofs for certifying planarity?
We address this question by providing new DIPs for planarity and related graph families. Namely, we obtain constant-round protocols with a proof size of for outerplanarity, embedded planarity, series-parallel graphs, and graphs of treewidth at most ; and a proof size of for planarity in graphs of maximum degree (we distinguish between embedded planarity in which we assume that a graph embedding is given in a distributed manner, and planarity in which no embedding is given; see full version [14] for formal definition). We also show that the lower bound of [6] can be extended to one-round DIPs. Therefore, our results give the first evidence to the advantage provided from interaction in planarity certification.
Model.
In this paper, we consider distributed interactive proofs (DIPs) based on the model of [19].222We note that [19] uses the terms dAM and dMAM to denote the special cases of a DIP protocol with and rounds, respectively. In the DIP setting, instances are graphs taken from some universe and the goal is to distinguish between yes-instances that come from a yes-family and no-instances that come from a no-family .333One can easily adapt the setting so that instances also include some local information to the nodes (e.g., identifiers, weights, etc.). We chose to avoid this additional notation as the results of this paper apply to graphs without local node information. A DIP is an interactive protocol between a distributed verifier operating concurrently at all nodes of the graph and a centralized prover that can see the entire instance. The prover and verifier interact back and forth in rounds. Let denote the rounds in which the verifier interacts with the prover and let denote the rounds in which the prover interacts with the verifier.
Our protocols are public-coin which means that in each round , the verifier at each node interacts by drawing a random bitstring and sending it to the prover (in particular, the verifier cannot hide any random bits from the prover). The prover interacts with the verifier in rounds by sending a message to each node . Keeping up with the terminology of [20], we sometimes refer to the messages sent by the prover as labels. The interaction ends with a round in which the prover interacts with the verifier, after which the verifier at each node computes a local yes/no output based on: (1) the random bitstrings drawn by throughout the protocol; (2) the labels assigned to by the prover throughout the protocol; and (3) the labels assigned to ’s neighbors by the prover throughout the protocol. We say that the verifier accepts the instance if all nodes output “yes”, and that the verifier rejects the instance if at least one node outputs “no”.
As standard, the correctness of a proof system is defined by completeness and soundness requirements. The completeness requirements asks that if , then there exists an honest prover causing the verifier to accept the instance; whereas the soundness requirement asks that if , then for any prover, the verifier rejects the instance. In the DIP setting, the correctness requirements are relaxed so that the completeness and soundness hold with probabilities and , respectively, for some parameters . In this case, we refer to as the completeness error and to as the soundness error. A protocol is said to have perfect completeness if . The performance of a DIP protocol is measured by the amount of prover-verifier communication it requires. Namely, the objective is to design protocols with a small number of interaction rounds and a small proof size which is defined as the size of the longest label assigned by the honest prover during the protocol.
The Challenge of Going Below the Barrier.
As observed in [21], achieving sub-logarithmic proof lengths presents a significant challenge in the DIP setting and also serves as a lower bound for numerous problems in the non-interactive setting. This difficulty arises because many fundamental operations – such as identifying neighboring nodes, counting, or specifying node IDs – intrinsically require bits. While [21] made important initial progress in this area, their results apply to a more permissive variant of the DIP model, where nodes are allowed to send different messages to each of their neighbors. Indeed, their key technique is based on a rooted spanning tree provided by the prover such that every node identifies its tree-parent based on its internal port-numbering. Therefore, for each node to be able to learn its children in the tree (which is crucial to their protocols), every node has to send a distinct message to its parent.
In contrast, our work operates within the more restrictive DIP framework defined by Kol et al. [19], where nodes may only forward the proofs they receive to their neighbors. This constraint aligns with the non-interactive proof labeling model introduced in [20], where a node’s decision is based solely on its own proof and those of its neighbors. This key difference in model assumptions becomes especially important in the sub-logarithmic setting, effectively preventing us from directly applying the techniques developed in [21].
Our Results.
We present new distributed interactive proofs for various well-studied graph families. The first graph family considered is that of path-outerplanar graphs (see Section 2 for definition). Previously, [6] showed that path-outerplanarity admits a proof labeling scheme with a proof size of . We improve upon the communication complexity of that result by designing a protocol with exponentially shorter proof labels as specified in the following theorem.
Theorem 1.2.
There exists a distributed interactive proof for path-outerplanarity running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
Building upon the path-outerplanarity protocol, we provide a protocol for (general) outerplanarity with the same asymptotic communication guarantees.
Theorem 1.3.
There exists a distributed interactive proof for outerplanarity running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
We then move on to consider the case of planar graphs. In this context, we consider two verification tasks referred to as planar embedding and planarity. In the planar embedding task, an embedding of the graph is given in a distributed manner and the goal is to decide if it is a valid planar embedding (i.e., if no edges cross). In the planarity task, the goal is simply to decide if the given graph is planar. The details of our protocols for these tasks are given in the following two theorems.
Theorem 1.4.
There exists a distributed interactive proof for planar embedding running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
Theorem 1.5.
There exists a distributed interactive proof for planarity running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
We also consider the two closely related graph families of series-parallel graphs and graphs of treewidth at most . We obtain the following two results.
Theorem 1.6.
There exists a distributed interactive proof for series-parallel graphs running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
Theorem 1.7.
There exists a distributed interactive proof for graphs of treewidth at most running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
Finally, we provide the following lower bound.
Theorem 1.8.
For each of the following graph families, any one-round distributed interactive proof with completeness and soundness errors smaller than requires a proof size of : (1) path-outerplanar graphs; (2) outerplanar graphs; (3) embedded planar graphs; (4) planar graphs; (5) series-parallel graphs; and (6) graphs of treewidth at most ;
We note that Theorem 1.8 strengthens the lower bound presented in [6] in the following ways. First, the lower bound of [6] only applies to one-round proofs with deterministic verifier. Theorem 1.8 states that the same bound holds even if the verifier is randomized. Combined with the upper bounds stated above, our results present a strong evidence of the power added from interaction in the context of distributed proofs for planarity and related tasks. We remark that our lower bound holds even if the nodes have access to (unbounded) shared randomness. We also note that the lower bound of [6] does not explicitly apply to some of the graph families that appear in Theorem 1.8 (namely, path-outerplanar graphs, embedded planar graphs, and series-parallel graphs).
Open problems.
Our results leave some intriguing unresolved questions that can be explored in follow-up works. Here, we highlight three of them.
As the main open problem, we ask whether the additive term is necessary in the proof size for planarity. That is, we pose the following question.
Open Question 1.
Is it possible to obtain a constant round protocol for planarity with a proof size of even on graphs with maximum degree ?
One may also ask whether interaction rounds are necessary in order to obtain a proof size of for the tasks discussed in this paper. Of course, we know by Theorem 1.8 that round is insufficient. However, for any , whether an -round protocol exists remains open even if we simply look for a proof size of . This leads to the following open problem.
Open Question 2.
Is it possible to obtain an -round protocol for e.g., outerplanarity, with a proof size of for some ?
Finally, we ask whether it is possible to improve our protocol’s communication bound.
Open Question 3.
Is it possible to obtain a protocol for e.g., outerplanarity, where the prover communicates bits with each node?
2 Preliminaries and Definitions
Conventions.
Throughout, if not specified otherwise, a graph is assumed to be undirected and connected. For each node , we stick to the convention that denotes the set of ’s neighbors in the graph, denotes the set of edges incident on , and denotes ’s degree in . Whenever is clear from the context, we may omit it from the notation and write and instead of and . For a node-subset , we denote by the subgraph induced on by .
As part of our technical tools, we also consider directed graphs. If is directed, we assume that the edge orientation is given to the nodes such that each node can distinguish between its incoming and outgoing incident edges. For a directed edge with endpoints and , we write to reflect that is directed from to , and otherwise. In the context of a distributed interactive proof, we assume that the label assigned by the prover to node can be viewed by both its incoming and outgoing neighbors.
Hamiltonian paths.
Consider a graph with a Hamiltonian path . For a pair of nodes, define the relation so that if precedes in . Naturally, this extends to if or . Going forward, when is clear from context, we may omit it from our notation and write and instead of and , respectively. Whenever we encounter a Hamiltonian path, it will be convenient to think of it drawn as a straight line from left to right. Keeping up with this convention, for each node , we can partition its non-path edges in into -left edges which are incident on neighbors , and -right edges which are incident on neighbors . We say that a non-path edge is the longest -left (resp., -right) edge if (resp., ) and (resp., ) for every neighbor .
Left-right sorting.
We define a verification task called left-right sorting (LR-sorting) which is used as a sub-task in our protocols. In LR-sorting, a directed graph is given. The graph admits a directed Hamiltonian path which is given such that each node knows its incident edges in . The path is assumed to be directed from left to right. The goal of the task is to decide if for every directed edge . That is, a yes-instance is defined so that for every edge ; whereas a no-instance admits at least one edge such that . Observe that equivalently, yes-instances are ones in which is a DAG (in which case the -ordering is the unique topological sort of ); and no-instances are ones in which admits some cycle.
Path-outerplanar graphs.
A graph is said to be path-outerplanar if it admits a Hamiltonian path such that all non-path edges can be drawn above without crossings. If the edges can be drawn in such a manner, we say that they are properly nested within (or simply properly nested when is clear from the context). Equivalently, a graph is path-outerplanar if no two edges satisfy with respect to some Hamiltonian path (cf. [6]). Refer to Figure 1 for a pictorial example of a path-outerplanar graph and some of the related definitions.
The following simple observation will be useful in our protocol for path-outerplanar graphs in Section B.
Observation 2.1.
Suppose that is a path-outerplanar graph and let be a non-path edge such that . The edge is either the longest -right edge or the longest -left edge.
Proof.
Assume that is neither the longest -right edge nor the longest -left edge. Let and be the longest -right and -left edges, respectively. These edges satisfy which contradicts path-outerplanarity.
Given a path-outerplanar graph , we make the following definitions. For a non-path edge , , define its successor as the edge that satisfies: (1) ; and (2) for every edge that satisfies . Intuitively, the successor of an edge is the edge drawn directly above it. For cohesiveness, for any edge that does not have a successor in the graph, define the successor to be a virtual edge , defined so that for any . Notice that each edge has a unique successor. Naturally, we say that is a predecessor of if is the successor of . We say that two edges and are siblings if they have a common successor.
The following observation is now straightforward from the definitions.
Observation 2.2.
Suppose that is a path-outerplanar graph and let be a (possibly virtual) non-path edge such that . There exists an ordering of ’s predecessors such that .
Encoding a spanning forest in a planar graph.
As a building block in our protocol, we would like for the prover to be able to communicate a spanning forest of the graph to the verifier. While it is trivial to achieve in general using -bit labels, in our case we would like much smaller labels. It turns out that this task can be achieved in planar graphs deterministically and with constant-sized labels. This is done by slightly extending a construction of [3] which is designed for the task of deciding whether a planar graph admits a perfect matching.444The scheme extends to some classes of non-planar graphs; see [3] for full details. We state the construction’s properties in the following lemma.
Lemma 2.3.
Let be a planar graph and let be a rooted spanning forest of (i.e., is a collection of rooted trees). For some constant , there exists a label assignment such that each node can learn its parent and children in only as a function of , and the labels assigned to ’s neighbors .
For completeness of presentation, we provide a proof for the lemma. We emphasize that this construction only allows the prover to communicate the forest to the verifier and does not provide proof that is indeed a spanning forest.555Another way to formulate this construction is in terms of advice, based on the model of [9, 10]. Specifically, using the terminology of [10], the statement means that computing any spanning forest of a planar graph admits an -advising scheme.
Proof.
For ease of presentation, let us assume that the prover tries to communicate a spanning tree (i.e., a connected forest). The case of an unconnected forest admits a similar construction. Suppose that is a planar graph and is a spanning tree rooted at some node . For each node , let denote its parent and let denote its depth. Define the graph (resp., ) to be the graph obtained by starting from and contracting all edges that go from an odd (resp., even) depth node to its parent in . Observe that and are both planar and thus, -colorable. Towards providing the label assignment, the prover computes -colorings of and , respectively. For each node , let the color of the node into which contracted in and let be the color of the node into which contracted in . The prover assigns each node with the label where .
We argue that the label assignment allows each node to deduce which of its neighbors are its parent and children in . The idea is as follows. If a node of odd depth receives a color , then due to the validity of the coloring on , it holds that is the only neighbor of with even depth for which . The case of even depth nodes is similar.
To make things more concrete, consider some node with (resp., ). Node identifies its parent as its only neighbor with and (resp., and ). Additionally, identifies its children as the neighbors that satisfy and (resp., and ).
Enabling edge-labels in planar graphs.
In the technical sections, it will be convenient to describe protocols assuming that the prover can also assign edge-labels (such that both of the edge endpoints can see the label) rather than only node-labels. This assumption is facilitated by the following lemma.666Transformations that enable edge-labels in planar graphs have been presented in previous papers (see, e.g., [6]). However, these constructions require the prover to assign an ordering to the nodes which incurs an additive overhead to the label size. Thus, we cannot use these transformations for our purposes.
Lemma 2.4.
Let be a class of planar graphs. Suppose that there exists a distributed interactive proof deciding whether in which the prover assigns labels of size to the nodes and edges. Then, there exists a distributed interactive proof in which the prover assigns labels of size only to the nodes. Furthermore, the two proofs admit the same number of interaction rounds.
Proof.
It is well-known that planar graphs have arboricity at most . This means that the edge-set of any planar graph can be partitioned into three edge-disjoint forests . By Lemma 2.3, the prover can inform each node of its parent and children in each using only constant-sized labels. Then, instead of assigning a label to the edge between and its parent in , the prover simply writes to a field in ’s label which is designated for its parent in . This allows both endpoints to learn the label , thus enabling the simulation of edge-labels.
Spanning tree verification.
Consider a graph and let be a subgraph of such that each node knows its incident edges in . We define spanning tree verification as the task of deciding whether is a spanning tree of . The following lemma is established in [21].
Lemma 2.5 ([21, Section 7.1]).
There is a distributed interactive proof for spanning tree verification with interaction rounds and constant proof size. The proof admits perfect completeness and a constant soundness error.
Observe that by standard parallel repetition, one can reduce the soundness error to at the expense of a proof size for any parameter . Throughout the paper, this fact will be used in a black-box manner.
Multiset equality.
In the multiset equality problem, each node receives as input two multisets and the goal is to decide whether , where and are the multisets and . Notice that in the definition of and , the union is taken with respect to multisets, i.e., the multiplicity of element in (resp., ) is the sum of its multiplicities over all multisets (resp., ). The multisets and are assumed to be of size at most for some integer , and the elements are taken from a universe of size for some constant . For our purposes, it would also be convenient to assume that the nodes are given a distributed encoding of a rooted spanning tree of the graph. The following lemma can be derived from the multiset equality protocol of [21].
Lemma 2.6 ([21]).
Given a multiset equality instance such that and a rooted spanning tree of , there exists a -round distributed interactive proof for multiset equality. The proof admits perfect completeness, a soundness error of , and a proof size of .
Since the lemma above is not explicit in [21] and since we use the details of the multiset equality protocol in a white-box manner, we describe here the construction’s details. The multiset equality protocol relies on the following idea. For a multiset , define the polynomial .777Notice that we assume here w.l.o.g. that multiset elements are integers. Now, observe that if and only if . Moreover, notice that the degree of and is at most . Define as the smallest prime number that satisfies and let be a variable drawn uniformly at random from . By polynomial identity testing properties, if and are computed over the field , then .888Recall that is the field whose elements are and operations are done modulo .
Following this idea, the multiset equality problem essentially reduces to evaluating a polynomial at a random point . Recalling that we assume that a distributed encoding of a rooted spanning tree is provided to the nodes, the polynomial evaluation is implemented as follows. First, the point is sampled by the root and sent to the prover. Then, the prover assigns each node with the value and the values (computed over ) where (resp., ) is the multiset of elements from (resp., ) in ’s subtree. Given the assigned values, it is well-known that their validity can be checked at each node based on its input, its label, and its children’s labels. This is because polynomial evaluation is an aggregation task that can be verified “up the tree” (see, e.g., [20, Lemma 4.4] for details). Following these checks, the root can check that (which implies that ).
To summarize, given a rooted spanning tree of the graph, the multiset equality protocol runs for interaction rounds, admits perfect completeness, a soundness error of , and a proof size of .999Recall that standard density of primes properties assure that cannot be too large. In particular, , and thus .
3 Technical Overview
In this section, we provide an overview of the techniques used to obtain the protocols presented in the paper. To exemplify the challenge of planarity certification with labels of size , let us first sketch a seemingly natural (yet unsuccessful) approach to which we refer as the clustering approach. Suppose that the prover computes a partition of the graph into node-disjoint connected clusters of size . Then, the prover provides a proof that: (1) the subgraph induced by each cluster is planar; and (2) the graph obtained by contracting all clusters is planar. Notice that in terms of proof size this approach is promising (and indeed, a similar approach was used in [21] to achieve sub-logarithmic proofs for various other problems). This is because one can use , e.g., the logarithmic proof for planarity of [6] on each cluster to obtain a proof of size for (1). As for (2), since each cluster has size and acts as a single node in the contracted graph, one can hope that it is possible to distribute the proof of a single cluster among the nodes within that cluster using only -sized labels per node. For the sake of this example, let us assume that it is indeed possible to obtain a proof for (2) with a proof size of .
It is not hard to see that the proof provided from the clustering approach is complete – if is planar, then so are the subgraphs induced by the clusters as well as the graph obtained from contracting every cluster. The fundamental problem however, is that a proof for planarity obtained from this approach cannot be sound. To see why this is the case, consider a non-planar graph that contains a single -clique .101010Recall that a graph is planar if and only if it does not contain or as a minor. A cheating prover can then define the partition such that, e.g., two nodes of are assigned to one cluster and the other three are assigned to a different cluster. In this case, does not violate planarity within any cluster and translates to a single edge in the contracted graph. Therefore, in this instance the verifier is likely to accept which violates the soundness requirement.
Notice that even if somehow we were able to prevent the prover from constructing an adversarial partition, it is possible to construct a no-instance in which the verifier is likely to accept for any partition. For example, it is possible to create an instance where each edge of is subdivided such that its endpoints are at distance in (and thus, are separated in any partition). Hence, we conclude that the clustering approach is doomed to fail for the planarity task.
The inherent failure of the clustering approach compels us to come up with a different approach. Similarly to the approach of [6], we seek to reduce planarity tasks to some other well-structured task for which we are able to design an efficient protocol. Perhaps surprisingly, we show that efficient protocols for all tasks considered in the current paper can be obtained based on a protocol for the seemingly unrelated task of LR-sorting. Indeed, starting from LR-sorting we present a sequence of reductions leading to new protocols for outerplanarity, planar embedding, planarity, series-parallel, and graphs of treewidth . Refer to Figure 2 for a chart depicting the dependencies between our different constructions. Notice that an advantage of LR-sorting is that unlike the planarity task, it can benefit from the clustering approach. As we explain below in more detail, this becomes useful in our protocol.
LR-sorting.
To give an intuition for the LR-sorting protocol, let us first sketch a simple one-round protocol for LR-sorting with a proof size of . The prover assigns each node with its position on the path. Then, each node that is located at the -th position can verify that: (1) its path-neighbors are located at positions ; and (2) all of its outgoing edges go towards nodes of larger positions.
To obtain a distributed interactive proof with a proof size of , the idea is to divide the nodes into node-disjoint blocks where each block is made up of consecutive path-nodes. This allows the prover to distribute the position of block , denoted by , such that each node receives: (1) its index within ; and (2) , i.e., the -th most significant bit of ’s position. Ideally, as in the clustering approach, we would like for each block to act as a single node in the trivial protocol. In this short description, let us assume for simplicity that the prover encodes the position of the blocks correctly according to the -ordering and let denote the position of block . The main challenge of the protocol is then captured by the following question: suppose that there is an edge where and belong to different blocks , how can the prover prove to and that ?
Towards answering this question, let us first consider the simpler case where is the only edge leaving the block for both and . Furthermore, we will describe the protocol under the assumption that the prover can assign edge-labels. Recall that Lemma 2.4 implies that the edge-labels assumption can be simulated in planar graphs while incurring only a constant overhead to the proof size. Let be the index of the most significant bit in which and differ. Notice that by definition, if , then and . In addition, is in the range and thus, can be encoded using bits. In the first interaction, the prover encodes to the label of . The prover then needs to prove that (1) ; (2) ; and (3) and agree on their most significant bits.
Let us focus on how (3) is proved. A straightforward way to obtain a proof for (3) is to assign the edge with the substring containing the most significant bits in their blocks. The main problem with this approach is that the proof size could be as large as . To avoid this large label size, we can use polynomial identity testing. That is, we interpret the substrings containing the most significant bits in and as polynomials of degree and seek to have the prover and verifier evaluate them at a random point over a field of size . The prover then assigns the outcome of the polynomial evaluation to the label of . This introduces the following locality problem: the verification that the polynomials were computed correctly is done at the -th leftmost node in each block (using the standard aggregation technique of [20]). Since and might be far from the -th leftmost node in their respective blocks, they cannot locally detect that the prover is not lying about the outcome. We note that in the simplified case where is the only edge leaving and , the problem is easy to solve. Indeed, since is the only edge considered by blocks and , the prover can assign the outcome of the polynomial evaluation at the -th node to all nodes of and . The nodes can then check the correctness of this assignment locally based on the assignment to their block-neighbors.
Moving on to the general case where each block may have many edges leaving it, it is not clear how to solve the locality problem described above. Of course, if the prover assigns each node of the block with the outcomes of polynomial evaluations for every relevant index, this could require assigning values to every node which completely defeats the purpose. The main observation that we make is that one can formulate the locality problem as an instance of multiset equality between two multisets that are carefully defined within each block. Then, to check whether the multisets are indeed equal, a multiset equality protocol is executed within the blocks. An important property of the constructed multisets is that they are of size which means that this final step can be done while maintaining a proof size of .
For the correctness, it turns out that the protocol’s completeness becomes straightforward from the multisets construction, whereas the soundness argument requires a bit more care. Essentially, we show that in a no-instance the prover is likely to commit to a pair of unequal multisets within some block. Then, conditioning on this event, it is likely that the verifier rejects the instance due to the soundness of the multiset equality protocol.
From LR-sorting to path-outerplanarity.
In Section B, we devise a protocol for path-outerplanarity. To get intuition of how the protocol works, we first recall the labels assigned in the non-interactive proof of [6]. Essentially, the prover assigns each node with its position in the path along with the position of the nodes and for which is the first edge that is drawn above . The authors of [6] show that this labeling allows the (deterministic) verifier to verify that indeed is path-outerplanar.
Of course, assigning the positions of nodes in is far too costly for our purposes, so we seek to avoid it by using interaction and randomization. To that end, we first note that the assignment of positions in [6] serves the following purposes: (1) each node learns its -neighbors; (2) each edge can be identified based on the positions of its endpoints; and (3) each node learns a clockwise orientation of its incident edges. Note that since is a spanning tree, (1) can be obtained using only constant-sized labels based on Lemmas 2.3 and 2.5. For (2), we show that the edge identifiers can be replaced by random bits. As for (3), we design a protocol in which it is sufficient for every node to only distinguish between its left and right edges with respect to the path . In fact, we show that under the assumption that every node knows its left and right edges, path-outerplanarity can be solved in rounds and with a constant proof size (refer to Lemma B.1 for the full details of the reduction). To lift this assumption, we can apply our LR-sorting protocol which leads to the stated complexity bound of Theorem 1.2.
From path-outerplanarity to outerplanarity and planarity.
We handle outerplanarity and planarity through reductions to path-outerplanarity. We note that while such reductions are presented in previous works ([6] for planarity; [2] for outerplanarity), we cannot use them as-is in our setting. This is because these reductions incur an additive overhead to the proof size. Nevertheless, our results rely on some modifications of the existing reductions. For outerplanarity, our reduction is white-box and it avoids the overhead based on the tools of Lemma 2.3 and Lemma 2.5 as well as some observations regarding the path-outerplanarity protocol.
For planarity, we start from the planar embedding task as an intermediate point. To reduce planar embedding to path-outerplanarity, we revisit some of the constructive proofs presented in [6] and show that they can be used to obtain such a reduction. Once again, Lemma 2.3 and Lemma 2.5 are used for the sake of efficient implementation. Then, we show that planarity reduces to planar embedding while incurring only an additive overhead to the proof size, thus obtaining the stated result.
Lower bounds.
The starting point for our lower bounds is the lower bound of [6] which applies to proof labeling schemes (in fact, it holds also for the more general locally checkable proofs [16]). The result of [6] shows that an proof size is required even for the task of deciding whether a graph is outerplanar or non-planar. We start by adjusting the lower bound’s details so that it would apply for the task of deciding whether a graph is biconnected outerplanar or non-planar.111111Recall that a graph is biconnected if the removal of any node leaves the resulting graph connected. A biconnected component of a graph is a maximal biconnected subgraph of . This adjustment leads to a bound for all the graph families considered in the current paper since they are planar and contain all biconnected outerplanar graphs. To extend the lower bound to one-round protocols in which the verifier is randomized, we use a framework presented in [11].
4 LR-Sorting Protocol
In this section, we present a protocol for the task of LR-sorting on a given directed graph with Hamiltonian path . The protocol is implemented under the assumption that the prover is able to assign labels to the nodes and the edges of . If a label is assigned to the edge , then both endpoints and can view it. The main result of the current section is the following lemma.
Lemma 4.1.
There exists a distributed interactive proof for LR-sorting running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of where labels are assigned to both nodes and edges.
Recall that by Lemma 2.4, if the given graph is planar, we can lift the edge-labels assumption of Lemma 4.1 to get the following.
Lemma 4.2.
There exists a distributed interactive proof for LR-sorting in planar graphs running in interaction rounds. The proof admits perfect completeness, a soundness error of , and a proof size of .
The rest of the section is dedicated to the protocol’s description. Recall that our goal is to show how the prover proves that for every non-path edge directed from to . This is described in two stages. First, a division of the path into node-disjoint blocks is described. Then, we explain how the block construction allows the nodes to compare their relative position on the path. For clarity, the stages are described without regard for the number of interaction rounds. Then, in Appendix A, we explain how the protocol can be implemented in interaction rounds. Throughout, is defined as a positive constant that can be made large enough to support the protocol’s soundness guarantee.
4.1 The Block Construction
The block construction is defined so that the first block consists of the leftmost nodes in the path, the second block consists of the next nodes and so on. For ease of presentation, we assume that all blocks are of size exactly . One can easily adjust the protocol’s details to handle the general case in which (only) the rightmost block may have more than (but less than ) nodes.
The purpose of the block construction is to allow the nodes to receive information regarding their position on the path. The position of a block , denoted by , is defined to be if is the -th leftmost block. Notice that due to the block size, it is possible to encode an integer through the nodes of a block using only bits per node. To do so, assign the -th leftmost node of the block with the number as well as the -th most significant bit of (leading zeros are added if necessary). Using this mechanism, the prover assigns the values and to each block .
In addition, the prover provides a proof that the two numbers assigned to each block are consecutive. To explain how this is done, suppose that is a nonnegative integer in binary representation and let be its least significant bit valued . Notice that and differ (only) in their least significant bits. For a block , define to be the least significant bit in whose value is and let be the node associated with the index . To prove that the numbers assigned to are consecutive, the prover marks and informs every other node in the block whether it is to the right/left of .
To present the verification process at block , let us denote by and the bitstrings assigned to under the claim . If a node was labeled to be to the right of , then it checks that its bit in is , its bit in is , and its right neighbor in the block (if such neighbor exists) is also labeled as right of ; if was marked as , then it checks that its bit in is , its bit in is , its right neighbor is labeled as right of , and its left neighbor is labeled as left of ; and if is labeled as left of , then it checks that it received the same bit in both bitstrings and that its left neighbor is labeled as left of .
To complete the block construction stage, the verifier checks that the position assignment is consistent between adjacent blocks. Let and be two adjacent blocks where is to the right of . The verifier seeks to check that . To that end, the multiset equality protocol is used between and , where a bitstring is interpreted as the subset of that contains the indices whose bit is . Notice that the sets (and so, the degree of the multiset equality polynomials) are of size at most . The verifier and prover run the multiset equality protocol over the field where is the smallest prime satisfying . The polynomials are computed at a random point which is the same for all blocks. To that end, the variable is sampled by the leftmost node in the path and passed to all nodes in the graph by the prover. Each block computes (with the prover’s assistance) the values of the two polynomials associated with its encoded bitstrings . This allows every pair of adjacent blocks to check that the positions assigned to them are indeed consecutive.
Correctness.
If the position assignment given by the prover is valid, then for every pair of adjacent blocks and by the completeness of the multiset equality protocol, the verifier does not reject in this case. On the other hand, if the position assignment is not valid, then at least one pair of adjacent blocks satisfies and by the soundness of the multiset equality protocol, the verifier rejects with probability .
Remark.
An alternative approach to verifying the validity of the block construction is to use the RAM compiler of [21] concurrently on pairs of consecutive blocks. Nevertheless, the approach and notations presented above will be useful in the presentation of the next stage. We also note that it might be plausible to implement the block construction stage with proof size of , we avoided these optimizations as the key “communication bottleneck” lies in the next stage.
4.2 Comparing Relative Positions
We now describe how the prover uses the block construction to prove claims of the form for all non-path edges . To that end, we divide the edges into two types as follows. The inner-block edges are defined as the edges in which and belong to the same block, and the outer-block edges are defined as the edges in which and belong to different blocks.
Inner-block edges.
Suppose that is an inner-block edge. To show that , the prover first assigns a bit to the edge indicating that it is an inner-block edge. Let us denote the indices of and within their block by and , respectively (recall that these indices were assigned to the nodes during the block construction stage). The nodes and check that and if not, reject immediately. If , then it is left to check that and are indeed on the same block. To that end, the leftmost node of each block (i.e., the node associated with the most significant bit of ) samples a number and sends it to the prover which in response, sends the value to all nodes of the block . Each node checks that the number it received is consistent with its block neighbors and the leftmost node in the block checks that it received the same number it sampled. Then, for every edge that was labeled as inner-block, and check that they both received the same value and reject otherwise.
Correctness for inner-block edges.
For completeness, observe that if , then all checks succeed and the verifier accepts. For soundness, if and and are on the same block, then it must hold that and the verifier rejects. So, suppose that and are on different blocks but the prover labels as an inner-block edge. Then, the verifier rejects unless which happens with probability .
Outer-block edges.
We complete the protocol’s description by addressing the case of outer-block edges. Consider an outer-block edge , i.e., and belong to different blocks and , respectively. The prover’s goal is to show that . We divide the proof into two parts referred to as the commitment scheme and the verification scheme.
The main idea behind the commitment scheme relies on the following simple fact. Suppose that and are two nonnegative integers represented by binary strings of same length (leading zeros are added if necessary). Then, if and only if there exists an index such that the most significant bits of and are identical, the -th most significant bit of is , and the -th most significant bit of is . We shall refer to this index as the -distinguishing index and denote it by .
Consider a non-path edge whose endpoints belong to different blocks and , respectively. The commitment scheme starts by having the prover write the value to the label of edge . Then, for each block , the multiset equality polynomial that is associated with is computed at a random point , where is the prime number defined above. Similarly to the block construction stage, the computation is done over the finite field and the variable is the same for all blocks. For an index , let denote the substring of consisting of its most significant bits and let us denote by the multiset equality polynomial that is identified with the substring . We note that is exactly the value computed at the -th leftmost bit of block . In addition to computing the multiset equality polynomial values within the blocks, the prover writes the value (which is equal to by the definition of the distinguishing index) to the label of each non-path edge .
For an edge which is classified as an outer-block edge, let be the pair of values assigned by the prover on the label of during the commitment scheme. That is, here is claimed by the prover to be the distinguishing index between and ’s block positions, and is claimed to be the multiset equality polynomial value computed at the -th index of both blocks. To complete the commitment scheme, the verifier at each node makes some consistency checks. First, if the same index appears as the first element in two pairs and associated with edges , then the verifier rejects. To see why this condition is imposed, notice that requires that the -th bit of ’s block is , whereas requires that the -th bit of ’s block is . For the second consistency check, the verifier checks that if two of ’s incident edges agree on the first element of (and did not fail the first check), then they agree on the second element of . For each node , let us define (resp., ) as the set of pairs (resp., ) assigned by the prover to the edges (resp., ) during the commitment scheme. Notice that we define as sets and not multisets. In particular, this means that .
The purpose of the verification scheme is to verify the validity of the values in and for each node . Notice that this cannot be achieved locally in a trivial manner since the indices that appear in and may be associated with nodes on ’s block that are not adjacent to . We describe the verification of values and then explain the small change required for the verification. For a block , define as the multiset . Define as the set of indices whose bit in is equal to and let . The main idea behind the verification scheme is that in yes-instances, for each node and pair , it holds by construction that . Thus, one can construct a multiset which is equal to by taking every element of with some multiplicity between and (notice that it is not guaranteed that every element of is in , so we allow a “multiplicity” of ). Following this idea, the validity of can be verified by means of another multiset equality protocol.
To make things more concrete, consider a node which is associated with an index . The prover provides with a value that counts the number of times the pair appears in . Then, the prover and verifier execute a multiset equality protocol to compare between and the multiset obtained by taking copies of the pair for each . Here, notice that node gets the value from its own label and the value from the label of its left neighbor on the path. When computing the multiset equality polynomials, each pair is mapped to an element from the set by means of a fixed bijection known in advance to all nodes. To accommodate this range of field elements, it suffices to execute the multiset equality protocol over the field such that is the smallest prime that satisfies . To verify the validity of , we apply a similar idea with respect to the set . Observe that all the multisets that are involved in the equality protocols (and thus, the degrees of all polynomials) are of size .
Correctness for outer-block edges.
The completeness follows directly from the definition of the distinguishing index and the completeness of the multiset equality protocol. Regarding soundness, suppose that for some edge directed from to , it holds that . Denote by the pair assigned to the edge by the prover in the commitment scheme.
First, consider the case that and are in the same block (but is labeled as an outer-block edge by the prover). Notice that can be in at most one of the sets . This is because implies and implies . Assume w.l.o.g. that . Notice that by construction , which means that the compared multisets cannot be equal. Hence, by the soundness of the multiset equality protocol, the verifier rejects in this case with probability .
Now, suppose that and are in different blocks . Notice that by construction, and . If or , then the soundness follows from a similar argument to the former case. Otherwise, by the definition of the distinguishing index and by the soundness of the multiset equality protocol, it follows that with probability . If this is the case, then it must be that either or . Let us condition on this event and assume w.l.o.g. that . Then, and since , the soundness of the multiset equality protocol suggests that the verifier rejects with probability .
References
- [1] Aviv Bick, Gillat Kol, and Rotem Oshman. Distributed zero-knowledge proofs over networks. In Joseph (Seffi) Naor and Niv Buchbinder, editors, Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 - 12, 2022, pages 2426–2458. SIAM, 2022. doi:10.1137/1.9781611977073.97.
- [2] Nicolas Bousquet, Laurent Feuilloley, and Théo Pierron. Local certification of graph decompositions and applications to minor-free classes. J. Parallel Distributed Comput., 193:104954, 2024. doi:10.1016/J.JPDC.2024.104954.
- [3] Nicolas Bousquet, Laurent Feuilloley, and Sébastien Zeitoun. Local certification of local properties: Tight bounds, trade-offs and new parameters. In Olaf Beyersdorff, Mamadou Moustapha Kanté, Orna Kupferman, and Daniel Lokshtanov, editors, 41st International Symposium on Theoretical Aspects of Computer Science, STACS 2024, March 12-14, 2024, Clermont-Ferrand, France, volume 289 of LIPIcs, pages 21:1–21:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.STACS.2024.21.
- [4] Pierluigi Crescenzi, Pierre Fraigniaud, and Ami Paz. Trade-offs in distributed interactive proofs. In Jukka Suomela, editor, 33rd International Symposium on Distributed Computing, DISC 2019, October 14-18, 2019, Budapest, Hungary, volume 146 of LIPIcs, pages 13:1–13:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPICS.DISC.2019.13.
- [5] Louis Esperet and Benjamin Lévêque. Local certification of graphs on surfaces. Theor. Comput. Sci., 909:68–75, 2022. doi:10.1016/J.TCS.2022.01.023.
- [6] Laurent Feuilloley, Pierre Fraigniaud, Pedro Montealegre, Ivan Rapaport, Éric Rémila, and Ioan Todinca. Compact distributed certification of planar graphs. Algorithmica, 83(7):2215–2244, 2021. doi:10.1007/S00453-021-00823-W.
- [7] Laurent Feuilloley, Pierre Fraigniaud, Pedro Montealegre, Ivan Rapaport, Éric Rémila, and Ioan Todinca. Local certification of graphs with bounded genus. Discret. Appl. Math., 325:9–36, 2023. doi:10.1016/J.DAM.2022.10.004.
- [8] Pierre Fraigniaud, François Le Gall, Harumichi Nishimura, and Ami Paz. Distributed quantum proofs for replicated data. In James R. Lee, editor, 12th Innovations in Theoretical Computer Science Conference, ITCS 2021, January 6-8, 2021, Virtual Conference, volume 185 of LIPIcs, pages 28:1–28:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPICS.ITCS.2021.28.
- [9] Pierre Fraigniaud, David Ilcinkas, and Andrzej Pelc. Communication algorithms with advice. J. Comput. Syst. Sci., 76(3-4):222–232, 2010. doi:10.1016/J.JCSS.2009.07.002.
- [10] Pierre Fraigniaud, Amos Korman, and Emmanuelle Lebhar. Local MST computation with short advice. Theory Comput. Syst., 47(4):920–933, 2010. doi:10.1007/S00224-010-9280-9.
- [11] Pierre Fraigniaud, Pedro Montealegre, Rotem Oshman, Ivan Rapaport, and Ioan Todinca. On distributed merlin-arthur decision protocols. In Keren Censor-Hillel and Michele Flammini, editors, Structural Information and Communication Complexity - 26th International Colloquium, SIROCCO 2019, L’Aquila, Italy, July 1-4, 2019, Proceedings, volume 11639 of Lecture Notes in Computer Science, pages 230–245. Springer, 2019. doi:10.1007/978-3-030-24922-9_16.
- [12] François Le Gall, Masayuki Miyamoto, and Harumichi Nishimura. Distributed quantum interactive proofs. In Petra Berenbrink, Patricia Bouyer, Anuj Dawar, and Mamadou Moustapha Kanté, editors, 40th International Symposium on Theoretical Aspects of Computer Science, STACS 2023, March 7-9, 2023, Hamburg, Germany, volume 254 of LIPIcs, pages 42:1–42:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.STACS.2023.42.
- [13] Mohsen Ghaffari and Bernhard Haeupler. Distributed algorithms for planar networks I: planar embedding. In George Giakkoupis, editor, Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing, PODC 2016, Chicago, IL, USA, July 25-28, 2016, pages 29–38. ACM, 2016. doi:10.1145/2933057.2933109.
- [14] Yuval Gil and Merav Parter. New distributed interactive proofs for planarity: A matter of left and right, 2025. doi:10.48550/arXiv.2505.00338.
- [15] Shafi Goldwasser, Silvio Micali, and Charles Rackoff. The knowledge complexity of interactive proof systems. SIAM J. Comput., 18(1):186–208, 1989. doi:10.1137/0218012.
- [16] Mika Göös and Jukka Suomela. Locally checkable proofs in distributed computing. Theory Comput., 12(1):1–33, 2016. doi:10.4086/TOC.2016.V012A019.
- [17] Atsuya Hasegawa, Srijita Kundu, and Harumichi Nishimura. On the power of quantum distributed proofs. In Ran Gelles, Dennis Olivetti, and Petr Kuznetsov, editors, Proceedings of the 43rd ACM Symposium on Principles of Distributed Computing, PODC 2024, Nantes, France, June 17-21, 2024, pages 220–230. ACM, 2024. doi:10.1145/3662158.3662788.
- [18] John Hopcroft and Robert Tarjan. Efficient planarity testing. Journal of the ACM (JACM), 21(4):549–568, 1974. doi:10.1145/321850.321852.
- [19] Gillat Kol, Rotem Oshman, and Raghuvansh R Saxena. Interactive distributed proofs. In Proceedings of the 2018 ACM Symposium on Principles of Distributed Computing, pages 255–264, 2018. URL: https://dl.acm.org/citation.cfm?id=3212771.
- [20] Amos Korman, Shay Kutten, and David Peleg. Proof labeling schemes. Distributed Comput., 22(4):215–233, 2010. doi:10.1007/S00446-010-0095-3.
- [21] Moni Naor, Merav Parter, and Eylon Yogev. The power of distributed verifiers in interactive proofs. In Shuchi Chawla, editor, Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020, pages 1096–115. SIAM, 2020. doi:10.1137/1.9781611975994.67.
Appendix
Appendix A Complexity of the LR-Sorting Protocol
For ease of presentation, our protocol is described in separate stages. Here, we observe that parts of the stages can be parallelized. First, we observe that the block construction stage can be implemented in three interaction rounds. Indeed, it starts with the prover encoding the block positions along with a proof that each block receives two consecutive numbers. Then, the verifier interacts with the prover to compute two multiset equality polynomials within each block. This can be done in two additional interaction rounds for a total of three. Similarly, the proofs of for inner-block edges , and the commitment scheme of outer-block edges can be completed within three rounds. Moreover, a correct execution of these steps does not depend on the execution of the block construction, thus they can be executed in parallel. We also note that the multiplicity values that are presented in the verification stage of outer-block edges can actually be precomputed by the prover and assigned during the first interaction (they are placed in the verification scheme strictly for the sake of clear presentation). Therefore, after three interaction rounds, it is the verifier’s turn to speak and the remaining task is the multiset equality protocol of the verification scheme of outer-block edges (here, notice that the verification scheme cannot be executed sooner as it depends on the values assigned in the commitment scheme). This takes two additional interaction rounds for a total of five rounds. Regarding proof size, a bound of is straightforward from the construction.
Appendix B Path-outerplanarity
In this section, we present a protocol that uses LR-sorting as a sub-task to decide whether a given graph is path-outerplanar. The properties of the protocol are specified in the following lemma.
Lemma B.1.
Suppose that there exists a distributed interactive proof for LR-sorting verification in planar graphs running in interaction rounds. Let be the proof size, be the completeness error, and be the soundness error of the LR-sorting protocol. Then, there is a distributed interactive proof for path-outerplanarity running in rounds and admitting a proof size of , a completeness error of , and a soundness error of .
As a consequence, we get Theorem 1.2.
Proof of Theorem 1.2.
The protocol is obtained by plugging the LR-sorting protocol of Lemma 4.2 into the statement of Lemma B.1. The rest of the section is dedicated to the description of the protocol that proves Lemma B.1. For clarity, the protocol is described in separate stages without regard for the number of interaction rounds. Then, by the end of the section, we explain how the protocol can be implemented within the desired amount of interaction. Throughout, is defined as a positive constant that can be made large enough to support the protocol’s soundness guarantee.
Committing to a path.
The protocol starts by having the prover commit to a Hamiltonian path of . To encode , the prover uses the labels of Lemma 2.3 where is rooted at the leftmost node in the path. Each node can verify that it has at most one child in the given tree encoding. Additionally, to verify that the given subgraph is indeed a Hamiltonian path of the graph, the prover and verifier execute the protocol of Lemma 2.5 amplified by means of a parallel repetition.
Observe that if the graph is indeed path-outerplanar, then the prover can successfully send the verifier a Hamiltonian path. Consequently, each node knows its path-edges and is able to differentiate between its right and left neighbor on the path. On the other hand, if the graph is not path-outerplanar, then the graph is either not Hamiltonian or not outerplanar. In the former case, the prover is not able to provide a Hamiltonian path which causes the verifier to reject with probability ; in the latter case, the prover is able to send the verifier a Hamiltonian path but the non-path edges are not properly nested.
LR-sorting.
This stage starts by having the prover inform the verifier whether or for every edge . To see how this is achieved, recall that in the simulation of edge-labels that proves Lemma 2.4, ’s label is written within the label of one of its endpoints. Let us refer to that endpoint as the endpoint accountable for . So, if is accountable for , then the prover assigns the bit to ’s sub-label associated with to signify that , and otherwise.
Following this assignment, the goal of the verifier is to check that all edges were labeled correctly by the prover, i.e., to check that if an edge was labeled , then indeed appears before in . To that end, the prover and verifier execute an LR-sorting protocol. To create an instance for LR-sorting, the edges of the graph are oriented according to the prover’s labeling. That is, if edge was labeled , then it is oriented from to .
Notice that if the verifier accepts the LR-sorting instance, then this means that the prover labeled all edges correctly (up to a soundness error of ). So, for the rest of the protocol, we assume that for every non-path edge , both endpoints know whether or . Notice that in particular, this means that each can distinguish between its left and right edges.
Nesting verification.
In this final stage, the goal is to verify that the non-path edges are properly nested. The stage starts with the prover informing the endpoints of each non-path edge , , whether it is the longest -right edge and whether it is the longest -left edge. This is done by assigning two bits within the label of the endpoint accountable for similarly to the previous stage.
Upon receiving the edge-labels, the verifier at each node runs the following checks. If has any right (resp., left) edges, then the verifier checks that exactly one of them is marked as longest -right (resp., -left) edge. In addition, for every right (resp., left) edge that was not marked longest -right (resp., -left), the verifier checks that it was marked longest -left (resp., -right). If one of the checks fail, then the verifier immediately rejects. Otherwise, samples a bitstring uniformly at random and sends it to the prover. For each non-path edge such that , define its name to be the pair .
After receiving the values from all nodes, the prover assigns to each edge its name through a sub-label and its successor’s name through a sub-label where the name of the virtual edge is defined by the designated symbol (recall that is the successor of edges with no real successor in the graph). Additionally, if edge has predecessors such that , then the prover assigns the label to every node such that . In other words, the prover assigns ’s name to all nodes for which is the first edge drawn entirely above them (including the endpoints of ’s predecessors; excluding the endpoints of ). In particular, if does not have any predecessors, then for all nodes such that . Observe that by definition, each node is associated with only one such edge and thus, receives only one edge name.
Consider a label assignment to the nodes and non-path edges. First, for each non-path edge , its endpoints verify that is consistent with their sampled values. Then, each node checks that there exists an ordering of its right edges, and an ordering of its left edges such that the following conditions are satisfied:
-
1.
and are marked as the longest -right and -left edges, respectively.
-
2.
for all , and for all .
-
3.
.
-
4.
if is ’s right neighbor on the path, then if the set of ’s right edges is non-empty, and otherwise.
-
5.
if is ’s left neighbor on the path, then if the set of ’s left edges is non-empty, and otherwise.
We note that a pair of orderings that satisfies the described conditions does not have to be unique. Also, notice that nodes which are not incident on any non-path edges only need to check that they were assigned the same value as their neighbors on the path (conditions (4) and (5)). This concludes the description of the nesting verification. We go on to establish its correctness.
Correctness of nesting verification.
Towards proving the completeness and soundness of the nesting verification, we show the following two observations.
Observation B.2.
Fix some node . If the prover marks the longest -right or the longest -left edge incorrectly, then the verifier rejects the instance with probability .
Proof.
Suppose that edge is the longest -right edge but not marked as such. Recall that by the initial verification conditions, must be marked as the longest -left edge (otherwise the verifier rejects). If has a right edge, then by verification conditions (1) and (3), the value should be identical to the value , where is the right edge of which is marked as longest. If does not have a right edge, then by verification conditions (3) and (4), the value should be identical to the value the value where is ’s right neighbor on the path. In either case, following the verification conditions we get that should be identical to of some edge such that . Moreover, the edge is fully determined by the marking of longest left and right edges by the prover (and in particular, determined before the sampling of names). Note that since is the longest -right edge and , it must hold that and thus, . On the other hand, since is not marked as the longest -right edge, by condition (2), the first element of should be . So, the verifier rejects unless which happens with probability . The case of longest left edges follows a similar reasoning. Going forward with the correctness proof, we shall assume that all longest left/right edges are marked correctly. For two nodes , denote by the set of nodes on the -subpath in .
Observation B.3.
Suppose that for a non-path edge , it holds that is path-outerplanar w.r.t. (i.e., the edges of are properly nested within ). If the verifier accepts the instance, then is the name of the successor of in for all non-path edges .
Proof.
Let be a non-path edge in and let and be its leftmost and rightmost predecessors, respectively. First, if , then it must hold that which means that is not the longest -left edge. Therefore, by condition (2) it must hold that the second element of is . Now, suppose that . Here, since is a predecessor of , it follows that is the longest -left edge. Applying conditions (1), (3), and (4) along the -path, we once again get that the second element of must be . For similar reasoning, we can deduce that the first element of is . Now, we observe that by conditions (1), (3), (4), and (5), every pair of adjacent siblings must have the same field. Therefore, every predecessor of must satisfy which concludes our proof. We can now prove the completeness and soundness of our protocol.
Lemma B.4.
The described nesting verification admits perfect completeness and a soundness error of .
Proof.
We start from completeness. First, we note that by Observation 2.1, the honest prover can mark each edge as longest -right/-left correctly. Furthermore, observe that the feasibility of the , , and labels assigned by the honest prover is guaranteed by Observation 2.2. Now, consider some node and let be its incident non-path edges such that . Given the labels assigned by the honest prover, the orderings and defined on the left and right edges of satisfy all the verification conditions, thus causing the verifier to accept.
We now establish the soundness guarantee. Let us define as an edge that admits a crossing edge such that but not a crossing edge such that . That is, is not crossed by edges that has an endpoint to the left of . Moreover, assume that is the deepest nested such edge, i.e., every edge where does not admit a crossing edge. Observe that if there exists a pair of crossing edges in the graph, then there exists an edge satisfying the assumptions stated above.
We start from the case where is the longest -left edge. Define to be the rightmost node incident on a right edge that crosses and define as the longest -right edge (by definition, crosses ). Let be ’s left edges ordered such that . Observe that by the assumptions on , it follows that . Moreover, all edges that are drawn below are properly nested. Therefore, Observation B.3 implies that if the verifier accepts the instance, then for every . Furthermore, recall that is marked as the longest -left edge. Thus, for condition (2) to be satisfied at node , it must also hold that .
To show that the verifier is likely to reject in this case, the idea is to define a sequence of edges that must agree with on their value, but also must have as their value’s first element. This implies that the verifier rejects unless which happens with probability . The sequence of edges is defined as follows. Start by taking to be the closest node to incident on a left edge and set as the longest -left edge. Then, take to be the closest node to incident on a left edge and set as the longest -left edge. Continue this process until reaching such that all nodes such that are not incident on a left edge. Notice that the sequence construction is feasible since by our assumption on , no edge within crosses (and thus, the sequence is entirely to the right of ). Moreover, since is the rightmost node incident on a right edge crossing , it follows that every edge in the sequence is the longest -right edge. We note that the verification conditions dictate that every pair of adjacent edges in the sequence should have the same value and that . On the other hand, for to satisfy condition (4), the first element of must be which concludes the soundness for this case.
We move on to the case where is not the longest -left edge. If is also not the longest -right edge, then by the construction the verifier rejects. So, assume that is the longest -right edge. Let be the leftmost node incident on an edge crossing and let be the longest -right edge (by definition, crosses ). By similar measures to the previous case, it is possible to find a sequence of edges such that must satisfy ; and the first element of is for each . On the other hand, by similar reasoning to the one presented in the proof of Observation B.2, it must hold that for some edge such that . Moreover, this edge is fully determined by the marking of longest left and right edges by the prover (and in particular before the sampling of names). Recall that and that is the longest -right edge. Therefore, it must hold that which means that the probability of is at most .
Analysis of the protocol.
By construction, the proof size of the protocol is . Moreover, all stages apart from the black-box use of the LR-sorting protocol admit perfect completeness and a soundness error of . Thus, by union bound arguments, the completeness error of the protocol is and the soundness error is . Of course, taking a sufficiently large , we can have a soundness error of as desired. Finally, regarding the number of interaction rounds, we note that all stages can be executed in parallel without affecting the correctness of the algorithm. It is straightforward to see that the stages committing to a path and nesting can be implemented in interaction rounds. Since the LR-sorting protocol requires rounds, we get that in total the protocol runs in rounds.
Appendix C Additional Related Work
Beyond planarity.
Following the introduction of efficient distributed proof systems for planarity [21, 6], researchers have become interested in distributed proof systems for other graph families. The aforementioned compiler of [21] implies a three-round distributed interactive protocol with proof size for families of sparse graphs (i.e., edges) that admit a linear-time recognition algorithm. These include, e.g., bounded genus graphs and outerplanar graphs. Distributed proofs for bounded genus graphs were studied further in [5, 7] where proof labeling schemes with a proof size of are presented. For outerplanar graphs, a proof labeling scheme with a proof size of is presented in [2]. Additionally, the authors show similar results for a myriad of minor-free graphs.
Distributed interactive proofs variants.
In [4], trade-offs between different parameters of the DIP model are explored. The parameters considered include the form of randomness, the complexity measures, and the number of interaction rounds. Recently, the notion of distributed quantum interactive proofs was introduces by the authors of [12] as a quantum variant of distributed interactive proofs. The main result of [12] is a generic transformation from a -round “standard” proof into a -round quantum proof for any constant . Distributed quantum proofs have also been considered in a non-interactive setting in [8, 17]. Another exciting variant that was introduced recently in [1] is that of a distributed zero-knowledge proof. In particular, the authors adapt the classical notion of knowledge from the centralized setting (as defined in [15]) to a distributed setting.
