5D Library › Hundred-Volume Knowledge Hypergraphs, Multimodal Personal Prior Compilation and Autonomous Empire Scaling · 中文

Chapter 7. “Store It in a Famous Mountain”: Sima Qian, the Library of Alexandria and the Taiping yulan

Why read these sources here

The library’s last question is how knowledge lasts. Three old cases speak to it: Sima Qian’s arrangements for the Shiji, the loss of the Library of Alexandria, and the Song encyclopedia Taiping yulan. This chapter checks the texts and asks which correspondences can be computed. Two points come out of the check: “store it in a famous mountain, pass it on to the right people” joins phrases from two different texts; and the Taiping yulan has a thousand juan, not a hundred.

Sima Qian: a mountain and a capital

Source text

Sima Qian, Shiji, “Postface of the Grand Historian” (Taishigong zixu)

藏之名山,副在京師,俟後世聖人君子。

(司马迁 1959)

“Store it in a famous mountain, with a duplicate in the capital, to await the sages and gentlemen of later ages.” The postface plans two copies in two places. The phrase “pass it on to the right people” (傳之其人) comes from Sima Qian’s letter to Ren An, preserved in the Hanshu (班固 1962), not from the postface; popular quotations often join the two. p14 asks what two copies, and the habit of recopying, are worth over two thousand years.

Calculation

# Chapter 7. p14: "Store it in a famous mountain, a duplicate in the
# capital" as arithmetic. Each copy of a work is lost in a given year
# with chance h (fire, war, neglect), independently. Without recopying,
# a work survives T years if any original copy does. With recopying, a
# lost copy is replaced from a survivor the next year, so the work is
# lost only if every copy is lost in the same year. (a) h = 0.005 over
# 2,000 years (Sima Qian's two copies and more); (b) h = 0.01 over 500
# years (one great library against several).
def without(n, h, years):
    return 1 - (1 - (1 - h) ** years) ** n

def with_copying(n, h, years):
    return (1 - h ** n) ** years

if __name__ == "__main__":
    for label, h, years in (("(a)", 0.005, 2000), ("(b)", 0.01, 500)):
        print("   {} h = {}, {:,} years".format(label, h, years))
        print("       copies   no recopying   recopying")
        for n in (1, 2, 3, 5):
            print("       {:6d}   {:12.6f}   {:9.6f}".format(
                n, without(n, h, years), with_copying(n, h, years)))
#    (a) h = 0.005, 2,000 years
#        copies   no recopying   recopying
#             1       0.000044    0.000044
#             2       0.000089    0.951229
#             3       0.000133    0.999750
#             5       0.000221    1.000000
#    (b) h = 0.01, 500 years
#        copies   no recopying   recopying
#             1       0.006570    0.006570
#             2       0.013098    0.951227
#             3       0.019582    0.999500
#             5       0.032424    1.000000

If each copy is lost in a given year with chance 0.005, one copy survives 2,000 years with chance 0.000044, and two copies that are never recopied with 0.000089. If a lost copy is recopied from the survivor the next year, two copies survive with 0.951229 and three with 0.999750. The arithmetic says that the duplicate in the capital mattered less than the readers who kept copying the Shiji: survival came from transmission, which is what “pass it on to the right people” asks for.

Alexandria and the Taiping yulan

Part (b) of p14 compares one great library with several. With a yearly catastrophe chance of 0.01, one library keeps its holdings 500 years with chance 0.006570; five libraries that never copy from each other with 0.032424; five that replace each other’s losses with 1.000000. The Library of Alexandria’s decline is a reminder that size does not substitute for replication.

The Taiping yulan, compiled from 977 to 983 under Li Fang and others, arranged its thousand juan in 55 sections and quoted earlier works under each heading (李昉 et al. 1960). Many of those works are now lost, and survive only as fragments inside it: an encyclopedia that quotes is itself a form of distributed copying.

Hypothesis · not established

The author’s interpretation (not yet tested): among pre-Song works quoted in the Taiping yulan, those quoted under more headings are more likely to survive today as complete texts. What would show it wrong: in a catalogue of the works it quotes, the share that survives complete does not rise with the number of headings under which a work is quoted.

Summary

Sima Qian planned two copies, but the arithmetic credits survival to recopying, the “passing on” of his letter. One great library without replicas is fragile; an encyclopedia that quotes widely is a library that copies itself. The Taiping yulan has a thousand juan in 55 sections.

References

司马迁. 1959. 史记. 中华书局.
李昉 et al. 1960. 太平御览. 中华书局.
班固. 1962. 汉书. 中华书局.

Fan, Y. (2026). Hundred-Volume Knowledge Hypergraphs, Multimodal Personal Prior Compilation and Autonomous Empire Scaling: Cross-Disciplinary Isomorphisms, Zero-Marginal-Cost Replication and Century-Scale Knowledge Preservation [百卷知识超图拓扑、多模态个人先验编译与自主知识帝国标度律] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090260 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).