1. Introduction

A tree is a graph G = {T, E} that is connected and contains no circuits. Given any two vertices σ, t(σtT), let σ t ¯ be the unique path connecting σ and t. Define the graph distance d(σ, t) to be the number of edges contained in the path σ t ¯ .

Let TC,Nbe a Cayley tree. In this tree, the root (denoted by o) has only N neighbors, and all other vertices have N + 1 neighbors. Let TB,Nbe a Bethe tree, on which each vertex has N + 1 neighboring vertices. Here, both TC,Nand TB,Nare homogeneous tree. An infinite tree with uniformly bounded degree is that the numbers of neighbors of any vertices in this tree are uniformly bounded. Therefore, the homogeneous tree is the special case of infinite tree with uniformly bounded degree. In this paper, we mainly consider a general infinite tree with uniformly bounded degree, that is, the tree is formed by an infinite tree that has uniformly bounded degree with the root o connecting with another point denoted by the root -1. In order to understand this tree graph, we give a figure (see Figure 1), which is formed by a TC,2with the root o connecting with another root -1. When the context permits, this type of trees is all denoted simply by T.

Figure 1
figure 1

A general infinite tree with uniformly bounded degree.

Let σ, t(σ, to, -1) be vertices of a general infinite tree with uniformly bounded degree T. Write tσ if t is on the unique path connecting o to σ, and |σ| for the number of edges on this path. For any two vertices σ, t(σ, to, -1) of tree T, denote by σt the vertex farthest from o satisfying σtσ and σtt.

The set of all vertices with distance n from root o is called the n th generation of T, which is denoted by L n . We say that L n is the set of all vertices on level n and especially root-1 is on the -1st level on tree T. We denote by T(n)the subtree of a general infinite tree with uniformly bounded degree T containing the vertices from level -1 (the root -1) to level n. Let t(≠ o, -1) be a vertex of a general infinite tree with uniformly bounded degree T. Predecessor of the vertex t is another vertex that is nearest from t on the unique path from root -1 to t. We denote the predecessor of t by 1 t and the predecessor of 1 t by 2 t . We also say that 2 t is the second predecessor of t. XA = {X t , tA} and denoted by |A| the number of vertices of A, and xA is the realization of XA.

Definition 1 Let G = {1, 2, ..., N} and P(z|y, x) be a nonnegative functions on G3. Let

P=(P(z|y,x)),P(z|y,x)0,x,y,zG.

If

z G P ( z | y , x ) = 1 ,

P will be called a second-order transition matrix.

Definition 2 Let T be a general infinite tree, G = {1, 2, ..., N} be a finite state space, and {X t , tT} be a collection of G-valued random variables defined on the probability space ( Ω , F , P ) . Let

P = ( p ( x , y ) ) , x , y G
(1)

be a distribution on G2, and

P = ( P ( z | y , x ) ) , x , y , z G
(2)

be a second-order transition matrix. If for any vertex t (to, -1),

P ( X t = z | X 1 t = y , X 2 t = x , and X σ for σ t 1 t ) = P ( X t = z | X 1 t = y , X 2 t = x ) = P ( z | y , x ) x , y G ,
(3)

and

P ( X - 1 = x , X o = y ) = p ( x , y ) , x , y G ,
(4)

{X t , tT} will be called a G-valued second-order Markov chain indexed by a general infinite tree T with the initial distribution (1) and second-order transition matrix (2) or called a T-indexed second-order Markov chain.

The subject of tree-indexed processes is rather young. Benjamini and Peres (see [1]) have given the notion of the tree-indexed Markov chains and studied the recurrence and ray-recurrence for them. Berger and Ye (see [2]) have studied the existence of entropy rate for some stationary random fields on a homogeneous tree. Ye and Berger (see [3, 4]), by using Pemantle's result(see [5]) and a combinatorial approach, have studied the Shannon- McMillan theorem with convergence in probability for a PPG-invariant and ergodic random field on a homogeneous tree. Yang and Liu(see [6])have studied a strong law of large numbers for the frequency of occurrence of states for Markov chains field on a homogeneous tree (a particular case of tree-indexed Markov chains field and PPG-invariant random field). Yang (see [7]) has studied the strong law of large numbers for frequency of occurrence of state and Shannon-McMillan theorem for homogeneous Markov chains indexed by a homogeneous tree. Takacs (see [8]) has studied the strong law of large numbers for the univariate functions of finite Markov chains indexed by an infinite tree with uniformly bounded degree. Recently, Yang (see [9]) has studied the strong law of large numbers and Shannon-McMillan theorem for nonhomogeneous Markov chains indexed by a homogeneous tree. Huang and Yang (see [10]) have studied the strong law of large numbers for Markov chains indexed by an infinite tree with uniformly bounded degree, which generalize the result of [8]. Shi and Yang (see [11]) have also studied a limit property of random transition probability for a second-order nonhomogeneous Markov chains indexed by a tree.

