<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Syntactic Isomorphism of CNF Boolean Formulas is Graph Isomorphism Complete?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Giorgio Ausiello</string-name>
          <email>ausiello@dis.uniroma1.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Cristiano</string-name>
          <email>fra.cristiano@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paolo Fantozzi</string-name>
          <email>paolo.fantozzi@uniroma1.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luigi Laura</string-name>
          <email>luigi.laura@uninettunouniversity.net</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dip. di Informatica e Sistemistica Universita di Roma "La Sapienza"</institution>
          ,
          <addr-line>Rome</addr-line>
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>International Telematic University Uninettuno</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We investigate the complexity of the syntactic isomorphism problem of two Boolean Formulas in Conjunctive Normal Form (CNF): given two CNF Boolean formulas '(a1; : : : ; an) and '(b1; : : : ; bn) decide whether there exists a permutation of clauses, a permutation of literals and a bijection between their variables such that '(a1; : : : ; an) and '(b1; : : : ; bn) become syntactically identical. We rst show that the CNF Syntactic Formulas Isomorphism (CSFI) problem is polynomial time reducible to the graph isomorphism problem (GI) and then we show that GI is polynomial time reducible to a special case of the CSFI problem (MCSFI) that is CSFI-complete and also GI-complete, thus concluding that the syntactic isomorphism problem for CNF Boolean formulas is GI-complete. Finally we observe that the same results hold when considering DNF Boolean formulas (DSFI).</p>
      </abstract>
      <kwd-group>
        <kwd>Boolean isomorphism Complexity theory Graph isomorphism Boolean formulas Semantic isomorphism Syntactic isomorphism</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>A Boolean function of arity n f = f (x1; : : : ; xn) is a function f : f0; 1gn ! f0; 1g.
The truth table of a Boolean function fully speci es the function but it does not
provide any information about its syntactic representation; on the opposite side,
a Boolean formula is a syntactic representations of a Boolean function but such
representation is not unique since each Boolean function may be represented by a
set of Boolean formulas. Calling equivalent the Boolean formulas that represent
the same function, we have that a Boolean function is de ned by a Boolean
formula modulo logical equivalences.</p>
      <p>
        Given two Boolean formulas F and G, representing respectively the Boolean
functions f and g, the Formula Equivalence (FE) problem is to decide whether
they are semantically (or logically) equivalent (i.e., if and only if each model of
F is a model of G and vice versa, or, in other terms, f = g [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]), that is F G
[
        <xref ref-type="bibr" rid="ref20">20</xref>
        ].
      </p>
      <p>
        Given two Boolean functions, represented by the Boolean formulas F and
