I have recently debated logic with several theists, a fundamental Calvinist and a Roman Catholic, and they both tried to argue that logic is an external manifestation and phenomena of god that we as cognitive entities merely tap into. I disagreed for I claim that logic is a product of the mind based on and influenced by the foundational laws and consistent mechanisms of material existence, or to put it plainly the "nature of reality." Logic is necessarily a product of the mind rather than a law of the universe itself and certainly not some external characteristic or attribute of any supernatural entity/force. These misguided and piously intoxicated theists claimed that logic itself was a law of the universe and I, again, disagreed. For I define logic as a mode or system of reasoning with formal principles, surely these formal principles are based on and influenced by the various laws of the universe but logic is not, itself, one of these laws as the theists were arguing. Logic is *not* a law of nature and it is not a force of material existence, without a mind that is. However the fundamental laws and truths upon which logic is built certainly are logical. They are logical because they are susceptible to our observations, reasoning, analysis and understanding and they are susceptible to these things because they are necessarily predictable and the universe is predictable because it is an amalgam of consistent material mechanisms, thus these laws and mechanisms are logically coherent. I would point out that this does not mean that logic itself is a law but that, via evolution of the mind, logic is a product of these laws. I also claim, contrary to the theists positions, that logic did not always exist but that it has evolved with numerous species and that it varies in intricacy. Logic evolved and came to fruition within the mind based on and because of the various laws of the material universe, not because it always existed and that any given species with a mind then taps into it. I claim that logic has not always existed, the foundation for which logic was reliant on to evolve and come to be surely always existed but not logic itself. I would point out that I view logic as evolutionary phenomena, much like life on earth.
My main point is that logic itself does not really govern anything. It is not a law or force unto itself, but a product of the various laws, forces and material mechanisms of the universe.
Logic, like mathematics, is a secondary product of the nature of reality not the nature of reality itself.