Gauge theory and effective lagrangians