"""Reproduce the exact proof schematic and its stated finite checks."""
from pathlib import Path
SVG='<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="1080" viewBox="0 0 1280 1080" role="img" aria-labelledby="sc-title sc-desc">\n  <title id="sc-title">Actual singular hypertrace, Jones ideal and bounded entropy cost</title>\n  <desc id="sc-desc">The bounded left cuts use only bounded approximating operators and control trace tails. They show a singular compatible hypertrace kills all coefficients of the actual Jones corner ideal. Physical M remains faithful in the quotient. The exact bounded functional balance gives a nonnegative logarithmic entropy production equivalent to canonical cost annihilation, with quantified quotient-order and commutator certificates. Their general amenability input remains unproved.</desc>\n  <rect width="1280" height="1080" fill="#f4f7fb" />\n  <text x="35" y="42" font-family="Helvetica" font-size="27" font-weight="bold" fill="#14263c">The singular branch has an actual operator boundary</text>\n  <text x="35" y="78" font-family="Helvetica" font-size="20" fill="#14263c">e = e_R^M; A = &lt;N,e&gt; inside B = &lt;M,e&gt;; psi is compatible, M-central and centrally singular.</text>\n  <rect x="24" y="99" width="1232" height="178" rx="12" fill="#ffffff" stroke="#8093a9" stroke-width="2" />\n  <text x="44" y="139" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Bounded cuts control a singular-state limit. (SC.3)-(SC.7)</text>\n  <text x="44" y="180" font-family="Helvetica" font-size="21" fill="#14263c">r_m a e = h_m e, h_m in N bounded; tau(1-r_m) &lt;= 4^(-m)/12.</text>\n  <text x="44" y="219" font-family="Helvetica" font-size="21" fill="#14263c">psi(e) = 0 implies psi(a e a*) &lt;= ||a||^2 tau(1-r_m), hence zero.</text>\n  <text x="44" y="257" font-family="Helvetica" font-size="20" fill="#14263c">Only the physical trace takes a monotone limit; no affiliated-vector assumption or state normality.</text>\n  <line x1="640" y1="279" x2="640" y2="309" stroke="#334155" stroke-width="3" />\n  <polygon points="632,298 648,298 640,310" fill="#334155" />\n  <rect x="24" y="319" width="1232" height="177" rx="12" fill="#e5f0fa" stroke="#2563a0" stroke-width="2" />\n  <text x="44" y="359" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">The actual finite basis extends this to all B coefficients. (SC.5)-(SC.8)</text>\n  <text x="44" y="400" font-family="Helvetica" font-size="21" fill="#14263c">b_0 = sum a_i c_i, c_i in A; psi(b_0 e b_0*) = 0.</text>\n  <text x="44" y="439" font-family="Helvetica" font-size="21" fill="#14263c">J_e = norm-closed span B e B; psi(J_e) = 0. Physical M stays faithful in B/J_e.</text>\n  <text x="44" y="477" font-family="Helvetica" font-size="20" fill="#14263c">e t_hat = t e does not identify the two quotient images once e is killed.</text>\n  <rect x="24" y="520" width="1232" height="216" rx="12" fill="#fff0d6" stroke="#b7791f" stroke-width="2" />\n  <text x="44" y="560" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">One exact bounded logarithmic test controls the canonical cost. (SC.9)-(SC.11)</text>\n  <text x="44" y="601" font-family="Helvetica" font-size="21" fill="#14263c">theta = ell/w in [1/H,H]; H = (q/p)^2; j = (theta-1) log(theta) &gt;= (theta-1)^2/H.</text>\n  <text x="44" y="640" font-family="Helvetica" font-size="21" fill="#14263c">b_log = Q(j); nu(b_log) = gamma(log theta) - alpha(log theta) &gt;= 0.</text>\n  <text x="44" y="679" font-family="Helvetica" font-size="21" fill="#14263c">b &lt;= d R_* sqrt(H b_log); b_log &lt;= [log(H)/(d r)] b. Zero-cost tests are equivalent.</text>\n  <text x="44" y="717" font-family="Helvetica" font-size="20" fill="#14263c">r = p/q; R_* = q/p; p = (1-sqrt(1-4/d))/2; all logarithms are bounded.</text>\n  <line x1="375" y1="738" x2="375" y2="768" stroke="#334155" stroke-width="3" />\n  <polygon points="367,757 383,757 375,769" fill="#334155" />\n  <line x1="920" y1="738" x2="920" y2="768" stroke="#334155" stroke-width="3" />\n  <polygon points="912,757 928,757 920,769" fill="#334155" />\n  <rect x="24" y="778" width="595" height="172" rx="12" fill="#e9f5e6" stroke="#48833e" stroke-width="2" />\n  <text x="44" y="817" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Positive quotient-order certificate</text>\n  <text x="44" y="858" font-family="Helvetica" font-size="20" fill="#14263c">a &lt;= y + k + epsilon 1, y in M_+, k in J_e+.</text>\n  <text x="44" y="897" font-family="Helvetica" font-size="21" fill="#14263c">psi(a) &lt;= tau(y) + epsilon. (SC.12)-(SC.13)</text>\n  <text x="44" y="932" font-family="Helvetica" font-size="19" fill="#14263c">Use a = b_hat or the entropy lift b_log_hat.</text>\n  <rect x="644" y="778" width="612" height="172" rx="12" fill="#e9f5e6" stroke="#48833e" stroke-width="2" />\n  <text x="664" y="817" font-family="Helvetica" font-size="23" font-weight="bold" fill="#14263c">Norm defect certificate</text>\n  <text x="664" y="858" font-family="Helvetica" font-size="20" fill="#14263c">c_log = lift(P(log theta) - log theta).</text>\n  <text x="664" y="897" font-family="Helvetica" font-size="21" fill="#14263c">nu(b_log) &lt;= dist(c_log,L). (SC.14)-(SC.15)</text>\n  <text x="664" y="932" font-family="Helvetica" font-size="19" fill="#14263c">L uses actual commutators, E_A deficits and J_e.</text>\n  <text x="35" y="993" font-family="Helvetica" font-size="21" font-weight="bold" fill="#14263c">The new certificates are not yet supplied by general relative amenability.</text>\n  <text x="35" y="1031" font-family="Helvetica" font-size="20" fill="#14263c">Exact original residual: a suitable state must annihilate b = d^2 sqrt(1-4/d) Q(|E_D0(f-E_C(f))|).</text>\n  <text x="35" y="1065" font-family="Helvetica" font-size="18" fill="#14263c">Schematic proof maps; no trace areas encoded. Full common-support BF, partition and generation remain assigned.</text>\n</svg>'
Path(__file__).with_suffix(".svg").write_bytes(SVG.encode("utf-8"))
