Question: is logic math or philosophy?
Answer: Here is a simple answer: mathematical logic consists of the study of the notions “inference”, “meaning”, and “truth” as they are used in the practice of mathematics; philosophical logic is the study of those same notions as applied to the use of natural language, generally.