Tight upper bound on the maximum anti-forcing numbers of graphs

Similar documents
The maximum forcing number of a polyomino

Anti-forcing numbers of perfect matchings of graphs

On the connectivity of the direct product of graphs

Partial cubes: structures, characterizations, and constructions

Algebraic Properties and Panconnectivity of Folded Hypercubes

arxiv: v1 [math.co] 26 Nov 2014

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu**

The 3-rainbow index of graph operations

Resonance graphs of kinky benzenoid systems are daisy cubes

arxiv: v1 [math.co] 15 Sep 2016

Vertex-Coloring Edge-Weighting of Bipartite Graphs with Two Edge Weights

NOTES ON THE INDEPENDENCE NUMBER IN THE CARTESIAN PRODUCT OF GRAPHS

c 2010 Society for Industrial and Applied Mathematics

Bulletin of the Iranian Mathematical Society

Elementary Blocks of Plane Bipartite Graphs

Edge-counting vectors, Fibonacci cubes, and Fibonacci triangle

Two-ended regular median graphs

On the difference between the revised Szeged index and the Wiener index

Prime Factorization and Domination in the Hierarchical Product of Graphs

1.3 Vertex Degrees. Vertex Degree for Undirected Graphs: Let G be an undirected. Vertex Degree for Digraphs: Let D be a digraph and y V (D).

Packing chromatic vertex-critical graphs

On the sextet polynomial of fullerenes

Minimum degree conditions for the existence of fractional factors in planar graphs

DISTINGUISHING PARTITIONS AND ASYMMETRIC UNIFORM HYPERGRAPHS

MINIMALLY NON-PFAFFIAN GRAPHS

Distinguishing Cartesian powers of graphs

Normal components, Kekulé patterns, and Clar patterns in plane bipartite graphs

ON DOMINATING THE CARTESIAN PRODUCT OF A GRAPH AND K 2. Bert L. Hartnell

All Good (Bad) Words Consisting of 5 Blocks

A necessary and sufficient condition for the existence of a spanning tree with specified vertices having large degrees

Prime Factorization in the Generalized Hierarchical Product

Computing distance moments on graphs with transitive Djoković-Winkler s relation

Small Label Classes in 2-Distinguishing Labelings

Improved bounds on the difference between the Szeged index and the Wiener index of graphs

Applications of Isometric Embeddings to Chemical Graphs

Fractional and circular 1-defective colorings of outerplanar graphs

DISC6024 MODC+ ARTICLE IN PRESS. Discrete Mathematics ( ) Note UNCORRECTED PROOF

Group connectivity of certain graphs

Neighborhood reconstruction and cancellation of graphs

arxiv: v1 [math.co] 29 Jul 2010

On the mean connected induced subgraph order of cographs

Perfect matchings in highly cyclically connected regular graphs

A Survey on Comparing Zagreb Indices

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

The L 3 (4) near octagon

Constructive proof of deficiency theorem of (g, f)-factor

On the Average of the Eccentricities of a Graph

On uniquely 3-colorable plane graphs without prescribed adjacent faces 1

Classifying Coloring Graphs

Independence in Function Graphs

Enumeration of subtrees of trees

Characteristic flows on signed graphs and short circuit covers

Zero-Sum Flows in Regular Graphs

Extremal Graphs Having No Stable Cutsets

Proper connection number and 2-proper connection number of a graph

Fine Structure of 4-Critical Triangle-Free Graphs II. Planar Triangle-Free Graphs with Two Precolored 4-Cycles

Spanning Paths in Infinite Planar Graphs

On Orthogonal Double Covers of Complete Bipartite Graphs by Disjoint Unions of Graph-Paths

arxiv: v1 [math.co] 13 Mar 2018

arxiv: v1 [math.co] 5 Sep 2016

UNIQUENESS OF HIGHLY REPRESENTATIVE SURFACE EMBEDDINGS

arxiv: v1 [cs.dm] 29 Oct 2012

arxiv: v2 [math.co] 7 Jan 2016

and critical partial Latin squares.

Automorphism group of the balanced hypercube

A new version of Zagreb indices. Modjtaba Ghorbani, Mohammad A. Hosseinzadeh. Abstract

Three-coloring triangle-free graphs on surfaces V. Coloring planar graphs with distant anomalies

Vertex colorings of graphs without short odd cycles

On uniqueness of prime bipartite factors of graphs

The least eigenvalue of the signless Laplacian of non-bipartite unicyclic graphs with k pendant vertices

Extremal Zagreb Indices of Graphs with a Given Number of Cut Edges

Induced Saturation of Graphs

4 Packing T-joins and T-cuts

Rainbow domination in the lexicographic product of graphs

Exact distance graphs of product graphs

RECOGNIZING WEIGHTED DIRECTED CARTESIAN GRAPH BUNDLES

A characterization of graphs by codes from their incidence matrices

THE GRAPHS WHOSE PERMANENTAL POLYNOMIALS ARE SYMMETRIC

On S-packing edge-colorings of cubic graphs

Graceful Tree Conjecture for Infinite Trees

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected.

Chordal Graphs, Interval Graphs, and wqo

Nowhere-zero 3-flows in triangularly connected graphs

Hamiltonian problem on claw-free and almost distance-hereditary graphs

Saturation number of lattice animals

arxiv: v3 [math.co] 25 Apr 2016

Out-colourings of Digraphs

Multi-colouring the Mycielskian of Graphs

Cographs; chordal graphs and tree decompositions

5 Flows and cuts in digraphs

