Lean clause-sets: Generalizations of minimally. unsatisable clause-sets. Oliver Kullmann. University of Toronto. Toronto, Ontario M5S 3G4

Similar documents
On a generalization of extended resolution

SWANSEA UNIVERSITY REPORT SERIES

12345efghi UNIVERSITY OF WALES SWANSEA REPORT SERIES

12345efghi UNIVERSITY OF WALES SWANSEA REPORT SERIES

1 Introduction A general problem that arises in dierent areas of computer science is the following combination problem: given two structures or theori

Boolean Algebra and Propositional Logic

Lecture 14 - P v.s. NP 1

NP-Completeness of Refutability by Literal-Once Resolution

3 Propositional Logic

The Strength of Multilinear Proofs

An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees

Computing the acceptability semantics. London SW7 2BZ, UK, Nicosia P.O. Box 537, Cyprus,

Lecture 15 - NP Completeness 1

Boolean Algebra and Propositional Logic

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

Equational Logic. Chapter Syntax Terms and Term Algebras

Interpolation theorems, lower bounds for proof. systems, and independence results for bounded. arithmetic. Jan Krajcek

Lower Bounds for Cutting Planes Proofs. with Small Coecients. Abstract. We consider small-weight Cutting Planes (CP ) proofs; that is,

Tree sets. Reinhard Diestel

The Strong Largeur d Arborescence

Multiplicative Conjunction and an Algebraic. Meaning of Contraction and Weakening. A. Avron. School of Mathematical Sciences

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

The cocycle lattice of binary matroids

Out-colourings of Digraphs

Efficient Approximation for Restricted Biclique Cover Problems

Upper and Lower Bounds for Tree-like. Cutting Planes Proofs. Abstract. In this paper we study the complexity of Cutting Planes (CP) refutations, and

2 Z. Lonc and M. Truszczynski investigations, we use the framework of the xed-parameter complexity introduced by Downey and Fellows [Downey and Fellow

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Rina Dechter and Irina Rish. Information and Computer Science. University of California, Irvine.

Generalizations of Matched CNF Formulas

NP-Complete problems

Design of abstract domains using first-order logic

Critical Reading of Optimization Methods for Logical Inference [1]

2 PAVEL PUDLAK AND JIRI SGALL may lead to a monotone model of computation, which makes it possible to use available lower bounds for monotone models o

Some Complexity Problems on Single Input Double Output Controllers

Proof Theoretical Studies on Semilattice Relevant Logics

Min-Rank Conjecture for Log-Depth Circuits

Propositional and Predicate Logic - V

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

Resolution and the Weak Pigeonhole Principle

Theory of Computation Chapter 9

Boolean constraint satisfaction: complexity results for optimization problems with arbitrary weights

2.5.2 Basic CNF/DNF Transformation

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

The Complexity and Approximability of Finding. Maximum Feasible Subsystems of Linear Relations. Abstract

Binary Decision Diagrams

ACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms

Polynomial-time Reductions

A Study on Monotone Self-Dual Boolean Functions

NP-completeness. Chapter 34. Sergey Bereg

arxiv: v1 [cs.dm] 29 Oct 2012

Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems

MATH 326: RINGS AND MODULES STEFAN GILLE

Binary Decision Diagrams. Graphs. Boolean Functions

Subclasses of Quantied Boolean Formulas. Andreas Flogel. University of Duisburg Duisburg 1. Marek Karpinski. University of Bonn.

The matrix approach for abstract argumentation frameworks

First-order resolution for CTL

18.10 Addendum: Arbitrary number of pigeons

Detecting Backdoor Sets with Respect to Horn and Binary Clauses

P is the class of problems for which there are algorithms that solve the problem in time O(n k ) for some constant k.

4.1 Notation and probability review

is a model, supported model or stable model, respectively, of P. The check can be implemented to run in linear time in the size of the program. Since

More on NP and Reductions

On the Complexity of Enumerating Pseudo-intents

Building Graphs from Colored Trees

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Combinatorial Optimisation, Problems I, Solutions Term /2015

A Graph Based Parsing Algorithm for Context-free Languages

same literal in a formula), and useful equivalence-preserving operations based on anti-links are

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition.

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

2. Intersection Multiplicities

16 Chapter 3. Separation Properties, Principal Pivot Transforms, Classes... for all j 2 J is said to be a subcomplementary vector of variables for (3.

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

On Variable-Weighted 2-SAT and Dual Problems

On the Complexity of the Reflected Logic of Proofs

Tableau Calculus for Local Cubic Modal Logic and it's Implementation MAARTEN MARX, Department of Articial Intelligence, Faculty of Sciences, Vrije Uni

A An Overview of Complexity Theory for the Algorithm Designer

Math 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008

The Complexity of Post s Classes

LOGIC PROPOSITIONAL REASONING

Propositional Logic Language

Packing Arborescences

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition)

G METHOD IN ACTION: FROM EXACT SAMPLING TO APPROXIMATE ONE

Strongly chordal and chordal bipartite graphs are sandwich monotone

Partial cubes: structures, characterizations, and constructions

Analysis on Graphs. Alexander Grigoryan Lecture Notes. University of Bielefeld, WS 2011/12

Discrete Mathematics. Benny George K. September 22, 2011

Results on Equivalence, Boundedness, Liveness, and Covering Problems of BPP-Petri Nets

ALGEBRAIC PROOFS OVER NONCOMMUTATIVE FORMULAS

Abstract In this paper, we introduce the logic of a control action S4F and the logic of a continuous control action S4C on the state space of a dynami

k-blocks: a connectivity invariant for graphs

GRAPH ALGORITHMS Week 7 (13 Nov - 18 Nov 2017)

Resolution Lower Bounds for the Weak Pigeonhole Principle

Extremal problems in logic programming and stable model computation Pawe l Cholewinski and Miros law Truszczynski Computer Science Department Universi

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Exponential Separations in a Hierarchy of Clause Learning Proof Systems

Transcription:

Lean clause-sets: Generalizations of minimally unsatisable clause-sets Oliver Kullmann Department of Computer Science University of Toronto Toronto, Ontario M5S 3G4 e-mail: kullmann@cs.toronto.edu http://www.cs.utoronto.ca/kullmann/ July 21, 2000 Abstract We study the problem of (eciently) deleting such clauses from conjunctive normal forms (clause-sets) which can not contribute to any proof of unsatisability. For that purpose we introduce the notion of an autarky system, associated with a canonical normal form for every clause-set by deleting superuous clauses. Clause-sets where no clauses can be deleted are called lean, a natural generalization of minimally unsatisable clause-sets, opening the possibility for combinatorial approaches (and including also satisable instances). Three special examples for autarky systems are considered: general autarkies, linear autarkies (based on linear programming) and matching autarkies (based on matching theory). We give new characterizations of lean and linearly lean clause-sets by \universal linear programming problems," while matching lean clause-sets are characterized in terms of \deciency," the dierence between the number of clauses and the number of variables, and also by having a cyclic associated transversal matroid. Finally we discuss the applications to minimally unsatisable clause-sets. Supported by the Natural Sciences and Engineering Research Council of Canada and by the Communications and Information Technology Ontario. 1

