"""Reproduce the exact normal-component mechanism JC.3–JC.14."""
from pathlib import Path
SVG='<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="1060" viewBox="0 0 1280 1060" role="img" aria-labelledby="jc-title jc-desc">\n  <title id="jc-title">Actual center transfer preserves the normal hypertrace component</title>\n  <desc id="jc-desc">The finite common basis with first vector one dominates each conjugated smaller-center positive element by a normal positive larger-center transfer. This proves that the maximal centrally normal subfunctional remains compatible and M-central. Its nonzero normalization annihilates the exact canonical cost. The remaining purely singular component satisfies an exact bounded functional balance, with no inherited-trace density asserted.</desc>\n  <rect width="1280" height="1060" fill="#f4f7fb" />\n  <text x="35" y="42" font-family="Helvetica" font-size="27" font-weight="bold" fill="#14263c">A normal part survives actual M-conjugation</text>\n  <text x="35" y="77" font-family="Helvetica" font-size="20" fill="#14263c">A = &lt;N,e&gt; inside B = &lt;M,e&gt;; e = e_R^M. Actual represented centers and common basis.</text>\n  <rect x="24" y="99" width="1232" height="169" rx="12" fill="#ffffff" stroke="#8093a9" stroke-width="2" />\n  <text x="44" y="137" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">The operator domination uses a_1 = 1. (JC.3)</text>\n  <text x="44" y="178" font-family="Helvetica" font-size="22" fill="#14263c">x in Z(A), x &gt;= 0: x &lt;= I(x) = sum a_i x a_i* in Z(B); I(1) = d 1.</text>\n  <text x="44" y="216" font-family="Helvetica" font-size="22" fill="#14263c">u x u* &lt;= I(x) for every physical u in U(M). I is a normal finite-sum map.</text>\n  <text x="44" y="251" font-family="Helvetica" font-size="20" fill="#14263c">No normalization of A or its center by M is assumed.</text>\n  <line x1="640" y1="270" x2="640" y2="300" stroke="#334155" stroke-width="3" />\n  <polygon points="632,289 648,289 640,301" fill="#334155" />\n  <rect x="24" y="310" width="1232" height="211" rx="12" fill="#e5f0fa" stroke="#2563a0" stroke-width="2" />\n  <text x="44" y="349" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Take the maximal subfunctional phi_n normal on Z(A). (JC.4)-(JC.6)</text>\n  <text x="44" y="389" font-family="Helvetica" font-size="21" fill="#14263c">phi_n E_A = phi_n; E_A maps Z(B) normally into Z(A), so phi_n is normal on Z(B).</text>\n  <text x="44" y="427" font-family="Helvetica" font-size="21" fill="#14263c">phi_n(u x u*) &lt;= phi_n(I(x)) proves normality of the conjugated Z(A) restriction.</text>\n  <text x="44" y="465" font-family="Helvetica" font-size="21" fill="#14263c">Maximality: phi_n Ad(u) &lt;= phi_n. Equal mass m gives equality: phi_n is M-central.</text>\n  <text x="44" y="502" font-family="Helvetica" font-size="19" fill="#14263c">Normal-band z lives in the bidual bookkeeping; it is not the physical tail atom f.</text>\n  <line x1="390" y1="523" x2="390" y2="553" stroke="#334155" stroke-width="3" />\n  <polygon points="382,542 398,542 390,554" fill="#334155" />\n  <line x1="905" y1="523" x2="905" y2="553" stroke="#334155" stroke-width="3" />\n  <polygon points="897,542 913,542 905,554" fill="#334155" />\n  <rect x="24" y="563" width="594" height="187" rx="12" fill="#e9f5e6" stroke="#48833e" stroke-width="2" />\n  <text x="44" y="601" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">m &gt; 0 supplies an annihilating state.</text>\n  <text x="44" y="641" font-family="Helvetica" font-size="21" fill="#14263c">phi_n / m is compatible and M-central.</text>\n  <text x="44" y="680" font-family="Helvetica" font-size="21" fill="#14263c">83.5 gives phi_n(b_hat) = 0. (JC.7)</text>\n  <text x="44" y="721" font-family="Helvetica" font-size="20" fill="#14263c">Corner witness: m &gt;= phi(e) &gt; 0. (JC.9)</text>\n  <rect x="644" y="563" width="612" height="187" rx="12" fill="#fff0d6" stroke="#b7791f" stroke-width="2" />\n  <text x="664" y="601" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Residual singular component</text>\n  <text x="664" y="641" font-family="Helvetica" font-size="21" fill="#14263c">phi_s remains compatible and M-central.</text>\n  <text x="664" y="680" font-family="Helvetica" font-size="21" fill="#14263c">Both represented-center restrictions are singular.</text>\n  <text x="664" y="721" font-family="Helvetica" font-size="20" fill="#14263c">Nonzero m is not supplied by amenability here.</text>\n  <rect x="24" y="774" width="1232" height="225" rx="12" fill="#ffffff" stroke="#8093a9" stroke-width="2" />\n  <text x="44" y="813" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Exact tail atom and the unclosed singular balance, d &gt; 4</text>\n  <text x="44" y="853" font-family="Helvetica" font-size="21" fill="#14263c">p = (1-sqrt(1-4/d))/2; q = 1-p; k_F = (q/p) f + (p/q)(1-f); tau(f) = p.</text>\n  <text x="44" y="891" font-family="Helvetica" font-size="21" fill="#14263c">w = E_D0(k_F); ell = E_D0(E_C(k_F)); gamma_s(w t) = alpha_s(ell t). (JC.13)</text>\n  <text x="44" y="929" font-family="Helvetica" font-size="21" fill="#14263c">b = d^2 sqrt(1-4/d) E_Z(S)(|E_D0(f-E_C(f))|); need nu_s(b) = 0. (JC.14)</text>\n  <text x="44" y="970" font-family="Helvetica" font-size="20" fill="#14263c">A bounded ratio ell/w compares singular states; it does not produce an L1 trace density.</text>\n  <text x="35" y="1034" font-family="Helvetica" font-size="18" fill="#14263c">Proof-mechanism schematic. All formulas are exact; rectangles encode no trace areas. Full original BF/partition/generation remain assigned.</text>\n</svg>'
Path(__file__).with_suffix(".svg").write_text(SVG,encoding="utf-8")
