trak has no idea what purpose it serves to memorize royal lineages , the history of the kingdom , the rules of statesmanship or the high language used at court , but he absorbs the fundamentals of courtly protocol as eagerly as he absorbs the lectures on mathematics and astrology .