Ptolemy's Philosophy