 In addition to theorems of geometry, such as the Pythagorean theorem, the "Elements" also covers number theory, including a proof that the square root of two is irrational and a proof that there are infinitely many prime numbers.Further advances also took place in medieval Islamic mathematics.While earlier Greek proofs were largely geometric demonstrations, the development of arithmetic and algebra by Islamic mathematicians allowed more general proofs with no dependence on geometric intuition.