1: \begin{abstract}
2: %This paper explores the cohomological consequences of the existence of moduli spaces for flat bundles with bounded rank and irregularity at infinity and gives unconditional proofs in the surface case.
3: %Namely, we prove the existence of a universal bound for the dimension of the De Rham cohomology of flat bundles with bounded rank and irregularity.
4: %We also prove a Lefschetz recognition principle stating the existence of a
5: %finite union of hyperplane sections distinguishing flat bundles with bounded rank and irregularity after restriction.
6: %In higher dimension, we deduce a universal bound for the degrees of the turning loci of flat bundles with bounded rank and irregularity.
7: %Along the way, we introduce a new operation on the group of $b$-divisors on a smooth surface (the partial discrepancy) and prove a closed formula for the characteristic cycles of flat bundles on surfaces in terms of the partial discrepancy of the irregularity $b$-divisor attached to any flat bundle by Kedlaya.
8:
9: %\end{abstract}
10: