Coevolution of metallicity and star formation in galaxies to z ≃ 3.7 – II. A theoretical model. Issue 2 (19th August 2016)