Logic is the study of valid inference and reasoning. It is used in many intellectual activities but is primarily studied in philosophy, mathematics, semantics, and computer science. In the 19th century, logic became mathematized by British mathematicians such as George Boole, who developed an algebra of logic featuring operators like and, or, not, and exclusive or. Boole saw the potential of applying this algebraic logic to solve problems and argued that logic was a discipline of mathematics rather than philosophy alone.