boolean networks local models and finite polynomial
play

Boolean networks, local models, and finite polynomial dynamical - PowerPoint PPT Presentation

Boolean networks, local models, and finite polynomial dynamical systems Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4500, Spring 2017 M. Macauley (Clemson) Boolean


  1. Boolean networks, local models, and finite polynomial dynamical systems Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4500, Spring 2017 M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 1 / 15

  2. Boolean functions Let F 2 = { 0 , 1 } . By a Boolean function, we usually mean a function f : F n 2 − → F 2 . There are several standard ways to write Boolean functions: 1. As a logical expression, using ∧ , ∨ , and ¬ (or X ) 2. As a polynomial, using +, and · 3. As a truth table. Example The following are three different ways to express the function that outputs 0 if x = y = z = 1, and 1 otherwise. f ( x , y , z ) = x ∧ y ∧ z f ( x , y , z ) = 1 + xyz x 1 1 1 1 0 0 0 0 y 1 1 0 0 1 1 0 0 z 1 0 1 0 1 0 1 0 0 1 1 1 1 1 1 1 f ( x , y , z ) By counting the number of truth tables, there are 2 (2 n ) n -variable Boolean functions. M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 2 / 15

  3. Boolean algebra Boolean operation logical form polynomial form AND z = x ∧ y z = xy OR z = x ∨ y z = x + y + xy NOT z = x z = 1 + x Over F 2 , we have the identity x 2 = x , or equivalently, x (1 + x ) = 0. Theorem Every Boolean function f : F n 2 → F 2 is a polynomial in the quotient ring F 2 [ x 1 , . . . , x n ] / I , where I = � x 2 1 − x 1 , . . . , x 2 n − x n � . Proof Clearly, every such polynomial defines a Boolean function f : F n 2 → F 2 . We want to prove the converse. It suffices to show that these sets have the same size. There are 2 (2 n ) truth tables (Boolean functions) on n variables. i = x i , there are 2 n monomials in x 1 , . . . , x n . Every polynomial in the quotient ring is Since x 2 uniquely determined by a subset of these. � Easy generalization p → F p is a polynomial in F p [ x 1 , . . . , x n ] / � x p 1 − x 1 , . . . , x p Every function f : F n n − x n � . M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 3 / 15

  4. Boolean networks Classically, a Boolean network (BN) is an n -tuple f = ( f 1 , . . . , f n ) of Boolean functions, where f i : F n 2 → F 2 . This defines a finite dynamical system (FDS) map f : F n → F n � 2 − 2 , x = ( x 1 , . . . , x n ) �− → f 1 ( x ) , . . . , f n ( x )) . Any function from a finite set to itself can be described by a directed graph with every node having out-degree 1. For a BN, this graph is called the phase space , or state space . Definition The phase space of a BN is the digraph with vertex set F n ( x , f ( x )) | x ∈ F n � � 2 and edges . 2 Proposition Every function f : F n 2 → F n 2 is the phase space of a Boolean network: f = ( f 1 , . . . , f n ). Proof Clearly, every BN defines a function F n 2 → F n 2 . We want to prove converse. It suffices to show that these sets have the same cardinality. 2 , we count phase spaces. Each of the 2 n nodes has 1 out-going To count functions F n 2 → F n edge, and 2 n destinations. Thus, there are (2 n ) 2 n = 2 ( n 2 n ) phase spaces. To count BNs: there are 2 (2 n ) choices for each f i , and so (2 (2 n ) ) n = 2 ( n 2 n ) possible BNs. � M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 4 / 15

  5. Local models and FDSs Corollary Every function f = F n 2 → F n 2 can be written as an n -tuple of “square-free” polynomials over F 2 . That is, f i ∈ F 2 [ x 1 , . . . , x n ] / � x 2 1 − x 1 , . . . , x 2 f = ( f 1 , . . . , f n ) , n − x n � . This all carries over to generic finite fields, but we will carefully re-define things first. Definition Let F be a finite field. A local model over F is an n -tuple of functions f = ( f 1 , . . . , f n ), where each f i : F n → F . Definition Every local model f = ( f 1 , . . . , f n ) over F defines a finite dynamical system (FDS), by iterating the map f : F n − → F n , � x = ( x 1 , . . . , x n ) �− → f 1 ( x ) , . . . , f n ( x )) . Remark A classical Boolean network (BN) is just a local model over F 2 . M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 5 / 15

  6. Local polynomial models and PDSs Let F be a finite field. We slightly abuse notation and write a polynomial in the quotient ring R / I = F [ x 1 , . . . , x n ] / � x p 1 − x 1 , . . . , x p n − x n � as f instead of f + I . It is a sum of monomials with each exponent from 0 , . . . , p − 1: x α := x α 1 α = ( α 1 , . . . , α n ) ∈ Z n 1 x α 2 · · · x α n n , p . 2 Definition An element f in ( R / I ) × · · · × ( R / I ) is called a local polynomial model over F . Note that f is also a local model. Definition Every local polynomial model f = ( f 1 , . . . , f n ) over F defines a canonical finite polynomial dynamical system (PDS), by iterating the map f : F n − → F n , � x = ( x 1 , . . . , x n ) �− → f 1 ( x ) , . . . , f n ( x )) . Remark Let | F | = q . Every function f i : F n → F is defined by its unique truth table. There are exactly q ( q n ) truth tables: q n input vectors, each having q possible outputs. M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 6 / 15

  7. Which local models are polynomial models? Let F be a finite field of order q = p n . Definition The algebraic normal form of a polynomial f ∈ R / I is � f = c α x α , where the sum is taken over all p n monomials, and c α ∈ F . Proposition There are q ( q n ) functions f : F n → F , but only q ( p n ) polynomials in the quotient ring R / I = F [ x 1 , . . . , x n ] / � x p 1 − x 1 , . . . , x p n − x n � . Proof The number of functions f : F n → F is just the number of truth tables: q ( q n ) . To find | R / I | , we count algebraic normal forms: p n monomials x α , each having q possible ⇒ q ( p n ) elements of R / I . coefficients c α ∈ F = � M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 7 / 15

  8. General finite fields: local models vs. local polynomial models Let F be a finite field of order q = p n . Summary (i) There are q ( nq n ) local models ( f 1 , . . . , f n ) over F . (ii) There are q ( nq n ) functions F n → F n (i.e., FDS maps). (iii) There are only q ( np n ) local polynomial models (i.e., PDS maps). In other words, every function F n → F n is indeed the finite dynamical system (FDS) map (i.e., phase space) of a local model ( f 1 , . . . , f n ) over F . However, over non-prime fields, there are FDS maps that are not PDS maps. Said differently, over non-prime fields, there are local models that are not polynomial models Open question For F = F p n , characterize which functions F n → F n are PDS maps of local models. This is likely known by someone but using completely different terminology. M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 8 / 15

  9. Asynchronous Boolean networks Consider a Boolean network f = ( f 1 , . . . , f n ). Composing the functions synchronously defines the PDS map f : F n 2 → F n 2 . We can also compose them asynchronously. For each local function f i , define the function F i : F n → F n 2 − 2 , x = ( x 1 , . . . , x i , . . . , x n ) �− → ( x 1 , . . . , f i ( x ) , . . . , x n ) . Definition The asynchronous phase space of ( f 1 , . . . , f n ) is the digraph with vertex set F n 2 and edges � ( x , F i ( x )) | i = 1 , . . . , n ; x ∈ F n � . 2 Remarks Clearly, this graph has n · 2 n edges, though self-loops are often omitted. Every non-loop edge connect two vertices that differ in exactly one bit. That is, all non-loops are of the form ( x , x + e i ), where e i is the i th standard unit basis vector. Unless we specifiy otherwise, the term “phase space” refers to the “synchronous phase space.” It is elementary to extend this concept from BNs to local models over finite fields. M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 9 / 15

  10. Examples: synchronous vs. asynchronous 01 11 01 11 f 1 ( x 1 , x 2 ) = x 2 1 2 f 2 ( x 1 , x 2 ) = x 1 00 10 00 10 Wiring diagram Synchronous phase space Asynchronous Functions phase space 111 110 011 100 001 2 f 1 = x 2 110 101 011 f 2 = x 1 ∧ x 3 000 101 f 3 = x 2 100 010 001 1 3 Functions Wiring diagram 010 111 000 Synchronous Asynchronous phase space phase space (self-loops omitted) Remarks The 2-cycle in the 1st BN is an “artifact of synchrony.” In the 2nd asynchronous BN, there is a directed path between any two nodes. M. Macauley (Clemson) Boolean networks, local models, & finite PDSs Math 4500, Spring 2017 10 / 15

Recommend


More recommend