
Sansana (PHM) is the proportional harm quantification engine inside the NashMark-AI legal and governance stack. It receives equilibrium outputs from the Nash Strategy Layer and generates legally enforceable harm bands, escalation pathways, remedy brackets and breach classifications.
All harm-weight tensors, escalation rules, proportionality coefficients and breach-mapping matrices are IP-restricted. Only the public mathematical shell is disclosed. Full PHM logic used for litigation and government deployment is withheld.
1. System Role
- Quantifies proportional harm across all breach events.
- Receives state distributions and strategy vectors from NashMark-AI.
- Classifies breaches and allocates remedy / sanction tiers.
- Feeds the Breach Cascade Engine and Equilibrium Enforcement Engine.
- Acts as the core legal redress computation layer (closed source).
2. Public Mathematical Shell
$ H = f(\Delta S, \Delta R, \Delta \Phi, \theta) $
$ B = g(H, \kappa) $
- $ H $ — proportional harm score.
- $ \Delta S $ — systemic deviation.
- $ \Delta R $ — risk displacement.
- $ \Delta \Phi $ — equilibrium phase-shift.
- $ \theta $ — proprietary harm-weight parameters (withheld).
- $ B $ — breach band (I–VII), mapped via function $ g(\cdot) $ (withheld).
3. Breach Cascade Shell (Public)
$ C(t) = F(B_t, B_{t-1}, \dots, B_{t-k}) $
- $ C(t) $ — cascade index at time $ t $.
- $ B_t $ — breach band at time $ t $.
- $ F(\cdot) $ — proprietary cascade transformer (withheld).
4. Remedy Allocation Shell
$ R^{*} = \Psi(B, C, \omega) $
- $ R^{*} $ — remedy vector (financial + structural).
- $ \omega $ — jurisdictional modifier (IP-restricted).
- $ \Psi(\cdot) $ — proprietary allocation function (withheld).
5. Integration Contract
| Channel | Symbol | Description |
|---|---|---|
| Input | $ \sigma_t $ | Equilibrium strategy from Nash Strategy Layer. |
| Input | $ \pi_t $ | Markov state distribution. |
| Input | $ V_t $ | Volatility / risk indices. |
| Output | $ B_t $ | Breach band allocation. |
| Output | $ C_t $ | Cascade index for enforcement sequencing. |
| Output | $ R^{*} $ | Proportional remedy vector. |
6. Public Pseudocode Shell
def phm_engine(pi_t, sigma_t, volatility):
"""
Public shell — full internal logic withheld.
Inputs:
pi_t - Markov distribution
sigma_t - equilibrium strategy profile
volatility- system volatility
Outputs:
band - breach band (I–VII)
cascade - cascade index
remedy - remedy vector (abstract)
"""
# 1. Compute proportional harm (full function redacted)
H = compute_harm_score(pi_t, sigma_t, volatility) # redacted
# 2. Classify breach band (I–VII)
band = classify_band(H) # redacted
# 3. Compute cascade index
cascade = cascade_transform(band) # redacted
# 4. Generate remedy vector
remedy = generate_remedy(band, cascade) # redacted
return band, cascade, remedy
7. Deployment Notes
- PHM lives behind government-grade API isolation layers.
- No direct access to harm-weights, cascade tensors or remedy matrices.
- External services interact only through the abstracted, equilibrium-consistent interface.
- Used in litigation engines, redress platforms and public-interest breach classification systems.
© 2025 Truthfarian · Sansana / PHM — Proportional Harm Model · IP-Restricted Component