• 検索結果がありません。

MarkoCarićandMiodragŽivković ONTHENUMBEROFEQUIVALENCECLASSESOFINVERTIBLEBOOLEANFUNCTIONSUNDERACTIONOFPERMUTATIONOFVARIABLESONDOMAINANDRANGE

N/A
N/A
Protected

Academic year: 2022

シェア "MarkoCarićandMiodragŽivković ONTHENUMBEROFEQUIVALENCECLASSESOFINVERTIBLEBOOLEANFUNCTIONSUNDERACTIONOFPERMUTATIONOFVARIABLESONDOMAINANDRANGE"

Copied!
5
0
0

読み込み中.... (全文を見る)

全文

(1)

Nouvelle série, tome 100(114) (2016), 95–99 DOI: 10.2298/PIM1614095C

ON THE NUMBER OF EQUIVALENCE CLASSES OF INVERTIBLE BOOLEAN FUNCTIONS UNDER

ACTION OF PERMUTATION OF VARIABLES ON DOMAIN AND RANGE

Marko Carić and Miodrag Živković

Abstract. Let Vn be the number of equivalence classes of invertible maps from{0,1}n to{0,1}n, under action of permutation of variables on domain and range. So far, the values Vn have been known forn 6 6. This paper describes the procedure by which the values ofVnare calculated forn630.

1. Introduction

LetVn be the number of equivalence classes of invertible maps from{0,1}nto {0,1}n, under action of permutation of variables on domain and range. Lorens [1]

gave a method for calculating the number of equivalence classes of invertible Boolean functions under the following group operations on the input and output variables:

complementation, permutation, composition of complementation and permutation, linear transformations and affine transformations. In particular, he calculated the values Vn for n65. Irvine [4] in 2011 calculated V6 (the sequence A000653). In this paper using a more efficient procedure, the valuesVn are calculated forn630.

2. Notation

Let Sr denote symmetric group on r letters. Consider a set of vectorial in- vertible Boolean functions (hereinafter referred to as functions), i.e., the set SN

of permutations of Bn ={0,1}n where N = 2n. The function FSN maps the n-tuple X = (x1, . . . , xn) ∈ Bn into Y = (y1, . . . , yn) = F(X). For some per- mutation σSn, the result of its action onX = (x1, . . . , xn)∈ Bn is σ(X) = (xσ(1), . . . , xσ(n))∈Bn.

An arbitrary pair (ρ, σ) ∈ Sn2 determines mapping Tρ,σ : SNSN, defined by Tρ,σ(F) = ρFσ where FSN; in other words, if F = Tρ,σ(F) then

2010Mathematics Subject Classification: Primary 05A15; Secondary 06E30.

Key words and phrases: invertible Boolean functions, number of equivalence classes, permu- tation group.

Communicated by Žarko Mijajlović.

95

(2)

F(X) =ρ(F(σ(X))) for allXBn. The set of all mappings Tρ,σ with respect to composition is a subgroup of SN!.

The two functionsF, HSN are considered equivalent if there exist permuta- tionsρ, σSn such thatH =Tρ,σ(F), i.e., if they differ only by a permutation of input or output variables.

Let ι denote the identity permutation. Every permutation σSn uniquely determines the permutationσSN. LetSn denote the subgroup ofSN consisting of all permutationsσcorresponding to permutationsσSn. The mappingσ7→σ is a monomorphism from Sn toSN (see [2]).

Let σSr. Let pi, 1 6 i 6 r, denote the number of cycles of length i in a cycle decomposition of σ; here Pr

i=1ipi = r. The cycle index monomial of σ is the product Qr

i=1tpii where ti, 1 6 i 6 r, are independent variables. It can be equivalently described by the vector spec(σ) =p= (p1, p2, . . . , pr). For an arbitrary positive integernletPn ={(p1, p2, . . . , pn)|pi>0,Pn

i=1ipi=n}denote the set of partitions of n. For somepPn letSn,p={σ∈Sn |spec(σ) =p}. An arbitrary partitionpcorresponds to the decompositionn=kp,1+kp,2+· · ·+kp,m(p) into positive summands kp,1 > kp,2 > · · · > kp,m(p) > 0 where summand i = n, n−1, . . . ,1 in this sum appearspitimes.

