1. Introduction
In this paper, we are concerned with the reducibility of the almost periodic Hamiltonian system
      
      where 
A has multiple possible eigenvalues, 
 and 
 are all analytic almost periodic with respect to 
t, and 
 is a sufficiently small parameter.
First, we review some relevant definitions for almost periodic systems. If 
 is an 
 almost periodic matrix, the equation
      
      is reducible if there exists a regular almost periodic transformation
      
      where 
 and 
 are almost periodic and bounded, which transforms Equation (
2) into
      
      where 
D is constant.
In recent years, the reducibility for linear equations has attracted the attention and been studied by many researchers. The well known Floquet theorem states that every periodic differential Equation (
2) can be reduced to a constant coefficient differential Equation (
3) by means of a periodic change of variables with the same period as 
. But this result no longer holds true for the quasi-periodic and almost periodic linear equation; more details can be seen in [
1]. If the coefficient matrix satisfies the “full spectrum” condition, Johnson and Sell [
2] proved the reducibility of the quasi-periodic linear system (
2).
Later, many authors [
3,
4,
5,
6,
7,
8,
9,
10,
11,
12] paid attention to the reducibility for the following quasi-periodic linear system:
      where 
 is a sufficiently small parameter.
In 1996, Xu and You [
13] studied the reducibility for the almost-periodic linear system
      
	  They proved that system (
5) is reducible in the case that 
A has different eigenvalues, for most sufficiently small 
 through KAM iteration and a “space structure”. Later, ref. [
14] studied the case in which system (
5) is Hamiltonian and 
A has possible multiple eigenvalues; they obtained reducibility results similar to those in [
13].
In 2017, J. Li, C. Zhu, and S. Chen [
15] studied the quasi-periodic case of (
1). It was shown that for most sufficiently small parameters, under some assumptions of analyticity, non-resonant and non-degeneracy conditions, through a quasi-periodic symplectic change of variables, the considered system was changed into a quasi-periodic Hamiltonian system with zero equilibrium points.
Motivated by [
13,
14,
15], we will extend the reducible results of [
15] to the case of almost periodic Hamiltonian systems. Under some suitable assumptions, we will obtain a similar result.
Theorem 1. Consider the almost periodic Hamiltonian system (
1) 
in which A is a  matrix that can be diagonalized with multiple possible eigenvalues , , and , , and  are all analytic almost periodic functions on ; they have the same frequencies  and spatial structure . Moreover,  is analytic with respect to x on  and  Here,  is a ball centered on 0 with radius ;  is a sufficiently small parameter. Suppose the following: - (1) 
- There exists  such that  
- (2) 
- (Non-resonant conditions)  and  satisfy 
for  and , where  is a small constant, and Δ is an approximation function. - (3) 
- (Non-degeneracy conditions) Denote the solution of the equation  by . Let  Assume  has eigenvalues  that satisfy  and , where  and  
- (4) 
- . 
Then, there exists a positive Lebesgue measure, non-empty Cantor set  such that for , there is an almost periodic symplectic transformation  that transforms (1) intowhere  and  are almost periodic with the same frequencies and spatial structure as , B is a real constant matrix, and  as . Moreover,  as .  As an example, we will apply Theorem 1 in 
Section 4 to an almost-periodic Hill’s equation:
Under some appropriate assumptions, we have that, for most small 
, Equation (
9) is reducible. Furthermore, the zero equilibrium point of (
9) is Lyapunov stable.
The basic framework of this paper is as follows. In 
Section 2, we recall some definitions and notations, present some results in the form of lemmas that will be useful in the proof of Theorem 1. The proof of Theorem 1 is presented in 
Section 3. In 
Section 4, we analyze the almost periodic Hill’s equation, Equation (
9).
  2. Some Preliminaries
Firstly, we present some definitions.
Definition 1. We say a function f is quasi-periodic with the basic frequencies  if  where F is -periodic in  for  Moreover, if  is analytic on , then  is analytic quasi-periodic on .
 If 
 is analytic quasi-periodic, it can be expanded as a Fourier series
      
      with Fourier coefficients
      
	  The norm is denoted as 
:
Assume  is an  matrix. If all  are analytic quasi-periodic on  with frequencies , then matrix  is said to be analytic quasi-periodic on  with frequencies .
The norm of 
 is defined as
      
	  Obviously,
      
If 
R is a constant matrix, to simplify, we record 
 as 
. The average of 
 is 
, where
      
The details can be found in [
16].
Definition 2. A function f is said to be an almost periodic function if  where  are all quasi-periodic for 
 In [
13], we see that “spatial structure” and “approximation function” are very powerful tools to study almost periodic systems. We provide the definitions and notions from [
17,
18].
Definition 3 ([
17]). 
If τ is a set of some subsets of , where  is the set of natural numbers, then  is said to be a finite spatial structure if τ meets the following conditions:- 1. 
- ; 
- 2. 
- If , then ; 
- 3. 
- , where  is a weight function defined on τ, satisfying  and . 
 Let 
. Write the support set of 
l as
      
	  Write the weight value as 
 Denote
      
