Science and technology develop within a framework shaped by the conditions of their time, in response to the demands of society. Mathematics is no exception to this rule. In China, the Song (960-1279, see box below) and Yuan (1279-1368) dynasties played a crucial role in the development of mathematics. From the middle of the first millennium BCE, a number of mathematical texts, the
Ten Classics, were used as textbooks in state educational institutions (
see the article "Sources and variety of so-called Chinese mathematics"). At first glance, these texts seem mainly concerned with administrative matters and the elaboration of calendars, but many elements of abstraction and generality show through beyond the text. Their commentaries reveal close attention paid to proving the correctness of algorithms and to expressing generality, as Karine Chemla has shown.