5D Library › Algorithmic Game Theory, Braess's Paradox and the Price of Anarchy in Traffic and Attention Networks · 中文
Chapter 7 Reading the Classics: Ditches, Dredging and Dujiangyan
This chapter reads the research of earlier chapters beside several ancient Chinese texts on water control. The aim is not to show that the ancients already understood network flows, equilibria or tolls, but to see how classical texts expressed “damming versus dredging”, “dividing the flow according to the lie of the land” and “keeping channels open by constant maintenance”, and to state three boundaries. First, these texts are about governance and virtue; the stories of Yu, Gonggong and Gun belong to an ancient memory in which legend and historical narrative are interwoven, not to engineering records. Second, Dujiangyan is a work improved step by step over a long practice and preserved by centuries of maintenance; its principles were analysed after the fact by modern hydraulic engineers, not derived from theory. Third, water does not “choose” a route; modern routing games concern people with goals of their own, and the resemblance between the two is only one of structure. All translations in this chapter are the author’s own.
He lived in humble rooms and spent his means on the ditches
Source text
于是尧听四岳,用鲧治水。九年而水不息,功用不成。
禹为人敏给克勤;其德不违,其仁可亲,其言可信;声为律,身为度,称以出;亹亹穆穆,为纲为纪。
禹伤先人父鲧功之不成受诛,乃劳身焦思,居外十三年,过家门不敢入。薄衣食,致孝于鬼神。卑宫室,致费于沟淢。(司马迁 撰 1982)
(Shiji, “Annals of Xia”; the three passages are not continuous in the original)
子曰:「禹,吾无间然矣。菲饮食而致孝乎鬼神,恶衣服而致美乎黻冕,卑宫室而尽力乎沟洫。禹,吾无间然矣。」(杨伯峻 译注 1980)
(Analects, “Taibo”)
In the author’s translation: Then Yao heeded the Four Peaks and employed Gun to control the waters. Nine years passed and the waters did not subside; his work had no success. Yu was quick and diligent; his virtue did not stray, his kindness made him approachable, his word could be trusted; his voice was in tune, his body could serve as a measure, (the balance) came from him; tireless and reverent, he was the guiding cord for all. Yu grieved that his father Gun had been put to death for failing in his work, so he wore out his body and racked his mind; he lived away from home for thirteen years and did not dare to enter when he passed his own gate. He was frugal in food and clothing but reverent in his offerings to the spirits; he lived in humble rooms and spent his means on the ditches. The Master said: “In Yu I can find no fault. He ate and drank meagrely yet was lavish in his offerings to the spirits; he wore coarse clothes yet his ceremonial robes were splendid; he lived in humble rooms yet gave all his strength to the ditches and channels.”
Original meaning and context. The author’s framework quotes “quick and diligent” and “he lived in humble rooms and spent his means on the ditches” as one passage; on checking, they are not continuous in the Annals of Xia: the first describes Yu’s character, the second comes in the passage on his “thirteen years away from home”. The received text reads 沟淢 (gouxu), not 沟减 (goujian); 淢 is equivalent to 洫, a field ditch, and the Analects has 沟洫. Sima Qian’s wording is plainly related to the Analects passage. Both texts are about virtue: a ruler moves his limited means from his own palace to public waterworks.
Read beside modern research. In the language of Chapter 3, the palace is private consumption and the ditches are public works with externalities, whose benefits many people share and for which no one would spontaneously pay in full. “Living in humble rooms and giving all his strength to the ditches” solves this problem by the ruler’s self-restraint; the modern solutions are taxes, prices and rules for public investment. There is a boundary here: the classical texts praise one person’s virtue; they do not discuss how resources are allocated among many self-interested actors, nor which ditch is worth digging. Chapter 1 showed that a “ditch” dug in the wrong place can make everyone worse off.
Damming the hundred rivers, and dredging them
Source text
灵王二十二年,谷、洛斗,将毁王宫。王欲壅之,太子晋谏曰:「不可。晋闻古之长民者,不堕山,不崇薮,不防川,不窦泽。夫山,土之聚也;薮,物之归也;川,气之导也;泽,水之钟也。……昔共工弃此道也,虞于湛乐,淫失其身,欲壅防百川,堕高堙庳,以害天下。皇天弗福,庶民弗助,祸乱并兴,共工用灭。其在有虞,有崇伯鲧播其淫心,称遂共工之过,尧用殛之于羽山。其后伯禹念前之非度,厘改制量,象物天地,比类百则,仪之于民而度之于群生。共之从孙四岳佐之,高高下下,疏川导滞,钟水丰物……」(徐元诰 撰,王树民、沈长云 点校 2002)
(Guoyu, “Discourses of Zhou”, part 3)
In the author’s translation: In the twenty-second year of King Ling, the Gu and the Luo rivers fought each other and were about to destroy the royal palace. The king wanted to dam the Gu. Prince Jin remonstrated: “This must not be done. I have heard that those who governed the people in ancient times did not level the hills, did not raise the marshes, did not dam the rivers and did not breach the lakes. Hills are where earth gathers; marshes are where things return; rivers are what conduct the vital breath; lakes are where water collects. … Long ago Gonggong abandoned this way; he indulged in pleasures and let himself go astray, and sought to dam the hundred rivers, to cut down the heights and fill the low places, and so harmed all under Heaven. August Heaven did not bless him, the common people did not help him, disasters and disorders arose together, and Gonggong was destroyed. In the time of Youyu, Gun, Earl of Chong, gave rein to his wayward heart and repeated Gonggong’s error, and Yao had him executed on Mount Yu. Afterwards Yu, reflecting on the lack of measure of those before him, reformed the rules and measures, took his model from heaven, earth and the myriad things, compared them with the hundred norms, and used them to measure the people and all living things. The Four Peaks, a grand-nephew of Gonggong, assisted him; he made the high higher and the low lower, dredged the rivers and led off what was stuck, gathered the waters and enriched all things …”
Original meaning and context. This is a political remonstrance. Prince Jin uses the history of water control to argue that a ruler must not go against the nature of heaven and earth: the “damming” of Gonggong and Gun stands for lost virtue, Yu’s “dredging” for a government in accord with nature. According to the “Discourses of Zhou”, King Ling did not listen, and the text goes on to recount the disorders of the royal house that followed. Gonggong and Gun are moralised figures; the contrast between Gun “blocking the flood” and Yu “dredging” recurs in pre-Qin and Han texts as a narrative about ways of governing, not a technical record of ancient works. The two phrases quoted in the author’s framework, “damming the hundred rivers, cutting down the heights and filling the low places” and “dredging the rivers and leading off what was stuck, gathering the waters and enriching all things”, check out: the first refers to Gonggong, the second to Yu, assisted by the Four Peaks.
Read beside modern research. The contrast between “damming” and “dredging” can be set beside the structure of Chapter 1: in a network, flow finds its own way, and blocking it in one place shifts the pressure elsewhere; giving the flow an outlet is often more effective than building the dyke higher on the spot. But Chapter 1 also shows exactly the limit of “dredging”: in Braess’s network, opening one more channel (a kind of “dredging”) makes everyone slower, and closing it (a kind of “damming”) is better. “Dredging beats damming” is therefore not a general law of networks; it depends on where one dredges and where one dams. Prince Jin’s remonstrance says that a ruler should follow nature and not force his will; it cannot be read as a theorem of engineering or network design.
Of the five harms, water is the greatest
Source text
故善为国者,必先除其五害,人乃终身无患害而孝慈焉。……水,一害也;旱,一害也;风雾雹霜,一害也;厉,一害也;虫,一害也。此谓五害。五害之属,水最为大。……水之性,行至曲必留退,满则后推前,地下则平行,地高即控,杜曲则捣毁。杜曲激则跃,跃则倚,倚则环,环则中,中则涵,涵则塞,塞则移,移则控,控则水妄行;水妄行则伤人……(黎翔凤 撰,梁运华 整理 2004)
(Guanzi, “Measuring the Land”)
In the author’s translation: Therefore one who governs a state well must first remove its five harms; only then will the people be free of calamity all their lives, and be filial and kind. … Flood is one harm; drought is one harm; wind, fog, hail and frost are one harm; pestilence is one harm; insects are one harm. These are called the five harms. Of the five harms, water is the greatest. … It is the nature of water that on reaching a bend it must stall and fall back; when full, the rear pushes the front; where the ground is low it flows level, where the ground is high it is checked; at a blocked bend it smashes through. Dashed at a blocked bend it leaps, leaping it leans, leaning it swirls, swirling it gathers, gathering it silts, silting it clogs, clogged it shifts course, shifting it is checked, checked it runs wild; and water running wild harms people …
Original meaning and context. “Measuring the Land” is framed as a dialogue between Guan Zhong and Duke Huan of Qi on choosing the site of a capital and organising water control: appointing water officials, mobilising labour and building dykes. The “five harms” rank flood as the first threat to the state, a judgement about the priorities of government. The passage on the nature of water is an empirical observation of flow in a bend: at curves and obstructions the water stalls, swirls and silts, then shifts its course and floods, link by link.
Read beside modern research. “When full, the rear pushes the front” can be set beside “spillback” in queues: when a bottleneck lets traffic out more slowly than it comes in, the queue spreads upstream. The cap on work in progress in step 3 of the Chapter 8 checklist deals with the same kind of problem: if the number of tasks open at once is not limited, the backlog makes everything slower and can, like “water running wild”, lose any steady state. But “Measuring the Land” describes the physics of water, while queueing theory concerns random processes of arrival and service; the resemblance is an analogy.
Dujiangyan: division, spillway and annual repair
Source text
蜀守冰凿离碓,辟沫水之害,穿二江成都之中。此渠皆可行舟,有余则用溉浸,百姓飨其利。(司马迁 撰 1982)
(Shiji, “Treatise on Rivers and Canals”)
冰乃壅江作堋。穿郫江、检江,别支流,双过郡下,以行舟船。……故记曰:水旱从人,不知饥馑,时无荒年,天下谓之「天府」也。(常璩 撰,任乃强 校注 1987)
(Huayang Guozhi, “Records of Shu”)
In the author’s translation: Bing, governor of Shu, cut through Lidui to avoid the harm of the Mo River and dug two channels through Chengdu. All these channels could carry boats, and the surplus water was used for irrigation; the people enjoyed the benefit. (The Huayang Guozhi says:) Bing then built a weir in the river. He dug the Pi and Jian channels, separating branch streams that both passed below the commandery seat and carried boats. … Hence the records say: flood and drought obeyed the people; they did not know famine, there were no years of dearth, and all under Heaven called it “the Storehouse of Heaven”. The Huayang Guozhi also records that Li Bing set three stone figures in the water and made a covenant with the river spirit that the water should not fall below their feet in a drought nor rise above their shoulders in a flood, which may be seen as an early water-level mark.
Original meaning and context. The Shiji and the Huayang Guozhi are the earliest fairly detailed records of Li Bing; they speak of dividing the river, navigation and irrigation, and contain no maxim “dredge the shoals deep, build the weir low” (深淘滩,低作堰). That maxim is a later summary of principles for maintaining the works: “dredge the shoals deep” refers to digging the bed of the Inner River to a set depth at each annual repair, “build the weir low” to keeping the crest of the Flying Sand Weir from being raised too high. It is attributed to Li Bing, but its source lies in later periods; the author could not find a reliable study of its earliest attestation. What can be established is that it was invoked as an “ancient method” in the Ming and Qing, and that the water-control “Three-Character Classic” carved by Guan County officials in the Guangxu reign includes it. The author’s framework already flags that it is not Li Bing’s wording; the book treats it accordingly. The forms of the Fish Mouth, the Flying Sand Weir and the Bottle-Neck Channel seen today were rebuilt many times over the dynasties and are not identical to the Qin originals.
Evidence
A modern hydraulic explanation. In 2013 Zhang, Yi, Liu and Wang analysed the hydraulic principles of Dujiangyan in the Journal of Hydraulic Engineering of the American Society of Civil Engineers. It meets the needs of water supply, irrigation and flood control in two steps. The first uses the bend of the river and the change of streamlines from Guankou to the Fish Mouth to divide the flow; in the second, the Flying Sand Weir and the Bottle-Neck Channel together control flow and sediment: the bend flow in the Inner River drives surface water into the Bottle-Neck Channel and drives bottom sediment and pebbles towards the Flying Sand Weir, where they are discharged. They also note that maintenance and renovation by successive dynasties are among the reasons the works have remained in use (Zhang et al. 2013).
Read beside modern research. In the language of network flows, the Bottle-Neck Channel is a bottleneck of fixed capacity: however much water comes from upstream, the amount entering the irrigated area is limited by it; the Flying Sand Weir is an overflow bypass: when the Inner River rises above the weir crest, the surplus water and sediment spill over it back into the Outer River. This is a passive form of capacity control that needs no day-to-day decisions, similar to the cap on work in progress in Chapter 8: limit what enters the system first, and send the surplus somewhere it can be seen and dealt with. The author’s framework describes it as “similar to adaptive diversion needing no human intervention”; on checking, this needs qualification. Day-to-day division and desilting do not need anyone to dispatch them, but “dredge the shoals deep” is itself an annual act of human maintenance, and without centuries of annual repair this passive mechanism would long ago have failed.
The limits of reading together
First, “dredging” and “damming” in the classical texts are a political contrast carrying moral verdicts, whereas in modern networks whether “adding an edge” helps depends on structure and demand, and Chapters 1 and 2 show that it can go either way. Second, the principles of Dujiangyan were explained after the fact by modern scholars; the ancients’ experience was preserved in maxims and in the institution of annual repair, without quantitative concepts of flow, capacity or equilibrium. Third, the springs and circuits of Chapter 1 show that physical networks with no “selfishness” at all can produce Braess-like outcomes; this shows only that the structures are the same, not that the ancients “had already discovered” Braess’s paradox or the price of anarchy.
The classical texts in this chapter follow the received editions listed in the references; the English translations are the author’s own and try to stay close to the wording.
Summary
The Annals of Xia and the Analects praise Yu for spending his means on the ditches rather than his palace (the received text reads 沟淢). In the Guoyu, Prince Jin contrasts the damming of Gonggong and Gun with Yu’s dredging as political remonstrance. The Guanzi ranks water first among the five harms and describes the chain by which water in a bend silts until it floods. Dujiangyan divides, spills and desilts passively, but “dredge the shoals deep, build the weir low” is a later maxim for the annual repair on which it depends. Classical “dredging” is not a theorem of network design: in Braess’s network one more channel makes everyone slower.
References
Fan, Y. (2026). Algorithmic Game Theory, Braess's Paradox and the Price of Anarchy in Traffic and Attention Networks: From Wardrop Equilibria and Selfish Routing to Platform Congestion, Read Beside Classical Chinese Hydraulic Engineering [算法博弈论、布雷斯悖论与流量分配的无秩序代价] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23782094 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).