  Motivated by BRST theory, we study generalized symmetries and supersymmetries
depending on derivatives of dynamic variables in a most general setting. We
state the first variational formula and conservation laws for higher order
Lagrangian systems on fiber bundles and graded manifolds under generalized
symmetries and supersymmetries of any order. Cohomology of nilpotent
generalized supersymmetries are considered.