1 Introduction For the purpose of ecient SAT decision a basic approach for a given conjunctive normal form F (or \clause-set" as we say) is to extract the \essential" information \hidden" in F. An attempt to do so is to compute a minimally unsatisable subset F 0 F, but we have to face the following drawbacks: 1. only unsatisable F can be considered; 2. it may be that F 0 is (much) harder than F ; 3. there may be many possibilities for F 0, and there is no canonical choice; 4. the logical property \minimally unsatisable" is hard to decide. The problem under 1 may be overcome by generalizing \minimally unsatisable" to \maximally independent", where we call a clause-set \independent" if no clause follows logically from the other clauses. But the other three problems are inherent to the approach. Continuing [26], we propose here an alternative approach, based on the notion of lean clause-sets. A lean clause-set F is characterized by the condition that every clause of F can be used in some (tree) resolution refutation of F (and thus for example lean clause-sets do not contain pure literals). For every clause-set F there is a largest lean sub-clause-set N a (F ) F, where \N" stands for \normal form" and \a" for \autarky" (see below). By reducing F to the satisability equivalent sub-clause-set N a (F ) (instead of some minimally unsatisable sub-clause-set) we have overcome problem 2 (eliminating only \absolutely superuous" clauses) and problem 3, but since N a (F ) = > holds i F is satisable (where > is the empty clause-set), with respect to problems 1 and 4 there is not much progress. An equivalent characterization of lean clause-set is that they do not have any non-trivial autarky, where an autarky for a clause-set F is a partial assignment satisfying each clause of F it \touches" (i.e., assigns some truth value to some of its literals). The notion of autarky enables us to attack the \logical" problems 1 and 4 by approximating general autarkies with \combinatorial" autarkies in the following sense. Considering the autarky monoid Auk(F ) (furnished with composition of partial assignments) we introduce the notion of an autarky system A 2

which assigns to every clause-set F a sub-monoid of Auk(F ) compatible with the inclusion relation between clause-sets. Now the following notions are associated with any autarky system: the elements of A(F ) are called A-autarkies for F ; clause-sets F with no non-trivial A-autarky are called A-lean; clause-sets satisable by an A-autarky are called A-satisable; for every clause-set F there is a largest A-lean sub-clause-set N A (F ), which can also be obtained by applying reduction by A-autarkies as long as possible. By reducing a clause-set F to its satisability equivalent sub-clause-set N A (F ) we now have a handle to overcome also problem 1 and 4 from above: Choose some autarky system A where N A is computable in polynomial time. If now the normal form of a satisable clause-set F is trivial, that is N A (F ) = > holds, then in fact F belongs to the polynomial time decidable class of A-satisable clause-sets. To construct such autarky systems we can exploit the methods established in the eld of Combinatorial Optimization. The contributions of this article may now be outlined as follows: 1. The introduction and the study of elementary properties of autarky systems A and the associated normal form N A. 2. Investigation of three basic examples for autarky systems and the corresponding notions of leanness: (a) general autarkies and lean clause-sets (b) (simple) linear autarkies and linearly lean clause-sets (c) matching autarkies and matching lean clause-sets. 3. The classes of lean and linearly lean clause-sets are characterized in terms of \universally solvable linear programming problems" (problems which must be solvable for any instance with the same sign distribution). 4. The class of matching lean clause-sets is characterized in terms of deciency (similar to Hall's condition), and in terms of matroid theory. 3

1.1 Related work The story of autarkies starts with [31] where this notion has been introduced for the sake of worst case upper bounds on k-sat decision (a very similar approach has been used in [30] to obtain the same bounds; see [27] for details). Extensive use of generalized notions of autarkies is one building block for the improved 3-SAT upper bound in [23]. Further extensions of the idea of autarky for improved upper bounds one nds in [16] and [28], while the implementation \OKsolver" of a DLL-like algorithm using autarkies is described in [21] (the package can be downloaded from my home page). In [14] the combination of reduction by autarkies with a tableau-based SAT algorithm is investigated. In fact the tableau-method, restricted to the clause form, can be seen as just an autarky search method: Once the tableau can not be extended anymore, an autarky is found. In [33] parallelization of this algorithm by composition of autarkies has been studied. Another use of autarkies one nds in [7] (adding autarky detection to the hierarchy from [13]) and in [22] (furnishing a general procedure quasiautomatizing relativized tree resolution with enhanced satisability detection at the basic level). A systematic study of the notion of autarkies has been started in [26], where also the notion of linear autarkies has been introduced (manageable by linear programming in polynomial time). In [42] the class of q-horn formulas has been shown as (essentially) being subsumed by the class of linearly satisable clause-sets. For the characterization of lean clause-sets (with trivial autarky monoid) we exploit the characterization of unsatisability from [8] in terms of universally solvable linear programming problems (based on Farkas' lemma). A second line of research relevant in our context investigates the structure of minimally unsatisable clause-sets. In [35] the class of minimally unsatisable clause-sets has been shown to be D P -complete (complete for the class of languages which are intersections of languages in NP and languages in co-np). The starting point for the combinatorial investigations (although been forgotten for some time) is [1], showing \Tarsi's Lemma" (a minimally unsatisable clause-set has more clauses than variables) and characterizing the class of \strongly" (or \saturated") minimally unsatisable clause-sets with exactly one more clause than variables. [11] found another 4

proof of Tarsi's lemma, not based on matching theory but on the method of \saturation". Then the structure of minimally unsatisable clause-sets with up to four more clauses than variables has been studied in [9, 5, 43]. The notion of \deciency" has been made fruitful in [12], and also in [37] (but (unfortunately) not using this notion), while further elaboration of this idea is given in [26] (generalizing Tarsi's lemma to all (non-empty) linearly lean clause-sets). The rst steps towards a general solution of the polynomial time decidability of the class of minimally unsatisable clause-sets with at most k more clauses than variables (that is, the deciency is bounded by k) one nds in [5] and [6] (showing that such clause-sets at least have short tree resolution refutations). Recently this problem has been solved in [25] and also in [10]. Finally it is worth to mention that in [38] clause-sets obtained from minimally unsatisable clause-sets by removing one clause have been identied as hard examples for local search SAT algorithms. 1.2 Practical Applications The use of linear autarkies for improved SAT decision is currently under investigation (interestingly, the Simplex method applied to the associated linear programming problems shows a very stable exponential behavior, while algorithms based on interior point methods ([3]) are very fast). The autarky reduction used in \OKsolver" does not help much in general, but on the \Towers of Hanoi" problem as well as on the logistics planning problem described in [20, 18, 19] the autarky method seems to be essential and outperforms all known methods. 1.3 The main results of this article In Section 3 the matrix representation of clause-sets as well as the interpretation of (arbitrary) matrices as clause-sets is investigated, and satisfying assignments as well as autarkies are characterized as solutions of certain \universal" linear programs. In Theorem 3.4 we derive a strengthening of the characterization of unsatisable clause-sets from [8]. The notion of autarky systems and of the associated canonical normal form (by applying autarky reduction as long as possible) is introduced in Section 4, and elementary properties are given. 5

