chemical reactions used in mining