Definition 4 ([
18]). 
Δ is called an approximation function, if- 1. 
-  is increasing, and  is satisfied; 
- 2. 
-  is decreasing on ; 
- 3. 
 
 Remark 1. If Δ is an approximation function, from Definition 4, it follows that  is also an approximation function.
 Definition 5. Let . If  are quasi-periodic matrix functions with basic frequencies , then  is said to be an almost periodic matrix function with spatial structure  and basic frequencies ω.
 We also write the average of 
R(t) as 
, where
      
Let 
. For 
 and 
,
      
      is the weighted norms with finite spatial structure 
. From [
13], we can select the weighted function
      
Also, we will present some lemmas in this section, which are useful for the proof of our main result.
Lemma 1 ([
8]). 
Let  be a  function with   and  Then,  and . Lemma 2 ([
8]). 
Suppose that  is an  matrix with the eigenvalues , which satisfy  and  Let  be a nonsingular matrix with  , and ϱ is a value such thatIf  verifies  then the following results hold:
- (1) 
-  has m different nonzero eigenvalues . 
- (2) 
- There is a nonsingular matrix  such that , which satisfies  where . 
 Lemma 3. Consider the differential equationwhere A is a  constant matrix, which can be diagonalized and where the eigenvalues  of A satisfy , and ξ is a positive constant. Also,  is an analytic almost periodic function on , of which its frequencies are  and spatial structure is . If for all , . Set  and  Then, for Equation (10), there is a unique analytic almost periodic solution  that has the same frequencies and spatial structure as  and satisfieswhere   Proof.  Make the change of variable 
, and let 
 Equation (
10) becomes
        
        where 
.
Let 
, and
        
		By (
11), we have
        
		So,
        
		Thus,
        
From Definition 5, we have
        
		Thus, from
        
        we have
        
□
 The following lemma is very useful in proving Theorem 1, in order to perform a step of the inductive procedure.
Lemma 4. Consider the equationwhere A is a  Hamiltonian matrix with eigenvalues . Suppose  and  for  and  Furthermore,  is analytic almost periodic on  with frequencies  and has finite spatial structure . Then, , andfor all  Set  and  Then equation (12) has a unique analytic almost periodic Hamiltonian solution  with , where  has the same frequencies and spatial structure as , and satisfies  Proof.  Choose the matrix 
S such that 
, make the change of variable 
, and define 
. Equation (
12) becomes
        
Let 
 and 
, where
        
		Substitute these into (
13). We have 
 and
        
		Since 
 and 
 are analytic on 
, we have
        
		Thus,
        
		By Definition 5, we have
        
		Since,
        
		Hence,
        
From now on, the symbol c is used to denote different constants.
Now, we verify that 
 is Hamiltonian. Since 
A and 
 are Hamiltonian, we have
        
        where 
 and 
 are symmetric. Let 
. If 
 is symmetric, then 
P is Hamiltonian. Now, we demonstrate that 
 is symmetric. Substitute 
 into Equation (
12). We have
        
Transposing Equation (
14), we obtain
        
		Obviously, 
 and 
 are all solutions of (
12). Furthermore, 
 From the uniqueness of solution of (
12) with 
, it follows that 
; hence, 
P is Hamiltonian.   □
 Lemma 5. Consider the following Hamiltonian system:where A is a  matrix that can be diagonalized with the eigenvalues , and ,  is a constant. Assume that , and  are analytic almost periodic on . Their frequencies are , and they have the spatial structure . Suppose that  is analytic about x on , where  Furthermore,holds for all , and the constant . Let  and  Then, there exists a symplectic transformation  that transforms (15) intosatisfingandwhere .  Proof.  The solution of Equation 
 is denoted by 
. From Lemma 3, it follows that
        
		By the symplectic transformation 
, Equation (
15) is transformed into
        
        where
        
        and
        
		From Lemmas 1 and 3, it follows that
        
        and
        
The results are obtained.    □
   4. Application
Now, we apply Theorem 1 to the almost periodic Hill’s equation
      
      where 
 is an analytic almost periodic function on 
 with frequencies 
 and has spatial structure 
. Denote the average of 
 by 
.
Let 
, Equation (
44) equivalently becomes of the form
      
	  In order to apply Theorem 1, we rewrite (
45) as follows:
      where
      
      and 
 and 
 It is easy to see that 
A has multiple eigenvalues 
 and that 
 has two different eigenvalues 
 and 
 where 
 Obviously,
      
      and
      
      hold, where 
. Thus, by Theorem 1, we have the result as follows.
Theorem 2. Assume that  is analytic almost periodic on  with frequencies  and has spatial structure . If  andholds for all , where the constant , and Δ is an approximation function. Then, there exist small enough  and the non-empty Cantor subset  such that for , there exists an almost periodic symplectic transformation that changes (45) into a constant coefficient linear system. In addition,  as   From Theorem 2, we see that, for most small 
 Equation (
44) is changed into a constant coefficient system. Hence, similar to Xue [
12], by an analytic almost periodic transformation, Equation (
44) is transformed into
      
      where 
, which depends on 
 and 
 only. Obviously, Equation (
47) is elliptic, so the equilibrium is Lyapunov stable for most small enough 
.