"""Reproduce the exact invariant-cost and conditional-variance schematic."""
from pathlib import Path
SVG='<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="1095" viewBox="0 0 1280 1095" role="img" aria-labelledby="ie-title ie-desc">\n<title id="ie-title">The actual invariant cost and its common-center conditional variance</title>\n<desc id="ie-desc">The original transfer T equals Q P(w times h). In the same state completion it equals Q P alpha(ell times h). A positive lower bound compares T with corrected alternating expectations and proves its fixed algebra is the intersection of the represented centers. The remaining cost has zero spectral lower endpoint exactly when its common-center conditional variance has zero lower endpoint. General amenability has not supplied this endpoint.</desc>\n<rect width="1280" height="1095" fill="#f5f7fb"/>\n<text x="32" y="43" font-family="Segoe UI,Arial,sans-serif" font-size="27" font-weight="bold" fill="#162a42">The fixed algebra is the common center; the original endpoint remains</text>\n<text x="32" y="82" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">Original a = b̂; b = d² √(1−4/d) Q(|E_D0(f−E_C(f))|). Full centers retained. (IE.1)</text>\n<rect x="24" y="110" width="1232" height="206" rx="13" fill="#e6f0fb" stroke="#2e68a4" stroke-width="2"/>\n<text x="44" y="148" font-family="Segoe UI,Arial,sans-serif" font-size="23" font-weight="bold" fill="#162a42">The same physical transfer, with a proved state-completion comparison. (IE.2–IE.3)</text>\n<text x="44" y="189" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">Original Q preserves α; original P preserves γ = θα. New P_α(x) = P(θ⁻¹x).</text>\n<text x="44" y="230" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">T(h) = Q P(wh) = Q P_α(ℓh); ℓ ≥ r = p/q &gt; 0; Qℓ = P_αℓ = 1.</text>\n<text x="44" y="271" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">K(h) = Q P_α(h); L = (T−rK)/(1−r) is positive, unital and α-preserving.</text>\n<text x="44" y="300" font-family="Segoe UI,Arial,sans-serif" font-size="19" fill="#162a42">These are maps in the same GNS completion. No original P = P_α or Pℓ = 1 is asserted.</text>\n<rect x="24" y="348" width="1232" height="201" rx="13" fill="#e8f5e8" stroke="#46803f" stroke-width="2"/>\n<text x="44" y="387" font-family="Segoe UI,Arial,sans-serif" font-size="23" font-weight="bold" fill="#162a42">A quantitative energy comparison identifies the exact fixed algebra. (IE.4–IE.7)</text>\n<text x="44" y="420" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">For selfadjoint h: α(h(h−Th)) ≥ r ||h−P_αh||²₂.</text>\n<text x="44" y="444" font-family="Segoe UI,Arial,sans-serif" font-size="19" fill="#162a42">For original bounded h∈U: actual total basis energy ≥ 2dr ||h−P_αh||²₂.</text>\n<text x="44" y="482" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">Fix(T) = F = U_GNS ∩ V_GNS. Both Kⁿ and Cesàro(T) converge in state L² to Π.</text>\n<text x="44" y="520" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">E_F = ΠQ is the α-preserving expectation on the full joint algebra; E_F P_α = E_F.</text>\n<rect x="24" y="581" width="1232" height="224" rx="13" fill="#ffffff" stroke="#7b8fa7" stroke-width="2"/>\n<text x="44" y="620" font-family="Segoe UI,Arial,sans-serif" font-size="23" font-weight="bold" fill="#162a42">The remaining endpoint is an explicit conditional variance. (IE.8–IE.10)</text>\n<text x="44" y="662" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">θ = ℓ/w; v = E_F((θ−1)²) = E_F(P(θ)−1), using P_αθ = 1.</text>\n<text x="44" y="704" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">ā = Πb = d E_F(w|θ−1|);   (dr/(H−1)) v ≤ ā ≤ d R* √v.</text>\n<text x="44" y="746" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">min sp_F(ā) = 0  ⇔  min sp_F(v) = 0. Their kernel projections coincide.</text>\n<text x="44" y="785" font-family="Segoe UI,Arial,sans-serif" font-size="19" fill="#162a42">Small variance cuts in F return by LC.3 to actual compatible M-central states on B.</text>\n<rect x="24" y="837" width="1232" height="183" rx="13" fill="#fff1da" stroke="#b77a26" stroke-width="2"/>\n<text x="44" y="877" font-family="Segoe UI,Arial,sans-serif" font-size="23" font-weight="bold" fill="#162a42">A positive genuine minimum would require uniform conditional variance. (IE.11)</text>\n<text x="44" y="919" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">At a true minimizing ψ₀ with cost m: ā = m1; (m/(dR*))² ≤ v ≤ ((H−1)/(dr)) m.</text>\n<text x="44" y="960" font-family="Segoe UI,Arial,sans-serif" font-size="21" fill="#162a42">The general amenability-to-zero-endpoint implication remains unproved.</text>\n<text x="44" y="998" font-family="Segoe UI,Arial,sans-serif" font-size="19" fill="#162a42">Full BF, infinite-capacity localization, full partitions, alignment and generation stay assigned.</text>\n<text x="32" y="1053" font-family="Segoe UI,Arial,sans-serif" font-size="19" fill="#162a42">Exact maps and complete proofs: IE.1–IE.11. Schematic panels; no trace areas encoded.</text>\n<text x="32" y="1080" font-family="Segoe UI,Arial,sans-serif" font-size="17" fill="#162a42">Human context: Popa1994, Definitions3.1.1–3.1.2 and Theorem4.2.2. Original diagram: CC0.</text>\n</svg>\n'
Path(__file__).with_suffix(".svg").write_bytes(SVG.encode("utf-8"))
