How to use the programITIP(’E1’,’E2’,’E3’,…,’En’) checks whether the information expression E1 is implied by the nonnegativity of Shannon’s information measures, under the equality constraints E2,E3,…,En. Note that there must be an “’” immediately before and after each expression. Information expressions of the following forms are recognized:
where EXP1 and EXP2 are linear combinations of entropies, mutual informations, or their conditional versions. Moreover, the notation I(X1;X2;X3;…;Xn) for the mutual information between more than two random variables is accepted [4]. At most 26 variables (A-Z) can be used. To facilitate checking a large number of similar expressions, MATLAB variables whose names are in the lower-case alphabet can be used as coefficients. Blank spaces in the expressions are ignored. Examples:
H(XY)+2H(Z)-H(U)+I(X;Y|UZ)=0 0.8H(AZ)+I(A;ZY)>=3I(A;Y)-2.5H(Y|Z) hello H(X) + world I(X;Y) <= fun H(X|Y) Moreover, there are three types of macros for entering frequently used expressions:
Environment variables
Remark: Before using these environment variables, they must be declared global in MATLAB’s workspace. Optional usage
b, t, n and m are for diagnostic purposes and their values should be interpreted as follows: n is a string of upper-case letters separated by blank spaces. They represent the random variables appearing in E1,E2,E3,…,En. If two or more letters are grouped together, it means that ITIP treated the corresponding random variables as one random variable. b is a matrix whose elements are the coefficients of the joint entropies in the canonical form of the inputs. The column vectors represent E1,E2,E3,…,En sequentially. Note that two or more columns may be needed to represent a Markov chain. To determine which joint entropy the ith coefficient in a column corresponds to, we first find the binary representation of i. If the rth least significant bit is 1, the rth random variable shown in the string n is included in the joint entropy. t is a column vector showing the type of expressions b represents. If the ith row of t is 1, the ith column of b represents an inequality. m is the number of columns of b that are to be proved. Examples:>> ITIP(’H(X)>=H(X|Y)’) In the above, those inequalities which are not provable by ITIP are actually invalid, as can be shown by examples. However, the inequality below is valid but it cannot be proved by ITIP [2]. >> ITIP(’I(U;Z)<=I(U;Z|X)+I(U;Z|Y)’,’I(X;Y)=0’,’I(X;Y|Z)=0’) Nevertheless, only very few such inequalities are known so far. Therefore, if an inequality cannot be proved by ITIP, it is very likely to be invalid. The files ITIP_kern.m and make_D.c are subroutines invoked by ITIP.m. ITIP_kern is not designed to be used directly, while make_D may be used to compute the matrix ’D’ representing the elemental inequalities [1]. The following commands will produce the matrix ’D’ for n random variables. >> [row,col,coef,nc,nr]=make_D(n); Each row of D represents one elemental inequality. To determine which joint entropy the ith element corresponds to, we first find the binary representation of i. If the rth least significant bit is 1, the rth random variable is included in the joint entropy. |