< k 2n. 2 1 (n 2). + (1 p) s) N (n < 1

A Note On Minimum Path Bases

arxiv: v1 [math.co] 22 Jan 2018

Cycles in 4-Connected Planar Graphs

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected.

THE STRUCTURE AND EXISTENCE OF 2-FACTORS IN ITERATED LINE GRAPHS

M-Polynomial and Degree-Based Topological Indices

12.1 The Achromatic Number of a Graph

CCO Commun. Comb. Optim.

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

Transcription:

Discrete Mathematics and Theoretical Computer Science DMTCS vol. 19:3, 017, #9 Tight upper bound on the maximum anti-forcing numbers of graphs Lingjuan Shi Heping Zhang arxiv:170.01v3 [math.co] 9 Oct 017 School of Mathematics and Statistics, Lanzhou University, P.R. China received 1 th Apr. 017, revised 10 th Aug. 017, accepted 8 th Sep. 017. Let G be a simple graph with a perfect matching. Deng and Zhang showed that the maximum anti-forcing number of G is no more than the cyclomatic number. In this paper, we get a novel upper bound on the maximum anti-forcing number of G and investigate the extremal graphs. If G has a perfect matching M whose anti-forcing number attains this upper bound, then we say G is an extremal graph and M is a nice perfect matching. We obtain an equivalent condition for the nice perfect matchings of G and establish a one-to-one correspondence between the nice perfect matchings and the edge-involutions of G, which are the automorphisms α of order two such that v and α(v) are adjacent for every vertex v. We demonstrate that all extremal graphs can be constructed from K by implementing two expansion operations, and G is extremal if and only if one factor in a Cartesian decomposition of G is extremal. As examples, we have that all perfect matchings of the complete graph K n and the complete bipartite graph K n,n are nice. Also we show that the hypercube Q n, the folded hypercube F Q n (n ) and the enhanced hypercube Q n,k (0 k n ) have exactly n, n + 1 and n + 1 nice perfect matchings respectively. Keywords: Maximum anti-forcing number, Perfect matching, Edge-involution, Cartesian product, Hypercube, Folded hypercube 1 Introduction Let G be a finite and simple graph with vertex set V (G) and edge set E(G). We denote the number of vertices of G by v(g), and the number of edges by e(g). For S E(G), G S denotes the subgraph of G with vertex set V (G) and edge set E(G) \ S. A perfect matching of G is a set M of edges of G such that each vertex is incident with exactly one edge of M. A perfect matching of a graph coincides with a Kekulé structure in organic chemistry. The innate degree of freedom of a Kekulé structure was firstly proposed by Klein and Randić (1987) in the study of resonance structure of a given molecule in chemistry. In general, Harary et al. (1991) called the innate degree of freedom as the forcing number of a perfect matching of a graph. The forcing number of a perfect matching M of a graph G is the smallest cardinality of subsets of M not contained in other perfect matchings of G. The minimum forcing number and maximum forcing number of G are the minimum and maximum values of forcing numbers over all perfect matchings of G, respectively. Computing the minimum forcing number of a bipartite graph with the maximum degree three is an NP -complete problem, see Afshani et al. (00). As we know, the forcing numbers of perfect matchings have been studied for many specific graphs, see Adams et al. (00); Che and Cheng (011); Jiang and Zhang (011, 016); Lam and Pachter (003); Pachter and Kim (1998); Shi and Zhang (016); Zhang and Deng (015); Zhang et al. (010, 015); Zhao and Zhang (016). Vukiěević and Trinajstić (007) defined the anti-forcing number of a graph as the smallest number of edges whose removal results in a subgraph with a unique perfect matching. Recently Lei et al. (016) introduced the anti-forcing This work is fully supported by National Natural Science Foundation of China (grant no. 11371180) and the Fundamental Research Funds for the Central Universities (grant nos. lzujbky-017-ct01, lzujbky-016-ct1). Corresponding author. ISSN 1365 8050 c 017 by the author(s) Distributed under a Creative Commons Attribution.0 International License

Lingjuan Shi, Heping Zhang number of a single perfect matching M of a graph G as follows. A subset S E(G) \ M is called an anti-forcing set of M if G S has a unique perfect matching M. The anti-forcing number of a perfect matching M is the smallest cardinality of anti-forcing sets of M, denoted by af(g, M). Obviously, the anti-forcing number of G is the minimum value of the anti-forcing numbers over all perfect matchings of G. The maximum anti-forcing number of G is the maximum value of the anti-forcing numbers over all perfect matchings of G, denoted by Af(G). It is an NP - complete problem to determine the anti-forcing number of a perfect matching of a bipartite graph with the maximum degree four, see Deng and Zhang (017a). For some progress on this topic, see refs. Vukičević and Trinajstić (008); Che and Cheng (011); Deng (007, 008); Deng and Zhang (017a,b,c); Lei et al. (016); Li (1997); Shi and Zhang (016); Yang et al. (015b); Zhang et al. (011). For a bipartite graph G, Riddle (00) proposed the trailing vertex method to get a lower bound on the forcing numbers of perfect matchings of G. Applying this lower bound, the minimum forcing number of some graphs have been obtained. In particular, Riddle (00) showed that the minimum forcing number of Q n is n if n is even. However, for odd n, determining the minimum forcing number of Q n is still an open problem. For the maximum forcing number of Q n, Alon proved that for sufficiently large n this number is near to the total number of edges in a perfect matching of Q n (see Riddle (00)), but its specific value is still unknown. Afterwards, Adams et al. (00) generalized Alon s result to a k-regular bipartite graph and for a hexagonal system, a polyomino graph or a (, 6)- fullerene, Xu et al. (013); Zhang and Zhou (016); Shi et al. (017) showed that its maximum forcing number equals its Clar number, respectivey. For a graph G with a perfect matching, Lei et al. (016) connected the anti-forcing number and forcing number of a perfect matching of G, and showed that the maximum forcing number of G is no more than Af(G). Particularly, for a hexagonal system H, Lei et al. (016) showed that Af(H) equals the Fries number (see Fries (197)) of H. Recently, see Shi et al. (017), we also showed that for a (, 6)-fullerene graph G, Af(G) equals the Fries number of G. The cyclomatic number of a connected graph G is defined as r(g) = e(g) v(g) + 1. Deng and Zhang (017c) recently obtained that the maximum anti-forcing number of a graph is no more than the cyclomatic number. Theorem 1.1 (Deng and Zhang (017c)). For a connected graph G with a perfect matching, Af(G) r(g). Deng and Zhang (017c) further showed that the connected graphs with the maximum anti-forcing number attaining the cyclomatic number are a class of plane bipartite graphs. In this paper, we obtain a novel upper bound on the maximum anti-forcing numbers of a graph G as follows. Theorem 1.. Let G be any simple graph with a perfect matching. Then for any perfect matching M of G, af(g, M) Af(G) e(g) v(g). (1) In fact, this upper bound is also tight. By a simple comparison we immediately get that the upper bound is better than the previous upper bound r(g) when 3v(G) < e(g) +. In next sections we shall see that many non-planar graphs can attain this upper bound, such as complete graphs K n, complete bipartite graphs K n,n, hypercubes Q n, etc. We say that a graph G is extremal if the maximum anti-forcing number Af(G) attains the upper bound in Theorem 1., that is, G has a perfect matching M such that both equalities in (1) hold. Such M is said to be a nice perfect matching of G. In Section, we give a proof to Theorem 1., obtain an equivalent condition for the nice perfect matchings of G, and establish a one-to-one correspondence between the nice perfect matchings of G and the edgeinvolutions of G. In Section 3, we provide a construction of all extremal graphs, which can be obtained from K by implementing two expansion operations, and show that such a graph is an elementary graph (each edge belongs to some perfect matching). In Section, we investigate Cartesian decompositions of an extremal graph. Let Φ (G) denote the number of nice perfect matchings of a graph G. For a Cartesian decomposition G = G 1 G k, we obtain Φ (G) = k i=1 Φ (G i ). This implies that a graph G is extremal if and only if in a Cartesian decomposition of G one factor is an extremal graph. As applications we show that three cube-like graphs, the hypercubes Q n, the

Tight upper bound on the maximum anti-forcing numbers of graphs 3 folded hypercubes F Q n and the enhanced hypercubes Q n,k are extremal. In particular, in the final section we prove that Q n has exactly n nice perfect matchings and Af(Q n ) = (n 1) n, F Q n (n ) has exactly n + 1 nice perfect matchings and Af(F Q n ) = n n, and for 0 k n, Q n,k has n + 1 nice perfect matchings and Af(Q n,k ) = n n. We also show that F Q n is a prime graph under the Cartesian decomposition. Upper bound and nice perfect matchings.1 The proof of Theorem 1. Let G be a graph with a perfect matching M. A cycle of G is called an M-alternating cycle if its edges appear alternately in M and E(G) \ M. If G has not M-alternating cycles, then M is a unique perfect matching since the symmetric difference of two distinct perfect matchings is the union of some M-alternating cycles. So M is a unique perfect matching of G if and only if G has no M-alternating cycles. Lei et al. obtained the following characterization for an anti-forcing set of a perfect matching. Lemma.1 (Lei et al. (016)). A set S E(G) \ M is an anti-forcing set of M if and only if S contains at least one edge of every M-alternating cycle of G. A compatible M-alternating set of G is a set of M-alternating cycles such that any two members are either disjoint or intersect only at edges in M. Let c (M) denote the maximum cardinality of compatible M-alternating sets of G. By Lemma.1, the authors obtained the following theorem. Theorem. (Lei et al. (016)). For any perfect matching M of G, we have af(g, M) c (M). Fig. 1. A perfect matching M of Q 3 (thick edges) and an anti-forcing set S of M ( ). In general, for any anti-forcing set S of a perfect matching M of G, the edge set E(G) \ (M S) may not be an anti-forcing set of M (see Fig. 1). However, for any minimal anti-forcing set in a bipartite graph, we have Lemma.3. Here an anti-forcing set is minimal if its any proper subset is not an anti-forcing set. Recall that for an edge subset E of a graph G, G[E] is an edge induced subgraph of G with vertex set being the vertices incident with some edge of E and edge set being E. Lemma.3. Let G be a simple bipartite graph with a perfect matching M, and S a minimal anti-forcing set of M. Then S := E(G) \ (M S) is an anti-forcing set of M. Proof: Clearly, M is a perfect matching of G[M S]. It is sufficient to show that G[M S] has no M-alternating cycle by Lemma.1. By the contrary, we suppose that C is an M-alternating cycle of G[M S]. Then the edges of C appear alternately in M and S. Let E(C) S = {e 1, e,..., e k } (see Fig. for k = 3). Since S is a minimal anti-forcing set of M in G, the subgraph G (S \ {e i }) has an M-alternating cycle C i such that E(C i ) S = {e i }, i = 1,,..., k. Then G S has a closed M-alternating walk W = G[ k (E(C i ) \ {e i }) as depicted in Fig.. Since G is a bipartite graph, W contains an M-alternating cycle C. So G S has an M-alternating cycle C. This implies that S is not an anti-forcing set of M, a contradiction. So S is an anti-forcing set of M. Let X and Y be two vertex subsets of a graph G. We denote by E(X, Y ) the set of edges of G with one end in X and the other end in Y. The subgraph induced by E(X, Y ), for convenience, is denoted by G(X, Y ). For a vertex i=1

Lingjuan Shi, Heping Zhang C 1 e 1 C e C e 3 C 3 Fig.. Example of k = 3. subset X of G, G[X] is a vertex induced subgraph of G with vertex set X and any two vertices are adjacent if and only if they are adjacent in G. The edge set of G[X] is denoted by E(X). Proof of Theorem 1.. For any perfect matching M of G, let A be a vertex subset of G consisting of one end vertex for each edge of M, Ā := V (G) \ A. Then G := G(A, Ā) is a bipartite graph and M is a perfect matching of G. Let S be a minimum anti-forcing set of M in G. By Lemma.3, S := E(G ) \ (M S) is an anti-forcing set of M in G. So both S E(A) and S E(Ā) are anti-forcing sets of M in G. Hence af(g, M) S E(A) + S v(g) E(Ā) = e(g) M = e(g). Then af(g, M) e(g) v(g). By the arbitrariness of M, Af(G) e(g) v(g). For any perfect matching M of a complete bipartite graph K m,m (m ), any two edges of M belong to an M-alternating -cycle. Since any two distinct M-alternating -cycles are compatible, c (M) ( ) m = m m. By Theorems. and 1., we obtain af(k m,m, M) = m m = Af(K m,m ). Let M be any perfect matching of a complete graph K n. For any two edges e 1 and e of M, there are two distinct M -alternating -cycles each of which simultaneously contains edges e 1 and e. So af(k n, M ) c (M ) ( n ) = n n. By Theorem 1., we know that af(k n, M ) = Af(K n ) = n n. Hence every perfect matching of K m,m and K n is nice. Recall that the n-dimensional hypercube Q n is the graph with vertex set being the set of all 0-1 sequences of length n and two vertices are adjacent if and only if they differ in exactly one position. For x {0, 1}, set x := 1 x. The edge connecting the two vertices x 1 x i 1 x i x i+1 x n and x 1 x i 1 x i x i+1 x n of Q n is called an i-edge of Q n. We denote by E i the set of all the i-edges of Q n, i = 1,,..., n. In fact, E i is a Θ Qn -class of Q n. We can show the following result for Q n. Lemma.. Θ Qn -class E i of Q n is a nice perfect matching, that is, af(q n, E i ) = Af(Q n ) = (n 1) n. Proof: It is sufficient to discuss E 1. Clearly, E 1 is a perfect matching of Q n. For vertices x = x 1 x x n and y = x 1 x x n, the edge xy E 1 belongs to n 1 E 1 -alternating -cycles. Over all edges of E 1, since each E 1 -alternating -cycle is counted twice, there are (n 1)n 1 = (n 1) n distinct E 1 -alternating -cycles in Q n. Since any two distinct E 1 -alternating -cycles are compatible, c (E 1 ) (n 1) n. So af(q n, E 1 ) c (E 1 ) (n 1) n by Theorem.. Since Af(Q n ) (n 1) n by Theorem 1., af(q n, E 1 ) = Af(Q n ) = (n 1) n. The above three examples show that the upper bound in Theorem 1. is tight.. Nice perfect matchings In the following, we will characterize the nice perfect matchings of a graph. The set of neighbors of a vertex v in G is denoted by N G (v). The degree of a vertex v is the cardinality of N G (v), denoted by d G (v).

Tight upper bound on the maximum anti-forcing numbers of graphs 5 Theorem.5. For any perfect matching M of a simple graph G, M is a nice perfect matching of G if and only if for any two edges e 1 = xy and e = uv of M, xu E(G) if and only if yv E(G), and xv E(G) if and only if yu E(G). Proof: Here we only need to consider simple connected graphs. To show the sufficiency, we firstly estimate the value of c (M) for such perfect matching M of G. Let c wz(m) be the number of M-alternating -cycles that contain edge wz. Since for any two edges e 1 = xy and e = uv of M, xu E(G) if and only if yv E(G), and xv E(G) if and only if yu E(G), c wz(m) = d G (w) 1 = d G (z) 1 for any edge wz of M. Obviously, any two distinct M-alternating -cycles are compatible. Then c wz(m) c wz M (M) 1 [(d G(w) 1) + (d G (z) 1)] wz M = 1 (d () G(w) 1) w V (G) = v(g) e(g) =. By Theorems 1. and., c (M) af(g, M) Af(G) e(g) v(g). So af(g, M) = e(g) v(g), that is, M is a nice perfect matching of G. Conversely, suppose that M is a nice perfect matching of G. Let A be a vertex subset of G consisting of one end vertex for each edge of M and Ā := V (G) \ A. Then (A, Ā) is a partition of V (G). Given any bijection ω : M {1,..., M }, we extend weight function ω on M to the vertices of G: if v V (G) is incident with e M, then ω(v) := ω(e). This weight function ω gives a natural ordering of the vertices in A (Ā). Clearly, if e = xy M, then ω(x) = ω(y), otherwise, ω(x) ω(y). Set E ω Ā E ω A := {xy E(G) : ω(x) > ω(y), x A and y Ā}, E ω Ā := {xy E(G) : ω(x) < ω(y), x A and y Ā}. Since G EA ω E(A) has a unique perfect matching M, Eω A E(A) is an anti-forcing set of M in G. Similarly, e(g) v(g) E(Ā) is also an anti-forcing set of M in G. Since M is a nice perfect matching of G, af(g, M) = So EA ω e(g) v(g), Eω A E(A) = Eω Ā G. e(g) v(g) E(A), E ω e(g) v(g) E(Ā) Ā. Since EA ω E(A) + Eω Ā E(Ā) = e(g) v(g). Hence E ω A. E(Ā) = e(g) M = E(A) is a minimum anti-forcing set of M in Now we show that for any two edges e 1 = xy and e = uv of M, xu E(G) if and only if yv E(G), and xv E(G) if and only if yu E(G). It is sufficient to show that xv E(G) implies yu E(G). Given two bijections ω 1 : M {1,..., M } and ω : M {1,..., M } with ω 1 (e 1 ) = 1, ω 1 (e ) =, ω (e 1 ) =, ω (e ) = 1 and ω M\{e1, e } = ω 1 M\{e1, e }. As the above extension of ω, we extend the weight functions ω 1 and ω on M to the vertices of G. We first consider the case that x, u A. Suppose to the contrary that xv E(G) but yu / E(G). Set A := A \ {x, u}, Ā := Ā \ {y, v}, E 1 := {wz E(G) : ω 1 (w) > ω 1 (z), w A and z Ā }. Then E ω A E(A) = {xv} E({y, v}, A ) E 1 E(A) = {xv} E ω1 A E(A). (3) By the above proof we know that both E ω1 A E(A) and Eω A E(A) are minimum anti-forcing sets of M in G, it contradicts to the equation (3). Thus yu E(G).

6 Lingjuan Shi, Heping Zhang For the case that x A and u Ā, set U := (A \ {v}) {u}, Ū := (Ā \ {u}) {v}. Then each edge in M is incident with exactly one vertex in U. Substituting the partition (A, Ā) of V (G) with the partition (U, Ū), by a similar argument as the above case, we can also show that xv E(G) implies yu E(G). M1 M H Fig. 3. Two nice perfect matchings M 1 and M of G and a nice perfect matching of H. By Theorem.5, we can easily check whether a perfect matching of a graph is nice. For example, in Fig. 3, the two perfect matchings M 1 and M of the bipartite graph G are nice, and the perfect matching of the non-bipartite graph H is also nice. Proposition.6. Let M be a nice perfect matching of G and S a subset of V (G). Then M E(S) is a nice perfect matching of G[S] if M E(S) is a perfect matching of G[S]. Proof: By Theorem.5, it holds. In the proof of Theorem.5, we notice that d G (u) = d G (v) for every edge uv of a nice perfect matching of G. So we have the following necessary but not sufficiency condition for the upper bound in Theorem 1. to be attained. Proposition.7. Let G be a graph with a perfect matching. Then Af(G) < e(g) v(g) if there are an odd number of vertices of the same degree in G. Proposition.7 is not sufficient. For example, for a hexagonal system with a perfect matching, it does not have a nice perfect matching by Theorem.5, that is, its maximum anti-forcing number can not be the upper bound in Theorem 1., but it has an even number of vertices of degree 3 and an even number of vertices of degree. Abay-Asmerom et al. (010) introduced a reversing involution of a connected bipartite graph G with partite sets X and Y as an automorphism α of G of order two such that α(x) = Y and α(y ) = X. Here we give the following definition of a general graph. Definition.8. Suppose that G is a simple connected graph. An edge-involution of G is an automorphism α of G of order two such that v and α(v) are adjacent for any vertex v in G. Hence an edge-involution of a bipartite graph is also a reversing involution, but a reversing involution of a bipartite graph may not be an edge-involution. In the following, we establish a relationship between a nice perfect matching and an edge-involution of G. Theorem.9. Let G be a simple connected graph. Then there is a one-to-one correspondence between the nice perfect matchings of G and the edge-involutions of G. Proof: For a nice perfect matching M of G, we define a bijection α M of order on V (G) as follows: for any vertex v of G, there is exactly one edge e in M such that v is incident with e, let α M (v) be the other end-vertex of e. Let x and y be any two distinct vertices of G. If xy M, then α M (x) = y, α M (y) = x and α M (x)α M (y) = yx E(G). If xy / M (x may not be adjacent to y), then both xα M (x) and yα M (y) belong to M. Since M is a nice perfect matching, xy E(G) if and only if α M (x)α M (y) E(G) by Theorem.5. This implies that α M is an automorphism of G. Thus α M is an edge-involution of G.

Tight upper bound on the maximum anti-forcing numbers of graphs 7 Conversely, let α be an edge-involution of G. Then for any vertex y of G, yα(y) E(G). Since α is a bijection of order on V (G), M := {yα(y) : y V (G)} is a perfect matching of G. For any two distinct edges y 1 α(y 1 ) and y α(y ) of M, y 1 y E(G) if and only if α(y 1 )α(y ) E(G), and y 1 α(y ) E(G) if and only if α(y 1 )y E(G) since α is an automorphism of order of G. So M is a nice perfect matching of G by Theorem.5. We can also see that α M = α. This establishes a one-to-one correspondence between the nice perfect matchings of G and the edge-involutions of G. 3 Construction of the extremal graphs In the following, we will show that every extremal graph can be constructed from a complete graph K by implementing two expansion operations. Definition 3.1. Let G i be a simple graph with a nice perfect matching M i, i = 1, (note that V (G 1 ) V (G ) = ). We define two expansion operations as follows: (i) G := G i + e + e, where e, e / E(G i ) and there are edges e 1, e M i such that the four edges e, e, e 1, e form a -cycle. (ii) For M 1 M 1 and M M with M 1 = M, given a bijection φ from V (M 1) to V (M ) with uv M 1 if and only if φ(u)φ(v) M. G 1 joins G over matchings M 1 and M about bijection φ, denoted by G 1 G, is a graph with vertex set V (G 1 ) V (G ) and edge set E(G 1 ) E(G ) E, where E := {uφ(u) : u V (M 1)}. a 1 e 1 b 1 a 1 e 1 b 1 E ' u f v u f v a a 3 e e 3 b b 3 u 1 u 3 f 1 f 3 v 1 v 3 a a 3 e e 3 b b 3 u 1 u 3 f 1 f 3 v 1 v 3 H 1 H H Fig.. H = H 1 H over matchings M 1 and M about bijection φ. For example, in Fig. graph H is H 1 H over matchings M 1 of H 1 and M of H about bijection φ, where M 1 = {e 1, e, e 3 }, M = {f 1, f, f 3 }, φ (a i ) = v i, φ (b i ) = u i, i = 1,, 3. H has a nice perfect matching which is marked by thick edges in Fig.. Recall that nk is the disjoint union of n copies of K. Theorem 3.. A simple graph G is an extremal graph if and only if it can be constructed from K by implementing operations (i) or (ii) in Definition 3.1 (regardless of the orders). Proof: Let P be the set of all the graphs that can be constructed from K by implementing operations (i) or (ii). For any graph G P, G is a simple graph with a nice perfect matching by the definition of the two operations. Conversely, we suppose that G is an extremal graph, that is, G has a nice perfect matching M = {e 1, e,..., e n }. If n = 1, or, then G must be isomorphic to K, K, C or K. So G P. Next, we suppose that n 3 and it holds for n 1. Let G := G[ n 1 V (e i )]. Then {e 1,..., e n 1 } is a nice perfect matching of G by Proposition.6. So i=1 G P by the induction. If e n is an isolated edge in G, then G = G {e n } P. Otherwise, e n = u n v n has adjacent edges u n v i and v n u i, or u n u i and v n v i for some i {1,..., n 1}, where u i v i = e i M. Let G = G K over

8 Lingjuan Shi, Heping Zhang matchings {e i } and {e n } about bijection φ : {u i, v i } {u n, v n }. So G P. Then G can be constructed from G by implementing several times operations (i). So G P. 010 011 0100 0101 0110 0111 000 110 001 111 0000 0001 0010 1100 1101 1110 0011 1111 100 101 1000 1001 Q3 Q 1010 1011 010 011 0100 0101 0110 0111 000 110 001 111 0000 1100 0001 1101 0010 1110 0011 1111 100 101 1000 1001 FQ3 FQ 1010 1011 Fig. 5. The nice perfect matchings E 1 of Q 3 and Q are depicted by thick edges; the dashed edges are the complementary edges. As a variant of the n-dimensional hypercube Q n, the n-dimensional folded hypercube F Q n, proposed first by El-Amawy and Latifi (1991), is a graph with V (F Q n ) = V (Q n ) and E(F Q n ) = E(Q n ) Ē, where Ē := {x x : x = x 1 x x n, x = x 1 x x n }, x i := 1 x i. Each edge in Ē is called a complementary edge. The graphs shown in Fig. 5 are F Q 3 and F Q, respectively. Corollary 3.3. F Q n is an extremal graph and Af(F Q n ) = n n. Proof: By Lemma., E 1 is a nice perfect matching of Q n. F Q n is constructed from Q n by applying the operation (i) over the nice perfect matching E 1 of Q n (see Fig. 5 for n = 3, ). So E 1 is also a nice perfect matching of the folded hypercube F Q n. For any positive integer n, a connected graph G with at least n + vertices is said to be n-extendable if every matching of size n is contained in a perfect matching of G. Proposition 3.. Any connected extremal graph G other than K is 1-extendable. Proof: Since G is an extremal graph, it has a nice perfect matching M. For any edge uv of E(G) \ M, there are edges ux and vy of M. By Theorem.5, xy E(G). So uv belongs to an M-alternating -cycle C := uxyvu. Then M E(C) := (M E(C))\(M E(C)) is a perfect matching of G that contains edge uv. So G is 1-extendable. By Proposition 3., any connected extremal graph except for K is -connected. Cartesian decomposition The Cartesian product G H of two graphs G and H is a graph with vertex set V (G) V (H) = {(x, u) : x V (G), u V (H)} and two vertices (x, u) and (y, v) are adjacent if and only if xy E(G) and u = v or x = y and uv E(H). For a vertex (x i, v j ) of G H, the subgraphs of G H induced by the vertex set {(x, v j ) : x V (G)} and the vertex set {(x i, v) : v V (H)} are called a G-layer and an H-layer of G H, and denoted by G vj and H xi, respectively.

Tight upper bound on the maximum anti-forcing numbers of graphs 9 For any graph H, let E be the set of edges of all K -layers of H K. Clearly, E is a perfect matching of H K. Define a bijection α on V (H K ) as follows: for every edge uv E, α(u) := v and α(v) := u. Then α is an edgeinvolution of H K. So H K is an extremal graph by Theorem.9. This fact inspires us to consider the Cartesian product decomposition of an extremal graph. Let Φ (G) be the number of all the nice perfect matchings of a graph G. We have Theorem.1. Recall that for an edge e = uv of G and an isomorphism ϕ from G to H, ϕ(e) := ϕ(u)ϕ(v). Theorem.1. Let G 1 and G be two simple connected graphs. Then Φ (G 1 G ) = Φ (G 1 ) + Φ (G ). Proof: Let V (G 1 ) = {x 1, x,..., x n1 } and V (G ) = {v 1, v,..., v n }. Since Φ (K 1 ) = 0, we suppose n 1 and n. We define an isomorphism ρ vi from G 1 to G vi 1 and an isomorphism σ x j from G to G xj : ρ v i (x) := (x, v i ) for any vertex x of G 1 and σ xj (v) := (x j, v) for any vertex v of G. For any nice perfect matching M i of G i, i = 1,, let ρ(m 1 ) := ρ vi (M 1 ), σ(m ) := σ xj (M ), () v i V (G ) x j V (G 1) By Theorem.5, ρ vi (M 1 ) is a nice perfect matching of G vi 1 and ρ(m 1) is a nice perfect matching of G 1 G. Similarly, σ(m ) is also a nice perfect matching of G 1 G. Conversely, since E(G v1 1 ),..., E(Gvn 1 ), E(G x1 ),..., E(Gxn 1 matching M of G 1 G there is some x i or v j such that M E(G xi for some x i, then we have the following Claim. Claim: M E(G xj ) is a nice perfect matching of Gxj for each x j V (G 1 ), and σ 1 E(G xi )). So M E(Gv 1) = for each v V (G ). x G i x ' G i ( xi, v) ( xi, v1 ) ( xi ', v ) ( xi ', v1 ) f f ' ' ( x, v )( x, v ) ( xi ', v 3) ( xi ', v) i 3 i ) is a partition of E(G 1 G ), for any nice perfect ) or M E(Gvj 1 ). If M E(Gxi ) x j (M E(G xj )) = σ 1 x i (M Fig. 6. Illustration for the proof of the Claim in Theorem.1. Take an edge f = (x i, v 1 )(x i, v ) M E(G xi ). Then v 1v E(G ). If n =, then M E(G xi ) = {f} is a nice perfect matching of G xi. For n 3, since G is connected, without loss of generality we may assume that d G (v ). Let v 3 be a neighbor of v that is different from v 1. So (x i, v )(x i, v 3 ) E(G xi ). Let g be an edge of M with an end-vertex (x i, v 3 ). Since M is a nice perfect matching of G, the other end-vertex of g must be adjacent to (x i, v 1 ) by Theorem.5. So the other end-vertex of g belongs to V (G xi G xi = G is a connected graph, we can obtain that M E(G xi M E(G xi ) (see Fig. 6), that is, g E(Gxi ). Since in the above way. So ) is a perfect matching of Gxi ) is a nice perfect matching of Gxi by Proposition.6. Since G 1 is connected and n 1, there is some vertex x i of G 1 such that x i and x i are adjacent in G 1. So vertex (x i, v 1 ) / G xi is adjacent to (x i, v 1 ) in G 1 G (see Fig. 6). Let f be an edge of M that is incident with (x i, v 1 ). Since M is a nice perfect matching of G 1 G, the other end-vertex of f must be adjacent to (x i, v ) by Theorem.5. So f = (x i, v 1 )(x i, v ) M E(G x i ). As the above proof, we can similarly show that M E(Gx i ) is a nice perfect matching of G x i. Since G 1 is connected, in an inductive way we can show that M E(G xj ) is a nice perfect matching of G xj for any x j V (G 1 ). Notice that σx 1 i (f) = v 1 v = σ 1 x (f ). Let g be the edge of M that is incident with (x i, v 3 ). Since (x i, v 3 ) is i adjacent to (x i, v 3 ), the other end vertex of g must be adjacent to the other end vertex (x i, v ) of g by Theorem.5. So

10 Lingjuan Shi, Heping Zhang g = (x i, v 3 )(x i, v ) since g E(G x i ). This implies that σ 1 x i (g ) = v 3 v = σx 1 i show that σx 1(M i E(Gx i )) = σ 1 x i (M E(G xi )). Similarly, we also have σ 1 for any x j V (G 1 ). (g). In an inductive way, we can x j (M E(G xj )) = σ 1 x i (M E(G xi )) By this Claim, M := σx 1 i (M E(G xi )) is a nice perfect matching of G with M = σ(m ). If M E(G vj 1 ), then we can similarly show that G 1 has a nice perfect matching M 1 with M = ρ(m 1 ). So Φ (G 1 G ) = Φ (G 1 ) + Φ (G ). In fact, we can get the following corollary. Corollary.. Let G be a simple connected graph. Then we have Φ (G) = G 1 G k of G. Now, it is easy to get the following proposition. k i=1 Φ (G i ) for any decomposition Proposition.3. A simple connected graph G is an extremal graph if and only if one of its Cartesian product factors is an extremal graph. The n-dimensional enhanced hypercube Q n,k, see Tzeng and Wei (1991), is the graph with vertex set V (Q n,k )= V (Q n ) and edge set E(Q n,k ) = E(Q n ) {(x 1 x x n 1 x n, x 1 x x n k 1 x n k x n k+1 x n k+ x n : x 1 x x n V (Q n,k )}, where 0 k n 1. Clearly, Q n = Qn,n 1 and F Q n = Qn,0, i.e., the hypercube and the folded hypercube are regarded as two special cases of the enhanced hypercube. By Yang et al. (015a), we have Q n,k = F Q n k Q k, for 0 k n 1. Hence we obtain the following result by the Proposition.3. Corollary.. Q n,k is an extremal graph and Af(Q n,k ) = n n. According to the above discussion, for any graph G, we know that K m,m G, K n G, Q n G, F Q n G and Q n,k G are extremal graphs. Moreover, we can produce an infinite number of extremal graphs from an extremal graph by the Cartesian product operation. 5 Further applications From examples we already know that K m,m, K n, Q n, F Q n and Q n,k are extremal graphs. Two perfect matchings M 1 and M of a graph G are called equivalent if there is an automorphism ϕ of G such that ϕ(m 1 ) = M. So we know that all the perfect matchings of K m,m (or K n ) are nice and equivalent. Further in this section we will count nice perfect matchings of the three cube-like graphs. Theorem 5.1. Q n has exactly n nice perfect matchings E 1, E,..., E n, all of which are equivalent. Proof: By Lemma., E 1, E,..., E n are n distinct nice perfect matchings of Q n. Since Q n is the Cartesian product of n K s, Q n has exactly n nice perfect matchings by Corollary.. So the first part is done. Now, it remains to show that E i and E j are equivalent for any 1 i < j n. Let the automorphism f ij of Q n be defined as f ij (x 1 x i 1 x i x i+1... x j 1 x j x j+1 x n ) = x 1 x i 1 x j x i+1... x j 1 x i x j+1 x n for each vertex x 1 x x n of Q n. Then f ij (E i ) = E j. The theorem can be obtained by applying the reversing-involutions of bipartite graphs, see Abay-Asmerom et al. (010), but the computation is tedious. Since F Q = K and F Q 3 = K,, we have Φ (F Q ) = 3 and Φ (F Q 3 ) =. For n, we have a general result as follows. Theorem 5.. F Q n has exactly n + 1 nice perfect matchings for n. Proof: By Lemma., E i is a perfect matching of Q n. Then E i is also a perfect matching of F Q n. We can easily check that E i is a nice perfect matching of F Q n by Theorem.5.

Tight upper bound on the maximum anti-forcing numbers of graphs 11 Let E n+1 be the set of all the complementary edges of F Q n. Then E n+1 is a perfect matching of F Q n. Let uū and v v be two distinct edges in E n+1. Since any two distinct complementary edges are independent, the edge linked u to v or v (if exist) does not belong to E n+1. We can easily show that uv E j if and only if ū v E j for some j = 1,,..., n, and u v E s if and only if ūv E s for some s = 1,,..., n. So E n+1 is also a nice perfect matching of F Q n. Now, we have found n + 1 nice perfect matchings of F Q n. Next, we will show that F Q n has no other nice perfect matchings. By the contrary, we suppose that M is a nice perfect matching of F Q n that is different from any E i, i = 1,,..., n + 1. Since E 1,..., E n+1 is a partition of the edge set E(F Q n ), there is E k with k n + 1 such that M E k and E k M. Clearly, F Q n (E n+1 E k ) has exactly two components both of which are isomorphic to Q n 1. We notice that the k-th coordinate of each vertex in one component is 0, and 1 in the other component. We denote the two components by Q 0 n and Q 1 n, respectively. In fact, V (Q i n) = {x 1 x k 1 ix k+1 x n : x j = 0 or 1, j = 1,..., k 1, k + 1,..., n}, i = 0, 1. Since M E k, there is some edge vv M E k with v V (Q 0 n) and v V (Q 1 n). For any vertex w of Q 0 n with w and v being adjacent, we consider the edge g of M that is incident with w. By Theorem.5, the other end-vertex of g is adjacent to v. If g = w w is a complementary edge of F Q n, then there are exactly two same bits in the strings of w and v. So the edge wv E(F Q n ) is not a complementary edge of F Q n. Since w and v are adjacent, there is exactly one different bit in the strings of w and v. So n = 3, a contradiction. If g = wz E(Q 0 n), then there are exactly three different bits in the strings of z and v. Since z and v are adjacent in F Q n, the edge zv is a complementary edge of F Q n. So n = 3, a contradiction. Hence g E k. Since Q 0 n is connected, using the above method repeatedly, we can show that M = E k, a contradiction. So F Q n has exactly n + 1 nice perfect matchings. Proposition 5.3. All the nice perfect matchings of F Q n (n ) are equivalent. Proof: We notice that F Q = K and F Q 3 = K,. So all the nice perfect matchings of F Q n are equivalent for n 3. Suppose that n. From the proof of Theorem 5. we know that E 1, E,..., E n+1 are all the nice perfect matchings of F Q n. f ij defined in the proof of Theorem 5.1 is also an automorphism of F Q n such that ϕ(e i ) = E j for 1 i < j n. We will show that E 1 and E n+1 are equivalent. Clearly, F Q n (E 1 E n+1 ) has exactly two components each isomorphic to Q n 1, denoted by Q 0 n and Q 1 n. Set V (Q i n) = {ix x 3 x n : x j = 0 or 1, j =,..., n}, i = 0, 1. We define a bijection f on V (F Q n ) as follows: x 1 x x n, if x 1 x x n V (Q 0 n), f(x 1 x x n ) = x 1 x x n, if x 1 x x n V (Q 1 n). It is easy to check that f is an automorphism of F Q n. In addition, f(e 1 ) = E n+1. Hence all the nice perfect matchings of F Q n are equivalent. By Corollary. and Theorems 5.1 and 5., we can obtain the following conclusion. Corollary 5.. Φ (Q n,n 1 ) = n, Φ (Q n,n ) = n + 1, Φ (Q n,n 3 ) = n + 1 and Φ (Q n,k ) = n + 1 for any 0 k n. Proposition 5.5. For 0 < k < n 1, Q n,k has exactly two nice perfect matchings up to the equivalent. Proof: Since Q n,k = F Q n k Q k, by adapting the notations in Eq. () and by the proof of Theorem.1 we know that all the nice perfect matchings of Q n,k are divided into two classes M and M, where M = {ρ(m) : M is a nice perfect matching of F Q n k } and M = {σ(m) : M is a nice perfect matching of Q k }. For M 1, M M, there are two nice perfect matchings M 1 and M of F Q n k such that M i = ρ(m i), i = 1,. By Proposition 5.3, there exists an automorphism ϕ of F Q n k such that ϕ(m 1 ) = M. Let ϕ (x, u) := (ϕ(x), u) for each vertex (x, u) of F Q n k Q k. It is easy to check that ϕ is an automorphism of Q n,k and ϕ (M 1) = M. By the

1 Lingjuan Shi, Heping Zhang arbitrariness of M 1 and M, we know that all the nice perfect matchings in M are equivalent. Similarly, we can show that all the nice perfect matchings in M are equivalent. (y y y, u) (y y y y, u) (y y y y y, u) 1 n- k 1 3 n- k 1 3 n- k (y y y 1 y, u) (y y y 1 y, u) 1 n- k - n- k 1 n- k - n- k e 1 e e 3 e n- k - 1 en - k (y y y, u) (y y y y, u) (y y y y y, u) 1 n- k 1 3 n- k 1 3 n- k (y y y 1 y, u) 1 n- k - n- k (y y y 1 y, u) 1 n- k - n- k Fig. 7. The graph H. Let F 1 and E 1 be the sets of all the 1-edges of F Q n k and Q k respectively. Then F 1 is a nice perfect matching of F Q n k and E 1 is a nice perfect matching of Q k. So ρ(f 1 ) M and σ(e 1 ) M. See Fig. 7, we choose a subset S := {e 1,..., e n k } of ρ(f 1 ). Then all the vertices incident with S induce a subgraph H as depicted in Fig. 7. For any subset R σ(e 1 ) of size n k, let G be the subgraph of Q n,k induced by all the vertices incident with R. We note that Q n,k σ(e 1 ) has exactly two components A and B each of which is isomorphic to F Q n k Q k 1, and σ(e 1 ) = E(A, B). So G R has at least two components. Clearly H S is connected. So for any automorphism ψ of Q n,k, ψ(s) R. By the arbitrariness of R we know that ρ(f 1 ) and σ(e 1 ) are not equivalent. Then we are done. From Corollary. it is helpful to give a Cartesian decomposition of an extremal graph. It is known that Q n = K K and Q n,k = F Qn k Q k. However we shall see surprisedly that F Q n is undecomposable. A nontrivial graph G is said to be prime with respect to the Cartesian product if whenever G = H R, one factor is isomorphic to the complete graph K 1 and the other is isomorphic to G. Clearly, for m 3 and n, K m,m and K n are prime extremal graphs. In the sequel, we show that F Q n is a prime extremal graph, too. Recall that the length of a shortest path between two vertices x and y of G is called the distance between x and y, denoted by d G (x, y). Let G be a connected graph. Two edges e = xy and f = uv are in the relation Θ G if d G (x, u) + d G (y, v) d G (x, v) + d G (y, u). Notice that Θ G is reflexive and symmetric, but need not to be transitive. We denote its transitive closure by Θ G. For an even cycle C n, Θ Cn consists of all pairs of antipodal edges. Hence, Θ C n has n equivalence classes and Θ Cn = Θ C n. For an odd cycle C, any edge of C is in relation Θ with its two antipodal edges. So all edges of C belong to an equivalence class with respect to Θ C. By the Cartesian product decomposition Algorithm depicted in Imrich and Klavzar (000), we have the following lemma. Lemma 5.6. If all the edges of a graph G belong to an equivalence class with respect to Θ G, then G is a prime graph under the Cartesian product. The Hamming distance between two vertices x and y in Q n is the number of different bits in the strings of both vertices, denoted by H Qn (x, y). Theorem 5.7 (Xu and Ma (006)). For a folded hypercube F Q n, we have (1) F Q n is a bipartite graph if and only if n is odd. () The length of any cycle in F Q n that contains exactly one complementary edge is at least n + 1. If n is even, then the length of a shortest odd cycle in F Q n is n + 1. (3) Let u and v be two vertices in F Q n. If H Qn (u, v) n, then any shortest uv-path in F Q n contains no complementary edges. If H Qn (u, v) > n, then any shortest uv-path in F Q n contains exactly one complementary edge. Here we list some known properties of Q n that will be used in the sequel. For any two vertices x and y in Q n, d Qn (x, y) = H Qn (x, y). For any shortest path P from x 1 x x n to x 1 x x n in Q n, E(P ) E i = 1 for each

Tight upper bound on the maximum anti-forcing numbers of graphs 13 i = 1,,..., n. For any integer j (1 j n), there is a shortest path P from x 1 x x n to x 1 x x n in Q n such that the edge in E(P ) E i is the jth edge when traverse P from x 1 x x n to x 1 x x n. For every subgraph F of a graph G, the inequality d F (u, v) d G (u, v) obviously holds. If d F (u, v) = d G (u, v) for all u, v V (F ), we say F is an isometric subgraph of G. Proposition 5.8 (Hammack et al. (011)). Let C be a shortest cycle of G. Then C is isometric in G. Theorem 5.9. F Q n is a prime graph under the Cartesian product. Proof: Clearly, F Q and F Q 3 are prime. So we suppose that n. We recall that E i is the set of all the i-edges of Q n, i = 1,,..., n. Let E n+1 be the set of all the complementary edges of F Q n. Then E 1, E,..., E n+1 is a partition of E(F Q n ). Since the girth of F Q n is for n, any two opposite edges of a -cycle are in relation Θ F Qn. So E i is contained in an equivalence class with respect to Θ F Q n, i = 1,,..., n + 1. For any vertex x 1 x x n, it is linked to x 1 x x n by a complementary edge e in F Q n. Let P be any shortest path from x 1 x x n to x 1 x x n in Q n. Then the length of P is n and P E i = 1 for any i = 1,,..., n. Set C := P {e}. Then C is a cycle of length n + 1. If n is even, then the length of any shortest odd cycle in F Q n is n + 1 by Theorem 5.7 (). So C is a shortest odd cycle in F Q n. By Proposition 5.8, C is an isometric odd cycle in F Q n. So all edges of C belong to an equivalence class with respect to Θ F Q n. Since E(C) E i for any i = 1,,..., n + 1, all edges of E(F Q n ) = n+1 E i belong to an equivalence class with respect to Θ F Q n, that is, F Q n is a prime graph under the Cartesian product by Lemma 5.6. For n being odd, we first show that C is an isometric cycle in F Q n. It is sufficient to show that d C (u, v) = d F Qn (u, v) for any two distinct vertices u and v of C. By Theorem 5.7 (3), there are two cases for the shortest uv-path in F Q n. If H Qn (u, v) n, then any shortest uv-path in F Q n contains no complementary edges. So d F Qn (u, v) = d Qn (u, v) = H Qn (u, v) = d C (u, v). If H Qn (u, v) > n, then any shortest uv-path in F Q n contains exactly one complementary edge. Let P 1 be the uv-path on C that contains the unique complementary edge e. Since H Qn (u, v) > n and the length of C is n + 1, d C(u, v) = P 1 = n + 1 H Qn (u, v) < n. Clearly d F Q n (u, v) d C (u, v). We suppose that d F Qn (u, v) < d C (u, v), that is, P 1 is not a shortest uv-path in F Q n. Let P be a shortest uvpath in F Q n. Then P contains exactly one complementary edge by Theorem 5.7 (3). Set P := C (V (P 1 )\{u, v}). Then P P is a walk in F Q n that has exactly one complementary edge. So there is a cycle C P P that contains exactly one complementary edge. We can deduce a contradiction by Theorem 5.7 () as follows: So d F Qn (u, v) = d C (u, v). n + 1 C P + P < P + P 1 = C = n + 1. For any i {1,,..., n}, let P i be a shortest path from x 1 x x n to x 1 x x n in Q n such that the unique edge in P i E i is the antipodal edge of e on C i := P i {e}. Since C i is an isometric even cycle by the above proof, the unique complementary edge e on C i and its antipodal edge P i E i are in relation Θ F Qn. So E i and E n+1 are contained in an equivalence class with respect to Θ F Q n, i = 1,,..., n. Hence F Q n is a prime graph under the Cartesian product by Lemma 5.6. Now we know that for m 3 and n, K m,m, K n and F Q n are prime extremal graphs. From Proposition.3, it is interesting to characterize all the prime extremal graphs. i=1 Acknowledgements We thank two anonymous reviewers for giving helpful suggestions and comments to improve the manuscript.

1 Lingjuan Shi, Heping Zhang References G. Abay-Asmerom, R. H. Hammack, C. E. Larson, and D. T. Taylor. Direct product factorization of bipartite graphs with bipartition-reversing involutions. SIAM J. Discrete Math., 3:0 05, 010. P. Adams, M. Mahdian, and E. S. Mahmoodian. On the forced matching numbers of bipartite graphs. Discrete Math., 81:1 1, 00. P. Afshani, H. Hatami, and E. S. Mahmoodian. On the spectrum of the forced matching number of graphs. Australas. J. Combin., 30:17 160, 00. Z. Che and Z. Cheng. Forcing on perfect matchings a survey. MATCH Commun. Math. Comput. Chem., 66:93 136, 011. H. Deng. The anti-forcing number of hexagonal chains. MATCH Commun. Math. Comput. Chem, 58:675 68, 007. H. Deng. The anti-forcing number of double hexagonal chains. MATCH Commun. Math. Comput. Chem, 60:183 19, 008. K. Deng and H. Zhang. Anti-forcing spectra of perfect matchings of graphs. J. Comb. Optim., 33:660 680, 017a. K. Deng and H. Zhang. Anti-forcing spectrum of any cata-condensed hexagonal system is continuous. Front. Math. China, 1:35 337, 017b. K. Deng and H. Zhang. Extremal anti-forcing numbers of perfect matchings of graphs. Discrete Appl. Math., : 69 79, 017c. A. El-Amawy and S. Latifi. Properties and performance of folded hypercubes. IEEE Trans. Parallel Distrib. Syst., : 31, 1991. K. Fries. Über byclische verbindungen und ihren vergleich mit dem naphtalin. Ann. Chem., 5:11 3, 197. R. Hammack, W. Imrich, and S. Klavžar. Handbook of Product Graphs. CRC press, Boca Raton, FL, 011. F. Harary, D. J. Klein, and T. P. Živkovič. Graphical properties of polyhexes: perfect matching vector and forcing. J. Math. Chem., 6:95 306, 1991. W. Imrich and S. Klavzar. Product Graphs: Structure and Recognition. Wiley Intersci. Ser. Discrete Math. Optim., Wiley, Hoboken, NJ, 000. X. Jiang and H. Zhang. On forcing matching number of boron nitrogen fullerene graphs. Discrete Appl. Math., 159: 1581 1593, 011. X. Jiang and H. Zhang. The maximum forcing number of cylindrical grid, toroidal 8 lattice and klein bottle 8 lattice. J. Math. Chem., 5:18 3, 016. D. Klein and M. Randić. Innate degree of freedom of a graph. J. Comput. Chem., 8:516 51, 1987. F. Lam and L. Pachter. Forcing numbers of stop signs. Theor. Comput. Sci., 303:09 16, 003. H. Lei, Y.-N. Yeh, and H. Zhang. Anti-forcing numbers of perfect matchings of graphs. Discrete Appl. Math., 0: 95 105, 016. X. Li. Hexagonal systems with forcing single edges. Discrete Appl. Math., 7:95 301, 1997.

Tight upper bound on the maximum anti-forcing numbers of graphs 15 L. Pachter and P. Kim. Forcing matchings on square grids. Discrete Math., 190:87 9, 1998. M. E. Riddle. The minimum forcing number for the torus and hypercube. Discrete Math., 5:83 9, 00. L. Shi and H. Zhang. Forcing and anti-forcing numbers of (3, 6)-fullerenes. MATCH Commun. Math. Comput. Chem., 76:597 61, 016. L. Shi, H. Wang, and H. Zhang. On the maximum forcing and anti-forcing numbers of (, 6)-fullerenes. Discrete Appl. Math., 017. doi: http://dx.doi.org/10.1016/j.dam.017.07.009. N.-F. Tzeng and S. Wei. Enhanced hypercubes. IEEE Trans. Comput., 0:8 9, 1991. D. Vukičević and N. Trinajstić. On the anti-kekulé number and anti-forcing number of cata-condensed benzenoids. J. Math. Chem., 3:719 76, 008. D. Vukiěević and N. Trinajstić. On the anti-forcing number of benzenoids. J. Math. Chem., :575 583, 007. J.-M. Xu and M. Ma. Cycles in folded hypercubes. Appl. Math. Lett., 19:10 15, 006. L. Xu, H. Bian, and F. Zhang. Maximum forcing number of hexagonal systems. MATCH Commun. Math. Comput. Chem., 70:93 500, 013. J.-S. Yang, J.-M. Chang, K.-J. Pai, and H.-C. Chan. Parallel construction of independent spanning trees on enhanced hypercubes. IEEE Trans. Parallel Distrib. Syst., 6:3090 3098, 015a. Q. Yang, H. Zhang, and Y. Lin. On the anti-forcing number of fullerene graphs. MATCH Commun. Math. Comput. Chem., 7:681 700, 015b. H. Zhang and K. Deng. Spectrum of matching forcing numbers of a hexagonal system with a forcing edge. MATCH Commun. Math. Comput. Chem, 73:57 71, 015. H. Zhang and X. Zhou. A maximum resonant set of polyomino graphs. Discuss. Math. Graph Theory, 36:33 337, 016. H. Zhang, D. Ye, and W. C. Shiu. Forcing matching numbers of fullerene graphs. Discrete Appl. Math., 158:573 58, 010. H. Zhang, S. Zhao, and R. Lin. The forcing polynomial of catacondensed hexagonal systems. MATCH Commun. Math. Comput. Chem, 73:73 90, 015. Q. Zhang, H. Bian, and E. Vumar. On the anti-kekulé and anti-forcing number of cata-condensed phenylenes. MATCH Commun. Math. Comput. Chem, 65:799 806, 011. S. Zhao and H. Zhang. Forcing polynomials of benzenoid parallelogram and its related benzenoids. Appl. Math. Comput., 8:09 18, 016.