Mordell-Weil lattices for higher genus fibration over a curve Two-dimensional \(\ell\)-adic representations of the fundamental group of a curve over a finite field and automorphic forms on \(\mathrm{GL}(2)\) 