НЕКОТОРЫЕ ЗАМЕТКИ О СЛОЖНОСТЯХ ВЫВОДОВ В
СИСТЕМАХ ФРЕГЕ
Чубарян А.А.
Факультет информатики и прикладной математики, Ереванский государственный универси-тет,Российско-Армянский университет, Ереван, доктор физ.мат.наук,профессор
Петросян Г.В.
Факультет информатики и прикладной математики, Ереванский государственный университет,
Ереван, магистрант
SOME NOTES ON PROOF COMPLEXITIES IN FREGE
SYSTEMS
Chubaryan А.А.
Department of Informatics and Applied Mathematics, ,YerevanState University, Russian-Armenian University, Yerevan, Doctor of Sciences, Full Professor
Petrosyan G. W.
Department of Informatics and Applied Mathematics, Yerevan State University, Yerevan, Master student
АННОТАЦИЯ
В настоящей статье мы представляем некоторые результаты о сложностях выводов в системах Фреге. Сначала мы вводим понятие формулы специального вида и доказываем, что множество всех тавтологий длины n имеют полиномиально ограниченные сложности выводов в системах Фреге тогда и только тогда, когда таковыми являются выводы формул специального вида длины n. Далее мы доказываем, что все балансированные тавтологии в дизъюнктивной нормальной форме длины n также имеют полиномиально ограниченные сложности выводов в системах Фреге. В конце даются несколько заметок об соотношениях сложностей выводов тавтологий An , Bn и формул в форме An*Bn, где * одна из цвязок A,V или з.
ABSTRACT
We present in this paper some results about Frege proof complexities. At first we introduce the notion of specific tautologies and show that Frege systems must have a polynomial size p(n) proof for every tautology of size n iff the proofs of all specific tautologies of size n are polynomially bounded. Then we show, that all balanced tautologies in disjunctive normal form of size n also have Frege proofs with polynomially bounded sizes. Lastly we give some notes about relations between the proof complexities of tautologies An and Bn and proof complexities of the tautologies in a form An*Bn, where * is A,V or з.
Ключевые слова: теория сложности, теория сложностей пропозициональных выводов, сложности выводов, системы Фреге, балансированные формулы.
Keywords: complexity theory, propositional proof theory, proof complexity, Frege systems, balanced formulas.
1. Introduction
One of the most fundamental problems of the proof complexity theory is to find an efficient proof system for classical propositional calculus. There is a wide spread understanding that polynomial time com-putability is the correct mathematical model of feasible computation. According to the opinion, a truly "effective" system must have a polynomial size p(n) proof for every tautology of size n. In [1] Cook and Reck-how named such a system a super system. They showed that NP = coNP iff there exists a super system. Lately it is proved in [2] that NP=PSPACE by showing that arbitrary tautologies of Johansson's minimal proposi-tional logic admit "small" polynomial-size dag-like natural deductions in Prawitz's system for minimal propositional logic. As corollary from this result follows that NP = coNP = PSPACE, hence it must be some propositional proof system, which is super system. It is well known that many systems are not super. This question about Frege system, the most natural calculi for propositional logic, is still open.
In this paper we present some results about Frege proof complexities. At first we introduce the notion of specific tautologies and show that Frege systems will be super iff the proofs of all specific tautologies of size n are polynomially bounded. Then we show, that all balanced tautologies in disjunctive normal form of size n also have proofs with polynomially bounded sizes. Lastly we give some results about relations between the proof complexities of tautologies An and Bn and proof complexities of the tautologies in a form An*Bn, where * is A,v or 3.
2. Preliminaries
We will use the current concepts of the unit Boolean cube (En), a literal, a propositional formula, a disjunctive normal form (DNF), a classical tautology, Frege proof systems for classical propositional logic, proof and proof complexity [1]. Let us recall some of them.
A Frege system T uses a denumerable set of prop-ositional variables, a finite, complete set of proposi-tional connectives; T has a finite set of inference rules
Ai A^ • • • Am
defined by a figure of the form-(the rules
B
of inference with zero hypotheses are the axioms schemes); T must be sound and complete, i.e. for each A A ... A
rule of inference - every truth-value as-
B
signment, satisfying A1A2 ... Am, also satisfies B,
and T must prove every tautology.
The particular choice of a language for presented propositional formulas is immaterial in this consideration. However, because of some technical reasons we assume that the language contains the propositional variables pt (i > 1) and (or) (i >1;j> 1), logical connectives -A v, 3 and parentheses (,). Note that some parentheses can be omitted in generally accepted cases. Note that our convention for serial disjunction A1V A2V .V Ak (conjunction A1AA2A.AAk) is associated from left to right.
By | (p | we denote the size of a formula (p, defined as the number of all logical signs entries in it. It is obvious that the full size of a formula, which is understood to be the number of all symbols is bounded by some linear function in | ^ |.
2.1. Proof complexity measures
In the theory of proof complexity four main characteristics of the proof are: t- complexity (length), defined as the number of proof steps, /-complexity (size), defined as sum of sizes for all formulas in proof (size), s-complexity (space), informal defined as maximum of minimal sum of sizes for formulas on blackboard needed to verify all steps in the proof (formal definitions are for example in [3]) and w-complexity (width), defined as the maximum of sizes of proof formulas.
Let $ be a proof system and 9 be a tautology. We denote by t^the minimal possible value of t-complexity (/-complexity, ¿--complexity, w-complex-ity) for all ^-proofs of tautology 9.
By analogy we can define the mentioned proof complexity characteristics for the proof of any formula A from premises r and denote them respectively by
^T-A 0r%, Wr>-A, STT-A).
Let M be some set of tautologies.
Definition 2.1.1. We call the ^-proofs of tautologies from a set M t-polynomially (/- polynomially, s-polynomially, w- polynomially) bounded if there is a polynomial p() such that t^< p( I9 I) (/^< p( I9 I), < p( I9 I), Wy < p( I9 I)) for all 9 from M.
Definition 2.1.2. We call the ^-proofs of tautologies from a set M t-linearly (/- linearly, s- linearly, w-linearly) bounded if there is a linear function f() such that t*< f I9 I) (Z*< f( I9 I), < < a I9 I), w*< a I9 I)) for all 9 from M.
2.2. Essential subformulas of tautologies
For proving the main results we use also the notion of essentia/ subformu/as, introduced in [4].
Let F be some formula and Sf (F) be the set of
all non-elementary subformulas of formula F.
For every formula F , for every ç g Sf (F) and for every variable p by FÇ is denoted the result of the replacement of the subformulas Ç everywhere in F by the variable p . If ç £ Sf (F), then F? is
F.
We denote by Var(F) the set of variables in F
Definition 2.2.1. Let p be some variable that p £ Var(F ) and ç g Sf (F ) for some tautology F . We say that Ç is an essential subformula in F iff FÇ is non-tautology.
We denote by Essf(F) the set of essential subformulas in tautology F .
If F is minimal tautology, i.e. F is not a substitution of a shorter tautology, then Essf (F) = Sf (F) .
In [4] the following statement is proved.
Proposition 1. Let F be a minimal tautology and ç g Essf (F), then in every ^-proof of F subformula Ç must be essential either at least in some axiom, used in proof or in formulae Ai3 (A23 (...3Am)...) 3
A1A2 — Am
B for some used in proof inference rule
B
Note (1) that for every Frege system the number of mentioned essential subformulas is bounded with some constant.
Definition 2.2.2 Let p and q be some variables that p £ Var (A) and q £ Var (A) for some tautology A, cp and ^ are subformulas of A such that neither cp nor ^ are subformula of each other. We say that (p and ^ are an essential pair of subformulas in A iff A^'^ is non-tautology.
By analogy to statement of Proposition 1. it is not difficult to prove the following statement.
Proposition 2. Let A be a minimal tautology and pair ç, ^ belong to the set of essential pairs of subformulas in A, then in every ^-proof of A pair ç, ^ must be essential either at least in some axiom, used in proof or in formulae A13 (A23 (.3Am).) 3 B for some
A1A2 — Am
used in proof inference rule
B
Definition 2.2.3 The set of essentia/ pairs of subformu/as in a tautology A is called canonic if every subformula of A has entry into no more than one pair of this set.
Note (2) that for every Frege system the number of pairs in the canonic set of essentia/ pairs of subformu/as both for every axiom and for formulae Ai 3 (A23 (...3Am)...) 3 B of every proof inference rule
A1A2 Am •
B
is bounded with some constant. Really
by Note (1) the number of essential subformulas both for every axiom and for formulae A13 (A23
(...3Am)...) з B of every proof inference rule
A1A2 — Am
B
is bounded with some constant and they
can be only in one pair from canonic set of essential pairs of subformulas.
Some of definitions can be given further.
3. Main results.
Here we give the main results, mentioned in Introduction.
3.1. The role of specific formulas
Definition 3.1. Any propositional formula A is called specific if it is in the following form: A = p з (A1V A2V ...V Ak) (к > 1), where p is a literal (variable or negation of variable), neither A1V A2V ...V Ak nor every At(1< i < k) are tautology or contradiction and .
Theorem 1. Let M be the set of all specific tautologies. If ^-proofs of formulas from the set M are t-polynomially (l- polynomially, s- polynomially, w-polynomially) bounded, then ^-proofs of all tautologies are t-polynomially (l- polynomially, s- pol-ynomially, w- polynomially) bounded.
For proving this theorem we at first give two auxiliary statements.
Lemma 3.1. If for a ^-proof of any formula B from premises Г,А trAhB(lr,
then ^АзВ^АзВ'^АзВ'^Азв) < Cn for some
constant c.
Proof of this statement follows obviously from the proof of deduction theorem.
Lemma 3.2. The ^-proofs of formulas from the following set
1) С з(В зС)
2) BVC = -B зС
3) -В з( В з С)
4) С з (В з С АВ)
5) (-С з -В) = (ВзС)
6) —(В V С) = -В А-С
7) -(В АС) = -BV-C
8) -(В зС) =В А-С
are t-linearly (l- linearly, s- linearly, w- linearly) bounded for every formulas B and C.
Proof of this statement is obvious.
Proof of Theorem 1. Given tautology A can be in one of the following form a) A = В АС , b) A = В з С, c) A = BVC , d)-A1. Use the tautologies 2),6),7),8) of Lemma 2. the formula A can be presented in the form a) or b), hence we can observe only these cases.
In the case a) the formulas В and С must be tautology, hence we can derive every of them and then use a proof of formula С з (В з С А В) derive the formula A. So in the case a) proof of A reduces to proofs of two smaller tautologies.
Let we have the case b). If the formula С is tautology, then we can derive the formula С, then use a proof of С з (В з С) we can derive A. If the formula В is contradiction, then we can derive the formula
-B, then
use a proof of -В з( В з С) we can derive A. In the other cases i) if | В | > | С |, then we can at first derive С from the premise В and by deduction theorem derive A with no more than linear increase of complexities
characteristics (Lemma 3.1.), ii) if | С |>| В |, then we can at first derive —В from the premise — С and by deduction theorem derive (—С з —В) also with no more than linear increase of complexities characteristics (Lemma 3.1.) and use the proof of formula (—С з —В) з (В з С) derive A. So in the case b) proof of A reduces to proof С from the premise В or to proof —B from the premise — С.
Later we must analyze as above the formulas В and С in the case a) and the formula С or the formula —B in the case b). Note that in the last case we must already take into consideration the truth values of premises also.
We do all mentioned steps until we must obtain a proof of some literal p from the premises A1,A2,..., Ak, every of each is either some subformula or negation of some subformula of formula . In the other words we must derive the formula (A1 AA2 A ...AAk) з p, which we can do using the proof of specific formula —p з —A1 V —A2 V ... V —Ak.
So the proof of tautology A reduces to proofs of no more than | A | numbers specific tautologies. Every step of reducing gives to the size (the others complexities characteristics) of proof no more than linear increase with some constant c and number of steps is no more than log2| A I, hence general increasing is no
с
more than с g21 AI, which is no more than| A |2. Note that every step of reducing can be also do inversely with the same property. □
3.2. Proof complexities of balanced DNF
Here we investigate the proof complexities characteristics for some set of tautologies, given in DNF (DNF-tautologies).
Definition 3.2.1. A propositional formula called balanced if every variable has only two occurrences in it: one positive and one with negative.
It is shown in [5] that problem on polynomially bounded sizes of proofs for all tautologies reduced to problem on polynomially bounded sizes of proofs for all balanced tautologies.
Definition 3.2.2. DNF-tautology is correct if DNF, obtained from it by removing of any conjunct, is no tautology already.
Lemma 3.2. The number of conjuncts in balanced correct DNF-tautology with n variables is n+1.
Proof is given by induction on number n of variables in a balanced DNF-tautology A. By n=1 we have A = pV —p. Suppose that statement is valid for number of variables < n. If the number of variables is n+1, then correct DNF must have at least one conjunct with at least two literals pp"22. After assigning a: to variable pi± everywhere in given DNF, both the number of variables and the number of conjuncts decrease with one, hence the number of conjuncts in primary DNF must be n+2.
Corollary. Every balanced correct DNF-tautology has at least one conjunct, consisting from one literal.
Theorem 2. The ^-proofs of all balanced correct DNF-tautologies are t-polynomially (l- polynomially, s- polynomially, w- polynomially) bounded.
Proof. Let the variables of given balanced correct
A = K.VKnV ...V K„
are
DNF-tautology p1,p2,.,pn• To derive A we take —A as premise and proof a contradiction. We have — A = 01Л02Л . ЛОп+1, where D^ = —Kt in a form D^ = p"1 V pf22 V ... V p"rr («j 6 {0,1}; (1 < i < n + 1). On the base of Di we construct the formula Ei by adding instead of every variable pj from p1 ,p2,...,p„, which has no occurrence in Dt, the formula p1 л —p1 on the j-th place with disjunction. It is obvious that Dt = Et and this equivalence can derive with polynomially bounded characteristics of proof complexities. By these notation we have that formula —A is equivalent to formula A = л?=1 Ei. Now we introduce the new propositional variables Pij (1 < i < s, 1 < j < n), where is true, if variable p_, has occurrence in Di and py is false for the opposite case, and construct on the base of Ei the new disjunctions D i by replacement both primary literals and formulas p1 л —p1 by the corresponding variables
Pij.
Now we take with consideration that the well known formulas of Pigeon Hole Principle PHPn = лГ=0<-1 Pik ^v£l1Vo<Kji<n (pik л pjk) have polynomially bounded size of ^-proofs [1]. Use this fact we can derive the formulas л^="11 D t з Vj=1V1<i<k<n+1 (Pij л pkj) and then by modus ponens derive the formulas Cn= VL^ <i<k<n+1 (Pij лРк]). Denote by Hn the formulas л7=1л1<кк<п+1 —(py л pkj). It is not difficult to derive formulas Hn3 — Cn with polynomially bounded size. If for every i,j we denote by [py ] either the primary literal or formula p1 л —p1 from formula Ei, then it is obvious, that
a) every formula [Hn ] = л^лк^^! —([Pij] л [pkj]) is tautology,
b) the formulas [Hn ], [Hn
([Pij] л [pkj]) ) and
[PHPn] ^LoV^o1 [pifc] 3V^1Vo,i<j<n ([pik] л [pjk]) have polynomially bounded size of ^-proofs [1] , hence we can derive contradiction. □
3.3. Some properties of ^-proofs for the formulas in a form A*B.
Here we investigate the complexity characteristics of ^-proofs for formulas in the form An = Bn* Cn, where Bn and Cn are tautologies and * is л^ or з.
Theorem 3.
1.a) There are tautologies Bn and Cn such that tfn = tTCn = 0(n), = lTCn = 0(n2), but for An = Bn V Cn tjn = 0(1) and = 0(n),
b) There are tautologies Bn and Cn such that t£n = tTCn = 0(n), = = 0(n2) and for An = Bn V Cn t£n = 0(n) and l£n = 0(n2) also.
2. For every tautologies Bn and Cn if Ап = Впл Cn, then tjn = 0(max(tfn, t£n)) and Zjn = 0(max(Zfn
A)).
3.a) For every tautologies Bn and Cn if An = Bn 3 Cn, then tjn = 0(tcn) and Zjn = 0(C)).
b) There are tautologies Bn and Cn such that for An = Bn 3 Cn tjn = n(tfn) and Zjn = n(Z?n)).
Proof. The main role for proof of some points of this theorem plays the tautologies Dn(p) =
2 n
— — ... — (—pVp) , the number of essential subformulas of which is n.
For proving the point l.a) we use the properties of essential subformulas for tautologies Bn = Dn (p)Vq , qVDn(p) and An = BnV Cn, last of which can be derive from the formulas Dn(p)V((qV—q)VDn(p)) with constant steps and linear sizes.
For proving the point l.b) we use the properties for the canonic set of essential pair of subformulas for the tautologies An(p,q)= (Dn(p))V(Dn(q)), the canonic set of essential pair of subformulas for which
are the pairs ——'. . . — (—pVp), every i 6(1,2, ...,2n}. Proof of the point
¡(—qVq) for
2. is obvious. Really, the
formula An = Bn л Cn can be derived by using the
derivations of tautologies Bn , Cn Every of the formulas Bn and Cn
and Бз(Сз(БлС). can be derived by
using the derivations of tautologies Bn A Cn , B ACoB and B AC3C.
Proof of the point 3.a) is obvious.
For proving the point 3 .b) we use the properties of essential subformulas for tautologies An(p,q) = (Dn(p)) 3 (Dn(q)). Really, every essential subformula of tautologies Dn(q) must be esential for tautologies An(p, q) also. □
Acknowledgments
This work arose in the context of propositional proof complexity research supported by the Russian-Armenian University from founds of MESRF
References
1. S.A.Cook, A.R.Reckhow: The relative efficiency of propositional proof systems, Journal of Symbolic logic, vol. 44, 1979, 36-50.
2. L. Gordeev, E. H. Haeusler, NP vs PSPACE, arXiv:1609.09562v1 [cs.CC] 30 Sep 2016
3. Nordstrom Jakob. Narrow proofs may be spacious: Separating space and width in resolution. SIAM Journal on Computing, 39(1):59-121, May 2009.
4. A.A. Chubaryan, On complexity of the proofs in Frege system, CSIT Conference, Yerevan, 2001, 129-132.
5. Lutz StraBburger: Extension without Cut,INRIA Saclay—Tle-de-France and Ecole Polytechnique, LIX, Rue de Saclay, 91128 Palaiseau Cedex, France