Who started logic?

I don't need to be told that logic was an evolution that was merely advanced by these two Greeks. But who really gave us the rules of the game?

I've read some of Plato. Not much, but from his dialogues I gather more ethics and "what does what mean" sort of games rather than any formal system of logic. Aristotle explicity gives us rules and methodoloy. So my primtive answer is that Aristotle "invented" logic, Plato was merely an expert in applying it.

This being a philosophy forum... I don't want things getting side tracked hehe. So lets assume Socrates and all the pre-Socratic philosophers contributions were minimal as they left little written work. I repeat, lets assume.

The Buddha made a significant pre-Aristotelian contribution to what would become logic, but just as I would say that the study of what is now called physics began with Newton and Liebniz, I think it would also be proper to say that the study of logic began with Aristotle.

Bah! Even in the case of Aristotle in Greece he was preceded by the Sophists, who were formulating a science of discourse a century before him.

And who knows which bits of his work that were passed down to us were even really written by him? It's scholarly consensus that Ethics, at least, was probably written by Nicomachus. What appears to be a fully-formed system of analysis might well be something that began just as sketchily as the writings of the other philosophers of that era and was continually refined by admirers in subsequent centuries.

Take a contemporary example, the Chinese philosopher Hu Shi (惠施) who is classified in Chinese annals as a member of the School of Names philosophers (名家, often translated as "the Logicians" or "the Dialecticians") - here are a couple of arguments attributed to him, via the Stanford Encyclopedia of Philosophy: (a dan is a musical instrument, I think.)

A client said to the King of Liang, “In talking about things, Hui Shi is fond of using analogies. If you don't let him use analogies, he won't be able to speak.” The King said, “Agreed.” The next day he saw Hui Shi and said, “I wish that when you speak about things, you speak directly, without using analogies.” Hui Shi said, “Suppose there's a man here who doesn't know what a dan is. If he says, ‘What are the features of a dan like?’ and we answer, saying, ‘The features of a dan are like a dan,’ then would that communicate it?” The King said, “It would not.” “Then if we instead answered, ‘The features of a dan are like a bow, but with a bamboo string,’ then would he know?” The King said, “It can be known.” Hui Shi said, “Explanations are inherently a matter of using what a person knows to communicate what he doesn't know, thereby causing him to know it. Now if you say, ‘No analogies,’ that's inadmissible.” The King said, “Good!” ^

Zhuangzi and Hui Shi were strolling on the bridge above the Hao river. Zhuangzi said, “Out swim the minnows so free and easy, this is the happiness of fish.” Hui Shi said, “You are not a fish. Whence do you know the happiness of fish?” Zhuangzi said, “You are not me. Whence do you know I don't know the happiness of fish?” Hui Shi said, “Granted that I am not you, I don't know about you. Then granted that you are not a fish, the case for your not knowing the happiness of fish is complete.” Zhuangzi said, “Let's trace back to the root of the issue. When you said, ‘Whence do you know the fish are happy?’, you asked me already knowing I knew it. I knew it from up above the Hao.” ^

We don't have anything directly written by Hu Shi due to the "burning of books and burying of scholars" period in the Qin dynasty, where all viewpoints other than the official state philosophy of Legalism were suppressed. But he may well have laid out analyses as sagacious as what is attributed to Aristotle.

Or consider the Persian and Mesopotamian civilizations of that time, who were some of the most ancient in the world and to whom the Greeks were mere barbarians of the hinterlands until Alexander came through kicking a▒▒ and taking names (or giving names, really, since he renamed all of the capital cities after himself.) The only stuff we have left from them in that era is what they decided to carve into stone or clay tablets, there very well could have been much more than what is extant.

I just find it suspicious that while all of this thought was fermenting across the Old World, from the Mediterranean through to China, Aristotle who happens to have tagged along with Alexander across the Levant, Egypt, Mesopotamia, Persia, and northern India came up with the single authoritative analysis of logic. Could've happened, nothing is impossible, but it doesn't seem entirely consistent with some of the wacky and not especially brilliant stuff I've seen attributed to him. I think it might be the result of scholars wanting to have an authority to appeal to and textbooks wanting to have a simple story to tell.