Lagrangian field theory in terms of green’s functions. I. Generalized perturbation theory and inversion theorems