In this paper, we first study a convergence theorem for a finite second-order Markov chain indexed by a general infinite tree with uniformly bounded degree. As corollaries, we obtain some limit theorems for the frequencies of occurrence of states for this Markov chain. Finally, we obtain the strong law of large numbers and Shannon-McMillan theorem for a class of finite second-order Markov chain indexed by a general infinite tree with uniformly bounded degree.

2. Strong limit theorems

Lemma 1 Let T be a general infinite tree with uniformly bounded degree. Let {X t , tT} be a T-indexed second-order Markov chain with state space G defined as in Definition 2, {g t (x, y, z), tT} be a collection of functions defined on G3. Let L-1 = {-1}, L0 = {o} and F n =σ ( X T ( n ) ) ( n 1 ) . Set

F n ( ω ) = t T ( n ) \ { o } { - 1 } g t ( X 2 t , X 1 t , X t )
(5)

and

t n ( λ , ω ) = e λ F n ( ω ) t T ( n ) \ { o } { - 1 } E e λ g t ( x 2 t , X 1 t , X , ) | X 1 t , X 2 t ,
(6)

where λ is a real number. Then { t n ( λ , ω ) , F n , n 1 } is a nonnegative martingale.

Proof: The proof of Lemma 1 is similar to Lemma 2.1 in [9], so we omit it.

Theorem 1 Let {X t , tT} and {g t (x, y, z), tT} be defined as Lemma 1,

G n ( ω ) = t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t X 1 t , X t ) | X 1 t , X 2 t ] ,
(7)

and {a n , n ≥ 1} be a sequence of nonnegative random variables. Let a > 0. Set

A = { lim n a n = }

and

D ( a ) = lim sup n 1 a n t T ( n ) \ { o } { - 1 } E [ g t 2 ( X 2 t , X 1 t , X t ) e a | g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] = M ( ω ) < A .
(8)

Then

lim n 1 a n ( F n ( ω ) - G n ( ω ) ) = 0 a . e . ω D ( a ) .
(9)

Proof: By Lemma 1, we have known that { t n ( λ , ω ) , F n , n 1 } is a nonnegative martingale. According to Doob martingale convergence theorem, we have

lim n t n ( λ , ω ) = t ( λ , ω ) < a . e .
(10)

By (10) we have

lim sup n 1 a n ln t n ( λ , ω ) 0 a . e . ω A .
(11)

By (5), (6) and (11), we get

lim sup n 1 a n λ F n ( ω ) - t T ( n ) \ { o } { - 1 } ln E [ e λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] 0 a . e . ω A .
(12)

By (12) and inequalities ln xx - 1 (x > 0), 0 e x -1-x x 2 2 e | x | , as 0 < |λ| ≤ a we have

lim sup n 1 a n { λ F n ( ω ) λ t T ( n ) \ { o } { 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] } lim sup n 1 a n { t T ( n ) \ { o } { 1 } ln E [ e λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] λ t T ( n ) \ { o } { 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] } = lim sup n 1 a n t T ( n ) \ { o } { 1 } { ln E [ e λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] E [ λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] } lim sup n 1 a n t T ( n ) \ { o } { 1 } { E [ e λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] 1 E [ λ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] } λ 2 2 lim sup n 1 a n t T ( n ) \ { o } { 1 } { E [ g t 2 ( X 2 t , X 1 t , X t ) e a | g t ( X 2 t , X 1 t , X t ) | | X 1 t , X 2 t ] } = λ 2 2 M ( ω ) ω D ( a ) , a . e .
(13)

Letting 0 < λa, by (13), we have

lim sup n 1 a n F n ( ω ) - t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] λ 2 M ( ω ) , ω D ( a ) .
(14)

Let λ → 0+ in (14), by (8) we have

lim sup n 1 a n F n ( ω ) - t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] 0 , ω D ( a ) .
(15)

Taking -aλ < 0 in (15), similarly we get

