There are occasional brief hints and allusions in his longer works however that Avicenna considered philosophy as the only sensible way to distinguish real prophecy from illusion. What did Avicenna consider when explaining his theories on philosophy?