The anti-self-duality equations for gauge fields in d = 4 and a generalization of these equations to dimension d = 4n are considered. For gauge fields with values in an arbitrary semisimple Lie algebra [Formula: see text] we introduce the ansatz which reduces the anti-self-duality equations in the Euclidean space ℝ4n to a system of equations breaking up into the well known Nahm's equations and some linear equations for scalar field φ.