lim sup n 1 a n F n ( ω ) - t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] 0 , ω D ( a ) .
(16)

Combining (7), (15) and (16), we obtain (9).

Corollary 1 Let {X t , tT} be a general infinite tree T with uniformly bounded degree defined by Definition 2. Let {g t (x, y, z), tT} be a collection of uniformly bounded functions defined on G3. That is, there exists K > 0 such that |g t (x, y, z)| ≤ K. F n (ω) and G n (ω) be given by (5) and (7), respectively. Let N ≥ 0, then

lim n 1 | T ( n + N ) | ( F n ( ω ) - G n ( ω ) ) = 0 , a . e .
(17)

Proof: Letting a n = |T(n+N)| in Theorem 1, noticing that {g t (x, y), tT} are uniformly bounded, and then D(α) = Ω for all α > 0. This corollary follows from Theorem 1 directly.

In the following, let I k ( x ) = 1 x = k 0 x k . We always let N ≥ 0, m, l, kG, d0(t) := 1 and denoted by

d N ( t ) : = | τ T : N τ = t | ,
(18)
S l , k N ( A ) : = t A I l ( X 1 t ) I k ( X t ) d N ( t ) ,
(19)
S m , l , k N ( A ) : = t A I m ( X 2 t ) I l ( X 1 t ) I k ( X t ) d N ( t ) .
(20)

Corollary 2 Let T be a general infinite tree with uniformly bounded degree. Let {X t , tT} be a T-indexed second-order Markov chain with state space G defined by Definition 2. Then for all m, l, kG, N ≥ 0, we have

lim n 1 | T ( n + N ) | { S l , k N ( T ( n ) \ { - 1 } ) - m G S m , l N + 1 ( T ( n - 1 ) \ { - 1 } ) P ( k | m , l ) } = 0 a . e .
(21)

Proof: Because of the uniformly bounded degree of T, there is a < ∞ with dN(t) < aN. Let g t (x, y, z) = dN(t)I l (y)I k (z), a n = |T(n+N)|. Obviously, {g t (x, y, z), tT} are uniformly bounded. Since

F n ( ω ) = t T ( n ) \ { o } { - 1 } g t ( X 2 t , X 1 t , X t ) = t T ( n ) \ { o } { - 1 } I l ( X 1 t ) I k ( X t ) d N ( t ) = S l , k N ( T ( n ) \ { - 1 } ) - I l ( X - 1 ) I k ( X o ) d N ( o ) ,
(22)

and

G n ( ω ) = t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] = t T ( n ) \ { o } { - 1 } x t G g i ( X 2 t , X 1 t , x t ) P ( x t | X 1 t , X 2 t ) = t T ( n ) \ { o } { - 1 } x t G I l ( X 1 t ) I k ( x t ) d N ( t ) P ( x t | X 1 t , X 2 t ) = t T ( n ) \ { o } { - 1 } I l ( X 1 t ) d N ( t ) P ( k | X 1 t , X 2 t ) = m G t T ( n ) \ { o } { - 1 } I m ( X 2 t ) I l ( X 1 t ) d N ( t ) P ( k | l , m ) = m G t T ( n - 1 ) \ { - 1 } I m ( X 1 t ) I l ( X t ) d N + 1 ( t ) F ( k | l , m ) = m G S m , l N + 1 ( T ( n - 1 ) \ { - 1 } ) P ( k | l , m ) .
(23)

This corollary follows from Corollary 1 directly.

Corollary 3 Let {X t , tT} be a second-order Markov chain taking values in G indexed by a general infinite tree with uniformly bounded degree defined as before. Then for all m, l, kG, we have

lim n 1 | T ( n + N ) | { S m , l , k N ( T ( n ) \ { o } { - 1 } ) - S m , l N + 1 ( T ( n - 1 ) \ { - 1 } ) P ( k | m , l ) } = 0 a . e .
(24)

Proof: Let g t (x, y, z) = dN(t) I m (x)I l (y)I k (z), a n = |T(n+N)|. Obviously, {g t (x, y, z), tT} are uniformly bounded. Since

F n ( ω ) = t T ( n ) \ { o } { - 1 } g t ( X 2 t , X 1 t , X t ) = t T ( n ) \ { o } { - 1 } I m ( X 2 t ) I l ( X 1 t ) I k ( X t ) d N ( t ) = S m , l , k N ( T ( n ) \ { o } { - 1 } ) ,
(25)

