rs_entropy
plain-language theorem explainer
RS entropy of an N-entry ledger configuration is the sum of J-costs of its ratios. Anyone building temperature, Boltzmann weights, or entropy decomposition in the foundation layer cites it as the defect measure S. The definition is a one-line alias of total defect from InitialCondition.
Claim. For a configuration $c$ of $N$ positive ledger ratios $x_i$, the RS entropy is $S(c)=\sum_{i} J(x_i)$, where $J$ is the Recognition Science defect cost.
background
Module F-011 builds temperature and the canonical ensemble from the ledger's J-cost structure and finite observer resolution. The module already had entropy as total defect, time as tick count, and dynamics as variational minimization; temperature was missing because $T=\partial E/\partial S$ needs a named entropy and energy.
A configuration is an $N$-tuple of positive real ratios (ledger entries). The total defect is $\sum_i J(x_i)$, with $J$ the unique cost from the forcing chain (T5: $J(x)=(x+x^{-1})/2-1$). That sum is non-negative and vanishes only at the unity configuration.
RS energy is the companion log-charge $\sum_i \log(x_i)$, conserved under the variational dynamics. Entropy here is the extensive defect count; energy is the conserved charge that pairs with it in the thermodynamic identities.
proof idea
One-line definition: RS entropy is identified with total_defect on the same configuration. No further algebra; non-negativity and the zero-at-unity characterization are proved separately by wrapping the corresponding total-defect lemmas.
why it matters
This is Step 1 of the F-011 derivation: entropy as defect count, the bridge from InitialCondition into thermodynamics. Downstream, Boltzmann weight is $\exp(-S(c))$, entropy splits as observer plus system defect over a subsystem partition, and thermal equilibrium equates temperature (hence equal $\sigma/N$) across baths.
Gravity reuses the same name for black-hole entropy on the RS horizon cell count (e.g. entropy quadruples when mass doubles). In the broader framework it is the extensive cost that pairs with the conserved log-charge, so temperature can be read as a Lagrange multiplier for unseen entries under coarse-graining.
Switch to Lean above to see the machine-checked source, dependencies, and usage graph.