Two new characterization of lean clause-sets (which do not have any nontrivial autarky at all) one nds in Theorems 5.3 and 5.5 from Section 5, while in Lemma 5.6 the hardness of the decision problem for lean clause-sets is shown. In Section 6 we give a short introduction into linear autarkies and obtain a new characterization of linearly lean clause-sets in Theorem 6.2. Based on matching theory, the notion of matching autarkies is investigated in Section 7. A characterization of matching lean clause-sets as those clause-sets which have strictly larger deciency than any strict subset is proven in Theorem 7.5, and as a direct corollary in 7.6 the generalization of Tarsi's lemma to matching lean clause-sets is obtained (which seems to be the right context for this basic fact, reecting the absence of clauses which can be easily removed satisability equivalently due to a matching argument). Lemma 7.7 relates matching lean clause-sets to elementary bipartite graphs, while a characterization of lean clause-sets in terms of matroid theory is given in Lemma 7.9 (yielding also computability of the largest matching lean sub-clause-set in polynomial time). In Subsection 7.4 an overview on the polynomial SAT decision procedure for clause-sets with bounded maximal deciency (taken over all subsets) from [25] is given (based on searching a short tree resolution refutation of a specic form by enumerating all circuits of the transversal matroid of a clause-set), while Theorem 7.14 exploits the augmenting path technique from [10] and shows, that the \distance" of a satisable matching lean clause-set to some matching satisable clause-set is bounded by the deciency, from which also polynomial time SAT decision for clause-sets with bounded maximal deciency follows. Finally in Section 8 a renement of the notion of autarky systems, called \strong autarky systems," is introduced, and in Section 9 some interesting directions for future research are discussed. 2 Preliminaries 2.1 The semilattice of clause-sets Let VA be the set of variables and LIT := VA ] fv : v 2 VAg be the set of literals, containing positive literals (the variables) and negative literals (the complemented variables). Double complementation is the identity, and 6

thus x is dened for all literals x 2 LIT. The set CL of all clauses is the set of all nite and complement-free sets C of literals (C \ C = ;, where C := fx : x 2 Cg), while the set CLS of all clause-sets is the set of all nite sets of clauses. For a literal x let var(x) 2 VA be the underlying variable, for a clause C let var(c) VA be the set of underlying variables (which can be dened by var(c) = (C [ C) \ VA), and for a clause-set F let var(f ) VA be the set of variables occurring in F (given by var(f ) = S C2F var(c)). As measures of complexity for clause-sets F we use n(f ) := j var(f )j for the number of variables and c(f ) := jfj for the number of clauses in F. A special clause-set is the empty clause-set > 2 CLS, and a special clause is the empty clause? 2 CL. The set CLS of clause-sets is regarded as an \upper" semilattice with (binary) union as law of composition (> is the identity element) and with induced partial order (inclusion). Since we regard clause-sets as conjunctive normal forms, union of clause-sets corresponds to their logical conjunction. 2.2 The monoid of partial assignments A partial assignment is a map ' : L! f0; 1g where L LIT is a nite set of literals closed under complement (that is L = L) and ' is complementpreserving, i.e., for all x 2 L we have '(x) = 1? '(x). The set of all partial assignments is denoted by PASS. For a partial assignment ' : L! f0; 1g we use var(') := var(l) for the set of variables it uses, and for a set V VA of variables we denote by PASS(V ) := f' 2 PASS : var(') V g the set of partial assignments using only variables from V, while the restriction of any partial assignment ' 2 PASS to V is denoted by ' j V 2 PASS(V ) (the restriction of ' to the domain of literals with underlying variables in V ). To denote special partial assignments, we use for example the notation hx! 1i 2 PASS for that partial assignments with domain fx; xg which maps literal x to 1. The law of composition naturally associated with PASS is \composition", denoted for partial assignments '; 2 PASS by ' 2 PASS and dened as \rst, then '." More precisely, the domain of ' is the union 7

of the domains of ' and, and for a literal x in the domain of we have (' )(x) = (x) while for a literal x in the domain of ' but not in the domain of we have (' )(x) = '(x). PASS together with composition is an idempotent monoid with identity element the empty partial assignment ; 2 PASS. Two partial assignments '; commute, that is ' = ' holds, i they are compatible, i.e., i for all variables v 2 var(') \ var( ) we have '(v) = (v). Interpreting partial assignments as \sign vectors" (with entries \0" for \undened", \+" for \true" (= 1) and \?" for \false" (= 0)), composition of partial assignments coincides with the composition of sign vectors as considered in the theory of oriented matroids (see [4] for example), only the order is permuted, since partial assignments are maps (and the operation of PASS on CLS shall be an operation \from the left"). 2.3 The operation of PASS on CLS For a clause-set F 2 CLS and a partial assignment ' 2 PASS let ' F be the clause-set resulting from substituting truth values via ' in F, that is, eliminate all clauses from F satised by ' and cross out all literals falsied by ' in the remaining clauses. Formally 'F is dened as the set of clauses C nfx 2 C : '(x) = 0g for C 2 F such that there is no x 2 C with '(x) = 1. We use \'(F ) = 1" and \'(F ) = 0" as abbreviations for \' F = >" resp. "? 2 ' F " for clause-sets F 2 CLS, while for clauses C 2 CL we use \'(C) = 1" and \'(C) = 0" for \' fcg = >" resp. "' fcg = f?g". For a clause-set F let mod p (F ) := f' 2 PASS(var(F )) : '(F ) = 1g be the set of (partial) models of F (using only variables from F ), and let SAT := ff 2 CLS : mod p (F ) 6= ;g be the set of satisable clause-sets, while USAT := CLS n SAT is the set of unsatisable clause-sets. We call two clause-sets satisability equivalent if either they are both satisable or they are both unsatisable. And a clause-set is called minimally unsatisable if it is unsatisable, but removing any clause renders it satisable. The set of all minimally unsatisable clause-sets we denote by MUSAT := ff 2 USAT j 8 C 2 F : F n fcg 2 SAT g. Applying partial assignments to clause-sets is an operation of the monoid PASS on the monoid CLS, that is, for all clause-sets F; F 1 ; F 2 2 CLS and 8