and

G n ( ω ) = t T ( n ) \ { o } { - 1 } E [ g t ( X 2 t , X 1 t , X t ) | X 1 t , X 2 t ] = t T ( n ) \ { o } { - 1 } x t G g t ( X 2 t , X 1 t , x t ) P ( x t | X 1 t , X 2 t ) = t T ( n ) \ { o } { - 1 } x t G I m ( X 2 t ) I l ( X 1 t ) I k ( x t ) d N ( t ) P ( x t | X 1 t , X 2 t ) = t T ( n ) \ { o } { - 1 } I m ( X 2 t ) I l ( X 1 t ) d N ( t ) P ( k | l , m ) = t T ( n - 1 ) \ { - 1 } I m ( X 1 t ) I l ( X t ) d N + 1 ( t ) P ( k | l , m ) = S m , l N + 1 ( T ( n - 1 ) \ { - 1 } ) P ( k | l , m ) .
(26)

This corollary follows from Corollary 1 directly.

3. LLN and Shannon-McMillan theorems

In this section, we study the strong law of large numbers and the Shannon-McMillan theorems for a second-order Markov chain indexed by a general infinite tree with uniformly bounded degree. In the following, we first give a definition and a lemma.

Definition 3 Let G = (1, 2, ..., N) be a finite state space, and

P = ( p ( k | l , m ) ) , m , l , k G
(27)

be a second-order transition matrix. Define a stochastic matrix as follows:

P ̄ = ( p ( ( l , k ) | ( m , i ) ) ) , ( m , i ) , ( l , k ) G 2 ,
(28)

where

p ( ( l , k ) | ( m , i ) ) = p ( k | l , m ) l = i 0 otherwise .
(29)

Then P ̄ is called a two-dimensional stochastic matrix determined by the second-order transition matrix P.

Lemma 2 (see [12])

Let P ̄ be a two-dimensional stochastic matrix determined by the second-order transition matrix P. If the elements of P are all positive, i.e.,

P = ( p ( k | l , m ) ) , p ( k | l , m ) > 0 , m , l , k G ,

then P ̄ is ergodic.

Theorem 2 Let T be a general infinite tree with uniformly bounded degree. Let {X t , tT} be a T-indexed second-order Markov chain taking values in G generated by P. Let the two-dimensional stochastic matrix P ̄ determined by P be ergodic. Then for all m, l, kG, we have

lim n S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | = π ( l , k ) a . e . ,
(30)
lim n S m , l , k N ( T ( n ) \ { o } { - 1 } ) | T ( n + N ) | = π ( m , l ) P ( k | l , m ) a . e . ,
(31)

where {π(l, k), l, kG} is the stationary distribution determined by P ̄ .

Proof: By (21) and (29), we have

lim n S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | - ( m , i ) G 2 S m , i N + 1 ( T ( n - 1 ) \ { - 1 } ) | T ( n + N ) | P ( ( l , k ) ( m , i ) ) = 0 . a . e .
(32)

We now prove the following equation by induction: Fixed N ≥ 0 and for all h ≥ 1, we have

lim n S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | - ( m , i ) G 2 S m , i N + h ( T ( n - h ) \ { - 1 } ) | T ( n + N ) | P h ( ( l , k ) ( m , i ) ) = 0 . a . e .
(33)

The case h = 1 is immediate from the equation (32). The case h + 1 follows by

S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | - ( m , i ) G 2 S m , i N + h + 1 ( T ( n - h - 1 ) \ { - 1 } ) | T ( n + N ) | P h + 1 ( ( l , k ) | ( m , i ) ) = S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | - ( m , i ) G 2 ( s , t ) G 2 S m , i N + h + 1 ( T ( n - h - 1 ) \ { - 1 } ) | T ( n + N ) | P h ( ( l , k ) |( s , t ) ) P ( ( s , t ) | ( m , i ) ) = S l , k N ( T ( n ) \ { - 1 } ) | T ( n + N ) | - ( s , t ) G 2 S s , t N + h ( T ( n - h ) \ { - 1 } ) | T ( n + N ) | P h ( ( l , k ) | ( s , t ) ) + { ( s , t ) G 2 S s , t N + h ( T ( n - h ) \ { - 1 } ) | T ( n + N ) | - ( m , i ) G 2 S m , i N + h + 1 ( T ( n - h - 1 ) \ { - 1 } ) | T ( n + N ) | P ( ( s , t ) | ( m , i ) ) P h ( ( l , k ) | ( s , t ) ) }
(34)

