<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Computing #2-SAT of Grids, Grid-Cylinders and Grid-Tori Boolean Formulas</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">C</forename><surname>Guillén</surname></persName>
							<email>cguillen@inaoep.mx</email>
							<affiliation key="aff0">
								<orgName type="department">Coordinación de Ciencias Computacionales Inst. Nac. de Astrofísica Óptica y Electrónica</orgName>
								<address>
									<addrLine>Tonantzintla Pue</addrLine>
									<postCode>72840</postCode>
									<country key="MX">México</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="department">Facultad de Ciencias de la Computación Benemérita</orgName>
								<orgName type="institution">Universidad Autónoma de Puebla</orgName>
								<address>
									<addrLine>14 Sur y Av. Sn. Claudio Edif</addrLine>
									<postCode>135</postCode>
									<settlement>Puebla</settlement>
									<country key="MX">México</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">A</forename><surname>López López</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Coordinación de Ciencias Computacionales Inst. Nac. de Astrofísica Óptica y Electrónica</orgName>
								<address>
									<addrLine>Tonantzintla Pue</addrLine>
									<postCode>72840</postCode>
									<country key="MX">México</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">G</forename><surname>De Ita</surname></persName>
							<email>deita@inaoep.mx</email>
							<affiliation key="aff1">
								<orgName type="department">Facultad de Ciencias de la Computación Benemérita</orgName>
								<orgName type="institution">Universidad Autónoma de Puebla</orgName>
								<address>
									<addrLine>14 Sur y Av. Sn. Claudio Edif</addrLine>
									<postCode>135</postCode>
									<settlement>Puebla</settlement>
									<country key="MX">México</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Computing #2-SAT of Grids, Grid-Cylinders and Grid-Tori Boolean Formulas</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">79B1BC6E8672FDC49376E0BE63E3D457</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-19T17:52+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>We present an adaptation of transfer matrix method for signed grids, grid-cylinders and grid-tori. We use this adaptation to count the number of satisfying assignments of Boolean Formulas in 2-CNF whose corresponding associated graph has such grid topologies.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The transfer matrix method is a general technique which has been used to find exact solutions for a great variety of problems. In particular, have been developed techniques, based on this method, to count structures in a grid graph G n,m , e.g., spanning trees, Hamiltonian cycles, independent sets, acyclic orientations, k-coloring, and so on <ref type="bibr" target="#b0">[1,</ref><ref type="bibr" target="#b1">2,</ref><ref type="bibr" target="#b6">7,</ref><ref type="bibr" target="#b8">9]</ref>. In the case of others grid topologies, as grid-cylinders and grid-tori, there exists little work done on counting structures. In <ref type="bibr" target="#b8">[9]</ref> the transfer matrix technique is used, with some modifications, to count structures in fixed height grid-cylinders and tori. In the case of counting satisfying assignments of Boolean formulas with this type of grid topologies, the work is null as far as we know.</p><p>In almost all cases of counting structures in grid graphs, the technique used follows a transfer matrix formulation. For example, Calkin and Wilf <ref type="bibr" target="#b1">[2]</ref> used this method for computing the number I(G n,m ) of independent sets of a grid graph G n,m and Golin in <ref type="bibr" target="#b8">[9]</ref> count the same number (and others structures) but in grid-cylinders and grid-tori.</p><p>The number of independent sets in a grid graph, problem denoted as I(G m,n ), is closely related to the "hard-square model" used in statistical physics and, of particular interest is the so-called "hard-square entropy constant" defined as lim m,n→∞ I(G m,n ) 1/m•n <ref type="bibr" target="#b0">[1]</ref>. Applications also include for instance tiling and efficient coding schemes in data storage <ref type="bibr" target="#b11">[12]</ref>.</p><p>It is well known that the number of satisfying assignments (models) of a monotone formula F in two conjunctive normal form 2-CNF, which is a propositional formula formed by a conjunction of disjunctions of two nonnegative literals, is related with the number of independent sets of the constrained undirected graph of the formula <ref type="bibr" target="#b10">[11,</ref><ref type="bibr" target="#b8">9]</ref>. The number of models of a Boolean formula F is denoted as #SAT(F ) and the computation of #SAT(F ) for formulas in 2-CNF, denoted as #2-SAT, is a classic #Pcomplete problem.</p><p>There is a significant amount of works on the design of algorithms for solving #SAT, #2-SAT and #3-SAT <ref type="bibr" target="#b5">[6,</ref><ref type="bibr" target="#b15">16,</ref><ref type="bibr" target="#b9">10,</ref><ref type="bibr" target="#b2">3,</ref><ref type="bibr" target="#b3">4,</ref><ref type="bibr" target="#b7">8,</ref><ref type="bibr" target="#b4">5,</ref><ref type="bibr" target="#b14">15]</ref>. Most of them are based on branch-and-bound techniques, for example, applying the recursive decomposition of the input formula based on the classical Davis and Putnam division rule <ref type="bibr" target="#b7">[8,</ref><ref type="bibr" target="#b3">4]</ref>.</p><p>Regarding to #2-SAT problem, considering formulas with n variables, the better time bounds than the trivial O(2 n ) have been achieved in the works of Dahllöf et al. <ref type="bibr" target="#b3">[4]</ref>, Fürer <ref type="bibr" target="#b7">[8]</ref> and Wahlströn <ref type="bibr" target="#b14">[15]</ref>. Wahlströn uses a refinement of the method of analysis, where is extended the concept of compound measures to multivariate measures in which a leading running time of O(1.2377 n ) has obtained, for weighted formulas in 2-CNF.</p><p>An important line of research is related to the determination of the constraints on the 2-CF formulas which allow us to compute #2-SAT in polynomial time. In this address, there are few general results, one of them is due to Vadhan <ref type="bibr" target="#b13">[14]</ref> who showed that #2-SAT is solved in polynomial time for monotone 2-CNF where all variables appear twice at the most. Roth <ref type="bibr" target="#b10">[11]</ref> generalizes the previous results for non only the monotone case, but continuing to consider two ocurrence per variable at the most. In this paper, we extend the class of formulas in 2-CNF in which, counting the number of satisfying assignments can be done in polynomial time.</p><p>On the other hand, Bubbley has shown that #2µ-SAT (conjunction of clauses without bound in its length and where each variable may appear at most twice) is a #P-Complete problem <ref type="bibr" target="#b12">[13]</ref>.</p><p>In order to extend the transfer matrix method for considering any kind of 2-CNF's we have to deal with grid graphs with signed edges. In the case of counting models of Boolean formulas with this type of grid topologies, the work is null as far as we know. In this article, we adapt the transfer matrix method considering three classes of grid topologies: grid graphs, grid-cylinders and grid-tori obtained from 2-CNF's not restricted to the monotone case, and we show how to compute the number of models for these classes of formulas. The complexity of our method when counting models in structures of fixed height is polynomial.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>For k and l integers such that k &lt; l, we denote the set {k, k + 1, ..., l} by <ref type="bibr">[k, l]</ref>. The Euclidean distance between points u and v in Euclidean 2-space is denoted by <ref type="figure" target="#fig_0">1d</ref>).</p><formula xml:id="formula_0">d(u, v). A grid graph of size m × n is a graph G n,m with vertex set V (n, m) = [0, n] × [0, m] and edge set E(n, m) = {(u, v) ∈ V 2 (n, m) : d(u, v) = 1}. Let E 1 (n, m) = ({0} × [0, m]) × ({n} × [0, m]) and E 2 (n, m) = ([0, n] × {0}) × ([0, n] × {m}) be two sets of edges. A grid-cylinder of size m × n is a graph C(n, m) with vertex set V (n, m) and edge set EC(n, m) = E(n, m) ∪ E (n, m), where E (n, m) ∈ {E 1 (n, m), E 2 (n, m)} (see figures 1b and 1c). A grid-tori of size m × n is a graph T (n, m) with the same vertex set V (n, m) but its edge set is ET (n, m) = E(n, m) ∪ E 1 (n, m) ∪ E 2 (n, m) (see figure</formula><p>A set I ⊆ V is called an independent set if no two of its elements are joined by an edge. We describe the method used by Calkin as follows.</p><p>Let I(G n,m ) be the number of independent sets of G n,m , and let C m be the set of all (m + 1)-vectors v of 0 s and 1 s without two consecutive 1 s (the number of these vectors is F ib m+2 , the (m + 2)-th Fibonacci number). Let T m be an F ib m+2 × F ib m+2 symmetric matrix of 0 s and 1 s whose rows and columns are indexed by the vectors of C m . The entry of T m in position (u, v) is 1 if the vectors u, v are orthogonal, and is 0 otherwise, T m is called the transfer matrix for G n,m . Then, I(G n,m ) is the sum of all entries of the n-th power matrix T n m , i.e., I(G n,m ) = 1 t T n m 1, where 1 is the (F ib m+2 )vector whose entries are all 1 s. For example, if m = 2 and n = 3 we have that C 2 = {(0, 0, 0), (1, 0, 0), (0, 1, 0), (0, 0, 1), (1, 0, 1)}, </p><formula xml:id="formula_1">T 2 =       1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 0 0 1 0 1 0 0       and T 3 2 =      <label>17</label></formula><formula xml:id="formula_2">      , therefore I(G(2, 3)) = 1T 3 2 1 = 227.</formula><p>A Boolean formula F is called monotone when each literal appearing in F occurs with just one of its signs. Given a monotone Boolean formula F in 2-conjunctive normal form (2-CN F ), we can associate an undirected graph G F = (V, E), called its constrained graph, where V is the set of variables of F and two vertices of V are connected by an edge in E if they belong to the same clause of F . Conversely, given an undirected graph G = (V, E), we can associate a monotone 2-CN F formula F G with variables V , and where</p><formula xml:id="formula_3">F G = (u,v)∈E (u ∨ v).</formula><p>We say that a 2-CN F F is a cycle, path, tree, grid, grid-cylinder or a grid-tori formula if its constrained graph is a cycle, path, tree, grid, grid-cylinder or a grid-tori, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Extending the Transfer Matrix Method</head><p>In order to extend the transfer matrix method for considering any kind of 2-CNF's we have to deal with grid graphs with signed edges. In this case, the associated graph of a formula F is a graph G F = (V, E) with labels on the edges, where V is the set of variables appearing in F , and a clause (l ∨ l ) of F determines an ordered pair (s 1 , s 2 ) of signs assigned as the labels of the edge connecting the variables appearing in l and l . The signs s 1 and s 2 are related to the signs of the literals l and l respectively. For example, the clause (¬x ∨ y) determines the labelled edge: "x − + y" which is equivalent to the edge "y + − x".</p><p>Some authors had considered the signs of the literals in the clauses of a 2-CN F F by using orientation of the edge corresponding to the clause <ref type="bibr" target="#b11">[12,</ref><ref type="bibr" target="#b12">13]</ref>, and then the problem of counting models of F is seen as counting the number of orientations in its respective constrained graph, which has no sink.</p><p>A graph with labelled edges on a set A is a triplet G = (V, E, ψ), where (V, E) is a graph, and ψ is a function with domain E and range A. The valuation ψ(e) is called the label of the edge e ∈ E.</p><p>We denote S = {+, −}, S = {±, ∓} and Ŝ = S ∪ S. Let G n,m = (V, E, ψ) be a grid graph with labelled edges on S 2 . Let x and y be nodes in V . If e = {x, y} is an edge and ψ(e) = (s, s ), then s (s ) is called the adjacent sign to x (y), see figure <ref type="figure">2</ref>. Let e = ((i, j), (i , j )) be an edge of a grid graph G n,m , if i = i and j = j , e is called a column-edge (see figure <ref type="figure">2b</ref>), and if i = i and j = j , e is called a row-edge (see figure <ref type="figure">2a</ref>). If x is a node of G n,m , then either x has one incident column-edge, or x has two incident column-edges. If x has one incident column-edge e 0 whose label is (s 0 , s 0 ), then we define sgn c (x) = s 0 , where s 0 is the adjacent sign to x (see figure <ref type="figure" target="#fig_4">3a</ref>).</p><formula xml:id="formula_4">s s' x y j=j' i i' a) x y j j' i=i' b) s s' x s' a) x b) o s o s' o s o s 1 s' 1</formula><p>If x has two incident column-edges e 0 and e 1 with labels (s 0 , s 0 ) and (s 1 , s 1 ) respectively ( see figure <ref type="figure" target="#fig_4">3b</ref> ), we define sgn cc : V → Ŝ as follows</p><formula xml:id="formula_5">sgn cc (x) =        + if (s 0 , s 1 ) = (+, +), − if (s 0 , s 1 ) = (−, −), ± if (s 0 , s 1 ) = (+, −), ∓ if (s 0 , s 1 ) = (−, +).</formula><p>In general, we can consider the function sgn : V → Ŝ as sgn(x) = sgn c (x) if x has one incident column-edge or sgn(x) = sgn cc (x) if x has two incident column-edges.</p><formula xml:id="formula_6">+ + + - -+ - - x0 y0 y1 + + y2 x2 x1 + + + + z0 z1 z2 + + -- + + + + + + G 2,0,1 G 2,1,2 x x x 0 1 2 y y y y y y z z z 0 0 0 1 1 1 2 2 2 + - - - + + -- - - + + + + -+ + + + + + + + + + + + + a) b) Fig. 4: a) Grid G 2,2 , b) Subgrids G 2,0,1 , G 2,1,2</formula><p>Given G n,m = (V, E, ψ) a grid graph with labelled edges on S 2 , we consider for k = 0, ..., n−1 the sub-grid graph with labelled edges</p><formula xml:id="formula_7">G m,k,k+1 = (V k , E k , ψ k ), where V k = V ∩([k, k+1]×[0, m]), E k = {(u, v) ∈ V 2 k : d(u, v) = 1} and ψ k = ψ | E k the restriction of ψ to E k .</formula><p>Notice that G m,k,k+1 specifies a grid of two columns and m+1 rows. If x is a node in G m,k,k+1 , then x has only one incident row-edge e. For k = 0, . . . , n − 1 we define sgn k : V k → S as sgn k (x) = s, where s is the adjacent sign of x on the incident row-edge e.</p><p>For example, let G 2,2 be the grid graph illustrated in figure <ref type="figure">4a</ref>. Then sgn(x) = +, for x ∈ {x 0 , x 2 , y 2 , z 0 , z 1 , z 2 }, sgn(y 0 ) = − and sgn(y 1 ) = sgn(x 1 ) = ∓. In G 2,0,1 , we have sgn 0 (x) = + for all x ∈ V 0 . In G 2,1,2 , sgn 1 (x) = + for x ∈ {y 2 , z 1 , z 2 } and sgn 1 (x) = − for x ∈ {y 0 , y 1 , z 0 } (see figure <ref type="figure">4b</ref>).</p><p>Given a vector v = (v 0 , v 1 , . . . , v m ) ∈ {0, 1} m+1 and a string s = s 0 . . . s m of signs in Ŝ, for m ≥ 0, we define the family of operators</p><formula xml:id="formula_8">ϕ s : {0, 1} m+1 → {0, 1} p , (m + 1 ≤ p ≤ 2m + 2) as ϕ s (v) = (s 0 v 0 , . . . , s m v m )</formula><p>, where</p><formula xml:id="formula_9">s j v j =        v j if s j = +, vj if s j = −, (v j , vj ) if s j = ±, ( vj , v j ) if s j = ∓.</formula><p>(1) for j = 0, . . . , m. For v ∈ {0, 1}, v denotes 1 − v and v denotes (v 0 , ..., vm ). For instance, ϕ +,−,±,∓,− (1, 0, 1, 1, 0) = (+1, −0, ±1, ∓1, −0) = (1, 1, (1, 0), (0, 1), 1).</p><p>In general, we can omit the internal parenthesis given the associative property of the cartesian product. In particular, the vector (1, 1, (1, 0), (0, 1), 1) can be seen as (1, 1, 1, 0, 0, 1, 1).</p><p>Let F m be the set of all (m+1)-vectors v of 0 s and 1 s, and let C m ⊂ F m be the set of all (m + 1)-vectors v of 0 s and 1 s, such that v does not have two consecutive 1 s. The cardinality of C m (denoted by</p><formula xml:id="formula_10">|C m |) is F ib m+2 (the (m + 2)-th Fibonacci number), while |F m | = 2 m+1 . Given s = s 0 s 1 • • • s m a string of signs in Ŝ, we define F s m = {e ∈ F m : ϕ s (e) ∈ C m+ }, where = |{s ∈ {s 0 , ..., s m } : s ∈ S}|.</formula><p>Remark 1. Notice that C m ⊆ F m and that the equality holds when s i = + for all i = 0, ..., m. Furthermore, if there exists i ∈ {0, ..., m} such that</p><formula xml:id="formula_11">s i ∈ Ŝ, then |F s m | &lt; |C m |.</formula><p>Let G n,m be a grid graph of size m × n with labelled edges on the set S 2 , we assume that x k 0 , . . . , x k m and x k+1 0 , . . . , x k+1 m are the nodes of the k − th and (k + 1) − th columns respectively of G n,m , 0 ≤ k &lt; n (or columns 0 and 1 of G m,k,k+1 respectively).</p><p>For</p><formula xml:id="formula_12">j = k, k + 1, let s j = s j 0 s j 1 • • • s j m and τ j = τ j 0 τ j 1 • • • τ j m be two string of signs, such that s j i = sgn(x j i ) and τ j i = sgn k (x j i ) for i = 0, • • • , m.</formula><p>Following the idea proposed in <ref type="bibr" target="#b1">[2]</ref>, we define a matrix T k = T m,k , the transfer matrix from column k to the column k + 1 of G n,m as follows.</p><formula xml:id="formula_13">T k is an | F s k+1 m | × | F s k</formula><p>m | matrix of 0 s and 1 s whose rows and columns are indexed by vectors</p><formula xml:id="formula_14">(v, u) of F s k+1 m × F s k m .</formula><p>The entry of T k in position (v, u) is 1 if the vectors ϕ τ k (u) and ϕ τ k+1 (v) are orthogonal, and is 0 otherwise. Notice that if s j i and τ j i are positive signs for i = 0, • • • , m, j = k, k + 1, then T k is the transfer matrix used in the classic transfer method <ref type="bibr" target="#b1">[2]</ref>.</p><p>For example, if G 2,2 is the grid graph with labelled edges as it is illustrated in figure <ref type="figure">4</ref>. For G 2,0,1 , we have that s 0 = + ∓ +, s 1 = − ∓ + and</p><formula xml:id="formula_15">τ 0 = τ 1 = + + +, then F +∓+ 2 = {u 1 , • • • , u 4 } and F −∓+ 2 = {v 1 , v 2 , v 3 , v 4 },</formula><p>where u 1 = (0, 0, 0), u 2 = (0, 1, 0), u 3 = (0, 0, 1), u 4 = (1, 1, 0), v 1 = (1, 0, 0), v 2 = (0, 1, 0), v 3 = (1, 0, 1) and v 4 = (1, 1, 0). The transfer matrix</p><formula xml:id="formula_16">T 0 = (a ij ) 4×4 , is a 4 × 4 matrix determined, for 1 ≤ i, j ≤ 4, as a ij = 1, if ϕ τ 1 (v i ) • ϕ τ 0 (u j ) = 0 and a ij = 0 otherwise. Since τ 0 = τ 1 = + + +, we have ϕ τ 1 (v i ) = v i and ϕ τ 0 (u j ) = u j . Then T 0 =     1 1 1 0 1 0 1 0 1 1 0 0 1 0 1 0    <label>(2)</label></formula><p>For G 2,1,2 that is also depicted in figure <ref type="figure">4</ref> = {ν 1 ,...,ν 5 }, where µ 1 =(1,0,0), µ 2 =(0,1,0), µ 3 =(1,0,1), µ 4 =(1,1,0), ν 1 =(0,0,0), ν 2 =(1,0,0), ν 3 =(0,1,0), ν 4 =(0,0,1) and ν 5 =(1,0,1). Then,</p><formula xml:id="formula_17">ϕ −−+ (F −∓+ 2 ) = {(0, 1, 0), (<label>1</label></formula><p>, 0, 0), (0, 1, 1), (0, 0, 0)} and ϕ −++ (F −∓+ 2 ) = {(1, 0, 0), (0, 0, 0), (1, 1, 0), (1, 0, 1), (0, 0, 1)}. The transfer matrix</p><formula xml:id="formula_18">T 1 = (b ij ) 5×4 , is such that, for 1 ≤ i ≤ 5 and 1 ≤ j ≤ 4, b ij = 1, if ϕ −++ (ν i ) • ϕ −−+ (µ j ) = 0 and b ij = 0 otherwise. Then T 1 =       1 0 1 1 1 1 1 1 0 0 0 1 1 0 0 1 1 1 0 1      <label>(3)</label></formula><p>In the case, not necessarily monotone, of a formula F having a constrained grid graph G n,m with labelled edges on S 2 and transfer matrices T 0 , . . . , T n−1 , we conclude that the sum of all entries of the product matrix T n−1 • • • T 0 is the number of satisfying assignment of F . This fact is expressed in the following theorem.</p><p>Theorem 1. Let F be a grid formula such that its constrained graph is G n,m (1 ≤ n) with labelled edges on S 2 , then #SAT (F ) is given by the sum of all entries of the product matrix T n−1 • • • T 0 , where T k is the transfer matrix of the two consecutive columns:</p><formula xml:id="formula_19">k and k + 1 of G n,m , k = 0, ..., n − 1.</formula><p>Before detailing the proof, we consider the following example and observations.</p><p>Example 1. Let F = (x 0 ∨ y 0 ) ∧ (¬y 0 ∨ ¬z 0 ) ∧ (z 0 ∨ z 1 ) ∧ (z 1 ∨ z 2 ) ∧ (z 2 ∨ y 2 ) ∧ (y 2 ∨x 2 )∧(x 2 ∨x 1 )∧(¬x 1 ∨x 0 )∧(x 1 ∨y 1 )∧(¬y 1 ∨z 1 )∧(¬y 1 ∨¬y 0 )∧(y 1 ∨y 2 ).The constrained graph of F is the grid graph G 2,2 with labelled edges depicted in Figure <ref type="figure" target="#fig_4">3</ref>. Then, from last example, T 0 and T 1 are the transfer matrices given in ( <ref type="formula" target="#formula_16">2</ref>) and ( <ref type="formula" target="#formula_18">3</ref>) respectively. Now, we have that the product matrix T 1 T 0 is the following</p><formula xml:id="formula_20">T 1 T 0 =       3 2 2 0 4 2 3 0 1 0 1 0 2 1 2 0 3 1 3 0       therefore, #SAT(F ) = 30.</formula><p>If F n,m denotes a grid formula having as constrained graph a grid G n,m , for n &gt; 0, we can write</p><formula xml:id="formula_21">F n,m = ( n i=0 C i ) ∧ ( n−1 =0 R )<label>(4)</label></formula><p>where</p><formula xml:id="formula_22">C i = m−1 k=0 (η i 2k x i k ∨ η i 2k+1 x i k+1 )<label>(5)</label></formula><formula xml:id="formula_23">η i q ∈ S for q = 0, ..., 2m − 1, R = m j=0 (τ 2 j x j ∨ τ 2 +1 j x +1 j )<label>(6)</label></formula><p>τ r j ∈ S for j = 0, ..., m, r ∈ {2 , 2 + 1}. Here, the formulas C i and R are called column-f ormula and row-f ormula respectively.</p><p>Notice that for n, m &gt; 0</p><formula xml:id="formula_24">F n,m = F n,m−1 ∧ C n ∧ R n−1 , F m,0 = C 0 , F 0,n = R 0 . (<label>7</label></formula><formula xml:id="formula_25">)</formula><p>For i = 0, ..., n − 1, we define</p><formula xml:id="formula_26">F m,i,i+1 = C i ∧ C i+1 ∧ R i<label>(8)</label></formula><p>Note that</p><formula xml:id="formula_27">F n,m = n−1 i=0 F m,i,i+1<label>(9)</label></formula><p>If φ : {x i 0 , . . . , x i m } → {0, 1} is an assignment of values for the variables of C i (partial assignments of the variables of F n,m ), this is denoted by the (m + 1)-vector (φ(x i 0 ), ..., φ(x i m )). That is, an assignment for the variables of C i can be seen as a vector in {0, 1} m+1 . Observe that, the assignments of the variables of F n,m can be considered as a matrix of n columns formed by the assignments for the variables of C 0 , ..., C n .</p><p>For i = 0, ..., n, let ξ i 0 = η i 0 , ξ i m = η i 2m−1 and ξ i q = sgn(x i q ) for q = 1, ..., m − 1. Also, notice that for v ∈ {0, 1}</p><formula xml:id="formula_28">ξ i q v = η i 2q−1 v = η i 2q v if η i 2q−1 = η i 2q , (η i 2q−1 v, η i 2q v) otherwise. (<label>10</label></formula><formula xml:id="formula_29">)</formula><p>To prove the theorem 1, first, we characterize the partial assignments of the variables of F n,m such that satisfies each column-formula C i (lemma 1). Second, we characterize the pairs of assignments that satisfies the formula (8), i.e. satisfies two consecutive column-formulas C i , C i+1 and the respective row-formula R i (lemma 2). Finally, we prove that all matrix of partial assignments derived from the lemmas 1 and 2, satisfies the formula F n,m .</p><p>Next, for simplicity we omit the superindex i of v i j , x i j , η i j , τ i j and ξ i j .</p><p>Lemma 1. The vector u ∈ {0, 1} m+1 satisfies the formula (5</p><formula xml:id="formula_30">) iff u ∈ F ξ 0 •••ξ m m .</formula><p>satisfies the row-formula R j (equation ( <ref type="formula" target="#formula_23">6</ref>)) for j = 0, ..., m.</p><p>Remark 2. From previous lemma we have</p><formula xml:id="formula_31">1 t T i 1 = #SAT (F m,i,i+1</formula><p>), where T i is the transfer matrix of the column i to the column i + 1 of G n,m (the constrained graph of F n,m ).</p><p>Finally, we prove the theorem 1.</p><p>Proof (Theorem 1). From equation ( <ref type="formula" target="#formula_27">9</ref>), it is clear that the vector (u 0 , ...,</p><formula xml:id="formula_32">u n ) ∈ {0, 1} (n+1)(m+1) satisfies the formula F n,m iff (u i , u i+1 ) sat- isfies F m,i,i+1 for i = 0, ..., n − 1. By lemma 2, (ū i , ūi+1 ) ∈ F ξ i m × F ξ i+1 m and ϕ τ 2i (u)•ϕ τ 2i+1 (v) = 0 for i = 0, ..., n−1. Let a i l i+1 l i be the entry of the trans- fer matrix T i in the position (ū i+1 , ūi ) ∈ F ξ i+1 m × F ξ i m .</formula><p>Then, by definition of T i and previous analysis, (u 0 , ..., u n ) ∈ {0, 1} (n+1)(m+1) satisfies the formula</p><formula xml:id="formula_33">F n,m iff (ū 0 , ..., ūn ) ∈ F ξ 0 m × • • • × F ξ n m and a n−1 l n l n−1 • • • a 0 l 1 l 0 = 1. Therefore #SAT (F n,m ) is the cardinality of the set {(ū 0 , • • • , ūn ) ∈ F ξ 0 m × • • • × F ξ n m : a n−1 l n l n−1 • • • a 0 l 1 l 0 = 1}. Taking into account all the terms a n−1 l n l n−1 • • • a 0 l 1 l 0 = 0, we obtain #SAT (F n,m ) = (l 0 ,...,l n )∈I 0 ×•••×I n a n−1 l n l n−1 • • • a 1 l 2 l 1 • a 0 l 1 l 0 = 1 t T n−1 • • • T 0 1,</formula><p>where</p><formula xml:id="formula_34">I k = {0, ..., r k }, r k =| F ξ k m | for k = 0, ..., n.</formula><p>Remark 3. Note that T = (T n−1 T n−2 . . . T 0 ) = (α i,j ) rn×r 0 is a r n × r 0matrix, where α i,j is the number of models of F n,m with ūi ∈ F ξ 0 m and ūj ∈ F ξ n m fixed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Counting Models on Grid-Cylinders and Grid-Tori</head><p>In this section, we consider grid-cylinder or a grid-tori formulas. We are interested in counting models for formulas with these classes of grid topologies. For this objective, we introduce the Hadamard product " ", which is defined for k × l matrices as follows. Let A = (a i,j ) k×l and B = (b i,j ) k×l be k × l matrices. The k × l matrix A B = (a i,j b i,j ) is the Hadamard product. Notice that a grid-cylinder C(n, m) can be seen as a grid G n,m = (V (n, m), E(n, m)) with edges from the column 0 to the column n (row 0 to the row m) of G n,m . Then the transfer matrix T n of the column 0 to the column n (row 0 to the row m) has sense.</p><formula xml:id="formula_35">Theorem 2. Let F be a grid-cylinder formula of size m × n with graph C(n, m) = (V (n, m), EC(n, m)), EC = E ∪ E 1 . Then #SAT (F ) = 1 t T n (T n−1 T n−2 . . . T 0 )1,</formula><p>where T k is the transfer matrix of the two consecutive columns: k and k + 1 of G n,m , k = 0, ..., n − 1 and T n is the transfer matrix of the columns 0 and n of G n,m .</p><p>Clearly the previous theorem, also is true for EC = E∪E 2 (interchanging n by m and m by n). In the following example is illustrated. <ref type="figure" target="#fig_3">5</ref>). We have that the matrix T 1 T 0 is given in example 1. The transfer matrix T 2 of columns 0 and 2 is computed as follows.</p><formula xml:id="formula_36">Example 2. Let F = (x 0 ∨ y 0 ) ∧ (¬y 0 ∨ ¬z 0 ) ∧ (z 0 ∨ z 1 ) ∧ (z 1 ∨ z 2 ) ∧ (z 2 ∨ y 2 ) ∧ (y 2 ∨ x 2 ) ∧ (x 2 ∨ x 1 ) ∧ (¬x 1 ∨ x 0 ) ∧ (x 1 ∨ y 1 ) ∧ (¬y 1 ∨ z 1 ) ∧ (¬y 1 ∨ ¬y 0 ) ∧ (y 1 ∨ y 2 ), (x 0 , z 0 ), (¬x 1 , z 1 ), (¬x 2 , ¬z 2 )) (see figure</formula><p>The strings of signs for edges from the column 0 to column 2 are given by:</p><formula xml:id="formula_37">s 0 0 s 0 1 s 0 2 = + ∓ +, s 2 0 s 2 1 s 2 2 = + + +, τ 0 0 τ 0 1 τ 0 2 = + − − and τ 2 0 τ 2 1 τ 2 2 = + + −, then F +∓+ 2 = {u 1 , • • • , u 4 } and F +++ 2 = {v 1 , v 2 , v 3 , v 4 , v 5 }</formula><p>, where u 1 = (0, 0, 0), u 2 = (0, 1, 0), u 3 = (0, 0, 1), u 4 = (1, 1, 0), v 1 = (0, 0, 0), v 2 = (1, 0, 0), v 3 = (0, 1, 0), v 4 = (0, 0, 1) and v 5 = (1, 0, 1). The transfer matrix T 2 = (a ij ) 5×4 , is a 5 × 4 matrix given by</p><formula xml:id="formula_38">a ij = 1 if ϕ ++− (v i ) • ϕ +−− (u j ) = 0 and a ij = 0 otherwise (1 ≤ i ≤ 5 and 1 ≤ j ≤ 4). Then T 2 (T 1 T 0 ) =       0 0 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 1 1 0             3 2 2 0 4 2 3 0 1 0 1 0 2 1 2 0 3 1 3 0       =       0 0 2 0 0 0 3 0 0 0 0 0 2 1 2 0 3 1 3 0       Therefore #SAT (F ) = 17.</formula><p>Proof (Theorem 2). Let F be a grid-cylinder formula of size m×n. We have that F can be expressed as F = F n,m ∧R n , where F n,m is given by equation (4) and R n = m j=0 (τ 2n j x 0 j ∨τ 2n+1 j x n j ), that is, the graph of F is the graph o G n,m (the constrained graph of F n,m ) adding new labelled edges (with signs τ 2n j and τ 2n+1 j ) from the column 0 to column n of G n,m . Let T n = (β ij ) r n ×r 0 be the transfer matrix of the column 0 to column n of G n,m following the arcs given by R n . From remark 3, T = (T n−1 T n−2 . . . T 0 ) = (α ij ) rn×r 0 , where α i,j is the number of satisfying assignments of F n,m with ūi ∈ F ξ 0 m and ūj ∈ F ξ n m fixed. Also, the formula R n is satisfied by u i and u j iff β ij = 1. Therefore, there are β ij α ij satisfying assignments of F with ūi ∈ F ξ 0 m and ūj ∈ F ξn m fixed. We observe that, the product β ij α ij is the entry a i,j of the Hadamard product T n T .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Transfer Matrix for Cycles</head><p>We can adapt our extension for computing the transfer matrix between two consecutive simple cycles instead of two consecutive columns as follows.</p><p>Let F m be the set of all (m + 1)-vectors v of 0 s and 1 s (as in section 3), and let C m ⊂ F m be the set of all (m + 1)-vectors v of 0 s and 1 s, such that v does not have two consecutive 1 s and does not have 1 s in the first and last positions. Given s = s 0 s 1 . . . s m a string in Ŝ, we define </p><formula xml:id="formula_39">F s m = {e ∈ F m : ϕ s (e) ∈ C</formula><formula xml:id="formula_40">k + 1) − th cycles respectively of C n,m , 0 ≤ k &lt; n. For j = k, k + 1, let s j = s j 0 s j 1 • • • s j m and τ j = τ j 0 τ j 1 • • • τ j m</formula><p>, where s j i = sgn(x j i ) and τ j i = sgn k (x j i ). We define a matrix T k = T m,k , the transfer matrix from cycle k to the cycle k + 1 as follows.</p><formula xml:id="formula_41">T k is an | F s k+1 m | × | F s k</formula><p>m | matrix of 0 s and 1 s whose rows and columns are indexed by vectors of</p><formula xml:id="formula_42">F s k+1 m × F s k m .</formula><p>The entry of T k in position (u, v) is 1 if the vectors ϕ τ k (u) and ϕ τ k+1 (v) are orthogonal, and is 0 otherwise (see figure <ref type="figure">6</ref>).</p><p>Example 3. We compute the transfer matrices: T 0 from cycle x 0 y 0 z 0 to x 1 y 1 z 1 and T 1 from cycle x 1 y 1 z 1 to x 2 y 2 z 2 for F as in example 2 (see figure <ref type="figure" target="#fig_3">5</ref>). We have s 0 0 s 0 1 s 0</p><formula xml:id="formula_43">2 = + ± ∓, s 1 0 s 1 1 s 1 2 = ∓ ± + and s 2 0 s 2 1 s 2 2 = ∓ + ±. On the other hand, τ 0 = τ 0 0 τ 0 1 τ 0 2 = +−+, τ 1 = τ 1 0 τ 1 1 τ 1 2 = −−+, and τ 2 = τ 2 0 τ 2 1 τ 2 2 = τ 3 = τ 3 0 τ 3 1 τ 3 2 = + + +. Then F +±∓ 2 = {u 1 , u 2 , u 3 }, F ∓±+ 2 = {v 1 , v 2 , v 3 } and F ∓±+ 2 = {w 1 , w 2 , w 3 }</formula><p>, where u 1 = (0, 1, 0), u 2 = (0, 0, 1), u 3 = (0, 1, 1), v 1 = (0, 0, 0), v 2 = (1, 0, 0), v 3 = (0, 1, 0), w 1 = (1, 0, 0), w 2 = (0, 0, 1) and w 3 = (1, 0, 1). Computing ϕ τ 2k (u) • ϕ τ 2k+1 (v) for k = 0, 1 and following the definition of transfer matrix, we have that T 0 and T 1 are 3×3 matrices given by</p><formula xml:id="formula_44">T 0 =   1 0 1 1 0 1 1 1 1   , T 1 =   1 0 1 1 1 1 1 0 1   .</formula><p>Remark 4. For F from example 2,</p><formula xml:id="formula_45">1T 1 T 0 1 = 1   2 1 2 3 1 3 2 1 2   1 = 17 = #SAT (F ).</formula><p>The following theorem can also be used for computing #SAT (F ) for F , a grid-cylinder. Proof. The proof is similar to the proof of theorem 1, taking F m , C m , F s m and the transfer matrix for cycles as in section 4.1. We observe that, in this case the column formulas C i given by equation ( <ref type="formula" target="#formula_22">5</ref>) are simple cycles.</p><p>Using theorem 3 and Hadamard product we can compute #SAT (F ) for F , a grid-tori. The following theorem shows us how to proceed.</p><formula xml:id="formula_46">Theorem 4. Let F be a grid-tori of size m × n with graph T (n, m) = (V (n, m), E (n, m)), E = E 1 ∪E 2 . Then #SAT (F ) = T n (T n−1 T n−2 . . . T 0 ),</formula><p>where T k is the transfer matrix of the two consecutive cycles of T (n, m): k and k + 1 of G n,m , k = 0, ..., n − 1 and T n is the transfer matrix of the cycle 0 and n.</p><p>Example 4. Let F 1 = F ∪ {(x 0 ∨ x 2 ), (¬y 0 , y 2 ), (¬z 0 , ¬z 2 )}, where F is like in example 2 (see figure <ref type="figure" target="#fig_5">7</ref>). We compute the transfer matrix T 2 from the cycle x 0 y 0 z 0 to the cycle x 2 y 2 z 2 as follows. We have</p><formula xml:id="formula_47">F +±∓ 2 = {u 1 , u 2 , u 3 } and F ∓±+ 2 = {w 1 , w 2 , w 3 },</formula><p>where the vectors u i s and w j s are as the example 3, only that now τ 0 = τ 0 0 τ 0 1 τ 0 2 = + − − and τ 3 = τ 3 0 τ 3 1 τ 3 2 = + + −. The transfer matrix T 2 is obtained by the evaluation of ϕ τ 3 (w i ) • ϕ τ 0 (u j ) for 1 ≤ i ≤ 3 and 1 ≤ j ≤ 3. Then</p><formula xml:id="formula_48">T 2 =   0 1 1 1 1 1 1 1 1  </formula><p>In example 2, T 0 , T 1 and T 1 T 0 are computed, therefore Proof (Theorem 4). Using the theorem 3, the proof is similar to the proof of theorem 2 taking F n,m as a grid cylinder formula and R n = C 0 ∧ C n ∧ E, where C 0 and C n corresponding to the first cycle and n-th cycle of C(n, m) respectively (C(n, m) is the grid cylinder associated to F n,m ). The formula E is formed by new clauses corresponding to edges from the vertices of the first cycle to the vertices of n-th cycle of C(n, m).</p><formula xml:id="formula_49">T 2 (T 1 T 0 ) =   0 1 1 1 1 1 1 1 1    <label>2</label></formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>We have presented an extension of the transfer matrix method that allows to consider signed edges on grid graphs, grid-cylinders and grid-tori. We argued about the advantage of this extension in the problem of counting assignments of Boolean formulas in 2-CN F .</p><p>We have designed a procedure for computing #2SAT(F ) where F is a grid, grid-cylinder or grid-tori Boolean formula, based on the sum of all entries of the product matrix of the transfer matrix of each two consecutive columns for the case of a grid. In a grid cylinder we have two result for computing #2SAT(F ) one uses the sum of the entries of the Hadamard product between the transfer matrix of the first column (row) and the top column (row) with the product matrix of the transfer matrix of each two consecutive columns (row). The second result uses the sum of all entries of the product matrix of the transfer matrix of each two consecutive cycles. Finally, if F is a grid tori, we use the sum of the entries of the Hadamard product between the transfer matrix of the first cycle and the top cycle of tori with the product matrix of the transfer matrix of each two consecutive cycles of the tori.</p><p>A work in progress is the detailed determination of the complexity of the proposed extension. However, based on previous works in the transfer matrix method and our preliminary experiments, the complexity remains polynomial as long as the starting grid graphs are of fixed height, we consider the complexity with a fixed-parameter.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: a) Grid, b), c) grid-cylinders and d) grid-tori.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 2 :Fig. 3 :</head><label>23</label><figDesc>Fig. 2: Adjacent sign to x(y) Fig. 3: Incident edges on the node x</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>, we have s 1 = 2 =</head><label>12</label><figDesc>− ∓ +, s 2 = + + +, τ 1 = − − + and τ 2 = − + +, then F −∓+ {µ 1 ,...,µ 4 } and F +++ 2</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Fig. 5 :</head><label>5</label><figDesc>Fig. 5: Grid-Cylinder C(2, 2) Fig. 6: Consecutive Cycles</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Theorem 3 .</head><label>3</label><figDesc>Let F be a grid-cylinder of size m × n with graph C(n, m), then #SAT (F ) = 1 t T n−1 . . . T 0 1, where T k is the transfer matrix of two consecutive cycles: k and k + 1 of C(n, m), for k = 0, ..., n − 1.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Fig. 7 :</head><label>7</label><figDesc>Fig. 7: Grid-Tori of example 4</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_6"><head></head><label></label><figDesc>(F 1 ) = 1T 2 (T 1 T 0 )1 = 15.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head></head><label></label><figDesc>m+ }, =| {s ∈ {s 0 , s 1 , . . . , s m } : s ∈ S} |.</figDesc><table><row><cell>Assume that x k 0 , . . . , x k m and x k+1 0 , . . . , x k+1 m are the nodes of the k − th and (</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0">Proceedings of the 15th International RCRA workshop (RCRA 2008): Experimental Evaluation of Algorithms for Solving Problems with Combinatorial ExplosionUdine, Italy,12-13 December 2008   </note>
		</body>
		<back>
			<div type="annex">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Proof. By definition, it is clear that ϕ ξ 0 ,...,ξ m (u) ∈ F m+k . Now, if u = (u 0 , ..., u m ) satisfies the formula <ref type="bibr" target="#b4">(5)</ref>, then (η 2 u ∨ η 2 +1 u +1 ) = 1 for all ∈ {0, ..., m − 1}, that is equivalent to (η 2 u , η 2 +1 u +1 ) = (1, 1). From <ref type="bibr" target="#b9">(10)</ref> we obtain</p><p>for all ∈ {0, ..., m − 1}. It is straightforward to verify that (ξ u , ξ +1 u +1 ) does have no two consecutive 1's, for example, in the third case, the conditions (η</p><p>Suppose that ϕ ξ 0 ,...,ξ m (u) ∈ C m+k , for = 0, ..., m then (ξ u , ξ +1 u +1 ) does not have two consecutive 1 s. The vector u satisfies the columnformula C i (equation ( <ref type="formula">5</ref>)), otherwise, there is ∈ {0, ..., m − 1} such that η 2 u ∨ η 2 +1 u +1 = 0, then η 2 u = 1 and η 2 +1 u +1 = 1, from <ref type="bibr" target="#b9">(10)</ref> we have ξ u ∈ {1, (η 2 −1 u , 1)} and ξ +1 u +1 ∈ {1, (1, η 2 +2 u +1 )}. Then (ξ u , ξ +1 u +1 ) has two consecutive 1 s.</p><p>For all i = 0, ..., m, we denote the strings ξ i 0 , ..., ξ i m and τ i 0 , ..., τ i m by ξ i and τ i respectively.</p><p>m , from lemma 1, u satisfies C i and v satisfies C i+1 . Now, if ϕ τ 2i (u) • ϕ τ 2i+1 (v) = 0, then τ i j u j • τ i+1 j v j = 0 for all j = 0, ..., m, hence τ i j u i ∨ τ i+1 j v j = 1 for all j = 0, ..., m. Therefore (u, v)</p></div>			</div>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Planar lattice gases with nearest neighbour exclusion</title>
		<author>
			<persName><forename type="first">R</forename><surname>Baxter</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Annals of Combinatorics</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="page" from="191" to="203" />
			<date type="published" when="1999">1999</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">The number of independent sets in a grid graph</title>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">J</forename><surname>Calkin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><forename type="middle">S</forename><surname>Wilf</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">SIAM J. Discrete Math</title>
		<imprint>
			<biblScope unit="volume">11</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="54" to="60" />
			<date type="published" when="1998">1998</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Counting satisfying assignments in 2-sat and 3-sat</title>
		<author>
			<persName><forename type="first">V</forename><surname>Dahllöf</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Jonsson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Wahlström</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">COCOON</title>
				<imprint>
			<date type="published" when="2002">2002</date>
			<biblScope unit="page" from="535" to="543" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Counting models for 2sat and 3sat formulae</title>
		<author>
			<persName><forename type="first">V</forename><surname>Dahllöf</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Jonsson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Wahlström</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Theor. Comput. Sci</title>
		<imprint>
			<biblScope unit="volume">332</biblScope>
			<biblScope unit="issue">1-3</biblScope>
			<biblScope unit="page" from="265" to="291" />
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Using more reasoning to improve #sat solving</title>
		<author>
			<persName><forename type="first">J</forename><surname>Davies</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Bacchus</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">AAAI</title>
				<imprint>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page" from="185" to="190" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Counting the number of solutions for instances of satisfiability</title>
		<author>
			<persName><forename type="first">O</forename><surname>Dubois</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Theor. Comput. Sci</title>
		<imprint>
			<biblScope unit="volume">81</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="49" to="64" />
			<date type="published" when="1991">1991</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">The fibonacci number of a grid graph and a new class of integer sequences</title>
		<author>
			<persName><forename type="first">R</forename><surname>Euler</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">JIS Journal of Integer Sequences</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="1" to="16" />
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Algorithms for counting 2-sat solutions and colorings with applications</title>
		<author>
			<persName><forename type="first">M</forename><surname>Fürer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">P</forename><surname>Kasiviswanathan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">AAIM</title>
				<imprint>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page" from="47" to="57" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Counting structures in grid graphs, cylinders and tori using transfer matrices: Survey and new results</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">J</forename><surname>Golin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y.-C</forename><surname>Leung</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Yong</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">ALENEX/ANALCO</title>
				<imprint>
			<date type="published" when="2005">2005</date>
			<biblScope unit="page" from="250" to="258" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">On the complexity of counting satisfying assignments</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">T</forename><surname>Littman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">L</forename></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">R</forename></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Notes of LICS, Workshop on Satisfiability</title>
				<imprint>
			<date type="published" when="2001">2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">On the hardness of approximate reasoning</title>
		<author>
			<persName><forename type="first">D</forename><surname>Roth</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Artif. Intell</title>
		<imprint>
			<biblScope unit="volume">82</biblScope>
			<biblScope unit="issue">1-2</biblScope>
			<biblScope unit="page" from="273" to="302" />
			<date type="published" when="1996">1996</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Efficient coding schemes for the hard-square model</title>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">M</forename><surname>Roth</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">H</forename><surname>Siegel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">K</forename><surname>Wolf</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Transactions on Information Theory</title>
		<imprint>
			<biblScope unit="volume">47</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="1166" to="1176" />
			<date type="published" when="2001">2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<monogr>
		<title level="m" type="main">Randomized Algorithms: Approximation, Generation, and Counting</title>
		<author>
			<persName><forename type="first">B</forename><surname>Russ</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2001">2001</date>
			<publisher>Distinguished dissertations Springer</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">The complexity of counting in sparse, regular, and planar graphs</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">P</forename><surname>Vadhan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">SIAM J. Comput</title>
		<imprint>
			<biblScope unit="volume">31</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="398" to="427" />
			<date type="published" when="2001">2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">A tighter bound for counting max-weight solutions to 2sat instances</title>
		<author>
			<persName><forename type="first">M</forename><surname>Wahlström</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IWPEC</title>
				<imprint>
			<date type="published" when="2008">2008</date>
			<biblScope unit="page" from="202" to="213" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Number of models and satisfiability of sets of clauses</title>
		<author>
			<persName><forename type="first">W</forename><surname>Zhang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Theor. Comput. Sci</title>
		<imprint>
			<biblScope unit="volume">155</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="277" to="288" />
			<date type="published" when="1996">1996</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
