

The mining isn’t entirely the bad part of coal. Mining can be contained it is a local pollutant. Burning it is the real issue. And fiberglass and solar panels are both made of silicon. One of the most abundant minerals on the planet it isn’t hard to get and mining it doesn’t create the same kind of drainage as coal mining.
They have done the studies, it’s not. You can google to find them, I was going to pull them up for you but I’m out of my home country and I haven’t been able to access some sites for some reason.
Wind and especially solar produce a ton of energy. Some references I found stated a replacement rate of only a year for a wind turbine. Also you don’t need to use diesel to mine. Battery and electric operated heavy machinery are already in use.