Abstract
Part~1~\cite{venkat2026theoryllm-1} proposed that a trained large language modeladmits a coarse-grained description as a semantic field, phenomenologically. A declared continuum coarse-graining defines a trained semantic density \(\psi^*\) on a declared measurable space \(\mathcal X\). Boltzmann inversion converts this density into a frozen base potential \(V\), while a prompt \(c\) tilts it into \(V_{\mathrm{eff}}(\cdot\mid c)\). A Gibbs closure then predicts the context- and temperature-conditioned semantic distribution \(\rho^G_{c,T}\), which is compared with the empirical distribution \(\widehat{\rho}_{c,T}\) obtained from repeated generations. Declared coarse-graining yields the semantic coincidence probability \(Y_{\mathrm{sem}}\). This paper supplies the statistical teleodynamic mesoscopic foundations. Training is modeled as a potential game in which populations of adaptive semantic agents redistribute until their effective utilities equalize. The universal teleodynamic principle \(h_k=u_k-v_k-\ln N_k\) balances semantic benefit, and representational and competition costs, producing lognormal weight magnitudes and power-law token occupancies under stated modeling assumptions. It further introduces a finite-capacity, van der Waals-like local correction incorporating aggregation and congestion. Its phase diagram, critical curve, Maxwell construction, and lever rule predict coexistence densities and phase fractions, which propagate through the inference closure to a quantitative prediction for \(Y_{\mathrm{sem}}^G(c,T)\). This establishes a falsifiable local-interaction baseline for the nonlocal and higher-order extensions developed in Part~3.

This publication has 2 references indexed in Scilit: