Liú Ān was a Han dynasty Chinese prince and an advisor to his nephew, Emperor Wu of Han. He is best known for editing the Huainanzi compendium of Daoist, Confucianist, Buddhist and Legalist teachings and for supposedly inventing tofu. Early texts represent Liu An in three ways: the "author-editor of a respected philosophical symposium", the "bumbling rebel who took his life to avoid arrest", and the successful Daoist adept who transformed into a xian and "rose into the air to escape prosecution for trumped-up charges of treason and flew to eternal life."
Life
He was the grandson of Liu Bang, the founding emperor of the Han Dynasty. After his father died, he became the Prince of Huainan, the lands south of the Huai River, at the age of 16. Liu An had two sons. The younger was Liu Qian, who was born by his princess consort and thus became heir to Huainan, while the elder, Liu Buhai, was born to a concubine. Liu An favoured Liu Qian over Liu Buhai and never viewed the latter as his son. Liu Qian never regarded Liu Buhai as his elder brother. According to Tui'en Ling, Liu Buhai could become a marquess if Liu An carved a part of Huainan for him as his fief, but Liu An never did. Liu Jian, son of Liu Buhai, having realized that both he and his father had little chance to be a marquess, became so resentful that he accused Liu An and Liu Qian of a coup attempt. Finally, in a fate similar to his father, Liu An committed suicide in 122 BC after his plot was revealed.
Literature
Noted for his literary ability, Liu An was reputed to be able to compose an elaborate work of prose between waking and finishing breakfast. In addition to composing literary pieces himself, Liu An also frequently invited other scholars as guests to his estate. Eight of these scholars in particular became known as the Eight Immortals of Huainan.
''Huainanzi''
Together with the Eight Immortals of Huainan and/or other members his literary circle, Liu An published a treatise in 139 BC. known as the Huainanzi, translated as "Book of the Master of Huainan", or the "Huainan Philosophers". This book is considered one of the cornerstones of Taoist philosophy, along with the works of Laozi and Zhuangzi. Along with the earlier ShuJing of the 5th century BC, this book provided further concrete information on geography, including descriptions of the topography of China. His book was also concerned with mathematics and music, making use of the "Pythagorean comma" and listing the first known Chinese 12 tone musical tuning.
''Chu ci''
One of the two major ancient Chinese poetry collections was the Chu ci, also known as The Songs of the South or The Songs of Chu. The seminal poem of the collection is the "Li Sao", generally agreed to be by Qu Yuan. Liu An wrote an introduction to the "Li Sao" as well as the first known commentary. There is also reasonable evidence that Liu An was the first editor and anthologist of the original Chu ci collection. The poem "Zhao yin shi" is attributed to him and "Yuan You" shows many similarities to the work of the literary circle around Liu An.
According to the legend, Liu An developed soy milk for his old, ill mother. She wanted to taste soybeans but couldn't chew, so Liu An ground the soybeans into milk, apparently upon her suggestion. No historical evidence supports the legend. In the Ming Dynasty reference work Bencao Gangmu, author Li Shizhen describes the development of bean curd but does not mention a particular inventor. The attribution of the invention of tofu to Liu An was also made by another Ming dynasty writer, Li Yi. During the Song dynasty in the 10th century, Zhu Xi had already written of the method of Huainan in "Song of Bean Curd". It is also mentioned in a book which called bean curd "Lai Ki" in the Han dynasty, and the word appeared in an early Song dynasty writing. Other Chinese sources discredit the Liu An invention theory, however, and state that Liu An lived with a lot of vegetarian monks and the method was taught by them. The Chinese Daoists that he recruited used "alchemical" methods to make both soy milk and bean curd, perhaps as a medicine for eternal life. As the only powerful noble at that time, Liu An could order the mass-production of such items and spread them around, thus making him famous for soy milk and bean curd. Still, many place Liu An as the inventor of both bean curd and soy milk. A different tradition could be found in 《金華地方風俗志》 and 《中國風俗故事集》, which mention that soy milk and bean curd were made before the Han dynasty. These traditions date soy milk to the warring states period by the Yan general Yue Yi, These two books are rather recent and the quote in it was only a legend told to bean curd makers orally, without written record.