What does Utility, Truth and the Dual Ledger conclude, in numbers, about “Truth Strikes Back: Shifting Goals, Wrong Models and Cliff-Edge Costs”?

Answer: Three programs have drawn the boundary of "fitness beats truth". Raise the number of goals from one to two and the truth code already does at least as well on 0.703 of the random goal sets; shift the payoff model by 0.15 and the truth code overtakes; put a cliff in the range and the winner is the code that resolves the edge of the cliff truthfully. Fitness beats truth is a conditional theorem, not a maxim for living.

Scope of the numbers: Its parameters and data are illustrative or synthetic, and every calculation is generated by its programs. The book is not medical advice, offers no clinical psychological service, is not personal investment advice and makes no promise of returns; functional beliefs are for one's own action frame and never for deceiving others.

中文版

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.703

KTRUTHFIT-1truth >= fit-1mean gap
10.56000.56940.260-0.0094
20.56290.55450.703+0.0084
30.56730.55150.873+0.0158
40.56610.54750.903+0.0185
60.56500.54460.953+0.0204
80.56510.54240.980+0.0227
Show the full program
# Chapter 2. p21: when goals change, a truth-coded interface catches up
# After the argument of Berke, Walter-Terrill, Jara-Ettinger and Scholl
# (2022). x is uniform on [0, 1] (a 400-point grid). There are K goals;
# goal k values x by a bump exp(-((x - m_k) / s_k)^2 / 2) with m_k in
# [0, 1] and s_k in [0.08, 0.3] drawn at random. Perception is fixed and
# has four categories (two bits). FIT-1 is tuned to goal 1: its
# categories are the quartiles of goal-1 value. TRUTH uses the quartiles
# of x. Each round one goal is active (all equally often); the agent
# knows which, sees the categories of two territories and takes the one
# whose category has the higher mean value under that goal (a flexible
# decision layer on a fixed perceptual layer). Payoffs are exact
# expectations over the grid; 300 random goal sets per K. Illustrative.
import math
import random

GRID = [(i + 0.5) / 400 for i in range(400)]


def cats_by(score):
    order = sorted(range(len(GRID)), key=lambda i: (score[i], i))
    lab = [0] * len(GRID)
    for r, i in enumerate(order):
        lab[i] = r * 4 // len(GRID)
    return lab


TRUTH = cats_by(GRID)


def payoff(lab, vals):
    means = []
    for c in range(4):
        v = [vals[i] for i in range(len(GRID)) if lab[i] == c]
        means.append(math.fsum(v) / len(v))
    return math.fsum(max(a, b) for a in means for b in means) / 16


rng = random.Random(42721)
print(" K   TRUTH    FIT-1   truth >= fit-1   mean gap")
for k in (1, 2, 3, 4, 6, 8):
    tr, fi, wins, gaps = [], [], 0, []
    for _ in range(300):
        goals = []
        for _ in range(k):
            m, s = rng.random(), rng.uniform(0.08, 0.3)
            goals.append([math.exp(-0.5 * ((x - m) / s) ** 2)
                          for x in GRID])
        fit = cats_by(goals[0])
        a = math.fsum(payoff(TRUTH, v) for v in goals) / k
        b = math.fsum(payoff(fit, v) for v in goals) / k
        tr.append(a)
        fi.append(b)
        gaps.append(a - b)
        wins += a >= b
    print("%2d  %.4f  %.4f  %15.3f  %+9.4f" % (
        k, math.fsum(tr) / 300, math.fsum(fi) / 300, wins / 300,
        math.fsum(gaps) / 300))

Single source and citation

Fan, Y. (2026). When Utility Outperforms Literal Truth: Evolutionary Fitness-Payoff Games, Functional Belief Engineering and Physical Guardrails (Version 1.0.0), Chapter 2: Truth Strikes Back: Shifting Goals, Wrong Models and Cliff-Edge Costs. 5D Library. DOI pending

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

BibTeX
@book{fan2026427,
  author    = {Fan, Yafu},
  title     = {When Utility Outperforms Literal Truth: Evolutionary Fitness-Payoff Games, Functional Belief Engineering and Physical Guardrails},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book