6. Period utility at unit curvature
The endpoint examples below are explicitly selected alternatives. The benchmark defaults retain their authored symbolic objectives, normalization and supplied calibration. Their microfound differentiation precedes numerical parameter substitution. A canceled symbolic marginal is distinct from an objective level that is numerically undefined at a particular parameter.
The test inventory utility_reference_cases.json retains both the source
fragment and the separately selected alternative. TestUtilityLimits checks
the alternative; TestAuthoredUtilitySpecifications locks the source default.
Neither test class substitutes its objective into the other specification.
For a positive consumption or composite base x, ordinary marginal utility is
x^(-sigma). The explicit alternative assigns log(x) at unit curvature.
6.1. Two level conventions
Normalized felicity is
The expression near one uses the exact identity
exp(t)-1=(1+exp(t))*tanh(t/2) with t=(1-sigma)*log(x).
The unselected expression has a guarded denominator at the endpoint.
Unnormalized felicity retains x^(1-sigma)/(1-sigma) whenever
sigma~=1 and uses log(x) exactly at one. Its level is not continuous
in curvature at one: away from one, it differs from normalized utility by
1/(1-sigma). The corresponding recursive welfare offset is
1/((1-sigma)*(1-beta)). Do not treat that offset as a numerical error
or silently remove it from a welfare comparison.
For the employment/leisure expression, writing L=1-H gives
Its endpoint is log(1-H)+H/(1-H). This same identity is used in the
objective and the employment condition.
6.2. Compiled checks
The alternative regression explicitly selects the endpoint fragments at positive bases below and above one, at exact and near-unit curvature, and at ordinary curvature. An independent integral of marginal utility checks the values. Small compiled microfoundations check the consumption condition and finite solution coefficients through third order.
Boolean constants and relational arithmetic preserve their meanings during symbolic compilation. User conditional expressions remain user selectors; generated regime-pair dispatch tables retain their lazy branch evaluation.
The callable sgu_period_utility(base,curvature) helper retains normalized
felicity and its logarithmic endpoint as an optional numerical function. The
six source model equations and steady-state callbacks retain their authored
expressions at their supplied ordinary calibration; they do not call the
endpoint helper automatically.
The welfare benchmark’s public calibration and steady-state helper were
recovered to replace an empty callback. Its three derived calibration
parameters and all 15 endogenous values, including recursive welfare, are
returned explicitly. The original labor equation is solved on its admissible
interval; no tax optimization is run when loading the example.
These period-utility checks do not establish parameter-endpoint derivatives for a CES aggregate or a recursive certainty equivalent. Those are distinct functions with separate identities. Historical fixed-calibration reference equations remain unchanged.
Run WorkingWithAModel/unit_curvature_example.m in the tutorials for the
normalized period-utility case at curvature one and two.