#3 and #4 seem highly unlikely to me; the structure does appear in simpler, more common situations where the elision was not confusing: Open the bottle using a church key . By varying temperature : 'By' is a preposition; 'varying temperature' is a nonfinite clause acting as noun object of the preposition; 'by varying temperature' is a prepositional phrase acting as an adverbial.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.