Nyaya philosophy, an orthodox school of Hindu thought founded by Akṣapāda Gautama, emphasizes logic and categorizes knowledge through four valid means: perception, inference, comparison, and testimony. It establishes sixteen categories of knowledge and discusses the nature of error, causation, and the existence of a singular, omniscient God using various logical proofs. The philosophy argues against polytheism by positing that a single, eternal deity is a more logical basis for understanding the universe and the origin of knowledge.