Notice that the first term vanishes as n → ∞, because of the induction hypothesis. According to the equation (32), the second term approximates to zero as n → ∞. By induction, we have (33) holds for all h ≥ 1. Since ( m , i ) G 2 S m , l h + N ( T ( n - h ) \ { - 1 } ) =| T ( n + N ) |-| T ( h + N - 1 ) |. By (33), we have

lim sup n | S l , k N ( T ( n ) \ { 1 } ) | T ( n + N ) | π ( l , k ) | lim sup n | ( m , i ) G 2 S m , i N + h ( T ( n h ) \ { 1 } ) | T ( n + N ) | P h ( ( l , k ) | ( m , i ) ) π ( l , k ) | = lim sup n | ( m , i ) G 2 S m , i N + h ( T ( n h ) \ { 1 } ) | T ( n + N ) | ( P h ( ( l , k ) | ( m , i ) ) π ( l , k ) ) | T ( N + h 1 ) | | T ( n + N ) | π ( l , k ) | lim sup n ( m , i ) G 2 S m , i N + h ( T ( n h ) \ { 1 } ) | T ( n + N ) | | P h ( ( l , k ) | ( m , i ) ) π ( l , k ) ) + lim sup n | T ( N + h 1 ) | | T ( n + N ) | π ( l , k ) ( m , i ) G 2 | P h ( ( l , k ) | ( m , i ) ) π ( l , k ) | a . e .
(35)

Since

lim n P h ( ( l , k ) | ( m , i ) ) = π ( l , k ) , ( m , i ) G 2 ,
(36)

(30) follows from (35) and (36), (31) follows from (30) and (24).

Corollary 4 Under the conditions of Theorem 2, let S m , l , k ( T ( n ) \ { o } { - 1 } ) := S m , l , k 0 ( T ( n ) \ { o } { - 1 } = | { t T ( n ) : ( X 2 t , X 1 t , X t ) = ( m , l , k ) } | . Then

lim n S m , l , k ( T ( n ) \ { o } { - 1 } ) | T ( n ) | = π ( m , l ) P ( k | m , l ) a . e .
(37)

Let T be a tree, {X t , tT} be a stochastic process indexed by tree T taking values in G, x T ( n ) be the realization of X T ( n ) . Denote

P ( x T ( n ) ) = P ( X T ( n ) = x T ( n ) ) .

Let

f n ( ω ) = - 1 | T ( n ) | ln P ( X T ( n ) ) ,

f n (ω) is called the entropy density of X T ( n ) . If {X t , tT} is a second-order Markov chain indexed by a general infinite tree with uniformly bounded tree defined as in Definition 2, we easily have

f n ( ω ) = 1 | T ( n ) | ln P ( X - 1 , X o ) + t T ( n ) \ { o } { - 1 } ln P ( X t | X 1 t , X 2 t ) .
(38)

The convergence of f n (ω) to a constant in a sense (L1 convergence, convergence in probability, a.e. convergence) is called the Shannon-McMillan theorem, or the entropy theorem or the AEP in information theory. Here from Theorems 1, 2, and Corollary 4, we can easily obtain the Shannon-McMillan theorem with a.e. convergence for a second-order Markov chain indexed by a general infinite tree with uniformly bounded tree.

Theorem 3 Let {X t , tT} be a second-order Markov chain taking values in G indexed by a general infinite tree with uniformly bounded tree T, and f n (ω) be defined as (38). Then

lim n f n ( ω ) = - m G l G k G π ( m , l ) P ( k | l , m ) ln P ( k | l , m ) a . e .
(39)

Proof:

lim n f n ( ω ) = - lim n 1 | T ( n ) | ln P ( X - 1 , X o ) + t T ( n ) \ { o } { - 1 } ln P ( X t | X 1 t , X 2 t ) = - lim n 1 | T ( n ) | t T ( n ) \ { o } { - 1 } ln P ( X t | X 1 t , X 2 t ) = - m G l G k G lim n 1 | T ( n ) | t T ( n ) \ { o } { - 1 } I m ( X 2 t ) I l ( X 1 t ) I k ( X t ) ln P ( k | l , m ) = - m G l G k G lim n S m , l , k ( T ( n ) \ { o } { - 1 } ) | T ( n ) | ln P ( k | l , m ) ,
(40)

Equation (39) follows from (40) and (37) directly.