chemical reaction used in mining