What does The Arithmetic of Bargaining, Collection and Escalation conclude, in numbers, about “Zhu Zhiwu, "Mou gong" and the Tang Code's Ladder for Unpaid Debt”?
Answer: "To win a hundred battles out of a hundred is not the highest skill; to subdue the enemy without fighting is the highest skill. So the best is to attack the enemy's plans, the next to attack his alliances, the next to attack his army, and the worst to besiege walled cities." Part (c) of p13 gives the four levels illustrative costs of 1, 3, 10 and 30 and rising chances of success. Trying them in order and stopping at the first success costs 12.34 on average and fails 0.034 of the time; going straight to the walls costs 30 and fails 0.200 of the time. The ladder of Chapter 4 has the same shape: begin with what is cheap and preserves the relationship, and climb only as far as needed.
Scope of the numbers: Its parameters are illustrative or synthetic; all calculations are generated by its programs; the book is not legal, financial or employment advice, and empty or unlawful threats are not tactics it endorses. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 0.034, 0.200, 12.34, 30
| (a) days late | 1 bolt | 30 bolts | 100 bolts |
| 20 | light 20 | light 40 | heavy 70 |
| 40 | light 30 | light 50 | heavy 80 |
| 60 | light 40 | heavy 60 | heavy 90 |
| 80 | light 50 | heavy 70 | heavy 100 |
| 100 | heavy 60 | heavy 80 | 1 yr |
| 140 | heavy 60 | heavy 80 | 1 yr |
| (b) Qin / Jin if Zheng destroyed: 0.714 | |||
| Qin / Jin if Zheng spared (5 years): 1.500 | |||
| (c) in order: expected cost 12.34, failure 0.034 | |||
| straight to the walls: cost 30, failure 0.200 |
Show the full program
# Chapter 7. p13: Three old ladders as arithmetic.
# (a) Tang code, "Za lu": a debt unpaid 20 days past the contract gets
# 20 strokes of the light stick; each further 20 days adds one grade,
# up to 60 strokes of the heavy stick; 30 bolts or more add two grades,
# 100 bolts or more three grades more; and the debt must still be
# repaid. Grades: light stick 10 to 50, heavy stick 60 to 100, then
# penal servitude of 1 year, 1.5 years and so on.
# (b) Zhu Zhiwu to the Duke of Qin: Qin and Jin each have strength 10
# and Zheng 4. If Zheng is destroyed, Jin takes its land (strength 14)
# because Qin cannot hold land beyond Jin; if Zheng is spared, it
# serves Qin as a host on the eastern road (worth 1 a year to Qin).
# Qin's strength relative to Jin under each choice.
# (c) Sunzi, "Mou gong": the four levels of attack with illustrative
# costs 1, 3, 10, 30 and chances of success 0.3, 0.4, 0.6, 0.8. Trying
# the levels in order, stopping at the first success.
GRADES = ["light 10", "light 20", "light 30", "light 40", "light 50",
"heavy 60", "heavy 70", "heavy 80", "heavy 90", "heavy 100",
"1 yr", "1.5 yrs"]
def tang(days, bolts):
if days < 20:
return "none"
g = min(1 + (days - 20) // 20, 5) # base: 20 strokes .. 60
if bolts >= 30:
g += 2
if bolts >= 100:
g += 3
return GRADES[g]
if __name__ == "__main__":
print(" (a) days late 1 bolt 30 bolts 100 bolts")
for d in (20, 40, 60, 80, 100, 140):
print(" {:13d} {:<9} {:<10} {}".format(
d, tang(d, 1), tang(d, 30), tang(d, 100)))
print(" (b) Qin / Jin if Zheng destroyed: {:.3f}".format(10 / 14))
print(" Qin / Jin if Zheng spared (5 years): {:.3f}".format(
(10 + 5) / 10))
costs, wins = (1, 3, 10, 30), (0.3, 0.4, 0.6, 0.8)
left, exp_cost = 1.0, 0.0
for c, w in zip(costs, wins):
exp_cost += left * c
left *= 1 - w
print(" (c) in order: expected cost {:.2f}, failure {:.3f}".format(
exp_cost, left))
print(" straight to the walls: cost 30, failure {:.3f}".format(
0.2))Single source and citation
Fan, Y. (2026). Multistage Ultimatum Bargaining, Accounts-Receivable Decay Kinetics and Optimal Escalation Sequences (Version 1.0.0), Chapter 7: Zhu Zhiwu, "Mou gong" and the Tang Code's Ladder for Unpaid Debt. 5D Library. https://doi.org/10.5281/zenodo.24090245
DOI: 10.5281/zenodo.24090245 · Read the monograph · 5DL-B-094 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026094,
author = {Fan, Yafu},
title = {Multistage Ultimatum Bargaining, Accounts-Receivable Decay Kinetics and Optimal Escalation Sequences},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090245},
url = {https://doi.org/10.5281/zenodo.24090245}
}Other chapter answers in this book
- Chapter 1 · What a Pattern of Concessions Tells the Other Side
- Chapter 2 · Patience, Deadlines and Fairness
- Chapter 3 · Why Overdue Invoices Look Less Collectible Every Month
- Chapter 4 · When to Escalate
- Chapter 5 · Credible Threats and the Value of Following Through
- Chapter 6 · Raises and Price Increases: Building the Alternative
- Chapter 8 · Practice: A Collection Playbook, an Opening Offer and Knowing a Client