G de ned over the variables set fx1; ::::; xng, a semantic isomorphism is a
permutation of the variables of G such that G becomes logical equivalent to
F i.e. such that F G = G( (x1); ::::; (xn)). For example the Boolean
formulas x ^ :y and :x ^ y are semantically isomorphic, since we can swap
x and y in the rst formula to get the second, but they are not semantically
equivalent (it su ces to build the truth table in order to see this). The problem
of deciding whether two Boolean formulas are semantically isomorphic is called
the Formula Isomorphism (FI) problem [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. From the de nitions of Formula
Equivalence and Formula Isomorphism problems it follows that two semantically
equivalent Boolean formulas are also semantically isomorphic since the semantic
equivalence relationship preserves the semantic isomorphism.
      </p>
      <p>
        The Formula Isomorphism problem has been widely studied by Agrawal and
Thierauf showing that, though FI is in 2P, i.e. the second level of the
polynomial hierarchy, it cannot be 2P-complete unless the polynomial time
hierarchy collapses [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. In Thierauf's work [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ], where the author considers several
problems related to equivalence and isomorphism, it is shown that Graph
Isomorphism (GI) is polynomial time reducible to FI.
      </p>
      <p>A di erent notion from the semantic isomorphism is the syntactic
isomorphism, i.e. a permutation of the variables fx1; ::::; xng of G such that it
becomes syntactically identical to F , i.e., F = G = G( (x1); ::::; (xn)). It is
straightforward to verify that each syntactic isomorphism is also a semantic
isomorphism, since it is a permutation of variables that leads two Boolean formulas
to be equivalent, but not the converse. By de nition, we have that literals are
variables and negated variables, terms are conjunction of literals and clauses are
disjunction of literals. Recalling that each Boolean function can be represented
as a disjunction of terms, called Disjunctive Normal Form (DNF), or as a
conjunction of clauses, called Conjunctive Normal Form (CNF), we say that two
Boolean formulas represented in CNF (or DNF) are syntactically isomorphic if
and only if they can be written in identical way under a suitable permutation
of variables, literals and clauses (terms); e.g., the Boolean formulas, x ^ :y and
:x ^ y are syntactical isomorphic since we can swap x and y in the rst formula,
and we can permute the two literals, getting :x ^ y.</p>
      <p>
        In this paper we focus on the Syntactic Isomorphism of CNF Boolean
Formulas (CSFI): given two CNF Boolean formulas '(a1; : : : ; an) and '(b1; : : : ; bn),
decide whether there exist a permutation of clauses, a permutation of literals,
and a bijection between their variables such that '(a1; : : : ; an) and '(b1; : : : ; bn)
become syntactically identical. We prove that this problem is GI-complete: in
particular, we i) show that the CSFI problem is polynomial time reducible to
the graph isomorphism problem (GI, that is solvable in quasi-polynomial time
as in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) and ii) show that a special case of the CSFI problem, limited to
monotone formulas Monotone CNF Syntactic Formula Isomorphism (MCSFI), is both
CSFI-complete and GI-complete; combining these results it holds that the
syntactic isomorphism problem of CNF Boolean formulas is GI-complete.
      </p>
      <p>
        The end results of our ndings are twofold. First, the GI-completeness of
CSFI supports the existence of a \graph theoretic independent" isomorphism
class, as already observed by Fortin [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] about the Term Equality Problem (TEP)
[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]; furthermore, it is interesting to observe that CSFI represents a special (and
easier) case of TEP and, as a consequence of our results, TEP reduces to CSFI.
The CSFI problem is peculiar amongst the graph isomorphism-complete
problems in that i) it regards a subclass of Boolean formulas and so it is not de ned
in terms of a graph theoretic problem, ii) it is a special case of a more general
isomorphism problem that is FI; therefore all GI-complete problems (either of
a graph theoretic nature or not) can be reduced to a subset of FI.
      </p>
      <p>
        Second, our result increases, in some sense, the similarities between the
Formula Isomorphism and the Graph Isomorphism problems:
1. a) If GI is NP-complete, then the polynomial hierarchy collapses to its
second level [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ].
b) If FI is NPNP-complete, then the polynomial hierarchy collapses to its
third level [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
2. a) The counting version of GI can be reduced to its decision version [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        b) The counting version of FI can be reduced to its decision version [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
3. a) GI p CSFI, that is poly-time reducible to its monotone case MCSFI
[this paper].
b) FI is poly-time reducible to its monotone case [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>
        Thus, in addition to the similarities regarding noncompleteness and counting
versions of each problem [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ], thanks to the results proved in this paper, we can
deduce that both FI and CSFI are polynomial time reducible to their monotone
special case.
      </p>
      <p>
        A preliminary version of this paper [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] appeared in the Electronic Colloquium
on Computational Complexity3 (ECCC). This preliminary version has been cited
in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] as related result for the graph isomorphisms and in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] as related result
about isomorphism testing of computable functions. It has been further cited in
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] as base to build a solution for the incremental analysis of source code and
in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] in the related works section as equivalent to the max-cut problem.
      </p>
      <p>This paper is organized as follows: in the next section we provide the
necessary background, whilst our main result is discussed in Section 3.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries and problems de nitions</title>
      <p>
        In this section we provide the necessary background and de nitions of the
