Four-dimensional Yang–Mills theory with a three-dimensional fermion membrane