What does Supermodular Chaining of Stock Assets conclude, in numbers, about “The Matrix of Pairwise Gains: Cross-Differences Separate Complements, Independents and Substitutes”?
Answer: The column the ledger lacks is the cross-difference. When it is positive the two assets are complements and should be run together; when it is negative they are substitutes and stacking them is waste; when it is near zero each can run on its own. In the illustrative model, twelve of fifteen pairs are complements and three are substitutes, and the combined value of 23,104 exceeds the stand-alone sum of 13,668 by nearly ten thousand. Second-order terms carry most of the surplus, but plans in which three assets are useless without one another still need to be tested as a bundle.
Scope of the numbers: In the illustrative model, twelve of the fifteen pairs of six assets are complements and three are substitutes, and with all six switched on the monthly value is 23,104 against a stand-alone sum of 13,668. Parameters are illustrative and correspond to no real business, customer, creator or sale; all calculations are generated by the book's programs.
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: 13668, 23104
| A. stand-alone monthly value f(i) (illustrative units) | |
| L content library r | 0.30 m=1.10 f= 3,960 |
| K calculators r | 0.10 m=1.35 f= 1,620 |
| A creator pool r | 0.35 m=1.00 f= 4,200 |
| F private funnel r | 0.02 m=1.60 f= 384 |
| D domain matrix r | 0.20 m=1.00 f= 2,400 |
| T checkout #01 r | 0.08 m=1.15 f= 1,104 |
| B. cross-difference D(i,j); C complement, S substitute, | |
| 0 within +-5 % of the smaller stand-alone value | |
| L K A F D T | |
| L - | 1,013 C -966 S 2,288 C -552 S 340 C |
| K | 1,013 C - 903 C 1,055 C 516 C 480 C |
| A | -966 S 903 C - 2,386 C -840 S 244 C |
| F | 2,288 C 1,055 C 2,386 C - 1,363 C 685 C |
| D | -552 S 516 C -840 S 1,363 C - 139 C |
| T | 340 C 480 C 244 C 685 C 139 C - |
| C. pairs | 12 complements, 3 substitutes, 0 near zero |
| f(all six) | 23,104; sum of stand-alone = 13,668 |
| positive pair surplus on the table | 11,411 |
Show the full program
# Chapter 1. p11: pairwise cross-differences of six stock assets.
# Model (all parameters illustrative, not business data): a common pool
# of N reachable people a month; asset i reaches a share r_i of it and
# multiplies the order rate by m_i. Monthly gross value of a set S is
# f(S) = N * v * c0 * R(S) * M(S),
# R(S) = 1 - prod(1 - r_i) (overlapping reach: substitutes)
# M(S) = prod(m_i) (trust and repeat effects: complements)
# Cross-difference D(i,j) = f(ij) - f(i) - f(j) + f(empty).
import math
N, V, C0 = 40000, 30.0, 0.01
ASSETS = [ # code, role, reach r, multiplier m
("L", "content library", 0.30, 1.10),
("K", "calculators", 0.10, 1.35),
("A", "creator pool", 0.35, 1.00),
("F", "private funnel", 0.02, 1.60),
("D", "domain matrix", 0.20, 1.00),
("T", "checkout #01", 0.08, 1.15),
]
def f(idx):
if not idx:
return 0.0
miss = math.prod(1.0 - ASSETS[i][2] for i in idx)
mult = math.prod(ASSETS[i][3] for i in idx)
return N * V * C0 * (1.0 - miss) * mult
def cross(i, j):
return f((i, j)) - f((i,)) - f((j,)) + f(())
def label(i, j, band=0.05):
d = cross(i, j)
ref = min(f((i,)), f((j,)))
if d > band * ref:
return "C"
if d < -band * ref:
return "S"
return "0"
if __name__ == "__main__":
n = len(ASSETS)
print("A. stand-alone monthly value f(i) (illustrative units)")
for i, a in enumerate(ASSETS):
print(" {} {:<16} r={:.2f} m={:.2f} f={:>7,.0f}".format(
a[0], a[1], a[2], a[3], f((i,))))
print("B. cross-difference D(i,j); C complement, S substitute,")
print(" 0 within +-5 % of the smaller stand-alone value")
print(" " + "".join("{:>9}".format(a[0]) for a in ASSETS))
for i in range(n):
row = []
for j in range(n):
row.append(" -" if i == j else "{:>7,.0f} {}".format(
cross(i, j), label(i, j)))
print(" {:<5} ".format(ASSETS[i][0]) + "".join(row))
kinds = {"C": 0, "S": 0, "0": 0}
pos = []
for i in range(n):
for j in range(i + 1, n):
kinds[label(i, j)] += 1
if cross(i, j) > 0:
pos.append(cross(i, j))
print("C. pairs: {} complements, {} substitutes, {} near zero".format(
kinds["C"], kinds["S"], kinds["0"]))
tot = f(tuple(range(n)))
solo = math.fsum(f((i,)) for i in range(n))
print(" f(all six) = {:,.0f}; sum of stand-alone = {:,.0f}".format(
tot, solo))
print(" positive pair surplus on the table = {:,.0f}".format(
math.fsum(pos)))Single source and citation
Fan, Y. (2026). Supermodular Weapon-Arsenals, Adjacent-Possible Recombination Graphs and Cross-Asset Cashflow Chaining (Version 1.0.0), Chapter 1: The Matrix of Pairwise Gains: Cross-Differences Separate Complements, Independents and Substitutes. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-375 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026375,
author = {Fan, Yafu},
title = {Supermodular Weapon-Arsenals, Adjacent-Possible Recombination Graphs and Cross-Asset Cashflow Chaining},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · Supermodular Functions on a Lattice: Topkis's Monotone Comparative Statics and the Single-Practice Pilot Trap
- Chapter 3 · A Graph of the Adjacent Possible: One-Step Combinations and the Trade-off of Unfamiliarity
- Chapter 4 · The Best Chaining Set: Choosing Under Caps on Working Hours and Contact Frequency
- Chapter 5 · Chaining Cash Flow: the Bottleneck of a Cross-Asset Funnel, Quantiles for the Doubling Slogan and Single-Level Commission
- Chapter 6 · Testing Complementarity: the 2×2 Factorial Test, Standard Errors and Sample Size
- Chapter 7 · Classical Sources: Regular and Unusual Forces in the Sunzi, Aristotle on Wholes and Adam Smith on the Extent of the Market
- Chapter 8 · Field Tools and Checker Specifications: the Monthly Chaining Ledger, a Pre-Registered Test and Refutation Conditions