problems considered. We begin, from [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], with the already mentioned
De nition 1 (Graph Isomorphism (GI)). Given two undirected graphs
G1 = (V1; E1) and G2 = (V2; E2), are G1 and G2 isomorphic, i.e. is there a
bijection f : V1 ! V2 such that (u; v) 2 E1 if and only if (f (u); f (v)) 2 E2?
3 ECCC papers have the status of technical reports.
      </p>
      <p>
        A well known example of a GI-complete problem is the following [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]:
De nition 2 (Bipartite Graph Isomorphism (BGI)). Given two
undirected bipartite graphs G1 = (V1; W1; E1) and G2 = (V2; W2; E2), are G1 and
G2 isomorphic, i.e. are there two bijections f : V1 ! V2 and g : W1 ! W2 such
that (u; v) 2 E1 if and only if (f (u); g(v)) 2 E2?
      </p>
      <p>
        We also consider, from [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], the following:
De nition 3 (Matrix Isomorphism (MI)). Given two n m matrices A and
B with entries respectively a(i;j) and b(i;j) ( 1 i n, 1 j m ) de ned over
an integers set , the Matrix Isomorphism (MI) problem is to determine whether
there exists an isomorphism between the matrices, i.e. a permutation of the rows
of A r and a permutation of the columns of A c such that a( r(i); c(j))=b(i;j) .
      </p>
      <p>
        We remind that other relevant GI-complete problems concern the
