Seol mar théacs é seo: Algebraic model checking for discrete linear dynamical systems