Nonperturbative evaluation of the anomalies in low-energy theorems