This was actually demonstrated in the 1950s, in the
Miller and Urey Experiment. The generally accepted hypothesis is that lightning strikes on the early earth synthesized the building blocks of life which increasingly organized to include lipid membranes and ribozymes (which replicate).
Let it be clear though: this is no way contradicts Catholic teaching. God is immanent in His creation; the lightning strikes obey His commands (through secondary causes): “He made darkness the cover about him; his canopy, heavy thunderheads. Before him scudded his clouds, hail and lightning too. The Lord thundered from heaven; the Most High made his voice resound.” (Ps 18:12-14). And what did God say? “Let the earth bring forth all kinds of living creatures” (Gen 1:24).
Furthermore, Aquinas believed that life came forth from inanimate matter and even other forms of life in evolutionary succession. From the
Summa Theologica, on the work of the sixth day: “Since the generation of one thing is the corruption of another, it was not incompatible with the first formation of things, that from the corruption of the less perfect the more perfect should be generated. Hence animals generated from the corruption of inanimate things, or of plants, may have been generated then [the sixth day]. But those generated from corruption of animals could not have been produced then otherwise than potentially.” (Thomas Aquinas, STh I, q. 72, a. 1).
He even discusses mutant creatures produced from corrupted seed dying out and going extinct: “The same thing is true of those substances which Empedocles said were produced at the beginning of the world, such as the ‘ox-progeny’, i.e., half ox and half man. For if such things were not able to arrive at some end and final state of nature so that they would be preserved in existence, this was not because nature did not intend this [a final state], but because they were not capable of being preserved. For they were not generated according to nature, but by the corruption of some natural principle, as it now also happens that some monstrous offspring are generated because of the corruption of seed.” (Thomas Aquinas, Commentary on Physics, Book 2, Lecture 14, Section 262)
Also note that Aquinas, following the tradition of Augustine, considered the days of creation to represent indefinite epochs as God continues to govern the world: “My Father is at work until now, so I am at work” (Jn 5:17).
Hope this helps,
-Ryan Vilbig
ryan.vilbig@gmail.com