What does Compression Distance and Rewrite Detection conclude, in numbers, about “The Classics Examined: the Colophon of the Cheng House at Meishan and the Statute of Anne”?
Answer: Chapter 7 examines the colophon of the Cheng house at Meishan in the Song edition of the Dongdu shilüe and the Statute of Anne of 1710; under a half-life model, fourteen years cover nine tenths of sales only if the half-life is at most 4.21 years.
Scope of the numbers: Its corpora, thresholds and parameters are illustrative, every sample text is generated by program or written by the author, and all calculations are generated by its programs. It is not individual business advice and not legal advice, and every flag raised by its small tool needs human review.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 4.21
| half-life | T=14 | T=21 | T=28 | | T=14 at 5 %/yr discount |
| 1 | 0.9999 | 1.0000 | 1.0000 | | 1.0000 |
| 3 | 0.9606 | 0.9922 | 0.9984 | | 0.9804 |
| 5 | 0.8564 | 0.9456 | 0.9794 | | 0.9287 |
| 10 | 0.6211 | 0.7667 | 0.8564 | | 0.8118 |
| 20 | 0.3844 | 0.5170 | 0.6211 | | 0.6943 |
| 40 | 0.2154 | 0.3050 | 0.3844 | | 0.6104 |
| check H = 10, T = 14: closed 0.621071, yearly sum 0.621071 | ||||
| half-life at which 14 years cover 0.9 of sales: 4.21 years | ||||
| half-life at which 14 years cover 0.5 of sales: 14.00 years |
Show the full program
# Chapter 7. p72: how much of a book's sales a fixed term covers.
# Statute of Anne (1710): 14 years from first publication for new books,
# a second 14 if the author is alive (28 in all); 21 years for books
# already printed. Model (illustrative): annual sales fall exponentially
# with half-life H years, so the undiscounted share of lifetime sales
# inside T years is 1 - 2^(-T/H). With a discount rate rho per year the
# present-value share is 1 - exp(-(ln2/H + rho) T). We also check the
# closed form by summing 2,000 yearly slices with math.fsum.
import math
def share(T, H, rho=0.0):
k = math.log(2.0) / H + rho
return 1.0 - math.exp(-k * T)
def share_sum(T, H, years=2000):
k = math.log(2.0) / H
s = [math.exp(-k * y) * (1.0 - math.exp(-k)) for y in range(years)]
return math.fsum(s[:T]) / math.fsum(s)
print("half-life T=14 T=21 T=28 | T=14 at 5 %/yr discount")
for H in (1, 3, 5, 10, 20, 40):
print("%4d %.4f %.4f %.4f | %.4f"
% (H, share(14, H), share(21, H), share(28, H),
share(14, H, 0.05) / share(2000, H, 0.05)))
print("check H = 10, T = 14: closed %.6f, yearly sum %.6f"
% (share(14, 10), share_sum(14, 10)))
for target in (0.9, 0.5):
print("half-life at which 14 years cover %.1f of sales: %.2f years"
% (target, 14.0 * math.log(2.0) / -math.log(1.0 - target)))Single source and citation
Fan, Y. (2026). Normalised Compression Distance and Kolmogorov Complexity: Detecting Rewritten Copies and Clustering Families of Shared-Origin Sales Scripts (Version 1.0.0), Chapter 7: The Classics Examined: the Colophon of the Cheng House at Meishan and the Statute of Anne. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-293 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026293,
author = {Fan, Yafu},
title = {Normalised Compression Distance and Kolmogorov Complexity: Detecting Rewritten Copies and Clustering Families of Shared-Origin Sales Scripts},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Sweeping the Substitution Rate: Where Literal Matching Fails
- Chapter 2 · Kolmogorov Complexity and Real Compressors: Upper Bounds, Normality and the Window
- Chapter 3 · Short-Text Bias and Threshold Sensitivity: One Line Cannot Rule Every Length
- Chapter 4 · N-grams, MinHash and Locality-Sensitive Hashing: a First Screen over Millions of Pages
- Chapter 5 · Deep Paraphrase: Number Fingerprints and Argument-Sequence Fingerprints
- Chapter 6 · Hierarchical Clustering of Shared-Origin Script Families
- Chapter 8 · Closing the Loop: Weekly Monitoring for Rewritten Copies, De-duplicating Direct-Answer Pages and a Pre-registered Test