Lethr, siand (r, s) denote the least common multiple and the greatest common divisor ofrands, respectively.

3. Preliminaries

The calculation ofVn is based on the following known facts (see e.g., [1–3]):

(1) The cardinality ofSn,p equals to

|Sn,p|= n!

Q

iipipi!.

(2) Let σ1, σ2Sn be permutations such that spec(σ1) = spec(σ2). Then spec(σ1) = spec(σ2). In other words, permutations with the same cycle index inSn induce the permutations with the same cycle index in Sn. (3) The permutationTρ,σhas at least one fixed point if and only if spec(σ) =

spec(ρ).

(4) Let σSn,p and let spec(σ) = p = (p1, p2, . . . , pN). The number of fixed points ofTσ,σ is

Np=Y

i

ipipi!.

(5) IfσSnis a cyclic permutation (a permutation having only one cycle of the length n), then the cycle index monomial of the permutationσ is

Y

d|n

fde(d),

(3)

where the numberse(k), k>1 are defined by the recurrent relation

e(k) = 1 k

2k− X

d|k,d<k

d·e(d)

, k >1.

with the initial valuee(1) = 2.

(6) If αis a permutation on a set X with |X|=a and αhas a cycle index monomialf1j1· · ·faja, andβ is a permutation onY with|Y|=bandβhas a cycle index monomialf1k1· · ·fbkb, then the permutation (α, β) acting on X×Y by the rule

(α, β)(x, y) = (α(x), β(y)) has cycle index monomial given by

a Y

p=1

fpjp

b Y

q=1

fqkq

=

a

Y

p=1 b

Y

q=1

(fpjp×fqkq) =

a

Y

p=1 b

Y

q=1

fhp,qijpkq(p,q).

4. The number of equivalence classes The value of Vn is determined by the following theorem.

Theorem4.1. For an arbitrarypPn letσSn,p. Ifspec(σ) = (p1, . . . , pn), then

(4.1) Vn= X

p∈Pn

Q

iipipi! Q

iipipi!2.

Proof. The permutation FSN is a fixed point of Tρ,σ if Tρ,σ(F(X)) = F(X) holds for allXBn. LetI(ρ, σ) be a number of fixed points ofTρ,σ. By the Frobenius lemma (see e.g. [1]) the number of equivalence classes is equal to

Vn= 1 (n!)2

X

σ∈Sn

X

ρ∈Sn

I(ρ, σ) = 1 (n!)2

X

p∈Pn

X

ρ∈Sn,p

X

q∈Pn

X

σ∈Sn,q

I(ρ, σ).

By the facts (2)–(4) from Preliminaries, the number of fixed points of Tρ,σ corre- sponding to fixed permutations ρSn,p,σSn,q is equal to

I(ρ, σ) =

(0, p6=q Np, p=q Therefore

Vn= 1 (n!)2

X

p∈Pn

X

ρ∈Sn,p

X

q∈{p}

X

σ∈Sn,p

Np= 1 (n!)2

X

p∈Pn

X

ρ∈Sn,p

X

σ∈Sn,p

Np

= 1

(n!)2 X

p∈Pn

Np

X

ρ∈Sn,p

X

σ∈Sn,p

1 = 1 (n!)2

X

p∈Pn

Np· |Sn,p|2

= X

p∈Pn

Q

iipipi! Q

iipipi!2.

(4)

By induction the following generalization of the fact (6) can be proved. If αi

is permutation onZi,|Zi|=ki,i= 1, . . . , n, and if the cycle index monomial ofαi

is f1yi,1· · ·fkyii,ki, then the permutation (α1, . . . , αn) acting on Z1×Z2× · · · ×Zn

by the rule

1, . . . , αn)(z1, . . . , zn) = (α1(z1), . . . , αn(zn)) has cycle index monomial given by

(4.2)

n

i=1

ki

Y

zi=1

fzyii,zi

=

k1

Y

z1=1 k2

Y

z2=1

