Euclid of Alexandria compiled and wrote 'Elements,' a 13-book mathematical treatise that systematized geometry through axioms, definitions, and logical proofs. This groundbreaking work established the axiomatic method in mathematics, introduced formal proofs, and remained the standard geometry textbook for over 2,000 years. Euclid's logical foundation for mathematics later influenced fields like computer science and artificial intelligence.