all partial assignments '; 2 PASS we have ; F = F ' ( F ) = (' ) F ' > = > It follows F 1 F 2 ) ' F 1 ' F 2. ' (F 1 [ F 2 ) = ' F 1 [ ' F 2 2.4 The monoid of autarkies A partial assignment ' 2 PASS is called an autarky for a clause-set F 2 CLS if ' uses only variables from ' (i.e., var(') var(f )) and for each clause C 2 F with var(c)\var(') 6= ; we have '(C) = 1. An equivalent condition is that for all subsets F 0 F we have ' F 0 F 0. The set of all autarkies for F is denoted by Auk(F ). By denition we have ; 2 Auk(F ) and mod p (F ) Auk(F ). If ' is an autarky for F then ' F and F are satisability equivalent, which can be proved formally as follows. If F 2 SAT then there is a partial assignment with F = > and thus (' F ) F = > follows, that is, ' F 2 SAT. If one the other hand ' F 2 SAT then we have ( ') F = (' F ) = > = > and thus also F 2 SAT. The second important property of autarkies is that Auk(F ) is a submonoid of F, which has the following easy proof. Consider '; 2 Auk(F ) and a subset F 0 F. We have to show (' ) F 0 F 0, and indeed (' ) F 0 = ' ( F 0 ) ' F 0 F 0 holds. 2.5 Resolution A tree resolution refutation for a clause-set F is a binary tree labeled with clauses, such that the root is labeled by?, the leaves are labeled with elements of F, and a node with two children labeled with clauses C and D respectively is labeled by the resolvent (C n fxg) [ (D n fxg) where x is the resolution literal fxg = C \ D. (Tree) Resolution is a sound and complete refutation system. By the number of steps in a tree resolution refutation we mean the number of non-leaf nodes in this tree. 9

3 Matrix representations of (un)satisability In this section we consider the relation between matrices and clause-sets. First in Subsection 3.1 we state some general conventions regarding matrices (e.g. how to handle empty matrices). Then in Subsection 3.2 the clausevariable matrix M(F ) of a clause-set F (the rows of M(F ) represent the clauses of F, while the columns of F correspond to the variables of F ) as well as the clause-set F (A) associated with an arbitrary matrix A (over the real numbers) is introduced, where F (A) is obtained from A by considering the sign distribution of A only. Subsection 3.3 discusses the characterization of models of clause-sets in this context, and in Theorem 3.4 it is shown (applying Gordan's Transposition theorem) that for any matrix A \universal solvability" of the equation Ax = 0 for some non-zero vector x ~0 is equivalent to F (A t ) being unsatisable, where \universal solvability" means, that all matrices A 0 with the same sign distribution as A are identied with A. Finally we extend the characterization of satisfying assignments to the characterization of autarkies in Subsection 3.4. 3.1 Conventions for matrices For any set S R let M(S) be the set of all p q-matrices with values in S, where p; q 0, and let M := M(R). Two matrices A; B 2 M are identical i they have the same size (i.e., they are both p q-matrices for some p; q 0) and for all indices (i; j) 2 f1; : : :; pg f1; : : :; qg we have A i;j = B i;j. Thus for each p 0 and each q 0 there is exactly one empty matrix of size p0- resp. 0q. A matrix A 2 M is called a zero matrix if all entries of A are 0. (Thus each empty matrix is a zero matrix.) pq-matrices A have p rows A i; and q columns A ;j, which are 1q- resp. p1-matrices. Elimination of a row (resp. column) in a p q-matrix is possible i p 1 (q 1) and yields a (p?1) q-matrix (p(q?1)-matrix). The transposition of matrix A is denoted by A t (if A is a m n-matrix, then A t is a n m- matrix, and we have A t i;j = A j;i). Matrix multiplication A B is a partial operation on M dened i A is a p q-matrix and B is a q r-matrix for some p; q; r 0. The result A B is a p r-matrix, which is a zero matrix in case of q = 0. For A 2 M the matrix sgn(a) 2 M(f?1; 0 + 1g) has the same size as 10

A, and for all indices i; j we have sgn(a) i;j = 8 >< >:?1 if A i;j < 0 0 if A i;j = 0 : +1 if A i;j > 0 We say that two matrices A; B 2 M have the same sign distribution if sgn(a) = sgn(b) holds. Vectors, i.e. elements of R p for p 0, are identied with p 1-matrices. We use ~0 for any zero vector of appropriate size in the given context. For two vectors x; y of the same size we have x y i for all indices i we have x i y i, while x > y means that for all indices i we have x i > y i. 3.2 Clause-sets as matrices and matrices as clause-sets We assume that a total order on the set VA of variables as well as a total order on the set CL of clauses is given, both denoted by \<". Furthermore we assume that for each n 1 we can speak of the rst n variables with respect to the total order on VA. Now the presentation M : CLS! M(f?1; 0; +1g) of clause-sets by matrices is dened for clause-sets F 2 CLS as follows: Let F = fc 1 ; : : :; C c(f ) g with C 1 < < C c(f ) and var(f ) = fv 1 ; : : :; v n(f ) g with v 1 < < v n(f ). Now M(F ), the clause-variable matrix of F, is the c(f ) n(f )-matrix with M(F ) i;j = 8 >< >: +1 if v j 2 C i?1 if v j 2 C i 0 if v j =2 var(c i ) We also associate clause-sets to (arbitrary) matrices via the map F : M(R)! CLS which for a m n-matrix A 2 M is dened in the following way: Consider the rst n variables v 1 ; : : :; v n of VA. For 1 i m let the clause C i (A) contain 11 :

- literal v j i A i;j > 0 - literal v j i A i;j < 0 while variable v j is not contained in C i (A) in case of A i;j = 0. Finally dene F (A) := fc i (A) : 1 i mg. Lemma 3.1 The clause-variable matrix M(F ) and the clause-set F (A) associated to a matrix have the following simple properties. 1. Consider a clause-set F 2 CLS. (a) M(F ) is a c(f ) n(f )-matrix with entries in f?1; 0 + 1g. (b) M(F ) has no zero column. (c) M(F ) has no multiple rows (that is, there are no 1 i < j c(f ) with A i; = A j; ). (d) M(>) is the empty 0 0-matrix, while M(f?g) is the empty 1 0-matrix. 2. Let A 2 M be a mn-matrix. Then the inequalities c(f (A)) m and n(f (A)) n holds. More precisely, c(f (A)) is the number of dierent rows in sgn(a), and n(f (A)) is the number of non-zero columns in A. 3. Consider two matrices A; B 2 M. (a) If B is obtained from A by a permutation of rows or by elimination of a multiple row (that is, there are row indices i < j with A i; = A j;, and B is obtained from A by elimination of row j), then F (A) = F (B). (b) If B is obtained from A by a permutation of columns or by elimination of a zero column, then F (B) is a renaming of F (A), that is, there is a permutation 2 S(VA) of variables with (F (A)) = F (B), where (F (A)) is dened in the obvious way. 4. For A 2 M the matrix M(F (A)) can be obtained from sgn(a) by elimination of zero columns and multiple rows and a permutation of the rows. 5. For F 2 CLS the clause-set F (M(F )) is a renaming of F. 12

3.3 Characterizations of satisfying assignments For a set V VA of variables of size n := jv j 2 N 0 there is a canonical bijection V : f?1; 0; +1g n! PASS(V ) from the set of n-dimensional vectors with entries in f?1; 0; +1g to the set of partial assignments over V by interpreting \0" as \undened", \?1" as \false" and \+1" as \true". Considering only the sign distribution, V (x) in fact can be dened for arbitrary vectors x. More precisely: Let V = fv 1 ; : : :; v n g with v 1 < < v n. Now for x 2 R n dene V (x) as the partial assignment with domain the set of v i 2 V with x i 6= 0 where for v i 2 var( V (x)) we set V (x)(v i ) = ( 1 if xi > 0 0 if x i < 0 : Lemma 3.2 Consider F 2 CLS and let V := var(f ) and n := n(f ). Then mod p (F ) = V (x) : x 2 R n ^ 9 A 2 M [ sgn(a) = M(F ) ^ Ax > ~0 ] ; that is, the set of (partial) satisfying assignments of F is the set of all V (x) were vector x fullls Ax > ~0 and A is any matrix with the same sign distribution as M(F ). Proof: Let V = fv 1 ; : : :; v n g with v 1 < < v n. First consider x 2 R n and A 2 M with sgn(a) = M(F ) and Ax > ~0. For every row A i; of A we have A i; x > 0, and thus there is a column index j with A i;j x j > 0, that is, for the clause C i 2 F corresponding to A i; and for the literal l j 2 C i with var(l j ) = v j we have V (l j ) = 1. Hence V (x)(f ) = 1 is proven. For the other direction consider ' 2 mod p (F ). Let x 2 f?1; 0; +1g n be determined by V (x) = '. For each clause of F there is a literal in it satised by ', that is, for each row i of M(F ) there is a column index j(i) with M(F ) i;j(i) x j(i) = 1. Let A be the same as M(F ) except for the positions (i; j(i)) where we put n M(F ) i;j(i). Now A x ~1 holds. Corollary 3.3 A clause-set F 2 CLS is satisable i 9 A 2 M 9 vector x : sgn(a) = M(F ) ^ Ax > ~0; 13

that is, i there is a matrix A with the same sign distribution as M(F ) and a vector x with Ax > ~0. The Transposition theorem of Gordan [15] (see page 95 in [36]) states that for a matrix A 2 M we have : 9 vector x : Ax > ~0 if and only if 9 vector y : y ~0; y 6= ~0; y t A = ~0 t : The rst part of the following theorem (which is the essential part) has been proven in [8]. Theorem 3.4 Characterization of unsatisability by \universal solvability" of the clause-variable matrix. 1. A clause-set F 2 CLS is unsatisable if and only if for all A 2 M with sgn(a) = M(F ) t there is a vector x ~0, x 6= ~0 with Ax = ~0. 2. Consider A 2 M. Then 8 A 0 2 M; sgn(a 0 ) = sgn(a) 9 x : A 0 x = ~0; x ~0; x 6= ~0 holds, that is, all matrices A 0 with the same sign distribution as A have a non-zero solution of A 0 x = 0 with non-negative entries, if and only if F (A t ) 2 USAT : Proof: The rst part follows immediately from Corollary 3.3 and Gordan's Transposition theorem as stated above. For the second part let P (A) be the property of matrix A 2 M, that for all A 0 2 M with sgn(a 0 ) = sgn(a) there is a non-zero vector x ~0 with A 0 x = ~0. We have to show the equivalence of P (A) and F (A t ) 2 USAT. If matrix B results from A by one of the following operations (i) elimination of a zero row (ii) permutation of columns (iii) elimination of multiple columns 14

then the equivalence P (A), P (B) holds, which is obvious for (i) and (ii). To show the equivalence in case (iii), assume that we have column indices i < j of A with A ;i = A ;j, and that B results from A be eliminating column j. First assume P (A), and we want to show P (B). So consider any B 0 2 M with the same sign distribution as B. Create a new column j in B and copy column i to this new column. Call the new matrix A 0. We have sgn(a 0 ) = sgn(a), and thus there is a non-zero vector x ~0 with A 0 x = ~0. Add entry j of x to entry i and eliminate entry j, obtaining the non-zero vector x ~0 with B 0 x = ~0. Now assume P (B), and we want to show P (A). So consider any A 0 2 M with the same sign distribution as A. Eliminate column j in A 0 and obtain matrix B 0 with sgn(b 0 ) = sgn(b). Thus there is a non-zero vector x ~0 with B 0 x = ~0. Create a new entry at position j in x, put 0 there and obtain the non-zero vector x ~0 with A 0 x = ~0. Since by denition the property P (A) is invariant under the equivalence relation of having the same sign distribution, by Lemma 3.1, part 4 and part 1 of Theorem 3.4 we get P (A), P (sgn(a)), P (M(F (A t )) t ), F (A t ) 2 USAT : 3.4 Characterizations of autarkies The next lemma shows how the generalization of the notion of satisfying assignments by the notion of autarkies is reected in the context of matrix representation: While (partial) satisfying assignments of a clause-set F correspond to solutions x of Ax > 0 for some matrix A with the same sign distribution as the clause-variable matrix of F (see Lemma 3.2), now autarkies just correspond to solutions x of Ax 0. Lemma 3.5 Consider F 2 CLS and let V := var(f ) and n := n(f ). Then Auk(F ) = V (x) : x 2 R n ^ 9 A 2 M [ sgn(a) = M(F ) ^ Ax ~0 ] ; in words, the set of autarkies of F is the set of partial assignments V (x) where x fullls Ax ~0 and A has the same sign distribution as M(F ). 15

More specically, let F = fc 1 ; : : :; C c(f ) g with C 1 < < C c(f ). Then there is an autarky ' 2 Auk(F ) with '(C i ) = 1 i 9 A 2 M 9 vector x : sgn(a) = M(F ) ^ Ax ~e i where ~e i is ~0 but with 1 in row i. Proof: If vector x fullls Ax 0 for some A 2 M with sgn(a) = M(F ), then for ' := V (x) we have ' 2 Auk(F ), since if for clause C i there is a literal l j 2 C i with '(l j ) = 0, then for the corresponding variable v j with var(l j ) = v j by denition of ' and sgn(a) = M(F ) we get A i;j x j < 0, and thus there must be another index k with A i;k x k > 0 and hence '(C i ) = 1. The existence of k with A i;k x k > 0 can also be concluded from A i; x = (Ax) i > 0. Altogether we have shown that V (x) is an autarky for F in case Ax ~0, and that in case Ax ~e i we also know '(C i ) = 1. Now consider ' 2 Auk(F ) and obtain A from M(F ) by replacing entries M(F ) i;j in rows i with '(C i ) = 1 by the new entry n M(F ) i;j for such j where l j 2 C i exists with '(l j ) = 1 and var(l j ) = v j. Obviously sgn(a) = M(F ) holds, and for x 2 f?1; 0; +1g n with V (x) = ' we have Ax ~0, while for i with '(C i ) = 1 we get (Ax) i 1. 4 Autarky systems In [26] the notion of \simple linear autarkies" is introduced, a special case of autarkies manageable in polynomial time, and for arbitrary clause-sets a normal form obtained by applying simple linear autarkies as long as possible has been established. The derived classes of \linearly lean" clause-sets (not having non-trivial simple linear autarkies) and \linearly satisable" clausesets (the reduction process by simple linear autarkies satises the clause-set) have been shown to have many interesting properties. In this section we now introduce a general notion of an \autarky system," including the notion of a general autarky as well as the notion of a simple linear autarky as some special case, and we show that to each such autarky system a natural canonical normal form can be associated. Special attention is paid in this article to the notion of \lean" clause-set with respect to autarky systems. 16

4.1 Autarky systems and normal forms In Subsection 2.4 we have proven that the set Auk(F ) of autarkies for every clause-set F is a sub-monoid of PASS (furnished with composition of partial assignments). Now an autarky system is a map A, which assigns to every clause-set F 2 CLS a sub-monoid A(F ) of Auk(F ) (the elements of A(F ) are called A-autarkies), such that for every F 2 CLS, every sub-clause-set F 0 F and every autarky ' 2 A(F ) the restriction ' 0 := ' j var(f 0 ) of ' to F 0 is an A-autarky for F 0, i.e., ' 0 2 A(F 0 ) holds. To every autarky system A a reduction relation?! A CLS 2 is associated, dened by F?! A F 0 i there is a non-trivial autarky ' 2 A(F ) n f;g with F 0 = ' F (recall the fact, that for every autarky ' 2 Auk(F ) the clause-set ' F is satisability equivalent to F ). Lemma 4.1?! A is terminating and conuent, that is, for all clause-sets F 2 CLS and all clause-sets F 1 ; F 2 2 CLS with F?!* A F 1 and F?!* A F 2, such that F 1 ; F 2 can not be further reduced by A-autarkies, that is, there is no F 0 2 CLS with F A 1?! F 0 or F A 2?! F 0, we have F 1 = F 2, and furthermore each reduction sequence F?! A F A 1?! F 2 : : : is nite (in fact, must terminate after at most n(f ) steps). Proof: To show conuence, by the diamond lemma ([32, 17]) we only have to show \local conuence," that is, for there is G with F?! A F 1 and F?! A F 2 F A 1?!* G and F A 2?!* G: Now for autarkies ' 1 ; ' 2 2 A(F ) with F 1 = ' 1 F and F 2 = ' 2 F we have ' 0 2 := ' 2 j var(f 1 ) 2 A(F 1 ), ' 0 1 := ' 1 j var(f 2 ) 2 A(F 2 ) and ' 0 2 F 1 = F 1 n (' 2 F ) = F 1 \ F 2 = F 2 \ F 1 = F 0 2 n (' 1 F ) = ' 0 1 F 2 : Thus for G := F 1 \ F 2 we get F 1?!* A G and F A 2?!* G as desired. A?! is terminating, since for F?! A F 0 we have n(f 0 ) < n(f ). Let N A (F ) be the canonical normal form of F characterized by F?!* A N A (F ) and :9 F 0 : N A (F )?! A F 0 ; 17

in other words, the normal form N A (F ) is obtained from F by applying non-trivial A-autarkies as long as possible. Lemma 4.2 The operator N A is a \kernel operator", that is, for clause-sets F; F 1 ; F 2 2 CLS holds - N A (F ) F - N A (N A (F )) = N A (F ) - F 1 F 2 ) N A (F 1 ) N A (F 2 ). Furthermore N A (F ) is satisability equivalent to F. Proof: The rst two properties follow by denition. For the last property observe that in case of F A 2?! F2 0 by restriction we also get F A 1?!* F 1 \ F2 0, and so by induction the assertion follows. 4.2 A-leanness and A-satisability Let SAT A := F 2 CLS : N A (F ) = > LEAN A := F 2 CLS : N A (F ) = F : The elements of SAT A are called A-satisable, while the clause-sets in LEAN A are called A-lean. The set SAT A can be seen as the \kernel" of N A, and in fact for variable-disjoint clause-sets N A behaves like a homomorphism, that is var(f 1 ) \ var(f 2 ) = ; =) N A (F 1 [ F 2 ) = N A (F 1 ) [ N A (F 2 ): And the set LEAN A is the image of N A by Lemma 4.2. By denition we get SAT A SAT and > 2 SAT A, while Lemma 4.2 yields, that SAT A is stable under formation of sub-clause-sets, that is, for F 2 SAT A and F 0 F we have F 0 2 SAT A as well. Lemma 4.3 LEAN A is a sub-monoid of CLS, that is, > 2 LEAN A and for F 1 ; F 2 2 LEAN A we have F 1 [ F 2 2 LEAN A as well. 18

Proof: Consider F 1 ; F 2 2 LEAN A and assume F 1 [ F 2 =2 LEAN A. Thus there is ' 2 A(F 1 [ F 2 ) n f;g, and now the restriction ' j var(f 1 ) or the restriction ' j var(f 2 ) is not empty, contradiction A-leanness of F 1 ; F 2. In [26], Subsection 3.4, for any sub-monoid C of CLS the normal form N C (F ) for clause-sets F 2 CLS has been dened as the largest subset F 0 F with F 0 2 C. We now show N A = N LEANA, that is, our notion of a normal form relative to an autarky system is a special case of the normal form relative to a sub-monoid of CLS. Lemma 4.4 If A is an autarky system, then for all F 2 CLS we have N A (F ) = [ F 0 F : F 0 2 LEAN A ; and thus N A (F ) is the largest A-lean sub-clause-set of F. Proof: Since N A (N A (F )) = N A (F ) we get N A (F ) 2 LEAN A, and hence N A (F ) is contained in the union of all A-lean sub-clause-sets of F. On the other hand for an A-lean subset F 0 F by denition N A (F 0 ) = F 0 holds, and thus by monotonicity (Lemma 4.2) we get F 0 = N A (F 0 ) N A (F ). In this article we will concentrate on autark assignments, but the notion of an autark subset plays an important role as well. So for a clause-set F 2 CLS and an autarky ' 2 A(F ) let F (') := fc 2 F : '(C) = 1g be the set of clauses of F satised by '. The subsets F (') for ' 2 A(F ) are called A-autark subsets of F, forming a sub-semilattice of CLS, where F is a monoid-homomorphism from A(F ) onto this semilattice (see Lemma 3.3 in [26]). Lemma 4.5 If A is an autarky system, then for all clause-sets F 2 CLS the intersection of the largest A-lean sub-clause-set and the largest A-autark subset is empty, i.e., N A (F ) \ [ F (') = ;: '2A(F ) Proof: There Q is ' 0 2 A(F ) with ' 0 F = F n S '2A(F ) F ('), using for example ' 0 = '2A(F ) ' (for any order and using any bracketing), since F (' 1 ' 2 ) = F (' 1 ) [ F (' 2 ). Now by denition of N A (F ) we have N A (F ) ' 0 F. 19

Examples for A-lean clause-sets are given by the weak pigeonhole formulas (for any A), or by formulas obtained from A-lean clause-sets via Tseitin's Extension rule as stated in the following lemma. Lemma 4.6 Consider F 2 LEAN A and a clause-set E = fv; a; bg; fv; ag; fv; bg ; where v is a variable not contained in F (v =2 var(f )), while the variables of literals a; b are contained in F (var(fa; bg) var(f )). E is the set of new clauses for one \extension step" as used in \extended resolution" introduced in [40] (see [24] for generalizations). Now also F [ E 2 LEAN A holds. Proof: Consider ' 2 A(F [ E). If var(') \ var(f ) 6= ;, then ' 0 := ' j var(f ) would fulll ' 0 2 A(F )nf;g contradicting A-leanness of F. Thus we have var(') fvg. Due to hv! 0i; hv! 1i =2 Auk(E) in fact ' = ; must hold. 5 Lean clause-sets As the rst example of an autarky system we consider in this section general autarkies. The class of \lean" clause-sets F (not having any non-trivial autarky at all) has been characterized in [26] as the class of clause-set where every clause of F can be used in some tree resolution refutation of F (observe that according to the use of tree resolution refutations there are no \dead ends" in the refutations we consider), while the class of minimally unsatisable clause-sets is the set of clause-sets where each clauses must be used in any (tree) resolution refutation. In this section we now give two new matrix characterizations of lean clause-sets (extending the technique from Theorem 3.4) and we show that polynomial time decidability of the class of lean clause-sets would have the consequence P = NP (and thus is unlikely to hold). The maximal autarky system is just F 7! Auk(F ) (see Lemma 3.3 and Lemma 3.7 in [26]). Obviously SAT Auk = SAT, while we call the elements of LEAN := LEAN Auk simply lean. We have M USAT LEAN : 20

The normal form N a := N Auk obtained by applying autarkies as long as possible has been characterized in [26], Theorem 3.16 as follows. Theorem 5.1 A clause-set F 2 CLS is lean if and only if for all clauses C 2 F there is a resolution refutation of F using C as an axiom. Thus N a (F ) is the set of all clauses C 2 F which can be used in a resolution refutation of F. From the rst characterization of autarkies in Lemma 3.5 we get Lemma 5.2 F 2 LEAN if and only if 8 A 2 M; sgn(a) = M(F ) : 9 vector x : Ax ~0; x 6= ~0; that is, a clause-set F 2 CLS is lean i for no matrix A with the same sign distribution as M(F ) there exists a non-zero vector x fullling Ax ~0. By Farkas' Lemma (see Corollary 7.1d in [36] for example) for any A 2 M and any column index i we have : 9 vector x : Ax ~0; x i > 0 if and only if 9 vector y : y ~0; y t A = ~e i t : Theorem 5.3 Characterization of leanness by \universal solvability" of the clause-variable matrix. 1. A clause-set F 2 CLS is lean if and only if for all A 2 M with sgn(a) = M(F ) t and for all b 2 R n(f ) there is a vector x ~0 with Ax = b. 2. Consider A 2 M and let m be the number of rows of A. Then 8 A 0 2 M; sgn(a 0 ) = sgn(a) 8 b 2 R m 9 x : A 0 x = b; x ~0; holds, that is, for all matrices A 0 with the same sign distribution as A and all vectors b (of appropriate size) there is a solution x of A 0 x = b with x ~0, if and only if A has no zero row and F (A t ) 2 LEAN : 21

Proof: The rst part follows from Lemma 5.2 and Farkas' lemma as stated above, since for F 2 LEAN and A 2 M with sgn(a) = M(F ) t all equations Ax = ~e i have a solution with only non-negative entries, and any vector is a non-negative linear combination of the vectors ~e i. For the second part let P (A) be the property of matrix A 2 M that for all matrices A 0 with the same sign distribution as A and all vectors b of appropriate size there is a non-negative solution of A 0 x = b. If A has a zero row A i; then there is no solution of Ax = ~e i (at all), and thus we assume that A has no zero row. Now we have to show the equivalence of P (A) and F (A t ) 2 LEAN. If matrix B results from A by one of the following operations (i) permutation of columns (ii) elimination of multiple columns then the equivalence P (A), P (B) holds, which is obvious for (i). To show the equivalence in case (ii), assume that we have column indices i < j of A with A ;i = A ;j, and that B results from A be eliminating column j. First assume that P (A) holds, and we want to show P (B). So consider a matrix B 0 with the same sign distribution as B and a vector b with as many entries as B 0 has rows. Create a new column j in B 0, copy column i to that column and obtain matrix A 0 with sgn(a 0 ) = sgn(a). By assumption there is a non-negative solution x of A 0 x = b. Adding the entry at position j of x to the entry at position i and eliminating position j we obtain the non-negative vector x with B 0 x = b. Now assume P (B). Consider a matrix A 0 with the same sign distribution as A and a vector b with as many entries as A 0 has rows. Eliminate column j in A 0 and obtain matrix B 0 with sgn(b 0 ) = sgn(b). By assumption there is a non-negative solution x of B 0 x = b. Add a new entry with value 0 at position j to x and obtain the non-negative vector x with A 0 x = b. By denition the property P (A) is invariant under the equivalence relation of having the same sign distribution, and thus by Lemma 3.1, part 4 and part 1 of Theorem 5.3 we get P (A), P (sgn(a)), P (M(F (A t )) t ), F (A t ) 2 LEAN : From the second characterization of autarkies in Lemma 3.5 we get 22

Lemma 5.4 F 2 LEAN i 8 A 2 M; sgn(a) = M(F ) 8 i 2 f1; : : :; c(f )g : 9 vector x : Ax ~e i ; i.e., a clause-set F is lean i for no matrix with the same sign distribution as M(F ) and for no vector ~e i (of appropriate size) there is a solution of Ax ~e i. By a variant of Farkas' Lemma (see for example Corollary 7.1e in [36]) for all A 2 M and row indices i we have : 9 vector x : Ax ~e i if and only if 9 vector y : y ~0; y i > 0; y t A = ~0 t : Theorem 5.5 Second characterization of leanness by \universal solvability" of the clause-variable matrix. 1. A clause-set F 2 CLS is lean i for all A 2 M with sgn(a) = M(F ) t there is a vector x > ~0 with Ax = ~0. 2. Consider A 2 M. Then 8 A 0 2 M; sgn(a 0 ) = sgn(a) 9 x : A 0 x = ~0; x > ~0 holds, that is, for all matrices A 0 with the same sign distribution as A there is a positive solution x of A 0 x = ~0, if and only if F (A t ) 2 LEAN : Proof: The rst part follows immediately from Lemma 5.4 and the variant of Farkas' lemma stated above. And for the second part one has to observe that the property being stated as equivalent to F (A t ) 2 LEAN is invariant under permutation of columns and elimination of zero rows or multiple columns, and one can use the same steps as in the proofs of Theorem 5.3 and Theorem 3.4. Obviously the computation of a non-trivial autarky (if one exists at all) is a (F)NP-complete task. We now show that also mere decision of the existence of a non-trivial autarky is hard. 23

Lemma 5.6 If decision of LEAN could be done in polynomial time, then P = NP would follow. Proof: For a set V VA of variables and a clause-set F 2 CLS let V F denote the clause-set obtained from F by crossing out the variables from V : V F := fc n (V [ V ) : C 2 Fg (for a systematic study of this operation see [26]). Now it is easy to see that the autarkies for V F are exactly those autarkies for F which do not use any variable in V : () Auk(V F ) = ' 2 Auk(F ) : var(') \ V = ; (see Lemma 3.5 in [26]). Using decision of LEAN by an oracle, we are now able to give a polynomial time procedure, which for a given input F 2 CLS either outputs \F satisable" or \F unsatisable" or computes a strict subset F 0 F which is satisability equivalent to F by iterating this procedure we obtain SAT decision in polynomial time relative to an oracle for LEAN, and thus the assertion of the lemma is proven. The procedure works as follows. 1. If F = > then output \F satisable". 2. If F 2 LEAN then output \F unsatisable". 3. Let var(f ) = fv 1 ; : : :; v n(f ) g. 4. Since ;F = F =2 LEAN and var(f )F = f?g 2 LEAN holds, there is an index 1 i n(f ) with fv 1 ; : : :; v i?1 g F =2 LEAN and fv 1 ; : : :; v i g F 2 LEAN : Output F 0 := fc 2 F : v i =2 var(c)g. This procedure is correct, since by () after step 4 we know that there is ' 2 Auk(F ) with v i 2 var(f ), and thus the set of clauses of F containing variable v i will be satised by the autarky ' and hence can be removed satisability equivalently from F. 24

6 Linearly lean clause-sets In [26] the notion of a \(simple) linear autarky" has been introduced, which in our context can be naturally dened as follows. For F 2 CLS let LAuk 0 (F ) := var(f ) (x) : M(F ) x ~0 be the set of simple linear autarkies for F. By Lemma 3.5 we have LAuk 0 (F ) Auk(F ). Moreover, LAuk 0 gives in fact an autarky system since for vectors x; y with M(F ) x; M(F ) y 0 we have var(f ) (x) var(f ) (y) = var(f ) (x + y) for > 0 large enough, and thus LAuk 0 ()F ) is stable under composition of partial assignments, while the restriction condition is obviously fullled for simple linear autarkies. It is not hard to see that ' 2 PASS(var(F )) is a simple linear autarky for F i there is a weight function w : var(f )! R >0 such that for all C 2 F we have X X w(var(x)) w(var(x)): x2c; '(x)=1 x2c; '(x)=0 The elements of LSAT := SAT LAuk0 we call linearly satisable, and the elements of LLEAN := LEAN LAuk0 linearly lean, while we use N la := N LAuk0 for the normal form obtained by applying simple linear autarkies as long as possible. In [26], Lemma 4.22, poly-time computability of N la has been proven. Theorem 6.1 N la (F ) is computable in polynomial time (for any F 2 CLS). Analogously to the characterization of lean clause-sets in Theorem 5.3 we obtain a characterization of linearly lean clause-sets, only this time we do not have to consider all matrices with the same sign distribution as the variable-clause-matrix, but only the variable-clause-matrix itself. Theorem 6.2 A clause-set F 2 CLS is linearly lean i i : 9 x 2 R n(f ) : M(F ) x ~0; x 6= ~0 8 b 2 R n(f ) 9 x 2 R c(f ) : M(F ) t x = b; x ~0; that is, i for all vectors b (of appropriate size) there is a solution of the equation M(F ) t x = b with non-negative entries. 25

7 Matching lean clause-sets A very elementary form of autarkies is the subject of this section. Consider any clause-set F. The task is to nd some (non-trivial) autark subset F 0 of F. Now if we are lucky then we nd some F 0 such that for each clause C 2 F 0 we can select a variable v C with v C 2 var(c) such that for all clauses in F 0 these variables are dierent, and that moreover these variables do not appear outside of F 0 such a F 0 is an autark subset of F of a very special type, which we call a \matching autark subset." The corresponding notion of \matching autarky" is introduced in Subsection 7.1, yielding an autarky system where the associated class of \matching satisable" clause-sets is a strict subclass of the class of linearly satisable clause-sets, while the class of \matching lean" clause-sets on the other hand strictly contains the class of linearly lean clause-sets. Various characterizations of matching lean clause-sets and the \matching lean kernel" of a clause-set are given in Subsections 7.2 and, based on the notion of \transversal matroids," in Subsection 7.3. Finally two approaches for (general) SAT decision exploiting a bounded \maximal deciency" (a bounded dierence of the number of clauses and the number of variables for any subset) are discussed in Subsection 7.4, the rst one searching for a proof of unsatisability, and the second one searching for a proof of satisability. 7.1 Matching autarkies The bipartite graph B(F ) naturally associated with F 2 CLS is dened as () v 2 var(c), in the triple B(F ) := (F; R F ; var(f )) with (C; v) 2 R F other words, the \left side" of B(F ) is given by the set of clauses of F, the \right side" by the set of variables of F, and an edge joins a clause C and a variable v if v is positively or negatively contained in C. For an autarky ' 2 Auk(F ) the subgraph B ' (F ) := ( F ('); R ' ; var(')) of B(F ) is dened by (C; v) 2 R ' i for that x 2 C with var(x) = v we have '(x) = 1, in other words, B ' (F ) has the clauses satised by ' on its \left side", the variables used by ' on its \right side", and an edge joining a clause C 2 F and a variable v 2 var(c) i ' sets the (positive or negative) occurrence of v in C actually to true. Now let MAuk(F ) be the set of autarkies ' 2 Auk(F ) such that B ' (F ) contains a matching covering F ('). 26

Lemma 7.1 MAuk is an autarky system. Proof: Consider ' 1 ; ' 2 2 MAuk(F ). We have to show that B '1 ' 2 (F ) contains a matching covering F (' 1 ' 2 ) = F (' 1 ) [ F (' 2 ): By assumption there is a matching M in B '1 ' 2 (F ) covering F (' 2 ), and there is a matching M 0 in B '1 ' 2 (F ) covering F (' 1 )n F (' 2 ). None of the edges in M is incident with an edge in M 0, since by denition of an autarky ' 2 does not touch the clauses in F n F (' 2 ). Thus M [ M 0 is a matching in B '1 ' 2 (F ) covering F (' 1 ) [ F (' 2 ). It follows ' 1 ' 2 2 MAuk(F ). Now consider F 0 F and ' 2 MAuk(F ) and let ' 0 := ' j var(f 0 ). By denition there is a matching M in B ' (F ) covering F ('). Let M 0 be M restricted to B ' 0(F 0 ). Obviously M 0 covers F 0(' 0 ) and thus ' 0 2 MAuk(F 0 ) holds. We use MSAT := SAT MAuk for the set of matching satisable clause-sets and MLEAN := LEAN MAuk for the set of matching lean clause-sets, while the normal form obtained by applying matching autarkies as long as possible is denoted by N ma (F ) := N MAuk (F ). To understand the notion of matching autarkies, the deciency (F ) := c(f )? n(f ) of clause-sets F 2 CLS (introduced in [12]), dened as the dierence of the number of clauses and the number of variables, and the maximal deciency (F ) := max F 0 F (F ) (introduced in [26]) are of basic importance. Lemma 7.2 A clause-set is matching satisable i it has maximal deciency 0 (and thus MSAT is the (poly-time decidable) class of \matched clause-sets" introduced in [12]): MSAT = ff 2 CLS : (F ) = 0g: Every matching satisable clause-set is also linearly satisable, while every linearly lean clause-set is also matching lean: MSAT LSAT ; LLEAN MLEAN : Furthermore applying matching autarkies gives a weaker normal form than applying linear autarkies, that is, N la (F ) N ma (F ) holds for all F 2 CLS. 27