· · ·

kn

Y

zn=1

n

i=1

fzyii,zi

=

k1

Y

z1=1 k2

Y

z2=1

· · ·

kn

Y

zn=1

f Qn

i=1(ziyi,zi)/hz1,z2,...,zni hz1,z2,...,zni

The proof is based on the fact, also proved by induction, that the cycle index monomial of the direct product of n permutations with cycle index monomials fzyii, 16i6nis equal to

n

i=1

fzyii =f Qn

i=1(ziyi)/hz1,z2,...,zni hz1,z2,...,zni

Using this generalization, the following theorem shows how to obtain the cycle index p ofσ, used in previous theorem.

Theorem 4.2. Let pPn be an arbitrary partition and let σSn,p. Let σ=α1α2. . . αm be a decomposition of σ into disjoint cycles. Let the length ofαi

be ki, 1 6 i 6 m. The cycle index monomial Q

ifipi of the corresponding σ is given by

m

i=1

Y

zi|ki

fze(zi i)

= Y

z1|k1

Y

z2|k2

· · · Y

zm|km

f Qm

i=1zie(zi)/hz1,z2,...,zmi hz1,z2,...,zmi ≡Y

i

fipi.

Proof. The cycle of length ki in σ induces the product of cycles in σ with the cycle index monomial Q

zi|kifze(zi i). The product of permutations with cycle index monomial Qn

i=1tpii = Qm

i=1tki in σ induces a permutation with the cycle index monomial m

i=1Q

zi|kifze(zi i) in σ. The cycle index of σ is then obtained using (4.2)

Y

i

fipi= Y

z1|k1

Y

z2|k2

· · · Y

zm|km

f Qm

i=1zie(zi)/hz1,z2,...,zmi

hz1,z2,...,zmi .

The following diagram displays the dependence of the computation time onn.

More precisely, the natural logarithms of the two times (in seconds), denoted byTn

andTn, respectively, are displayed—the time needed to computeVn, and the time needed to compute only cycle indexes of σSn,p andσ for all partitions pPn. It is seen that the most time-consuming part of the algorithm is the calculation including large numbers.

(5)

Figure 1. Computation time.

5. Acknowledgement

We are greatly indebted to the anonymous referee for many useful comments.

References

1. C. S. Lorens, Invertible Boolean functions, IEEE Trans. Electron. Comput. EC-13 (1964), 529–541.

2. M. A. Harrison,The number of transitivity sets of boolean functions, J. Soc. Ind. Appl. Math.

11(3) (1963), 806–828.

3. M. A. Harrison, Counting theorems and their applications to switching theory, Chapter 4 in A. Mukhopadyay (ed.),Recent Developments in Switching Functions, Academic Press, New York, 1971, 85–120.

4. The On-Line Encyclopedia of Integer Sequences, published electronically at http://oeis.org, 2010.

Advanced School of Electrical Engineering Applied Studies (Received 06 01 2016)

Belgrade (Revised 03 02 2016 and 23 04 2016)

Serbia

[email protected] Faculty of Mathematics Department of Informatics University of Belgrade Serbia

[email protected]

参照

関連したドキュメント

degree, medical staff and other researchers, and research expenditures used for input variables, and the number of papers and citations used for output variables. In addition,

Through his action, the human operator makes direct corrections in the process, on the input variables in order to maintain the values of the output variables at the

3.5 Correlation coefficients CC between input and output signals of the ideal non-hysteretic inverter are plotted as functions of normalized input noise V in noise /V th

Problem of calculating a root of a quadratic equation input : rational number a, b, c.. output: an x that satisfies ax

Much like the input process, we start analysis of the output process by assuming that service times of different customers are independent random variables represented

Up to now, there are many classes of balanced Boolean functions with optimal algebraic immunity which have been proposed, for instance in [3]–[20]. However, none of them has

Key words: Kanji classes, Vocabulary learning, Short composition-writing, Input, Output With the consideration that, for learning kanji, it is necessary to learn not

It is known that the equivalence problem on yDTs is decidable, that is, we can effectively check if given two yDTs output the same string for every input.. Since the existing