If A, Then B: How the World Discovered Logic