What text embodies Avicenna's legacy in philosophy