What does Knapsacks, Inspection Games and the Customs Reversal Point conclude, in numbers, about “The Nonlinearity of Hidden Penalties: Back Taxes, Confiscation, Tracing and Credit”?

Answer: Chapter 4 itemises the bill after a finding and shows that tracing and thresholds make the expected hidden cost accelerate with the number of trips: at 12 trips a year the probability of a finding is 0.8889 and the expected hidden cost 144001 yuan.

Scope of the numbers: Its parameters are illustrative and laws differ from place to place; all calculations are generated by its programs; the book is not individual legal or tax advice. Marked boxes separate published evidence, runnable Python calculations (19 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. standard-library Python onlyprinted values that match the answer: 0.8889, 12, 144001

tripsp(n)P(found)tax savedhidden costnethidden/trip
20.02040.036411671371579561857
40.02150.0751228628564142982141
60.02520.12863324716209170372702
80.03800.2431411713354476274193
100.07900.52194088978283-373947828
120.18590.888926542144001-11745912000
160.50350.99997241185988-17874711624
200.59091.00005283210885-20560210544
240.59931.00005125252628-24750310526
320.60001.00005111482000-47688915062
480.60001.00005111774275-76916416131
net expected saving peaks at 6 trips a year; turns negative at 9
Show the full program
# Chapter 4. p41: expected hidden cost of undeclared carrying vs scale.
# A buyer makes n trips a year, each with goods V = 30000 yuan and tax
# T = 6000 not declared.  The inspection rate p(n) follows the risk
# profile of p32 with k = n / 4 trips a quarter (Poisson terms via the
# gamma function); a finding needs inspection x sensitivity 0.9.  At the
# first finding the goods are confiscated, a fine of m = 1 times T is
# due, a credit loss C = 60000 is booked, and each of the n - 1 other
# trips of the past twelve months is traced with probability r = 0.5,
# adding back tax plus fine (1 + m) T per traced trip.  If traced tax
# reaches Q = 100000 a severe tier costs a further K = 400000.  The
# carrying stops after a finding.  Everything is illustrative; actual
# tax, penalty and tracing rules differ by jurisdiction and by case.
import math

V, T, S, M, R, Q, K, C = 30000, 6000, 0.9, 1, 0.5, 100000, 400000, 60000


def p_insp(n):
    k = n / 4
    a = 0.02 * math.exp(-5.0 + k * math.log(5.0) - math.lgamma(k + 1))
    b = 0.98 * math.exp(-0.4 + k * math.log(0.4) - math.lgamma(k + 1))
    return 0.02 + 0.58 * a / (a + b)


def cost(n):
    p = p_insp(n)
    h = p * S
    pdet = 1 - (1 - h) ** n
    traced = []
    for x in range(n):
        pr = math.comb(n - 1, x) * R ** x * (1 - R) ** (n - 1 - x)
        hit = K if (x + 1) * T >= Q else 0
        traced.append(pr * (x * (1 + M) * T + hit))
    per_find = V + M * T + C + math.fsum(traced)
    save = T * math.fsum((1 - h) ** j for j in range(1, n + 1))
    return p, pdet, save, pdet * per_find


print("trips  p(n)    P(found)  tax saved  hidden cost   net    hidden/trip")
prev = None
for n in (2, 4, 6, 8, 10, 12, 16, 20, 24, 32, 48):
    p, pd, sv, pen = cost(n)
    print("{:5d}{:8.4f}{:9.4f}{:11.0f}{:12.0f}{:10.0f}{:11.0f}".format(
        n, p, pd, sv, pen, sv - pen, pen / n))
best = max(range(1, 61), key=lambda n: cost(n)[2] - cost(n)[3])
print("net expected saving peaks at {} trips a year; turns negative at {}"
      .format(best, min(n for n in range(1, 61)
                        if cost(n)[2] < cost(n)[3])))

Single source and citation

Fan, Y. (2026). Two-Dimensional Volume-Weight Knapsacks for Cross-Border Buyers, Port Risk-Profiling Inspection Games and the Scale Reversal Point to Formal Customs Clearance (Version 1.0.0), Chapter 4: The Nonlinearity of Hidden Penalties: Back Taxes, Confiscation, Tracing and Credit. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-174 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026174,
  author    = {Fan, Yafu},
  title     = {Two-Dimensional Volume-Weight Knapsacks for Cross-Border Buyers, Port Risk-Profiling Inspection Games and the Scale Reversal Point to Formal Customs Clearance},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book