isomorphisms of nite automata, hypergraphs, and context-free grammars [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. We can
now formally introduce
      </p>
      <p>De nition 4 (CNF Syntactic Formula Isomorphism (CSFI)). Given
two Boolean formulas in CNF:
m 2n
'(a1; :::; an) = ^ _
c=1 l=1 (c;l)
m 2n
'(b1; :::; bn) = ^ _
c=1 l=1 (c;l)
=
=
(1;1)_; :::; _ (1;2n) ^; :::; ^</p>
      <p>(m;1)_; :::; _ (m;2n)
(1;1)_; :::; _ (1;2n) ^; :::; ^
(m;1)_; :::; _ (m;2n)
the syntactic isomorphism problem of CNF Boolean formulas (CSFI) is to
decide whether there exists a permutation of the clauses c and a permutation of
the literals l in '(a1; :::; an) and a bijection f between their variables such that
'(a1; :::; an) and '(b1; :::; bn) may be written in the same way i.e.:
m 2n
^ _ f ( ( c(c); l(l)))
c=1 l=1</p>
      <p>m 2n
= ^ _
c=1 l=1 (c;l)</p>
      <p>As an example, considering the following formulas de ned over the variables
set fx; y; zg [ fa; b; cg :
'(z; y; x) = (:z _ z) ^ (y _ x) ^ (z _ :y _ :x)
'(a; c; b) = (a _ b) ^ (:a _ c _ :b) ^ (:c _ c)
a possible solution consists in the following bijection f = fhy; ai; hx; bi; hz; cig
and a suitable permutations of c and l.</p>
      <p>Recalling that a Boolean formula is said to be monotone if it does not contain
any negation, the following problem can be seen as a special case of CSFI, in
which there are no negated variables.</p>
      <p>De nition 5 (Monotone CNF Syntactic Formula Isomorphism (MCSFI)).
Considering two Boolean monotone formulas in CNF, the syntactic isomorphism
problem for CNF monotone Boolean formulas (MCSFI) is the CSFI problem
restricted to CNF monotone formulas.</p>
    </sec>
    <sec id="sec-3">
      <title>CSFI is GI-complete</title>
      <p>
        Before presenting our main result, we need to prove few lemmas that describe
some relationship between the problems de ned in the previous section. In
particular, the combination of these lemmas allows us to provide the following results:
CSFI
where p and p represents, respectevely, polynomial-time reduction and
polynomialtime equivalency, from which we can derive that CSFI is GI-complete.
Lemma 1. The matrix isomorphism problem between matrices with entries
dened over the integers set = f0; 1g is GI-complete.
and MI f0;1g
Proof. We prove the above lemma by showing that it holds both BGI
p BGI :
1. BGI p MI f0;1g: by de nition two graphs G1 and G2 whose adjacency
matrices are respectively A1 and A2, are isomorphic if and only if there
exists a permutation matrix P such that A2 = P A1P 1 [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
2. MI f0;1g p BGI : each binary matrix M1 corresponds to a bipartite graph
G1 whose adjacency matrix A1 is:
      </p>
      <p>A1 =
Where M1T is the transpose of M1. Is simple to verify that two binary matrices
M1 and M2 are isomorphic if and only if the respective bipartite graph, whose
adjacency matrices are build upon the showed reduction, are isomorphic. So, it
holds BGI p MI f0;1g. tu
Theorem 1. CSFI is deterministic polynomial time reducible to MI (i.e.,
CSFI p MI ).</p>
      <p>We rst provide the reduction, whilst its correctness hinges on Lemma 2 and
Lemma 3.</p>
      <p>Reduction. Each CNF formula can be represented by a matrix whose n rows
represent variables, belonging or not to the literals of each clause, and whose
m columns represent clauses, and entries are de ned over the set of integers
= f 1; 0; 1; 2g such that the generic entry a(i;j) at the i-th row and the j-th
column may be:
{ 0 if the i-th variable does not belong to the literals of the j-th clause, neither
positive nor negated.
{ 1 if the i-th variable belongs to the literals of the j-th clause.
{ -1 if the i-th negated variable belongs to the literals of the j-th clause.
{ 2 if both the i-th negated and the i-th non negated variables belong to the
literals of the j-th clause.
For the previous example, we have:</p>
      <p>02 0 11
'(z; y; x) = @0 1 1A
0 1 1</p>
      <p>Such a matrix can be built in deterministic polynomial time from ' since
there are exactly n m entries to place in the matrix where n is the cardinality
of the variables set and m is the cardinality of the clauses set.</p>
      <p>In order to prove the theorem we divide it in two distinct lemmas.</p>
      <p>Lemma 2. If two CNF formulas '(x1; :::; xn) and '(y1; :::; yn) are syntactically
isomorphic then the respective matrices M ['(x1; :::; xn)] and M ['(y1; :::; yn)],
built upon the mentioned reduction, are isomorphic:
('(x1; :::; xn); '(y1; :::; yn)) 2 CSFI ) (M ['(x1; :::; xn)]; M ['(y1; :::; yn)]) 2 MI
Proof. We can see that each permutation of clauses in '(x1; :::; xn) corresponds
to a column permutation in M ['(x1; :::; xn)] and each permutation of
literals, present or not in the clauses of '(x1; :::; xn) , corresponds to a row
permutation of M ['(x1; :::; xn)].Moreover, when '(x1; :::; xn) is syntactically
isomorphic to '(y1; :::; yn) then the matrix of this isomorphism, by construction,
matches with M ['(y1; :::; yn)] . So deciding if two CNF formulas '(x1; :::; xn) and
'(y1; :::; yn) are syntactically isomorphic corresponds to decide if, permutating
rows and columns of M ['(x1; :::; xn)] , we can switch from M ['(x1; :::; xn)] to
M ['(y1; :::; yn)]. But deciding if there exist row and column permutations
between two matrices, with entries de ned over an integers set, such that the two
matrices coincide, is a special case of the MI problem (case with entries de ned
over the set = f 1; 0; 1; 2g ). tu
Lemma 3. If two matrices M ['(x1; :::; xn)] and M ['(y1; :::; yn)], built
respectively from the CNF formulas '(x1; :::; xn) and '(y1; :::; yn) upon the showed
reduction, are isomorphic then the CNF formulas '(x1; :::; xn) and '(y1; :::; yn)
are syntactically isomorphic:
('(x1; :::; xn); '(y1; :::; yn)) 2 CSFI ( (M ['(x1; :::; xn)]; M ['(y1; :::; yn)]) 2 MI
Proof. Suppose that the two matrices M ['(x1; :::; xn)] and M ['(y1; :::; yn)] are
isomorphic, then, by de nition, it exists a row and column permutation in
M ['(x1; :::; xn)] such that it coincides with M ['(y1; :::; yn)]. Since, by the showed
reduction, each matrix with entries over the integers set = f 1; 0; 1; 2g
corresponds to a CNF formula and vice versa, we have that, each column permutation
in M ['(x1; :::; xn)] corresponds to a clause permutation in '(x1; :::; xn) and each
row permutation in M ['(x1; :::; xn)] corresponds to a permutation of literals,
present or not in the clauses of '(x1; :::; xn), and when the two matrices coincide
then, by construction, the respective CNF formulas are syntactically isomorphic
(they are written in identical way except a bijection between their variables).
So, deciding if there exist row and column permutations in M ['(x1; :::; xn)] such
that it coincides with M ['(y1; :::; yn)] is equivalent to decide if there exists a
permutation of clauses and literals and a bijection of variables in '(x1; :::; xn)
such that it is syntactically isomorphic to '(y1; :::; yn).
tu
Theorem 2. The MI problem, between two matrices MA and MB whose entries
are de ned over the integers set = f 1; 0; 1; 2g, is deterministic polynomial
time reducible to GI (i.e., MI f 1;0;1;2g p GI ).</p>
      <p>Reduction. Each n m matrix of a MI instance, between two matrices MA
and MB whose entries are de ned over the integers set = f 1; 0; 1; 2g , can be
represented with a graph G = (V; A) built as follow (see Figure 1 for an example
of the construction):
{ Set of vertices V = fR [ C [ E [ S [ Xg where:</p>
      <p>R = fr1; ::::; rng is the set of rows.</p>
      <p>C = fc1; :::; cmg is the set of columns.</p>
      <p>X is the set of 3 vertices used to build 2 cliques of degrees 1 and 2 each
of which identi es, respectively, the set of columns and the set of rows.
E = f(1; 1); (1; 2); :::; (m; n)g is the set of ordered pairs (i; j) that
represents the coordinates of each generic entry a(i;j) positioned at the i-th
row and j-th columns.</p>
      <p>S is the set of 18 vertices used to build 4 cliques of degrees 3,4,5, and 6
each of which codi es, respectively, the integers numbers: 1,0,1, and 2.
{ Set of edges A obtained linking the following vertices:
every vertex ri is linked to the pairs (i; j) and is linked to the clique of
degree 2 in order to represent the membership of ri to the set of rows.
every vertex cj is linked to the pairs (i; j) and is linked to the clique of
degree 1 in order to represent the membership of cj to the set of columns.
every vertex (i; j) is linked to the clique of degree k if and only if the
entry a(i;j) is codi ed by the clique of degree k.</p>
      <p>It is simple to verify that each vertex (i; j) is linked to the clique
corresponding to the codi ed number as speci ed in the matrix and so the built graph
matches the whole relational structure of the matrix. Two examples of
reductions from isomorphic matrices are shown in Figure 1; vertices are labelled for
clarity. We note that the corresponding graph can be built in polynomial time
from the matrix MA.</p>
      <p>In order to prove the theorem we divide it in two distinct lemmas.</p>
      <p>Lemma 4. If two matrices MA and MB, with entries de ned over the integers
set = f 1; 0; 1; 2g, are isomorphic then the corresponding graphs G[MA] and
G[MB], built following the shown reduction, are isomorphic:</p>
      <p>(MA; MB) 2 MI f 1;0;1;2g ) (G[MA]; G[MB]) 2 GI
Proof. If MA and MB are isomorphic then they are the same matrix modulo
row and column permutations. We can see that each permutation of rows and
each permutation of columns in the matrix MA corresponds, respectively, to a
00 1 11
A = @0 1 1A</p>
      <p>2 0 1
permutation of vertices aligned with the rows and to a permutation of vertices
aligned with the columns in G[MA] and when an isomorphism between MA and
MB exists, then the graph of the matrix of this isomorphism, by construction, is
isomorphic to G[MB]. But permuting vertices aligned with rows and/or columns
in G[MA] generate graphs isomorphic to G[MA]. So deciding if two matrices MA
and MB, whose entries are de ned over the integers set = f 1; 0; 1; 2g , are
isomorphic corresponds to deciding if the two graphs G[MA] and G[MB], built
upon the shown reduction, are isomorphic.
tu
Lemma 5. If two graphs G[MA] and G[MB], built respectively from the matrices
MA and MB upon the shown reduction, are isomorphic then the matrices MA
and MB are isomorphic:</p>
      <p>(MA; MB) 2 MI f 1;0;1;2g ( (G[MA]; G[MB]) 2 GI
Proof. It is straightforward to see that, when the graphs G[MA] and G[MB]
are isomorphic, then, since by construction each graph represents the whole
relational structure of a matrix, the two matrices MA and MB from which they
were built, have to be isomorphic.
tu
Theorem 3. MI f0;1g between two binary matrices MA and MB is deterministic
polynomial time reducible to MCSFI (i.e., MI f0;1g p MCSFI ).</p>
      <p>Reduction. As seen in Theorem 1, each CNF formula can be represented by
a matrix whose entries are de ned over an integers set and vice versa. More
formally, each CNF monotone formula can be represented as a matrix in which
rows represents the variables and columns represents the clauses and matrix
entries are de ned over the integers set = f0; 1g such that the generic entry
a(i;j) positioned at the i-th row and j-th column is:
{ 0 if the i -th literal is not presents in the j -th clause
{ 1 if the i -th literal is present in the j -th clause</p>
      <p>01 0 11
Example: the binary matrix A1 = @0 1 1A corresponds to the CNF
mono1 1 0
tone formula de ned over the variables set fz; y; xg :</p>
      <p>'(z; y; x) = (z _ x) ^ (y _ x) ^ (z _ y)</p>
      <p>Note that such a CNF formula can be built in polynomial time from a n m
matrix since there are at most n m literals to place in each formula.</p>
      <p>As we did for the previous theorems, we divide the proof in two distinct
lemmas.</p>
      <p>Lemma 6. If two binary matrices MA and MB are isomorphic then the
respective CNF monotone formulas '(a1; :::; an) and '(b1; :::; bn), built upon the
showed reduction, are syntactically isomorphic:</p>
      <p>(MA; MB) 2 MI ) ('(a1; :::; an); '(b1; :::; bn)) 2 MCSFI</p>
      <p>Therefore we have:
Corollary 2. MI f0;1g</p>
      <p>p MCSFI .</p>
      <p>Since MI f0;1g is GI-complete we have:</p>
      <sec id="sec-3-1">
        <title>Corollary 3. MCSFI is GI-complete.</title>
        <p>We can now present our main result.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Theorem 4. CSFI is GI-complete.</title>
        <p>Proof. As seen, each rows permutation in MA corresponds to literals
permutation in '(a1; :::; an) and each columns permutation in MA corresponds to clauses
permutation in '(a1; :::; an) and moreover, when MA is isomorphic to MB then
the CNF monotone formula of this isomorphism will matches, by construction,
with '(b1; :::; bn) unless for a variables bijection. So, deciding if two binary
matrices MA and MB are isomorphic is equivalent to decide if permutating literals
and clauses of '(a1; :::; an), and using a variables bijection, we can switch from
'(a1; :::; an) to '(b1; :::; bn) but this problem is, by de nition, the syntactic
isomorphism problem between CNF monotone formulas.</p>
        <p>Lemma 7. If two CNF monotone formulas '(a1; :::; an) and '(b1; :::; bn), built
respectively from the matrices MA and MB following the above reduction, are
syntactically isomorphic then the two binary matrices MA and MB are
isomorphic:</p>
        <p>(MA; MB) 2 MI ( ('(a1; :::; an); '(b1; :::; bn)) 2 MCSFI
Proof. Suppose that the two CNF monotone formulas '(a1; :::; an) and
'(b1; :::; bn) are isomorphic, then, by de nition, there exist literal and clause
permutations in '(a1; :::; an) and a variables bijection such that it is syntactically
identical to '(b1; :::; bn). Since, by the shown reduction, each matrix corresponds
to a CNF monotone formula and vice versa, we have that, by construction, each
clauses permutation in '(a1; :::; an) corresponds to columns permutation in MA
and each literals permutation in '(a1; :::; an) corresponds to rows permutation
in MA, and when the two CNF formulas are syntactically isomorphic then the
respective binary matrices coincides. For the above reasons, deciding if, unless a
variables bijection, there exists a clauses and literals permutation in '(a1; :::; an)
such that it is syntactically isomorphic to '(b1; :::; bn) is equivalent to deciding
if there exists a rows and columns permutation in MA so that it is isomorphic
to MB.</p>
        <p>As seen, each binary matrix can be regarded as a CNF monotone formula
and vice versa, hence using the same argument as in Theorem 1 it is simple to
prove the following:</p>
        <p>p MI f0;1g).</p>
        <p>Corollary 1. MCSFI between two monotone formulas '(a1; :::; an) and
'(b1; :::; bn) is deterministic polynomial time reducible to MI f0;1g (i.e.,
MCSFI
tu
tu
Proof. Combining the results from Lemma 1 through Corollary 2, we can state
the following:</p>
        <p>
          CSFI
In this paper we have shown that the CSFI problem is graph isomorphism
complete. This result is interesting rst because CSFI is one of the few GI-complete
problems that are not of a graph theoretic nature. Second, it allows to extend
the similarities between the Formula Isomorphism and the Graph Isomorphism
problems, already observed [
          <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
          ]. In particular, we have shown that GI is
equivalent to the problem of testing syntactic isomorphism for monotone CNF Boolean
Formulas (MCSFI), as FI is equivalent to the problem of testing semantic
isomorphism of monotone Boolean Formulas [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. An interesting aspect for future
researches is the extension of this result for weighted graphs.
        </p>
        <p>Finally, let us observe that our result easily extends to the syntactic
isomorphism of DNF Boolean Formulas. In fact, it is simple to verify that, for the
commutativity of the operators AND and OR, identical theorems can be proved
when the Boolean formula is in disjunctive normal form (DNF), since
analogously to Theorem 1, we can replace each CNF formula with a DNF formula,
that can be associated to a matrix whose columns represent terms and rows
represent variables.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Agrawal</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thierauf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>The boolean isomorphism problem</article-title>
          .
          <source>Foundations of Computer Science</source>
          ,
          <source>Annual IEEE Symposium on 0</source>
          ,
          <issue>422</issue>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Agrawal</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thierauf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>The formula isomorphism problem</article-title>
          .
          <source>SIAM Journal on Computing</source>
          <volume>30</volume>
          (
          <issue>3</issue>
          ),
          <volume>990</volume>
          {
          <fpage>1009</fpage>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Arvind</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vasudev</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Isomorphism testing of boolean functions computable by constant-depth circuits</article-title>
          .
          <source>Information and Computation</source>
          <volume>239</volume>
          ,
          <issue>3</issue>
          {
          <fpage>12</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ausiello</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cristiano</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laura</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Syntactic isomorphism of CNF boolean formulas is graph isomorphism complete</article-title>
          .
          <source>Electronic Colloquium on Computational Complexity (ECCC) 19</source>
          ,
          <issue>122</issue>
          (
          <year>2012</year>
          ), http://eccc.hpi-web.
          <source>de/report/2012/122</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Babai</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Graph isomorphism in quasipolynomial time</article-title>
          .
          <source>CoRR abs/1512</source>
          .03547 (
          <year>2015</year>
          ), http://arxiv.org/abs/1512.03547
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Basin</surname>
            ,
            <given-names>D.A.:</given-names>
          </string-name>
          <article-title>A term equality problem equivalent to graph isomorphism</article-title>
          .
          <source>Inf. Process. Lett</source>
          .
          <volume>51</volume>
          ,
          <issue>61</issue>
          {
          <fpage>66</fpage>
          (
          <year>July 1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Booth</surname>
            ,
            <given-names>K.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Colburn</surname>
            ,
            <given-names>C.J.:</given-names>
          </string-name>
          <article-title>Problems polynomially equivalent to graph isomorphism</article-title>
          .
          <source>Tech. Rep. CS-77-04</source>
          , Computer Science Department, University of Waterloo (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Borchert</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ranjan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stephan</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>On the computational complexity of some classical equivalence relations on boolean functions</article-title>
          .
          <source>Theory of Computing Systems</source>
          <volume>31</volume>
          (
          <issue>6</issue>
          ),
          <volume>679</volume>
          {
          <fpage>693</fpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Eikenberry</surname>
          </string-name>
          , J.:
          <article-title>Approaches to solving the graph isomorphism problem</article-title>
          .
          <source>Tech. Rep. GIT-CC-04-09</source>
          , Georgia Institute of Technology (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Ettinger</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The complexity of comparing reaction systems</article-title>
          .
          <source>Bioinformatics</source>
          <volume>18</volume>
          (
          <issue>3</issue>
          ),
          <volume>465</volume>
          {
          <fpage>469</fpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fortin</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>The graph isomorphism problem</article-title>
          .
          <source>Tech. Rep. 96-20</source>
          , Dept. of Computing Science, University of Alberta (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Garey</surname>
            ,
            <given-names>M.R.</given-names>
          </string-name>
          , Johnson, D.S.:
          <article-title>Computers and Intractability, A Guide to the Theory of NP-Completeness</article-title>
          .
          <string-name>
            <given-names>W.H.</given-names>
            <surname>Freeman</surname>
          </string-name>
          and Company, New York (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Goldsmith</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hagen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mundhenk</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Complexity of dnf minimization and isomorphism testing for monotone formulas</article-title>
          .
          <source>Inf. Comput</source>
          .
          <volume>206</volume>
          ,
          <issue>760</issue>
          {775 (
          <year>June 2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Huth</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryan</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>Logic in Computer Science: modelling and reasoning about systems (second edition)</article-title>
          . Cambridge University Press (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Mathon</surname>
          </string-name>
          , R.:
          <article-title>A note on the graph isomorphism counting problem</article-title>
          .
          <source>Information Processing Letters</source>
          <volume>8</volume>
          ,
          <issue>131</issue>
          {
          <fpage>132</fpage>
          (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Miao</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cai</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          :
          <article-title>On the hardness of reachability reduction</article-title>
          .
          <source>In: International Computing and Combinatorics Conference</source>
          . pp.
          <volume>445</volume>
          {
          <fpage>455</fpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Mudduluru</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramanathan</surname>
            ,
            <given-names>M.K.</given-names>
          </string-name>
          :
          <article-title>E cient incremental static analysis using path abstraction</article-title>
          . In: International Conference on Fundamental Approaches to Software Engineering. pp.
          <volume>125</volume>
          {
          <fpage>139</fpage>
          . Springer (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Schmidt-Schau</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rau</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sabel</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Algorithms for extended alpha-equivalence and complexity</article-title>
          .
          <source>In: 24th International Conference on Rewriting Techniques and Applications (RTA</source>
          <year>2013</year>
          ).
          <article-title>Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (</article-title>
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. Schoning, U.:
          <article-title>Graph isomorphism is in the low hierarchy</article-title>
          .
          <source>J. Comput. Syst. Sci</source>
          .
          <volume>37</volume>
          (
          <issue>3</issue>
          ),
          <volume>312</volume>
          {
          <fpage>323</fpage>
          (
          <year>1988</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Thierauf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>The computational complexity of equivalence and isomorphism problems</article-title>
          . Springer-Verlag, Berlin, Heidelberg (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Zemlyachenko</surname>
            ,
            <given-names>V.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Korneenko</surname>
            ,
            <given-names>N.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tyshkevich</surname>
            ,
            <given-names>R.I.</given-names>
          </string-name>
          :
          <article-title>Graph isomorphism problem</article-title>
          .
          <source>Journal of Mathematical Sciences</source>
          <volume>29</volume>
          ,
          <volume>1426</volume>
          {
          <fpage>1481</fpage>
          (
          <year>1985</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>