As written by Li Zhiyi, a man married to Hu Wenrou (granddaughter of Hu Su, a famous minister of the Song Dynasty), Shen Kuo was Li's mentor while Shen served as an official. According to Li's epitaph for his wife, Shen would sometimes relay questions via Li to Hu when he needed clarification for his mathematical work, as Hu Wenrou was esteemed by Shen as a remarkable female mathematician. Shen lamented: "If only she were a man, Wenrou would be my friend."