For a holomorphic connection , the holomorphic Chern-Simons functional is given by
Its critical points are holomorphically flat connections: . One would like to count the critical points in appropriate sense, which means the integration over the suitable compactified moduli space of solutions. These solutions may be viewed as Hermitean Yang-Mills connections or as BPS states in physical interpretation. The issues of compactification involve stability conditions which depend on the underlying Kähler form; as the Kähler form varies there are discontinuous jumps at the places of wall crossing.
Under the mirror symmetry, the holomorphic bundles correspond to the Lagrangian submanifolds in the mirror, and the stability condition restricts the attention to the special Lagrangian submanifold?s in the mirror.