Gelfand–Dickey hierarchy, generalized BGW tau-function, and W-constraints. (1st March 2023)