Vafa-Witten invariants for projective surfaces II: semistable case - Tanaka, Y; Thomas, RP (Pure and Applied Mathematics Quarterly, 2018)