1841 \lmcsheadingLABEL:LastPageDec. 04, 2020Oct. 21, 2022
*This is an extended version of a paper published at LICS 2020 [Acclavio2020].
An Analytic Propositional Proof System on Graphs
Abstract.
In this paper we present a proof system that operates on graphs instead of formulas. Starting from the well-known relationship between formulas and cographs, we drop the cograph-conditions and look at arbitrary (undirected) graphs. This means that we lose the tree structure of the formulas corresponding to the cographs, and we can no longer use standard proof theoretical methods that depend on that tree structure. In order to overcome this difficulty, we use a modular decomposition of graphs and some techniques from deep inference where inference rules do not rely on the main connective of a formula. For our proof system we show the admissibility of cut and a generalisation of the splitting property. Finally, we show that our system is a conservative extension of multiplicative linear logic with mix, and we argue that our graphs form a notion of generalised connective.
Key words and phrases:
Proof theory, prime graphs, cut elimination, deep inference, splitting, analyticity1. Introduction
The notion of formula is central to all applications of logic and proof theory in computer science, ranging from the formal verification of software, where a formula describes a property that the program should satisfy, to logic programming, where a formula represents a program [miller:uniform, Kobayashi1993], and functional programming, where a formula represents a type [howard:80]. Proof theoretical methods are also employed in concurrency theory, where a formula can represent a process whose behaviours may be extracted from a proof of the formula [miller:pi, bruscoli:02, FAGES200114, deng_simmons_cervesato_2016, OLARTE201746, NIGAM201735, horne:19, Horne2019b, Horne2020]. This formulas-as-processes paradigm is not as well-investigated as the formulas-as-properties, formulas-as-programs and formulas-as-types paradigms mentioned before. In our opinion, a reason for this is that the notion of formula reaches its limitations when it comes to describing processes as they are studied in concurrency theory.
For example, Guglielmi’s BV [gug:SIS] and Retoré’s pomset logic [Retore1997] are proof systems which extend linear logic with a notion of sequential composition and can model series-parallel orders.111In his PhD-thesis [retore:phd], Retoré considers all partial ordered multisets, but in later versions [retore:21] only series-parallel orders are considered to maintain the correspondence to formulas.,222It has long been believed that BV and pomset logic are the same, but recently it has been shown that this is not the case [tito:lutz:csl22, SIS-III]. However, series-parallel orders cannot express some ubiquitous patterns of causal dependencies such as the logical time constraints on producer-consumer queues [Lodaya2000], which are within the scope of pomsets [Pratt1986], event structures [Nielsen1985], and Petri nets [Petri1976]. The essence of this problem is already visible when we consider symmetric dependencies, such as separation, which happens to be the dual concept to concurrency in the formulas-as-processes paradigm.
Let us use some simple examples to explain the problem. Suppose we are in a situation where two processes and can communicate with each other, written as , or are separated from each other, written as , such that no communication is possible. Now assume we have four atomic processes , , , and , from which we form the two processes and . Both are perfectly fine formulas of multiplicative linear logic () [girard:87]. In , we have that is separated from but can communicate with and . Similarly, can communicate with and but is separated from , and so on. On the other hand, in , can only communicate with and is separated from the other two, and can only communicate with , and is separated from the other two. We can visualise this situation via graphs where , , , and are the vertices, and we draw an edge between two vertices if they are separated, and no edge if they can communicate. Then and correspond to the two graphs shown below.
| (1) |
It should also be possible to describe a situation where is separated from , and is separated from , and is separated from , but can communicate with and , and can communicate with , as indicated by the graph below.
| (2) |
An example of this behaviour could arise in the setting of concurrent processes, where four processes , , , and satisfy information flow constraints such that and can communicate; and can communicate; and and can communicate, and no further communications are possible. This models an intransitive information flow, since we have two processes, and , which can communicate with each other, and respectively with and ; yet the same processes must also ensure that no information flows between and . However, the graph (2) cannot be described by a formula in the way illustrated for the two graphs in (1).
This means that the tools of proof theory, which have been developed over the course of the last century and which were very successful for the formulas-as-properties, formulas-as-programs, and formulas-as-types paradigms, cannot be used for the formulas-as-processes paradigm unless we forbid situations as in (2) above. This seems to be a very strong and unnatural restriction (that is, it is an a posteri restriction imposed by the use of formulas, with no a priory justification stemming from process modelling problems). The purpose of this paper is to propose a way to change this unsatisfactory situation.
We will present a proof system, called (for graphical proof system), whose objects of reason are not formulas but graphs, giving the example in (2) the same status as the examples in (1). In a less informal way, one could say that standard proof systems work on cographs (which are the class of graphs that correspond to formulas as in (1) [duffin:65]), and our proof systems works on arbitrary graphs. In order for this to make sense, our proof system should obey the following basic properties:
-
(1)
Consistency: There are graphs that are not provable. In particular, if only a finite number of graphs is provable (or not provable) then the proof system would not be interesting.
-
(2)
Transitivity: The proof system should come with an implication that is transitive, i.e., if we can prove that implies and that implies , then we should also be able to prove that implies .
-
(3)
Analyticity: As we no longer have formulas, we cannot ask that every formula that occurs in a proof is a subformula of its conclusion. However, we can investigate a graph theoretical version of this idea, and we can ask that in a proof search situation, there is always only a finite number of ways to apply an inference rule.
-
(4)
Minimality: We want to make as few assumptions as possible, so that the theory we develop is as general as possible.
Properties 1-3 are standard for any proof system, and they are usually proved using cut elimination. In that respect our paper is no different. We introduce a notion of cut and show its admissibility for . Then Properties 1-3 are immediate consequences.
Property 4 is of a more subjective nature. In our case, we only make the following two basic assumptions:
-
(1)
For any graph , we should be able to prove that implies . This assumption is almost impossible to argue against, so can be expected for any logic.
-
(2)
If a graph is provable, then the graph is also provable, provided that is a provable context.333Formally, the notation means that is a module of , and is the graph obtained from by removing all vertices belonging to . We give the formal definition in Section LABEL:sec:modules. This can be compared to the necessitation rule of modal logic, which says that if is provable then so is , except that in our case the is replaced by the provable graph context .
All other properties of the system follow from the need to obtain admissibility of cut. This means that this paper does not present some random system, but follows the underlying principles of proof theory. For a more detailed philosophical presentation of these principles, we refer the reader to Appendix LABEL:sec:phil.
We also target the desirable property of conservativity. This means that there should be a well-known logic (based on formulas) such that the restriction of our proof system to those graphs that correspond to formulas proves exactly the theorems of . This cannot be an assumption used to design a logical system, since it would create circularity (to specify a logic we need a logic); conservativity is more so a cultural sanity condition to check that we have not invented an esoteric logic. In our case, conservativity will follow from cut admissibility, and the logic is multiplicative linear logic with mix () [girard:87, bellin:mix, fleury:retore:94].
Let us now summarise how this paper is organised: In Section 2, we give preliminaries on cographs, which form the class of graphs that correspond to formulas as in (1). Then, in Section LABEL:sec:modules we give some preliminaries on modules and prime graphs, which are needed for our move away from cographs, so that in Section LABEL:sec:system, we can present our proof system, which uses the notation of open deduction [gug:gun:par:2010] and follows the principles of deep inference [gug:str:01, brunnler:tiu:01, gug:SIS]. To our knowledge, this is the first proof system that is not tied to formulas/cographs but handles arbitrary (undirected) graphs instead. In Section LABEL:sec:properties we show some properties of our system, and Sections LABEL:sec:splitting and LABEL:sec:upfrag are dedicated to cut elimination, which is the basis for showing properties (1), (2), and (3), mentioned above. We also explain the technology we must develop in order to be able to prove cut elimination for our proof system. The interesting point is that, not only do we go beyond methods developed for the sequent calculus, but we also go beyond methods developed for deep inference on formulas. In particular, we require entirely new statements of the tools called splitting and context reduction, and furthermore their proofs are inter-dependent, whereas normally context reduction follows from splitting [SIS-V, gug:tub:split].
Then, in Section LABEL:sec:MLL, we not only show that our system is a conservative extension of , we also show a form of analyticity for our system. Finally, in Section LABEL:sec:generalised, we show how our work is related to the work on generalised connectives introduced in [girard:87:b, danos:regnier:89]. We end this paper with a discussion of related work in Section LABEL:sec:relatedWork and a conclusion in Section LABEL:sec:conclusion.
Compared to the conference version [Acclavio2020] of this paper, there are the following three major additions:
-
•
We give detailed proofs of the Splitting Lemma and the Context Reduction Lemma (in Section LABEL:sec:splitting and Appendix LABEL:sec:splittingproofs), which are crucial for the cut elimination proof. In fact, we also completely reorganised the proofs with respect to the technical appendix of [Acclavio2020]444That appendix is available at https://hal.inria.fr/hal-02560105.. For proving these lemmas, we could not rely on the general method that has been proposed by Aler Tubella in her PhD [tubella:phd].
-
•
We present a notion of analyticity for proof systems on graphs and show that our system is analytic in that respect (in Section LABEL:sec:MLL).
-
•
We show that general graphs with vertices can be seen as generalised -ary connectives (in Section LABEL:sec:generalised), and we compare this notion with the existing notion of generalised (multiplicative) connective [girard:87:b, danos:regnier:89, mai:19, acc:mai:20].
- •
Finally, let us argue that logics are not designed but discovered. They typically follow logical principles where design parameters are limited. For example, we will see that we do not get to chose whether or not the following implications hold:
| (3) |
There is no pre-existing semantics or proof system we can refer to at this point. Nonetheless, from the above discussed principles we can argue, that in a logic on graphs, the former implication in (3) cannot hold while the latter must hold. Over the course of this paper, we explore the design of proof systems on graphs based on logical principles, which enables us to confidently state such facts.
2. From Formulas to Graphs
In this preliminary section we recall the basic textbook definitions for graphs and formulas, and their correspondence via cographs.
A (simple, undirected) graph is a pair where is a set of vertices and is a set of two-element subsets of . We omit the index when it is clear from the context. For we write as an abbreviation for . A graph is finite if its vertex set is finite. Let be a set and be a graph. We say that is -labelled (or just labelled if is clear from the context) if every vertex in is associated with an element of , called its label. We write to denote the label of the vertex in . A graph is a subgraph of a graph , denoted as iff and . We say that is an induced subgraph of if is a subgraph of and for all , if then . For a graph we write for its number of vertices and for its number of edges.
In the following, we will just say graph to mean a finite, undirected, labelled graph, where the labels come from the set of atoms which is the (disjoint) union of a countable set of propositional variables and their duals .
Since we are mainly interested in how vertices are labelled, but not so much in the identity of the underlying vertex, we heavily rely on the notion of graph isomorphism.
Two graphs and are isomorphic if there exists a bijection such that for all we have iff and . We denote this as , or simply as if is clear from the context or not relevant.
In the following, we will, in diagrams, forget the identity of the underlying vertices, showing only the label, as in the examples in the introduction.
In the rest of this section we recall the characterisation of those graphs that correspond to formulas. For simplicity, we restrict ourselves to only two connectives, and for reasons that will become clear later, we use the (par) and (tensor) of linear logic [girard:87]. More precisely, formulas are generated by the grammar
| (4) |
where is the unit, and can stand for any propositional variable in . As usual, we can define the negation of formulas inductively by letting for all , and by using the De Morgan duality between and : and ; the unit is self-dual: .
On formulas we define the following structural equivalence relation:
| (5) |
In order to translate formulas to graphs, we define the following two operations on graphs:
Let and be graphs. We define the par of and to be their disjoint union and the tensor to be their join, i.e.:
These operations can be visualised as follows:
| (6) |
For a formula
Theorem 1.
For any two formulas,
Proof 2.1.
By a straightforward induction.
A graph is
Definition 2.
| (7) |
The following result is classical and its proof can be found, e.g., in [moh:89] or [gug:SIS].
Theorem 3 ([duffin:65]).
Let
The graphs characterised by Theorem 3 are called