nDot.io physics
05-ilang-free-fall / 11-bound-pair
11bound pairverified

Determines the bound level of two bodies of different types with a binding, its curvature against the inertias and the cost, and the clock rates of the parts, with no field.

Code of version 3 · current

check_bound_pair.py58 KB · raw
"""Check for 05-ilang-free-fall/11-bound-pair, derivation v3 (role: check).

Parts 1 and 2 are the script of v2, unchanged (only the output folder is that of v3).
Part 3 (at the end) checks what is new in v3:
  - I3: a wide and a tight pair at fixed epsilon: the remainders of the leading-order forms
        against the isolation of the level (wide) and against |w11|/M (tight);
  - I2: equal data and a non-diagonal on-site binding: a function that meets the definition of
        a bound level and takes the value of the flat mixed bands at P = 0.

Part 1 is the check of v1, unchanged: numerical diagonalization of the fibre contract H(P)
of (11.1) on the finite range r = -L..L (open ends), for diagonal on-site bindings, and
comparison with the derivation:
  - exact relations (11.5)-(11.9) of item 2 (all parameter sets),
  - the bound-level equation (11.10) of item 3(a) (all sets),
  - the closed forms (11.12), (11.14), (11.16) of items 3 and 4 (sets in the regime R),
  - the scaling of the deviations with epsilon (scan).
Two solvers are used for the same matrix: a dense one (all eigenvectors, once per
set and P) and a banded shift-and-invert one (for the finite differences and the
doubled range); their bound levels are compared.
In the outputs of Part 1, "Gamma" is the expectation value of the symmetry Xi of Step 6.

Part 2 checks what is new in v2:
  - I3: the reading statistics of the clock of a part, (11.19), with the rate at the mean level,
        the rate to first order (11.25) and its closed form in the regime R (11.26);
  - I4: the order eps^6 of the contribution of w22 to the bound level;
  - I5: the bound eigenvector at j(P) = 0;
  - I2: twofold bound levels: (11.23), (11.24) and the identities for every eigenvector;
  - I1: the operator C_bod of (11.21) on a small system given in the places.
Outputs: output/check_bound_pair.json, output/check_bound_pair.txt
"""
import json
import time
from pathlib import Path

import numpy as np
from scipy.linalg import solve_banded
from scipy.optimize import brentq, minimize_scalar

OUT = Path(__file__).parent / "output"
OUT.mkdir(parents=True, exist_ok=True)
T_START = time.time()

s0 = np.eye(2)
sx = np.array([[0.0, 1.0], [1.0, 0.0]])
sz = np.diag([1.0, -1.0])
SX1, SX2 = np.kron(sx, s0), np.kron(s0, sx)
SZ1, SZ2 = np.kron(sz, s0), np.kron(s0, sz)


def fibre_ops(P, p, L, eta):
    """Fibre operators on r=-L..L; index 4*(r+L)+2*(s1-1)+(s2-1)."""
    n = 2 * L + 1
    S = np.eye(n, k=-1)          # (S psi)(r) = psi(r-1)
    Sd = S.T
    e1, e2 = np.exp(1j * eta * P), np.exp(1j * (1 - eta) * P)
    A1 = 0.5j * p["tau1"] * np.kron(e1 * Sd - np.conj(e1) * S, SX1)
    A2 = 0.5j * p["tau2"] * np.kron(e2 * S - np.conj(e2) * Sd, SX2)
    V1 = -0.5 * p["tau1"] * np.kron(e1 * Sd + np.conj(e1) * S, SX1)
    V2 = -0.5 * p["tau2"] * np.kron(e2 * S + np.conj(e2) * Sd, SX2)
    Z1, Z2 = np.kron(np.eye(n), SZ1), np.kron(np.eye(n), SZ2)
    U = np.zeros((4 * n, 4 * n))
    U[4 * L:4 * L + 4, 4 * L:4 * L + 4] = np.diag(p["w"])   # w11, w12, w21, w22
    return A1, A2, V1, V2, Z1, Z2, U


def bands(P, p, nq=4001):
    """The four two-body bands (11.2) at the total label P: (lower edge, upper edge)."""
    q = np.linspace(-np.pi, np.pi, nq)
    om1 = np.sqrt(p["M1"] ** 2 + p["tau1"] ** 2 * np.sin(0.5 * P + q) ** 2)
    om2 = np.sqrt(p["M2"] ** 2 + p["tau2"] ** 2 * np.sin(0.5 * P - q) ** 2)
    return {f"{a:+d}{b:+d}": (float((a * om1 + b * om2).min()), float((a * om1 + b * om2).max()))
            for a in (1, -1) for b in (1, -1)}


def edge(P, p):
    """Edge of the (++) band next to the level: lower edge for w11<0, upper edge for w11>0."""
    return bands(P, p)["+1+1"][0 if p["w"][0] < 0 else 1]


def solve_full(P, p, L, eta=0.5):
    """Dense diagonalization; bound level = eigenvector of largest weight at (r=0, s=11)."""
    A1, A2, V1, V2, Z1, Z2, U = fibre_ops(P, p, L, eta)
    H = A1 + A2 + p["M1"] * Z1 + p["M2"] * Z2 + U
    E, X = np.linalg.eigh(H)
    b = int(np.argmax(np.abs(X[4 * L, :]) ** 2))
    psi = X[:, b]
    ex = lambda O: float(np.real(np.vdot(psi, O @ psi)))
    amp = X.conj().T @ ((eta * V1 + (1 - eta) * V2) @ psi)
    mask = np.ones(len(E), bool)
    mask[b] = False
    resolvent_sum = float(np.sum(np.abs(amp[mask]) ** 2 / (E[mask] - E[b])))
    d2H = -(eta ** 2) * ex(A1) - (1 - eta) ** 2 * ex(A2)
    r = np.repeat(np.arange(-L, L + 1), 4)
    Gam = ((-1.0) ** np.abs(r)) * np.tile(np.diag(SZ1 @ SZ2), 2 * L + 1)   # symmetry Xi of Step 6
    return dict(E=float(E[b]), s3_1=ex(Z1), s3_2=ex(Z2), A1=ex(A1), A2=ex(A2), U=ex(U),
                V1=ex(V1), V2=ex(V2), Epp_formula=d2H - 2 * resolvent_sum,
                weight0=float(np.abs(psi[4 * L]) ** 2),
                tail=float(np.sum(np.abs(psi[np.abs(r) > L // 2]) ** 2)),
                Gamma=float(np.real(np.sum(Gam * np.abs(psi) ** 2))))


def solve(P, p, L, ref, eta=0.5, theta=1.0):
    """Banded solver: the eigenvalue of H(P) nearest to ref, by inverse iteration from the
    vector (r=0, s=11), four steps at the shift ref and then Rayleigh-quotient steps."""
    n = 4 * (2 * L + 1)
    low = np.zeros((8, n), complex)              # lower band storage: low[k, j] = H[j+k, j]
    low[0, :] = np.tile(np.diag(p["M1"] * SZ1 + p["M2"] * SZ2), 2 * L + 1)
    low[0, 4 * L:4 * L + 4] += theta * np.array(p["w"])
    e1, e2 = np.exp(1j * eta * P), np.exp(1j * (1 - eta) * P)
    B = -0.5j * p["tau1"] * np.conj(e1) * SX1 + 0.5j * p["tau2"] * e2 * SX2   # block (r+1, r): coefficient of S
    for s_row in range(4):
        for s_col in range(4):
            low[4 + s_row - s_col, s_col:n - 4:4] = B[s_row, s_col]
    full = np.zeros((15, n), complex)            # storage of solve_banded: full[7+i-j, j] = H[i, j]
    for k in range(8):
        full[7 + k, :n - k] = low[k, :n - k]
        if k:
            full[7 - k, k:] = np.conj(low[k, :n - k])

    def matvec(v):
        out = low[0] * v
        for k in range(1, 8):
            out[k:] += low[k, :n - k] * v[:n - k]
            out[:n - k] += np.conj(low[k, :n - k]) * v[k:]
        return out

    v = np.zeros(n, complex)
    v[4 * L] = 1.0
    shift, E = ref, ref
    for it in range(12):
        m = full.copy()
        m[7] -= shift
        try:
            v = solve_banded((7, 7), m, v)
        except np.linalg.LinAlgError:
            break
        v /= np.linalg.norm(v)
        Hv = matvec(v)
        E = float(np.real(np.vdot(v, Hv)))
        if np.linalg.norm(Hv - E * v) < 1e-13:
            break
        if it >= 3:
            shift = E
    assert abs(v[4 * L]) ** 2 > 0.05, "banded solver left the bound level"
    return E


def d1(f, x, h):
    return (-f(x + 2 * h) + 8 * f(x + h) - 8 * f(x - h) + f(x - 2 * h)) / (12 * h)


def d2(f, x, h):
    return (-f(x + 2 * h) + 16 * f(x + h) - 30 * f(x) + 16 * f(x - h) - f(x - 2 * h)) / (12 * h * h)


def green(E, P, p, nq=4096, eta=0.5):
    """Coefficients of (11.10): G_{s1 s2}(E,P) and g_x(E,P), as sums over q."""
    q = -np.pi + 2 * np.pi * np.arange(nq) / nq
    p1, p2 = eta * P + q, (1 - eta) * P - q
    om1 = np.sqrt(p["M1"] ** 2 + p["tau1"] ** 2 * np.sin(p1) ** 2)
    om2 = np.sqrt(p["M2"] ** 2 + p["tau2"] ** 2 * np.sin(p2) ** 2)
    G, gx = {}, 0.0
    for sg1 in (1, -1):
        for sg2 in (1, -1):
            den = 4 * (sg1 * om1 + sg2 * om2 - E)
            gx += np.mean(sg1 * sg2 * p["tau1"] * p["tau2"] * np.sin(p1) * np.sin(p2) / (om1 * om2 * den))
            for t1 in (1, 2):
                for t2 in (1, 2):
                    c1, c2 = (1 if t1 == 1 else -1), (1 if t2 == 1 else -1)
                    G[(t1, t2)] = G.get((t1, t2), 0.0) + np.mean(
                        (1 + c1 * sg1 * p["M1"] / om1) * (1 + c2 * sg2 * p["M2"] / om2) / den)
    return G, gx


def green_direct(E, P, p, nq=4096, eta=0.5):
    """<r=0|(H0(P)-E)^(-1)|r=0> as a 4x4 matrix, by inverting h_P(q)-E on the q grid."""
    q = -np.pi + 2 * np.pi * np.arange(nq) / nq
    p1, p2 = eta * P + q, (1 - eta) * P - q
    h = (-p["tau1"] * np.sin(p1))[:, None, None] * SX1 + (-p["tau2"] * np.sin(p2))[:, None, None] * SX2 \
        + p["M1"] * SZ1 + p["M2"] * SZ2 - E * np.eye(4)
    return np.linalg.inv(h).mean(axis=0)


def F_plus(E, P, p):
    """The factor F_+ of (11.10) (sector Xi=+1)."""
    G, gx = green(E, P, p)
    w11, _, _, w22 = p["w"]
    return (1 + w11 * G[(1, 1)]) * (1 + w22 * G[(2, 2)]) - w11 * w22 * gx ** 2


def root_F_plus(Eb, P, p, gap):
    lo, hi = Eb - 0.3 * gap, Eb + 0.3 * gap
    flo, fhi = F_plus(lo, P, p), F_plus(hi, P, p)
    if flo * fhi > 0:
        return None
    for _ in range(100):
        mid = 0.5 * (lo + hi)
        fm = F_plus(mid, P, p)
        if flo * fm <= 0:
            hi, fhi = mid, fm
        else:
            lo, flo = mid, fm
    return 0.5 * (lo + hi)


def closed(P, p):
    """Closed forms of item 3 (leading order in R); expectation values at P=0."""
    M1, M2, t1, t2 = p["M1"], p["M2"], p["tau1"], p["tau2"]
    w = p["w"][0]
    sg = np.sign(w)
    a1, a2 = t1 ** 2 / (4 * M1), t2 ** 2 / (4 * M2)
    a = a1 + a2
    j = np.sqrt(a1 ** 2 + a2 ** 2 + 2 * a1 * a2 * np.cos(2 * P))
    root0 = np.sqrt(w * w + a * a)
    c = 1 + sg * a / root0
    return dict(E=M1 + M2 + a + sg * np.sqrt(w * w + j * j),
                Ep=-sg * 2 * a1 * a2 * np.sin(2 * P) / np.sqrt(w * w + j * j),
                Epp0=-sg * 4 * a1 * a2 / root0, Ebind=a + sg * root0,
                s3_1=1 - a1 / M1 * c, s3_2=1 - a2 / M2 * c, A1=2 * a1 * c, A2=2 * a2 * c,
                U=sg * w * w / root0, a=a, u=abs(w) / a)


def with_(p, **kw):
    q = dict(p)
    q.update(kw)
    return q


SETS = {
    "A_equal_R":      dict(M1=1.0, M2=1.0, tau1=0.10, tau2=0.10, w=[-0.0040, 0.0030, -0.0020, 0.0060]),
    "B_unequal_R":    dict(M1=1.0, M2=1.7, tau1=0.20, tau2=0.12, w=[-0.0100, 0.0050, -0.0040, 0.0080]),
    "C_above_band_R": dict(M1=1.0, M2=0.8, tau1=0.10, tau2=0.15, w=[0.0200, -0.0050, 0.0030, -0.0100]),
    "D_wide_R":       dict(M1=1.3, M2=1.0, tau1=0.15, tau2=0.20, w=[-0.0040, 0.0020, 0.0010, 0.0030]),
    "E_order_one":    dict(M1=1.0, M2=1.3, tau1=1.00, tau2=0.80, w=[-0.6000, 0.2000, -0.1500, 0.3000]),
}
REGIME_R = {"A_equal_R", "B_unequal_R", "C_above_band_R", "D_wide_R"}
P_VALUES = [-0.30, -0.15, 0.0, 0.15, 0.30]
L = 120
HP, HX = 0.01, 1e-3

results, lines = {}, []


def say(s):
    lines.append(s)
    print(s, flush=True)


say(f"range of r: -L..L with L={L} (open ends); convergence: comparison with L={2 * L} and weight at |r|>L/2")
say(f"finite differences: 5-point, step {HP} in P, relative step {HX} in M_i, tau_i, theta; convention eta=1/2")

for name, p in SETS.items():
    say(f"\n=== set {name}: {p}  max tau_i/M_i = {max(p['tau1'] / p['M1'], p['tau2'] / p['M2']):.3f}")
    res = dict(params=p, P={})
    keys = ("dM", "dtau", "dtheta", "euler", "V1", "V2", "V12", "Epp", "eq310", "green", "conv", "tail", "eta",
            "solvers", "closed_E", "closed_Ep")
    worst = dict.fromkeys(keys, 0.0)
    for P in P_VALUES:
        o = solve_full(P, p, L)
        bd = bands(P, p)
        gap = min(abs(o["E"] - e) for lohi in bd.values() for e in lohi)
        inside = any(lo <= o["E"] <= hi for lo, hi in bd.values())
        e0 = edge(P, p)

        def fE(PP=P, pp=p, **kw):
            """Banded bound level at changed P or data; the reference follows the band edge."""
            return solve(PP, pp, L, o["E"] + edge(PP, pp) - e0, **kw)

        solvers = abs(fE() - o["E"])
        conv = abs(solve(P, p, 2 * L, o["E"]) - o["E"])
        eta_dep = max(abs(fE(eta=e) - o["E"]) for e in (0.0, 1.0, 0.3))
        # item 2(a): derivatives of E_b against expectation values
        dM1 = d1(lambda x: fE(pp=with_(p, M1=x)), p["M1"], HX * p["M1"])
        dM2 = d1(lambda x: fE(pp=with_(p, M2=x)), p["M2"], HX * p["M2"])
        dt1 = p["tau1"] * d1(lambda x: fE(pp=with_(p, tau1=x)), p["tau1"], HX * p["tau1"])
        dt2 = p["tau2"] * d1(lambda x: fE(pp=with_(p, tau2=x)), p["tau2"], HX * p["tau2"])
        dth = d1(lambda x: fE(theta=x), 1.0, HX)
        euler = p["M1"] * o["s3_1"] + p["M2"] * o["s3_2"] + o["A1"] + o["A2"] + o["U"] - o["E"]
        # items 2(b), 2(c)
        Ep = d1(lambda x: fE(PP=x), P, HP)
        Epp = d2(lambda x: fE(PP=x), P, HP)
        # item 3(a): coefficients against a direct inversion, root against E_b
        G, gx = green(o["E"], P, p)
        Gd = green_direct(o["E"], P, p)
        gerr = max(abs(G[(1, 1)] - Gd[0, 0]), abs(G[(1, 2)] - Gd[1, 1]), abs(G[(2, 1)] - Gd[2, 2]),
                   abs(G[(2, 2)] - Gd[3, 3]), abs(gx - Gd[0, 3]), abs(gx - Gd[1, 2]),
                   abs(Gd[0, 1]), abs(Gd[0, 2]), abs(Gd[1, 3]), abs(Gd[2, 3])) / np.abs(Gd).max()
        root = root_F_plus(o["E"], P, p, gap)
        c = closed(P, p)
        res["P"][f"{P:+.2f}"] = dict(
            E=o["E"], isolation=gap, inside_band=inside, weight0=o["weight0"], Gamma=o["Gamma"],
            tail=o["tail"], conv_2L=conv, eta_dependence=eta_dep, dense_minus_banded=solvers,
            dM1=[dM1, o["s3_1"]], dM2=[dM2, o["s3_2"]], dtau1=[dt1, o["A1"]], dtau2=[dt2, o["A2"]],
            dtheta=[dth, o["U"]], euler_residual=euler, Ep=[Ep, o["V1"], o["V2"]], Epp=[Epp, o["Epp_formula"]],
            green_rel_error=float(gerr), eq_3a_root=root,
            eq_3a_root_minus_E=(None if root is None else root - o["E"]),
            closed_E=float(c["E"]), closed_Ep=float(c["Ep"]))
        for k, v in (("dM", max(abs(dM1 - o["s3_1"]), abs(dM2 - o["s3_2"]))),
                     ("dtau", max(abs(dt1 - o["A1"]), abs(dt2 - o["A2"]))), ("dtheta", abs(dth - o["U"])),
                     ("euler", abs(euler)), ("V1", abs(Ep - o["V1"])), ("V2", abs(Ep - o["V2"])),
                     ("V12", abs(o["V1"] - o["V2"])), ("Epp", abs(Epp - o["Epp_formula"])),
                     ("eq310", np.inf if root is None else abs(root - o["E"])), ("green", float(gerr)),
                     ("conv", conv), ("tail", o["tail"]), ("eta", eta_dep), ("solvers", solvers),
                     ("closed_E", abs(c["E"] - o["E"])), ("closed_Ep", abs(c["Ep"] - Ep))):
            worst[k] = max(worst[k], float(v))
        say(f"P={P:+.2f}  E_b={o['E']:.12f}  isolation={gap:.3e}  in a band: {inside}  weight(r=0,11)={o['weight0']:.4f}"
            f"  Gamma={o['Gamma']:+.6f}  E_b'={Ep:+.6e}  <V1>={o['V1']:+.6e}  <V2>={o['V2']:+.6e}"
            f"  E_b''={Epp:+.6e}  (11.9)={o['Epp_formula']:+.6e}")
    res["max_abs_deviation"] = worst
    say("max |deviation| over the P values:")
    say(f"  2(a): dE/dM_i - <sigma3_i> {worst['dM']:.2e}; tau_i dE/dtau_i - <A_i> {worst['dtau']:.2e};"
        f" dE/dtheta - <U> {worst['dtheta']:.2e}; Euler residual {worst['euler']:.2e}")
    say(f"  2(b): E_b' - <V1> {worst['V1']:.2e}; E_b' - <V2> {worst['V2']:.2e}; <V1> - <V2> {worst['V12']:.2e}")
    say(f"  2(c): E_b'' (finite difference) - formula (11.9) {worst['Epp']:.2e}")
    say(f"  3(a): coefficients of (11.10) against direct inversion (relative) {worst['green']:.2e};"
        f" root of (11.10) - E_b {worst['eq310']:.2e}")
    say(f"  numerics: |E_b(L) - E_b(2L)| {worst['conv']:.2e}; weight at |r|>L/2 {worst['tail']:.2e};"
        f" dependence on eta {worst['eta']:.2e}; dense - banded {worst['solvers']:.2e}")
    # closed forms at P = 0
    o0 = solve_full(0.0, p, L)
    c0 = closed(0.0, p)
    Epp0 = o0["Epp_formula"]
    eps2 = max(p["tau1"] / p["M1"], p["tau2"] / p["M2"]) ** 2
    cmp0 = {k: [o0[k], float(c0[k])] for k in ("s3_1", "s3_2", "A1", "A2", "U")}
    cmp0["Ebind"] = [o0["E"] - p["M1"] - p["M2"], float(c0["Ebind"])]
    cmp0["Epp0"] = [Epp0, float(c0["Epp0"])]
    m1, m2 = p["M1"] / p["tau1"] ** 2, p["M2"] / p["tau2"] ** 2
    mb = 1.0 / Epp0
    item4 = dict(mb_over_m1_plus_m2=[mb / (m1 + m2), float(-np.sign(p["w"][0]) * np.sqrt(1 + c0["u"] ** 2))],
                 mb_minus_m1_m2=[mb - m1 - m2, -4 * m1 * m2 * (o0["E"] - p["M1"] - p["M2"])])
    res["closed_forms_P0"] = dict(u=float(c0["u"]), a=float(c0["a"]), eps2=eps2, compare=cmp0, item4=item4,
                                  max_dE_over_P=worst["closed_E"], max_dEp_over_P=worst["closed_Ep"],
                                  rel_dev_Epp0=float(abs(Epp0 - c0["Epp0"]) / abs(c0["Epp0"])))
    tag = "regime R" if name in REGIME_R else "control, outside R"
    say(f"closed forms (items 3, 4), {tag}: |w11|/a = {c0['u']:.3f}, (max tau/M)^2 = {eps2:.3e}")
    say(f"  max_P |E_b - (11.12)| = {worst['closed_E']:.3e}  = {worst['closed_E'] / (eps2 ** 2):.3f} * (tau/M)^4;"
        f"  max_P |E_b' - d(11.12)/dP| = {worst['closed_Ep']:.3e}")
    say(f"  E_b''(0): numeric {Epp0:+.8e}  closed {c0['Epp0']:+.8e}  rel.dev {abs(Epp0 - c0['Epp0']) / abs(c0['Epp0']):.3e}"
        f"  = {abs(Epp0 - c0['Epp0']) / abs(c0['Epp0']) / eps2:.3f} * (tau/M)^2")
    for k, (num, cl) in cmp0.items():
        say(f"  {k:6s} numeric {num:+.10e}  closed {cl:+.10e}  diff {num - cl:+.2e}")
    say(f"  m_b/(m_1+m_2): numeric {item4['mb_over_m1_plus_m2'][0]:+.6f}  (11.16) {item4['mb_over_m1_plus_m2'][1]:+.6f};"
        f"  m_b-(m_1+m_2): numeric {item4['mb_minus_m1_m2'][0]:+.6e}  -4 m_1 m_2 E_bind {item4['mb_minus_m1_m2'][1]:+.6e}")
    results[name] = res

# epsilon scan: tau_i = eps*tauhat_i, w = eps^2*what, for the data of set B (eps = 1)
say("\n=== epsilon scan on set B_unequal_R (tau -> eps*tau, w -> eps^2*w)")
base = SETS["B_unequal_R"]
scan, prev = [], None
for eps in (1.0, 0.5, 0.25, 0.125):
    p = with_(base, tau1=eps * base["tau1"], tau2=eps * base["tau2"], w=[eps * eps * x for x in base["w"]])
    o0, c0 = solve_full(0.0, p, L), closed(0.0, p)
    row = dict(eps=eps, dE_P0=o0["E"] - c0["E"], dE_P03=solve_full(0.3, p, L)["E"] - closed(0.3, p)["E"],
               rel_dEpp0=(o0["Epp_formula"] - c0["Epp0"]) / c0["Epp0"], d_s3_1=o0["s3_1"] - c0["s3_1"],
               d_s3_2=o0["s3_2"] - c0["s3_2"])
    row = {k: float(v) for k, v in row.items()}
    if prev:
        row["ratio_to_previous"] = {k: prev[k] / row[k] for k in row if k != "eps"}
    scan.append(row)
    prev = {k: v for k, v in row.items() if k != "ratio_to_previous"}
    say(f"eps={eps:6.3f}  E_b-(11.12): P=0 {row['dE_P0']:+.4e}, P=0.3 {row['dE_P03']:+.4e};  rel.dev E_b''(0) {row['rel_dEpp0']:+.4e};"
        f"  <sigma3_i>-(11.14): {row['d_s3_1']:+.4e}, {row['d_s3_2']:+.4e}")
    if "ratio_to_previous" in row:
        say("          ratios to the previous eps: " + ", ".join(f"{k} {v:.2f}" for k, v in row["ratio_to_previous"].items()))
say("expected for halving eps: 16 for E_b and <sigma3_i> (next order eps^4), 4 for the relative deviation of E_b''(0)")
results["epsilon_scan_set_B"] = scan
results["settings"] = dict(L=L, L_check=2 * L, P_values=P_VALUES, eta=0.5, h_P=HP, h_rel_parameters=HX)

# ---------------------------------------------------------------------------
# Part 2: checks of what is new in derivation v2
# ---------------------------------------------------------------------------
new = {}


def dense(P, p, L, eta=0.5, W0=None, theta=1.0):
    """Dense H(P) with all eigenvectors and its parts. W0: a general on-site binding
    (4x4, order 11, 12, 21, 22) used instead of the diagonal p['w']."""
    A1, A2, V1, V2, Z1, Z2, U = fibre_ops(P, p, L, eta)
    if W0 is not None:
        U = np.zeros_like(A1)
        U[4 * L:4 * L + 4, 4 * L:4 * L + 4] = W0
    H = A1 + A2 + p["M1"] * Z1 + p["M2"] * Z2 + theta * U
    E, X = np.linalg.eigh(H)
    return E, X, dict(A1=A1, A2=A2, V1=V1, V2=V2, Z1=Z1, Z2=Z2, U=U)


def P_ring(a, vartheta, N):
    """P_N(a; vartheta) of (5.1) of 04-ilang-time/05-moving-clock."""
    k = np.arange(N)
    return float(abs(np.mean(np.exp(2j * np.pi * k * (a - vartheta) / N))) ** 2)


def closed_d2M(p, part):
    """Second derivative of the closed form (11.12) at P=0 with respect to M_part (used in (11.26))."""
    M1, M2, t1, t2 = p["M1"], p["M2"], p["tau1"], p["tau2"]
    w = p["w"][0]
    sg = np.sign(w)
    a1, a2 = t1 ** 2 / (4 * M1), t2 ** 2 / (4 * M2)
    a, ai, Mi = a1 + a2, (a1 if part == 1 else a2), (M1 if part == 1 else M2)
    u = abs(w) / a
    lam = 1 + sg / np.sqrt(1 + u * u)
    return float(ai / Mi ** 2 * (2 * lam + sg * ai / a * u * u / (1 + u * u) ** 1.5))


def clock_check(p, part, N, D, ticks):
    """Item 5(a), (11.19) and (11.25): exact reading statistics of the clock label of one part
    for a pair in the bound level at P=0 (sharp total label, no records), against
    P_N(a; Gamma*lambda/lambda_0) with three choices of Gamma."""
    key = f"M{part}"
    m = p[key]
    lam0 = 2 * np.pi * (N - 1) / (N * D)          # tick parameter with the level spread d_{N-1} = D
    d = D * np.arange(N) / (N - 1)
    dbar = 0.5 * D
    lev = [dense(0.0, with_(p, **{key: m + dk}), L)[:2] for dk in d]
    E0, X0, ops = dense(0.0, p, L)
    b = int(np.argmax(np.abs(X0[4 * L, :]) ** 2))
    psi0 = X0[:, b]
    Z = ops[f"Z{part}"]
    g0 = np.inf                                     # isolation of the bound level over the levels of the clock
    for E, X in lev:
        bk = int(np.argmax(np.abs(X[4 * L, :]) ** 2))
        g0 = min(g0, float(np.min(np.abs(np.delete(E, bk) - E[bk]))))
    G0 = float(np.real(np.vdot(psi0, Z @ psi0)))                     # <sigma3_i>_0 at M_i = m_i (rate of v1)
    amp = X0.conj().T @ (Z @ psi0)
    mask = np.ones(len(E0), bool)
    mask[b] = False
    d2E = float(-2 * np.sum(np.abs(amp[mask]) ** 2 / (E0[mask] - E0[b])))   # d^2 E_b / d M_i^2 at m_i
    Gmean = solve_full(0.0, with_(p, **{key: m + dbar}), L)[f"s3_{part}"]   # <sigma3_i>_0 at the mean level
    Gfirst = G0 + dbar * d2E                                                # (11.25)
    coef = [X.conj().T @ psi0 for E, X in lev]      # start: eigenvector of the level 0 on every level
    q = np.zeros((len(ticks), N))
    for it, t in enumerate(ticks):
        vec = np.array([X @ (np.exp(-1j * E * t * lam0) * c) for (E, X), c in zip(lev, coef)])
        for a in range(N):
            q[it, a] = np.linalg.norm(np.exp(2j * np.pi * np.arange(N) * a / N) @ vec / N) ** 2

    def table(G):
        return np.array([[P_ring(a, G * t, N) for a in range(N)] for t in ticks])

    def dev(G, tmax=None):
        sel = np.ones(len(ticks), bool) if tmax is None else (np.asarray(ticks) <= tmax + 1e-12)
        return float(np.max(np.abs(q - table(G))[sel]))

    fit = minimize_scalar(lambda G: float(np.sum((q - table(G)) ** 2)), bounds=(Gmean - 0.05, Gmean + 0.05),
                          method="bounded", options=dict(xatol=1e-13))
    cm = closed(0.0, with_(p, **{key: m + dbar}))
    c0 = closed(0.0, p)
    return dict(part=part, N=N, D=D, lambda0=lam0, g0=g0, D_over_g0=D / g0, D_over_M=D / m, sum_q_minus_1=float(
        np.max(np.abs(q.sum(axis=1) - 1))), Gamma_level0=G0, Gamma_mean_level=Gmean, Gamma_first_order=Gfirst,
        Gamma_fit=float(fit.x), d2E_dM2=d2E, d2E_dM2_closed=closed_d2M(p, part),
        Gamma_closed_11_20_at_mean=float(cm[f"s3_{part}"]),
        Gamma_closed_11_26=float(c0[f"s3_{part}"] + dbar * closed_d2M(p, part)),
        dev_mean_level=dev(Gmean), dev_level0=dev(G0), dev_first_order=dev(Gfirst),
        dev_mean_level_first_revolution=dev(Gmean, N), dev_level0_first_revolution=dev(G0, N))


say("\n=== new in v2, I3: reading statistics of the clock of a part, (11.19), (11.25), (11.26)")
say("start: bound eigenvector of the level 0 on every level, clock label in |0>, total label P=0 sharp, no records;")
say("readings at lambda = t*lambda_0, t = 0.25, 0.5, ..., 2N; deviation = max over a and t of |q - P_N(a; Gamma*t)|")
clock_runs = []
for name, part, N, D in (("E_order_one", 1, 4, 0.06), ("B_unequal_R", 1, 4, 0.10), ("B_unequal_R", 2, 5, 0.10)):
    prev = None
    for DD in (D, D / 2, D / 4):
        ticks = list(np.arange(1, 8 * N + 1) * 0.25)
        r = clock_check(SETS[name], part, N, DD, ticks)
        r["set"] = name
        if prev:
            r["ratio_to_previous"] = dict(dev_mean_level=prev["dev_mean_level"] / r["dev_mean_level"],
                                          dev_level0=prev["dev_level0"] / r["dev_level0"],
                                          dev_first_order=prev["dev_first_order"] / r["dev_first_order"])
        clock_runs.append(r)
        prev = r
        say(f"set {name}, clock of part {part}, N={N}, spread D={DD:.4f} (D/g0={r['D_over_g0']:.3f}, D/m={r['D_over_M']:.4f},"
            f" lambda_0={r['lambda0']:.2f})")
        say(f"  Gamma: level 0 (v1) {r['Gamma_level0']:.10f}; mean level (11.19) {r['Gamma_mean_level']:.10f};"
            f" first order (11.25) {r['Gamma_first_order']:.10f}; least-squares fit {r['Gamma_fit']:.10f}")
        say(f"  d2E_b/dM^2 at m: spectral sum {r['d2E_dM2']:+.8e}; closed form of (11.26) {r['d2E_dM2_closed']:+.8e};"
            f"  closed (11.20) at the mean level {r['Gamma_closed_11_20_at_mean']:.10f}; closed (11.26) {r['Gamma_closed_11_26']:.10f}")
        say(f"  deviation of the statistics: Gamma at the mean level {r['dev_mean_level']:.3e} (t<=N: {r['dev_mean_level_first_revolution']:.3e});"
            f" first order {r['dev_first_order']:.3e}; Gamma of the level 0 {r['dev_level0']:.3e} (t<=N: {r['dev_level0_first_revolution']:.3e})")
        if prev and "ratio_to_previous" in r:
            say("  ratios to the previous spread: " + ", ".join(f"{k} {v:.2f}" for k, v in r["ratio_to_previous"].items()))
say("expected for halving the spread at fixed lambda/lambda_0: 4 with Gamma at the mean level, 2 with Gamma of the level 0")
new["I3_clock"] = clock_runs

say("\n=== new in v2, I4: order of the contribution of w22 (set B, tau -> eps*tau, w -> eps^2*w)")
rows, prev = [], None
for eps in (2.0, 1.0, 0.5, 0.25):
    p = with_(base, tau1=eps * base["tau1"], tau2=eps * base["tau2"], w=[eps * eps * x for x in base["w"]])
    pz = with_(p, w=p["w"][:3] + [0.0])
    Ea, Xa, _ = dense(0.0, p, L)
    Ez, Xz, _ = dense(0.0, pz, L)
    ba, bz = int(np.argmax(np.abs(Xa[4 * L, :]) ** 2)), int(np.argmax(np.abs(Xz[4 * L, :]) ** 2))
    dE = float(Ea[ba] - Ez[bz])
    wt = 0.5 * float(np.abs(Xa[4 * L + 3, ba]) ** 2 + np.abs(Xz[4 * L + 3, bz]) ** 2)   # |<22|psi(0)>|^2
    row = dict(eps=eps, w22=p["w"][3], dE=dE, w22_times_weight=p["w"][3] * wt, weight_22_at_0=wt)
    if prev:
        row["ratio_to_previous"] = dict(dE=prev["dE"] / dE, weight_22_at_0=prev["weight_22_at_0"] / wt)
    rows.append(row)
    prev = row
    say(f"eps={eps:6.3f}  E_b(w22) - E_b(w22=0) = {dE:+.6e};  w22*|<22|psi(0)>|^2 = {row['w22_times_weight']:+.6e};"
        f"  |<22|psi(0)>|^2 = {wt:.6e}" + ("" if "ratio_to_previous" not in row else
        f";  ratios to the previous eps: dE {row['ratio_to_previous']['dE']:.2f}, weight {row['ratio_to_previous']['weight_22_at_0']:.2f}"))
say("expected for halving eps: 64 for the contribution of w22 to E_b (order eps^6), 16 for the weight (order eps^4)")
new["I4_w22"] = rows

say("\n=== new in v2, I5: equal data (a_1 = a_2) at P = pi/2, where j(P) = 0 (set A, tau -> eps*tau, w -> eps^2*w)")
rows, prev = [], None
baseA = SETS["A_equal_R"]
for eps in (1.0, 0.5, 0.25):
    p = with_(baseA, tau1=eps * baseA["tau1"], tau2=eps * baseA["tau2"], w=[eps * eps * x for x in baseA["w"]])
    E, X, _ = dense(0.5 * np.pi, p, L)
    b = int(np.argmax(np.abs(X[4 * L, :]) ** 2))
    a = p["tau1"] ** 2 / (4 * p["M1"]) + p["tau2"] ** 2 / (4 * p["M2"])
    row = dict(eps=eps, E=float(E[b]), closed_E=p["M1"] + p["M2"] + a + p["w"][0],
               dE=float(E[b] - (p["M1"] + p["M2"] + a + p["w"][0])),
               one_minus_weight_r0_11=float(1 - np.abs(X[4 * L, b]) ** 2),
               weight_r_not_0_in_11=float(np.sum(np.abs(X[0::4, b]) ** 2) - np.abs(X[4 * L, b]) ** 2))
    if prev:
        row["ratio_to_previous"] = dict(dE=prev["dE"] / row["dE"],
                                        one_minus_weight=prev["one_minus_weight_r0_11"] / row["one_minus_weight_r0_11"])
    rows.append(row)
    prev = row
    say(f"eps={eps:6.3f}  E_b = {row['E']:.12f}  M_1+M_2+a+w11 = {row['closed_E']:.12f}  difference {row['dE']:+.3e};"
        f"  1 - weight(r=0,11) = {row['one_minus_weight_r0_11']:.3e};  weight of 11 at r != 0: {row['weight_r_not_0_in_11']:.3e}"
        + ("" if "ratio_to_previous" not in row else f";  ratios: dE {row['ratio_to_previous']['dE']:.2f},"
           f" 1-weight {row['ratio_to_previous']['one_minus_weight']:.2f}"))
say("expected: psi_P = delta_{r,0}|11> up to O(eps) (1 - weight of order eps^2), E_b = M_1+M_2+a+w11 up to O(eps^4)")
new["I5_j_zero"] = rows


def degenerate_check(p, P0, E0):
    """I2: a twofold bound level. On-site binding W0 = -G(E0,P0)^(-1) on span(|11>,|22>) (G of Step 6),
    diagonal on |12>,|21>; then 1 + G W0 vanishes on that span and E0 is a twofold level of H(P0)."""
    Gd = green_direct(E0, P0, p)
    blk = np.ix_([0, 3], [0, 3])
    W0 = np.diag([0.0, 0.15, -0.10, 0.0]).astype(complex)
    W0[blk] = -np.linalg.inv(Gd[blk])
    W0 = 0.5 * (W0 + W0.conj().T)
    par0 = dict(P=P0, M1=p["M1"], M2=p["M2"], tau1=p["tau1"], tau2=p["tau2"], theta=1.0)
    eta = 0.5

    def at(**kw):
        v = dict(par0)
        v.update(kw)
        pp = with_(p, M1=v["M1"], M2=v["M2"], tau1=v["tau1"], tau2=v["tau2"])
        E, X, ops = dense(v["P"], pp, L, eta=eta, W0=W0, theta=v["theta"])
        return E, X, ops, np.argsort(np.abs(E - E0))

    E, X, ops, idx = at()
    pair = idx[:2]
    Eb = float(E[pair].mean())
    Phi = X[:, pair]                                # orthonormal basis of the level, as returned by the solver
    rest = np.ones(len(E), bool)
    rest[pair] = False
    Veta = eta * ops["V1"] + (1 - eta) * ops["V2"]
    dH = dict(M1=ops["Z1"], M2=ops["Z2"], tau1=ops["A1"] / p["tau1"], tau2=ops["A2"] / p["tau2"], theta=ops["U"], P=Veta)
    amp = X[:, rest].conj().T @ (Veta @ Phi)
    h2P = Phi.conj().T @ ((-(eta ** 2) * ops["A1"] - (1 - eta) ** 2 * ops["A2"]) @ Phi) \
        - 2 * amp.conj().T @ (amp / (E[rest] - Eb)[:, None])      # second-order matrix of (11.24)
    steps = dict(P=HP, M1=HX * p["M1"], M2=HX * p["M2"], tau1=HX * p["tau1"], tau2=HX * p["tau2"], theta=HX)
    r_lab = np.repeat(np.arange(-L, L + 1), 4)
    out = dict(P0=P0, E0=E0, W0_block_11_22=np.real(W0[blk]).tolist(), level=Eb, splitting=float(abs(E[pair[0]] - E[pair[1]])),
               isolation=float(abs(E[idx[2]] - Eb)), tail=float(np.sum(np.abs(Phi[np.abs(r_lab) > L // 2]) ** 2)), xi={})
    bases = {}
    for xi, O in dH.items():
        h = Phi.conj().T @ (O @ Phi)
        e, c = np.linalg.eigh(h)
        second_order = bool(xi == "P" and abs(e[1] - e[0]) < 1e-8)
        if second_order:                             # equal first derivatives: branch vectors from the second order
            c = c @ np.linalg.eigh(c.conj().T @ h2P @ c)[1]
        B = Phi @ c                                  # branch vectors of the parameter xi
        bases[xi] = c
        vals, quality = {}, 1.0
        for s in (-2, -1, 1, 2):
            E_, X_, _, idx_ = at(**{xi: par0[xi] + s * steps[xi]})
            pr = idx_[:2]
            ov = np.abs(B.conj().T @ X_[:, pr]) ** 2          # [branch, eigenvector]
            j0 = int(np.argmax(ov[0]))
            vals[(0, s)], vals[(1, s)] = float(E_[pr[j0]]), float(E_[pr[1 - j0]])
            quality = min(quality, float(ov[0, j0]), float(ov[1, 1 - j0]))
        hh = steps[xi]
        res = dict(branch_overlap_min=quality, second_order_branches=second_order,
                   matrix_eigenvalues=[float(np.real(np.vdot(c[:, n], h @ c[:, n]))) for n in (0, 1)],
                   slopes_finite_difference=[(-vals[(n, 2)] + 8 * vals[(n, 1)] - 8 * vals[(n, -1)] + vals[(n, -2)]) / (12 * hh)
                                             for n in (0, 1)])
        res["max_abs_deviation"] = float(max(abs(a - b) for a, b in zip(res["matrix_eigenvalues"], res["slopes_finite_difference"])))
        if xi == "P":
            res["second_derivative_11_24"] = [float(np.real(np.vdot(c[:, n], h2P @ c[:, n]))) for n in (0, 1)]
            res["second_derivative_finite_difference"] = [
                (-vals[(n, 2)] + 16 * vals[(n, 1)] - 30 * Eb + 16 * vals[(n, -1)] - vals[(n, -2)]) / (12 * hh * hh) for n in (0, 1)]
            res["max_abs_deviation_second"] = float(max(abs(a - b) for a, b in zip(
                res["second_derivative_11_24"], res["second_derivative_finite_difference"])))
            # the term that (11.9) with Q_P = 1 - |psi><psi| would contain for the other vector of the level
            res["term_of_11_9_from_the_level"] = dict(numerator=float(abs(np.vdot(Phi[:, 1], Veta @ Phi[:, 0])) ** 2),
                                                      denominator=float(E[pair[1]] - E[pair[0]]))
        out["xi"][xi] = res
    # identities for every eigenvector of the level
    rng = np.random.default_rng(11)
    worst = dict(euler=0.0, V12=0.0, mean_rule=0.0)
    for _ in range(5):
        cc = rng.normal(size=2) + 1j * rng.normal(size=2)
        cc /= np.linalg.norm(cc)
        psi = Phi @ cc
        ex = lambda O: float(np.real(np.vdot(psi, O @ psi)))
        worst["euler"] = max(worst["euler"], abs(p["M1"] * ex(ops["Z1"]) + p["M2"] * ex(ops["Z2"]) + ex(ops["A1"])
                                                 + ex(ops["A2"]) + ex(ops["U"]) - Eb))
        worst["V12"] = max(worst["V12"], abs(ex(ops["V1"]) - ex(ops["V2"])))
        for xi in ("M1", "theta"):
            wts = np.abs(bases[xi].conj().T @ cc) ** 2
            worst["mean_rule"] = max(worst["mean_rule"], abs(ex(dH[xi]) - float(wts @ np.array(out["xi"][xi]["slopes_finite_difference"]))))
    out["every_eigenvector"] = dict(worst, norm_Pi_V1_minus_V2_Pi=float(np.linalg.norm(Phi.conj().T @ ((ops["V1"] - ops["V2"]) @ Phi))))
    # the branch vectors of different parameters
    out["overlap_of_branch_0_of_M1_with_branch_0_of"] = {xi: float(abs(np.vdot(bases["M1"][:, 0], bases[xi][:, 0])) ** 2)
                                                         for xi in dH if xi != "M1"}
    hU = Phi.conj().T @ (ops["U"] @ Phi)
    out["U_in_the_branch_vectors_of_M1"] = [float(np.real(np.vdot(bases["M1"][:, n], hU @ bases["M1"][:, n]))) for n in (0, 1)]
    return out


say("\n=== new in v2, I2: twofold bound levels (on-site binding W0 = -G(E0,P0)^(-1) on span(|11>,|22>))")
pX = dict(M1=1.0, M2=0.7, tau1=0.5, tau2=0.35, w=[0.0, 0.0, 0.0, 0.0])
deg = {}
for label, P0 in (("X_P0_0.3", 0.3), ("X_P0_0", 0.0)):
    o = degenerate_check(pX, P0, 1.0)
    deg[label] = o
    bd = {k: (round(v[0], 4), round(v[1], 4)) for k, v in bands(P0, pX).items()}
    say(f"set {label}: M = {pX['M1']}, {pX['M2']}; tau = {pX['tau1']}, {pX['tau2']}; P0 = {P0};"
        f" W0 on (11,22) = {np.round(o['W0_block_11_22'], 6).tolist()}; bands {bd}")
    say(f"  level {o['level']:.12f}, splitting of the two eigenvalues {o['splitting']:.2e}, distance to the next eigenvalue {o['isolation']:.4f},"
        f" weight at |r|>L/2 {o['tail']:.1e}")
    for xi, r in o["xi"].items():
        say(f"  {xi:5s}: eigenvalues of Pi dH Pi {r['matrix_eigenvalues'][0]:+.9f}, {r['matrix_eigenvalues'][1]:+.9f};"
            f" slopes of the branches (finite differences) {r['slopes_finite_difference'][0]:+.9f}, {r['slopes_finite_difference'][1]:+.9f};"
            f" max dev {r['max_abs_deviation']:.1e}; overlap with the branch vectors >= {r['branch_overlap_min']:.6f}"
            + ("; branch vectors from the second order" if r["second_order_branches"] else ""))
        if xi == "P":
            say(f"         E'' of the branches: (11.24) {r['second_derivative_11_24'][0]:+.8f}, {r['second_derivative_11_24'][1]:+.8f};"
                f" finite differences {r['second_derivative_finite_difference'][0]:+.8f}, {r['second_derivative_finite_difference'][1]:+.8f};"
                f" max dev {r['max_abs_deviation_second']:.1e}")
            t = r["term_of_11_9_from_the_level"]
            say(f"         (11.9) with Q_P = 1 - |psi><psi|, term of the other vector of the level in the basis of the solver:"
                f" |<psi'|V_eta|psi>|^2 = {t['numerator']:.3e} over E' - E = {t['denominator']:.3e}")
    ev = o["every_eigenvector"]
    say(f"  every eigenvector (5 random vectors of the level): residual of (11.6) {ev['euler']:.1e}; <V1> - <V2> {ev['V12']:.1e};"
        f" ||Pi (V1 - V2) Pi|| {ev['norm_Pi_V1_minus_V2_Pi']:.1e}; <dH> - weighted mean of the branch slopes (M1, theta) {ev['mean_rule']:.1e}")
    say("  |<branch 0 of M1 | branch 0 of xi>|^2: " + ", ".join(f"{k} {v:.4f}" for k, v in o["overlap_of_branch_0_of_M1_with_branch_0_of"].items()))
    say(f"  <U> in the two branch vectors of M1: {o['U_in_the_branch_vectors_of_M1'][0]:+.6f}, {o['U_in_the_branch_vectors_of_M1'][1]:+.6f}"
        f"  against the slopes of the branches of theta: {o['xi']['theta']['slopes_finite_difference'][0]:+.6f}, {o['xi']['theta']['slopes_finite_difference'][1]:+.6f}")
new["I2_degenerate"] = deg


def listing_check():
    """I1: C_bod = <chi|C|chi> of (11.21) on a small system given in the places (two bodies with a branch
    label on an open chain of 4 positions, a medium with 3 places)."""
    rng = np.random.default_rng(5)
    n, dc = 4, 3
    hop = np.eye(n, k=-1)

    def body(tau, M):
        return 0.5 * tau * (np.kron(hop, -1j * sx) + np.kron(hop.T, 1j * sx)) + M * np.kron(np.eye(n), sz)

    I8, Ic = np.eye(2 * n), np.eye(dc)
    xh = np.kron(np.diag(np.arange(n, dtype=float)), np.eye(2))
    C1, C2 = np.kron(body(0.6, 1.0), I8), np.kron(I8, body(0.45, 0.7))
    x12 = np.kron(xh, I8) + np.kron(I8, xh)
    U = np.zeros((64, 64))
    wv = np.array([[-0.5, 0.2], [-0.15, 0.3]])
    for x in range(n):
        for s1 in range(2):
            for s2 in range(2):
                i = (2 * x + s1) * 8 + 2 * x + s2
                U[i, i] = wv[s1, s2]
    Cpair = C1 + C2 + U
    Xr = rng.normal(size=(dc, dc)) + 1j * rng.normal(size=(dc, dc))
    Xr = 0.5 * (Xr + Xr.conj().T)
    chi = rng.normal(size=dc) + 1j * rng.normal(size=dc)
    chi /= np.linalg.norm(chi)
    mean = float(np.real(np.vdot(chi, Xr @ chi)))
    Xc = Xr - mean * Ic                               # <chi|Xc|chi> = 0
    phi = rng.normal(size=64) + 1j * rng.normal(size=64)
    phi /= np.linalg.norm(phi)
    alpha = np.kron(0.3 * np.kron(np.eye(n), sz) + 0.2 * np.eye(8), I8)             # h*sigma3 of b_1 and a constant
    beta = np.kron(I8, 0.25 * 0.5 * 0.45 * (np.kron(hop, -1j * sx) + np.kron(hop.T, 1j * sx)) - 0.1 * np.eye(8))

    def bod(C):
        return np.einsum("a,iajb,b->ij", chi.conj(), C.reshape(64, dc, 64, dc), chi)

    def evolve(G, v, lam):
        E, Y = np.linalg.eigh(G)
        return Y @ (np.exp(-1j * E * lam) * (Y.conj().T @ v))

    out, lam = dict(scan=[]), 3.0
    for kappa in (0.04, 0.02, 0.01):
        row = dict(kappa=kappa)
        for tag, Xm in (("centred", Xc), ("not_centred", Xr)):
            C = np.kron(Cpair, Ic) + kappa * np.kron(x12, Xm)                       # listing of the question
            CB = np.kron(Cpair - alpha - beta, Ic) + (kappa * np.kron(x12, Xm) + np.kron(alpha + beta, Ic))   # another listing
            Cbod = bod(C)
            Psi = evolve(C, np.kron(phi, chi), lam).reshape(64, dc)
            view = Psi @ Psi.conj().T
            proj = lambda v: np.outer(v, v.conj())
            row[tag] = dict(
                total_contract_listing_B_minus_A=float(np.linalg.norm(CB - C)),
                Cbod_listing_B_minus_A=float(np.linalg.norm(bod(CB) - Cbod)),
                Cbod_minus_listed_Cpair_A=float(np.linalg.norm(Cbod - Cpair)),
                Cbod_minus_listed_Cpair_A_minus_gradient=float(np.linalg.norm(
                    Cbod - Cpair - kappa * (mean if tag == "not_centred" else 0.0) * x12)),
                Cbod_minus_listed_Cpair_B=float(np.linalg.norm(Cbod - (Cpair - alpha - beta))),
                view_minus_evolution_by_Cbod=float(np.linalg.norm(view - proj(evolve(Cbod, phi, lam)))),
                view_minus_evolution_by_listed_Cpair_A=float(np.linalg.norm(view - proj(evolve(Cpair, phi, lam)))),
                view_minus_evolution_by_listed_Cpair_B=float(np.linalg.norm(view - proj(evolve(Cpair - alpha - beta, phi, lam)))))
        out["scan"].append(row)
    out["mean_of_X_not_centred"] = mean
    return out


say("\n=== new in v2, I1: the operator C_bod = <chi|C|chi> of (11.21), small system in the places (dimension 64 x 3)")
lc = listing_check()
say(f"listing A: the terms of the question; listing B: h*sigma3 of b_1, a constant and a part of the motion term of b_2 listed"
    f" in the record terms; <chi|X|chi> = {lc['mean_of_X_not_centred']:+.4f} for the medium that is not centred; lambda = 3")
for row in lc["scan"]:
    for tag in ("centred", "not_centred"):
        r = row[tag]
        say(f"kappa={row['kappa']:.3f} {tag:11s}: ||C_B - C_A|| {r['total_contract_listing_B_minus_A']:.1e};"
            f" ||C_bod(B) - C_bod(A)|| {r['Cbod_listing_B_minus_A']:.1e}; ||C_bod - C_pair(A)|| {r['Cbod_minus_listed_Cpair_A']:.3e}"
            f" (minus the gradient: {r['Cbod_minus_listed_Cpair_A_minus_gradient']:.1e}); ||C_bod - C_pair(B)|| {r['Cbod_minus_listed_Cpair_B']:.3f};"
            f" view against evolution by C_bod {r['view_minus_evolution_by_Cbod']:.3e}, by C_pair(A) {r['view_minus_evolution_by_listed_Cpair_A']:.3e},"
            f" by C_pair(B) {r['view_minus_evolution_by_listed_Cpair_B']:.3f}")
say("expected for halving kappa: the view against the evolution by C_bod falls by 4 (second order);"
    " by the listed C_pair(A) with a medium that is not centred it falls by 2")
new["I1_listing"] = lc
results["new_in_v2"] = new

# ---------------------------------------------------------------------------
# Part 3: checks of what is new in derivation v3
# ---------------------------------------------------------------------------
v3 = {}
NQ3 = 2 ** 15


def omega(M, tau, x):
    return np.sqrt(M * M + tau * tau * np.sin(x) ** 2)


def lead(P, p):
    """Leading order in R, (11.12), relative to M_1+M_2: the level x, its distance iso from the band
    and the band edge next to it (lower edge for w11 < 0, upper edge for w11 > 0)."""
    a1, a2 = p["tau1"] ** 2 / (4 * p["M1"]), p["tau2"] ** 2 / (4 * p["M2"])
    w = p["w"][0]
    sg = np.sign(w)
    j = np.sqrt(a1 * a1 + a2 * a2 + 2 * a1 * a2 * np.cos(2 * P))
    root = np.sqrt(w * w + j * j)
    return dict(a1=a1, a2=a2, a=a1 + a2, j=float(j), x=float(a1 + a2 + sg * root), iso=float(root - j),
                edge=float(a1 + a2 + sg * j))


def edge_rel(P, p, upper=False):
    """Exact edge of the band B_++(P) minus (M_1+M_2): the minimum (upper: the maximum) over q of
    (omega_1 - M_1) + (omega_2 - M_2), each difference formed without cancellation."""
    sgn = -1.0 if upper else 1.0

    def f(q):
        s1, s2 = p["tau1"] * np.sin(0.5 * P + q), p["tau2"] * np.sin(0.5 * P - q)
        return sgn * (s1 ** 2 / (np.sqrt(p["M1"] ** 2 + s1 ** 2) + p["M1"])
                      + s2 ** 2 / (np.sqrt(p["M2"] ** 2 + s2 ** 2) + p["M2"]))

    q = np.linspace(-np.pi, np.pi, 8001)
    k = int(np.argmin(f(q)))
    r = minimize_scalar(f, bounds=(q[max(k - 1, 0)], q[min(k + 1, 8000)]), method="bounded", options=dict(xatol=1e-13))
    return sgn * min(float(r.fun), float(f(q[k])))


def F_plus_rel(x, P, p, nq=NQ3):
    """The factor F_+ of (11.10) at E = M_1+M_2+x on the infinite chain (mean over nq values of q, eta = 1/2).
    The denominator of the (+,+) term is formed without cancellation:
    omega_1+omega_2-E = (omega_1-M_1)+(omega_2-M_2)-x."""
    q = -np.pi + 2 * np.pi * np.arange(nq) / nq
    s1, s2 = p["tau1"] * np.sin(0.5 * P + q), p["tau2"] * np.sin(0.5 * P - q)
    om1, om2 = np.sqrt(p["M1"] ** 2 + s1 ** 2), np.sqrt(p["M2"] ** 2 + s2 ** 2)
    G11 = G22 = gx = 0.0
    for sg1 in (1, -1):
        for sg2 in (1, -1):
            if sg1 == 1 and sg2 == 1:
                den = 4 * (s1 ** 2 / (om1 + p["M1"]) + s2 ** 2 / (om2 + p["M2"]) - x)
            else:
                den = 4 * (sg1 * om1 + sg2 * om2 - p["M1"] - p["M2"] - x)
            G11 += np.mean((1 + sg1 * p["M1"] / om1) * (1 + sg2 * p["M2"] / om2) / den)
            G22 += np.mean((1 - sg1 * p["M1"] / om1) * (1 - sg2 * p["M2"] / om2) / den)
            gx += np.mean(sg1 * sg2 * s1 * s2 / (om1 * om2 * den))
    w11, _, _, w22 = p["w"]
    return (1 + w11 * G11) * (1 + w22 * G22) - w11 * w22 * gx ** 2


def level_rel(P, p, nq=NQ3):
    """Bound level next to B_++(P) on the infinite chain, relative to M_1+M_2: the root x of F_+ below the
    lower edge (w11 < 0) or above the upper edge (w11 > 0). Returns (x, exact edge, leading-order values)."""
    up = p["w"][0] > 0
    e, ld = edge_rel(P, p, upper=up), lead(P, p)
    s = 1.0 if up else -1.0
    lo, hi = sorted((e + s * 0.02 * ld["iso"], e + s * 30 * ld["iso"]))
    f = lambda x: F_plus_rel(x, P, p, nq)
    if f(lo) * f(hi) > 0:
        return None, e, ld
    return float(brentq(f, lo, hi, xtol=1e-25, rtol=1e-15, maxiter=300)), e, ld


def scaled(base, epsp, w11_over_a):
    """Data of a set with tau_i -> epsp*tau_i, w11 = w11_over_a * a and the other three w -> epsp^2 * w."""
    p = with_(base, tau1=epsp * base["tau1"], tau2=epsp * base["tau2"])
    a = p["tau1"] ** 2 / (4 * p["M1"]) + p["tau2"] ** 2 / (4 * p["M2"])
    p["w"] = [w11_over_a * a] + [epsp ** 2 * x for x in base["w"][1:]]
    return p, a


def wide_scan(base, epsp, sign, us, h=0.01):
    """I3, wide pair at fixed epsilon: the level on the infinite chain from the root of F_+ of (11.10)."""
    rows = []
    for u in us:
        p, a = scaled(base, epsp, sign * u)
        w = p["w"][0]
        x0, e0, ld0 = level_rel(0.0, p)
        row = dict(eps_factor=epsp, sign=sign, u=u, w11=w, a=a, found=x0 is not None)
        if x0 is None:
            rows.append(row)
            continue
        iso = abs(x0 - e0)
        row.update(E_bind=x0, E_bind_leading=ld0["x"], isolation=iso, isolation_leading=ld0["iso"],
                   rel_dev_isolation=(iso - ld0["iso"]) / ld0["iso"], remainder=x0 - ld0["x"],
                   remainder_over_isolation=abs(x0 - ld0["x"]) / iso, rel_dev_E_bind=(x0 - ld0["x"]) / ld0["x"])
        if sign < 0:
            xs = {k: level_rel(k * h, p)[0] for k in (-2, -1, 1, 2)}
            Epp = (-xs[2] + 16 * xs[1] - 30 * x0 + 16 * xs[-1] - xs[-2]) / (12 * h * h)
            Epp_lead = 4 * ld0["a1"] * ld0["a2"] / np.sqrt(w * w + a * a)
            m1, m2 = p["M1"] / p["tau1"] ** 2, p["M2"] / p["tau2"] ** 2
            dm, fn = 1.0 / Epp - m1 - m2, (m1 + m2) * (np.sqrt(1 + u * u) - 1)
            x1, e1, ld1 = level_rel(0.5 * np.pi, p)
            row.update(wide_form=-w * w / (2 * a), rel_dev_wide_form=(x0 + w * w / (2 * a)) / x0,
                       Epp0=Epp, rel_dev_Epp0=float((Epp - Epp_lead) / Epp_lead),
                       mb_minus_m1_m2=dm, minus_4_m1_m2_E_bind=-4 * m1 * m2 * x0,
                       rel_dev_11_16=(dm + 4 * m1 * m2 * x0) / dm, leading_function=float(fn),
                       rel_dev_leading_function=float((dm - fn) / fn),
                       P_half_pi=dict(isolation=e1 - x1, isolation_leading=ld1["iso"], remainder=x1 - ld1["x"],
                                      remainder_over_isolation=abs(x1 - ld1["x"]) / (e1 - x1),
                                      closed_form_minus_exact_edge=ld1["x"] - e1))
        else:
            row.update(E_bind_minus_2a=x0 - 2 * a, w2_over_2a=w * w / (2 * a))
        rows.append(row)
    return rows


def tight_scan(base, epsp, us):
    """I3, tight pair at fixed epsilon: dense diagonalization at P = 0 against the leading-order forms."""
    rows = []
    for u in us:
        p, a = scaled(base, epsp, -u)
        w = p["w"][0]
        o, c = solve_full(0.0, p, L), closed(0.0, p)
        r = abs(w) / min(p["M1"], p["M2"])
        X, Xl, Xt = o["E"] - p["M1"] - p["M2"] - w, float(c["Ebind"]) - w, a + a * a / (2 * w)
        rows.append(dict(eps_factor=epsp, u=u, w11=w, w11_over_M=r,
                         in_a_band=any(lo <= o["E"] <= hi for lo, hi in bands(0.0, p).values()),
                         weight0=o["weight0"], tail=o["tail"], E_bind_minus_w11=[X, Xl, Xt],
                         rel_dev_leading=(X - Xl) / Xl, rel_dev_tight_form=(X - Xt) / X,
                         rel_dev_Epp0=float((o["Epp_formula"] - c["Epp0"]) / c["Epp0"]),
                         rel_dev_1_minus_s3=[float(((1 - o[k]) - (1 - c[k])) / (1 - c[k])) for k in ("s3_1", "s3_2")]))
    return rows


say("\n=== new in v3, I3: wide pair at fixed epsilon (data of set B_unequal_R, w11 = -u*a or +u*a, the other three w fixed)")
say(f"level on the infinite chain: root of F_+ of (11.10), mean over {NQ3} values of q; x = E_b - (M_1+M_2);"
    " E_b''(0) from 5-point differences of the roots, step 0.01")
say("cross-check of the root against the dense diagonalization (L = 120), eps' = 1:")
cross = []
for sign, u in ((-1, 1.0), (-1, 0.5), (1, 1.0), (1, 0.5)):
    p, a = scaled(SETS["B_unequal_R"], 1.0, sign * u)
    d = level_rel(0.0, p)[0] - (solve_full(0.0, p, L)["E"] - p["M1"] - p["M2"])
    cross.append(dict(sign=sign, u=u, root_minus_dense=d))
    say(f"  sign {sign:+d}, u = {u}: root - dense = {d:+.2e}")
v3["I3_root_against_dense"] = cross
US_WIDE = (2.0, 1.0, 0.5, 0.25, 0.125, 0.0625, 0.03125, 0.015625, 0.0078125)
wide = []
for epsp in (1.0, 0.5):
    eps_ = epsp * max(SETS["B_unequal_R"]["tau1"] / SETS["B_unequal_R"]["M1"], SETS["B_unequal_R"]["tau2"] / SETS["B_unequal_R"]["M2"])
    say(f"eps' = {epsp} (max tau_i/M_i = {eps_:.2f}), w11 < 0, level below the band:")
    rows = wide_scan(SETS["B_unequal_R"], epsp, -1, US_WIDE)
    for r in rows:
        if not r["found"]:
            say(f"  u={r['u']:9.6f}: no root found")
            continue
        q = r["P_half_pi"]
        say(f"  u={r['u']:9.6f} eps^2/u^2={eps_ ** 2 / r['u'] ** 2:9.3e}  P=0: isolation {r['isolation']:.4e}, remainder x-(11.12) {r['remainder']:+.3e}"
            f" (over isolation {r['remainder_over_isolation']:.2e}), rel.dev E_bind {r['rel_dev_E_bind']:+.2e}, wide form {r['rel_dev_wide_form']:+.2e},"
            f" E_b''(0) {r['rel_dev_Epp0']:+.2e}; m_b-(m_1+m_2) = {r['mb_minus_m1_m2']:.6e} against -4 m_1 m_2 E_bind (rel.dev {r['rel_dev_11_16']:+.2e})"
            f" and the leading function (rel.dev {r['rel_dev_leading_function']:+.2e});  P=pi/2: isolation {q['isolation']:.4e},"
            f" remainder {q['remainder']:+.3e} (over isolation {q['remainder_over_isolation']:.2e}), (11.12) minus the exact edge {q['closed_form_minus_exact_edge']:+.3e}")
    wide += rows
    say(f"eps' = {epsp}, w11 > 0, level above the band, P = 0:")
    rows = wide_scan(SETS["B_unequal_R"], epsp, 1, US_WIDE)
    for r in rows:
        if not r["found"]:
            say(f"  u={r['u']:9.6f}: no root found")
            continue
        say(f"  u={r['u']:9.6f} eps^2/u^2={eps_ ** 2 / r['u'] ** 2:9.3e}  isolation {r['isolation']:.4e} (leading {r['isolation_leading']:.4e},"
            f" rel.dev {r['rel_dev_isolation']:+.2e}), remainder x-(11.12) {r['remainder']:+.3e} (over isolation {r['remainder_over_isolation']:.2e}),"
            f" E_bind-2a = {r['E_bind_minus_2a']:+.4e} against w11^2/(2a) = {r['w2_over_2a']:.4e}")
    wide += rows
say("reading: (11.30) is sufficient, not necessary. Below the band at P = 0 the remainder stays far below the isolation for"
    " every u (the lower edge at P = 0 is exactly M_1+M_2); at P = pi/2 and above the band it tends to a constant of order"
    " eps^4 and exceeds the isolation for u of the order of eps")
v3["I3_wide"] = wide

say("\n=== new in v3, I3: tight pair at fixed epsilon (set B_unequal_R, w11 = -u*a), dense diagonalization, L = 120, P = 0")
tight = []
for epsp in (1.0, 0.5):
    rows = tight_scan(SETS["B_unequal_R"], epsp, (2, 4, 8, 16, 32, 64, 128))
    for r in rows:
        say(f"  eps'={epsp} u={r['u']:4d} w11={r['w11']:+.4f} |w11|/min M = {r['w11_over_M']:.4f} in a band: {r['in_a_band']}"
            f" weight(r=0,11)={r['weight0']:.4f}  E_bind-w11 = {r['E_bind_minus_w11'][0]:.6e}: rel.dev from the leading form {r['rel_dev_leading']:+.3e}"
            f" (= {r['rel_dev_leading'] / r['w11_over_M']:+.3f} |w11|/M), from the tight form a+a^2/(2w) {r['rel_dev_tight_form']:+.3e};"
            f" rel.dev E_b''(0) {r['rel_dev_Epp0']:+.3e} (= {r['rel_dev_Epp0'] / r['w11_over_M']:+.3f} |w11|/M);"
            f" rel.dev 1-<sigma3_i> {r['rel_dev_1_minus_s3'][0]:+.3e}, {r['rel_dev_1_minus_s3'][1]:+.3e}")
    tight += rows
say("reading: at fixed epsilon the relative remainders of the leading forms grow in proportion to |w11|/M; the forms fail for |w11| of order M")
v3["I3_tight"] = tight


def flat_member(M=1.0, tau=1.0, w=1.0, Lf=240):
    """I2: equal data and the on-site binding W0 = w |v><v| with v = (|11> - |22>)/sqrt(2) (not diagonal).
    The bound levels outside the bands solve 1 + w <v|G(E,P)|v> = 0 (Step 6 with this W0)."""
    p = dict(M1=M, M2=M, tau1=tau, tau2=tau, w=[0.0, 0.0, 0.0, 0.0])
    v = np.array([1.0, 0.0, 0.0, -1.0]) / np.sqrt(2)
    W0 = w * np.outer(v, v)

    def Delta(P):
        """Upper end of the mixed bands [-Delta, Delta]: max over q of omega(P/2+q) - omega(P/2-q)."""
        f = lambda q: -(omega(M, tau, 0.5 * P + q) - omega(M, tau, 0.5 * P - q))
        q = np.linspace(-np.pi, np.pi, 8001)
        k = int(np.argmin(f(q)))
        r = minimize_scalar(f, bounds=(q[max(k - 1, 0)], q[min(k + 1, 8000)]), method="bounded", options=dict(xatol=1e-13))
        return -min(float(r.fun), float(f(q[k])))

    def gv(E, P, nq):
        G, gx = green(E, P, p, nq=nq)
        return 0.5 * (G[(1, 1)] + G[(2, 2)]) - gx

    def root_above(P, nq):
        D = Delta(P)
        f = lambda E: 1 + w * gv(E, P, nq)
        offs = D * np.logspace(-10, 0, 81)
        vals = np.array([f(D + o) for o in offs])
        k = np.where((vals[:-1] < 0) & (vals[1:] > 0))[0]
        below = np.array([f(-D - o) for o in offs])
        nb = int(np.sum(below[:-1] * below[1:] < 0))
        if len(k) == 0:
            return None, D, 0, nb
        return float(brentq(f, D + offs[k[0]], D + offs[k[0] + 1], xtol=1e-16, rtol=1e-15)), D, int(len(k)), nb

    out = dict(M=M, tau=tau, w=w, c_star=float(np.sqrt(M * M + tau * tau) - M), L=Lf, P=[])
    wt = 0.0                                         # weight of v on the kernel of h_0(q) (the flat bands at P = 0)
    for q in np.linspace(-np.pi, np.pi, 721):
        e, x = np.linalg.eigh(-tau * np.sin(q) * SX1 + tau * np.sin(q) * SX2 + M * SZ1 + M * SZ2)
        wt = max(wt, float(np.sum(np.abs(x[:, np.abs(e) < 1e-9].conj().T @ v) ** 2)))
    out["max_weight_of_v_on_the_flat_bands_at_P0"] = wt
    for P in (0.8, 0.4, 0.2, 0.1, 0.05, -0.2):
        r1, D, n1, nb = root_above(P, 2 ** 15)
        r2 = root_above(P, 2 ** 17)[0]
        row = dict(P=P, Delta=D, sign_changes_above=n1, sign_changes_below=nb, root=r1, root_finer_q=r2)
        if r1 is not None:
            row.update(root_minus_Delta=r1 - D, root_minus_Delta_over_P3=(r1 - D) / abs(P) ** 3, root_over_P=r1 / abs(P))
        out["P"].append(row)
    f0 = lambda E: 1 + w * gv(E, 0.0, 2 ** 15)
    out["P0_discrete_root"] = float(brentq(f0, -2 * M + 1e-6, -1e-6))
    out["P0_equation_at_plus_minus_0.3"] = [float(f0(0.3)), float(f0(-0.3))]
    rr = np.repeat(np.arange(-Lf, Lf + 1), 4)
    vec0 = np.concatenate([np.zeros(4 * Lf), v, np.zeros(4 * Lf)])
    out["dense"] = []
    for P in (0.8, 0.4):
        E, X, _ = dense(P, p, Lf, W0=W0)
        root, D = root_above(P, 2 ** 15)[:2]
        i = int(np.argmin(np.abs(E - root)))
        out["dense"].append(dict(P=P, E=float(E[i]), E_minus_root=float(E[i] - root),
                                 tail=float(np.sum(np.abs(X[np.abs(rr) > Lf // 2, i]) ** 2)),
                                 weight_on_v_at_r0=float(abs(np.vdot(vec0, X[:, i])) ** 2),
                                 next_below=float(E[i - 1]), next_above=float(E[i + 1]),
                                 eigenvalues_between_Delta_and_1=int(np.sum((E > D + 1e-12) & (E < 1.0))),
                                 eigenvalues_between_minus_1_and_minus_Delta=int(np.sum((E < -D - 1e-12) & (E > -1.0)))))
    E, X, _ = dense(0.0, p, Lf, W0=W0)
    zero = np.abs(E) < 1e-9
    rest = E[~zero]
    out["dense_P0"] = dict(dimension=int(len(E)), eigenvalues_at_zero=int(np.sum(zero)), two_times_sites=int(2 * (2 * Lf + 1)),
                           max_abs_of_them=float(np.max(np.abs(E[zero]))), nearest_other_eigenvalue=float(rest[np.argmin(np.abs(rest))]))
    return out


say("\n=== new in v3, I2: equal data, on-site binding W0 = w |v><v|, v = (|11> - |22>)/sqrt(2): the flat point of the mixed bands")
fm = flat_member()
say(f"M_1 = M_2 = {fm['M']}, tau_1 = tau_2 = {fm['tau']}, w = {fm['w']}; c* = Omega - M = {fm['c_star']:.6f};"
    f" largest weight of v on the flat bands at P = 0 over q: {fm['max_weight_of_v_on_the_flat_bands_at_P0']:.1e}")
for r in fm["P"]:
    if r["root"] is None:
        say(f"  P={r['P']:+.2f}: mixed bands [-{r['Delta']:.10f}, {r['Delta']:.10f}]; no root above")
        continue
    say(f"  P={r['P']:+.2f}: mixed bands [-Delta, Delta], Delta = {r['Delta']:.10f}; root of 1 + w g_v above them: E = {r['root']:.12f}"
        f" (finer q grid: {r['root_finer_q']:.12f}); E - Delta = {r['root_minus_Delta']:.4e} = {r['root_minus_Delta_over_P3']:.4e} |P|^3;"
        f" E/|P| = {r['root_over_P']:.6f}; sign changes above: {r['sign_changes_above']}, below -Delta: {r['sign_changes_below']}")
for r in fm["dense"]:
    say(f"  dense, L = {fm['L']}, P={r['P']:+.2f}: eigenvalue {r['E']:.12f}, minus the root {r['E_minus_root']:+.1e}; weight at |r|>L/2 {r['tail']:.1e};"
        f" weight on (r=0, v) {r['weight_on_v_at_r0']:.4f}; neighbours {r['next_below']:.8f}, {r['next_above']:.8f};"
        f" eigenvalues in (Delta, 1): {r['eigenvalues_between_Delta_and_1']}, in (-1, -Delta): {r['eigenvalues_between_minus_1_and_minus_Delta']}")
d0 = fm["dense_P0"]
say(f"  dense, L = {fm['L']}, P=0: dimension {d0['dimension']}; eigenvalues with |E| < 1e-9: {d0['eigenvalues_at_zero']}"
    f" (2 x number of r: {d0['two_times_sites']}), largest of them {d0['max_abs_of_them']:.1e}; nearest other eigenvalue"
    f" {d0['nearest_other_eigenvalue']:+.8f}; root of 1 + w g_v(E,0): {fm['P0_discrete_root']:+.8f};"
    f" 1 + w g_v(E,0) at E = +0.3, -0.3: {fm['P0_equation_at_plus_minus_0.3'][0]:.4f}, {fm['P0_equation_at_plus_minus_0.3'][1]:.4f}")
say("reading: for P != 0 one simple eigenvalue lies just above the mixed bands and tends to 0 as c*|P|; at P = 0 the value 0 is the"
    " flat point (infinite multiplicity on the infinite chain), isolated from the rest of the spectrum")
v3["I2_flat_member"] = fm
results["new_in_v3"] = v3
say(f"\nrun time: {time.time() - T_START:.0f} s")

(OUT / "check_bound_pair.json").write_text(json.dumps(results, indent=1), encoding="utf-8")
(OUT / "check_bound_pair.txt").write_text("\n".join(lines) + "\n", encoding="utf-8")
output/check_bound_pair.json104 KB · raw
{
 "A_equal_R": {
  "params": {
   "M1": 1.0,
   "M2": 1.0,
   "tau1": 0.1,
   "tau2": 0.1,
   "w": [
    -0.004,
    0.003,
    -0.002,
    0.006
   ]
  },
  "P": {
   "-0.30": {
    "E": 1.9987717488829717,
    "isolation": 0.0014515562051098385,
    "inside_band": false,
    "weight0": 0.6407883806399609,
    "Gamma": 0.999999999999998,
    "tail": 5.284034866971501e-21,
    "conv_2L": 1.7763568394002505e-15,
    "eta_dependence": 1.3322676295501878e-15,
    "dense_minus_banded": 1.7763568394002505e-15,
    "dM1": [
     0.9993304952485663,
     0.9993304952496843
    ],
    "dM2": [
     0.9993304952487698,
     0.9993304952496843
    ],
    "dtau1": [
     0.00133695523152344,
     0.0013369552328886952
    ],
    "dtau2": [
     0.0013369552324301222,
     0.0013369552328886957
    ],
    "dtheta": [
     -0.002563152083005319,
     -0.0025631520821777784
    ],
    "euler_residual": -3.552713678800501e-15,
    "Ep": [
     -0.0011330902868311732,
     -0.0011330902852397778,
     -0.0011330902852397784
    ],
    "Epp": [
     0.003517649173797229,
     0.003517649188281665
    ],
    "green_rel_error": 1.477928061095734e-15,
    "eq_3a_root": 1.9987717488829722,
    "eq_3a_root_minus_E": 4.440892098500626e-16,
    "closed_E": 1.9987696954178489,
    "closed_Ep": -0.0011328548748095464
   },
   "-0.15": {
    "E": 1.998642641791647,
    "isolation": 0.001413502030640723,
    "inside_band": false,
    "weight0": 0.6277890046358329,
    "Gamma": 0.9999999999999988,
    "tail": 2.0431024738666595e-20,
    "conv_2L": 1.1102230246251565e-15,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.9994210796151296,
     0.9994210796154035
    ],
    "dM2": [
     0.9994210796141489,
     0.9994210796154035
    ],
    "dtau1": [
     0.0011558185154155372,
     0.0011558185156420253
    ],
    "dtau2": [
     0.0011558185155265595,
     0.0011558185156420257
    ],
    "dtheta": [
     -0.002511154470604312,
     -0.0025111544704462543
    ],
    "euler_residual": -2.4424906541753444e-15,
    "Ep": [
     -0.0005810445112145828,
     -0.0005810445103634665,
     -0.0005810445103634664
    ],
    "Epp": [
     0.003809572070948934,
     0.003809572065239796
    ],
    "green_rel_error": 5.00221778057326e-15,
    "eq_3a_root": 1.9986426417916472,
    "eq_3a_root_minus_E": 2.220446049250313e-16,
    "closed_E": 1.9986406206187968,
    "closed_Ep": -0.0005808746989030781
   },
   "+0.00": {
    "E": 1.9985988835265178,
    "isolation": 0.001401116473482178,
    "inside_band": false,
    "weight0": 0.6235021151130774,
    "Gamma": 1.0000000000000004,
    "tail": 3.165361573386918e-20,
    "conv_2L": 1.9984014443252818e-15,
    "eta_dependence": 2.4424906541753444e-15,
    "dense_minus_banded": 2.4424906541753444e-15,
    "dM1": [
     0.9994515458613776,
     0.9994515458612895
    ],
    "dM2": [
     0.9994515458604895,
     0.9994515458612895
    ],
    "dtau1": [
     0.0010948993396930893,
     0.0010948993396561516
    ],
    "dtau2": [
     0.0010948993404887493,
     0.0010948993396561516
    ],
    "dtheta": [
     -0.0024940068755567126,
     -0.0024940068753713397
    ],
    "euler_residual": 1.9984014443252818e-15,
    "Ep": [
     1.8503717077085944e-15,
     7.893878378888825e-21,
     -2.053590192312075e-20
    ],
    "Epp": [
     0.003905596114480344,
     0.003905596125007126
    ],
    "green_rel_error": 6.252772106673449e-15,
    "eq_3a_root": 1.9985988835265194,
    "eq_3a_root_minus_E": 1.5543122344752192e-15,
    "closed_E": 1.998596875762567,
    "closed_Ep": 0.0
   },
   "+0.15": {
    "E": 1.9986426417916483,
    "isolation": 0.0014135020306393908,
    "inside_band": false,
    "weight0": 0.6277890046357715,
    "Gamma": 0.9999999999999984,
    "tail": 2.043102670676963e-20,
    "conv_2L": 8.881784197001252e-16,
    "eta_dependence": 1.3322676295501878e-15,
    "dense_minus_banded": 2.220446049250313e-16,
    "dM1": [
     0.9994210796155922,
     0.9994210796154032
    ],
    "dM2": [
     0.9994210796144635,
     0.9994210796154032
    ],
    "dtau1": [
     0.001155818514656885,
     0.0011558185156417791
    ],
    "dtau2": [
     0.001155818515360026,
     0.0011558185156417796
    ],
    "dtheta": [
     -0.0025111544695496,
     -0.002511154470446009
    ],
    "euler_residual": -4.218847493575595e-15,
    "Ep": [
     0.0005810445112719442,
     0.0005810445103635037,
     0.0005810445103635038
    ],
    "Epp": [
     0.003809572049299585,
     0.0038095720652400445
    ],
    "green_rel_error": 1.1937110612725393e-14,
    "eq_3a_root": 1.9986426417916472,
    "eq_3a_root_minus_E": -1.1102230246251565e-15,
    "closed_E": 1.9986406206187968,
    "closed_Ep": 0.0005808746989030781
   },
   "+0.30": {
    "E": 1.9987717488829717,
    "isolation": 0.0014515562051098385,
    "inside_band": false,
    "weight0": 0.6407883806399609,
    "Gamma": 0.999999999999998,
    "tail": 5.284034866971501e-21,
    "conv_2L": 1.7763568394002505e-15,
    "eta_dependence": 1.3322676295501878e-15,
    "dense_minus_banded": 1.7763568394002505e-15,
    "dM1": [
     0.9993304952485663,
     0.9993304952496843
    ],
    "dM2": [
     0.9993304952487698,
     0.9993304952496843
    ],
    "dtau1": [
     0.00133695523152344,
     0.0013369552328886952
    ],
    "dtau2": [
     0.0013369552324301222,
     0.0013369552328886957
    ],
    "dtheta": [
     -0.002563152083005319,
     -0.0025631520821777784
    ],
    "euler_residual": -3.552713678800501e-15,
    "Ep": [
     0.0011330902868274726,
     0.0011330902852397778,
     0.0011330902852397784
    ],
    "Epp": [
     0.003517649173427155,
     0.003517649188281665
    ],
    "green_rel_error": 1.477928061095734e-15,
    "eq_3a_root": 1.9987717488829722,
    "eq_3a_root_minus_E": 4.440892098500626e-16,
    "closed_E": 1.9987696954178489,
    "closed_Ep": 0.0011328548748095464
   }
  },
  "max_abs_deviation": {
   "dM": 1.2545520178264269e-12,
   "dtau": 1.3652551311693628e-12,
   "dtheta": 8.964088152318972e-13,
   "euler": 4.218847493575595e-15,
   "V1": 1.5913954182211754e-12,
   "V2": 1.5913947676998719e-12,
   "V12": 6.505213034913027e-19,
   "Epp": 1.5940459455882072e-11,
   "eq310": 1.5543122344752192e-15,
   "green": 1.1937110612725393e-14,
   "conv": 1.9984014443252818e-15,
   "tail": 3.165361573386918e-20,
   "eta": 2.4424906541753444e-15,
   "solvers": 2.4424906541753444e-15,
   "closed_E": 2.0534651228309997e-06,
   "closed_Ep": 2.3541202162679145e-07
  },
  "closed_forms_P0": {
   "u": 0.7999999999999998,
   "a": 0.005000000000000001,
   "eps2": 0.010000000000000002,
   "compare": {
    "s3_1": [
     0.9994515458612895,
     0.9994521720236076
    ],
    "s3_2": [
     0.9994515458612895,
     0.9994521720236076
    ],
    "A1": [
     0.0010948993396561516,
     0.0010956559527848483
    ],
    "A2": [
     0.0010948993396561516,
     0.0010956559527848483
    ],
    "U": [
     -0.0024940068753713397,
     -0.002498780190217697
    ],
    "Ebind": [
     -0.001401116473482178,
     -0.001403124237432848
    ],
    "Epp0": [
     0.003905596125007126,
     0.0039043440472151534
    ]
   },
   "item4": {
    "mb_over_m1_plus_m2": [
     1.2802142976293736,
     1.2806248474865696
    ],
    "mb_minus_m1_m2": [
     56.042859525874704,
     56.044658939287096
    ]
   },
   "max_dE_over_P": 2.0534651228309997e-06,
   "max_dEp_over_P": 2.3541202162679145e-07,
   "rel_dev_Epp0": 0.0003206883862772754
  }
 },
 "B_unequal_R": {
  "params": {
   "M1": 1.0,
   "M2": 1.7,
   "tau1": 0.2,
   "tau2": 0.12,
   "w": [
    -0.01,
    0.005,
    -0.004,
    0.008
   ]
  },
  "P": {
   "-0.30": {
    "E": 2.696652071451656,
    "isolation": 0.0036570933737110067,
    "inside_band": false,
    "weight0": 0.6441146800209665,
    "Gamma": 1.0000000000000004,
    "tail": 3.542800658530355e-21,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 1.7763568394002505e-15,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.9975918168031079,
     0.9975918168041218
    ],
    "dM2": [
     0.9995873147538702,
     0.9995873147536779
    ],
    "dtau1": [
     0.004803847817314022,
     0.00480384781574927
    ],
    "dtau2": [
     0.0013991144944084746,
     0.0013991144950698544
    ],
    "dtheta": [
     -0.0064411427438404445,
     -0.006441142744538554
    ],
    "euler_residual": -1.3322676295501878e-15,
    "Ep": [
     -0.0015461338158921183,
     -0.0015461338167275206,
     -0.001546133816727594
    ],
    "Epp": [
     0.004673250563932049,
     0.004673250556180512
    ],
    "green_rel_error": 4.277464579962843e-14,
    "eq_3a_root": 2.6966520714516546,
    "eq_3a_root_minus_E": -1.3322676295501878e-15,
    "closed_E": 2.6966438039739637,
    "closed_Ep": -0.001545464131327247
   },
   "-0.15": {
    "E": 2.696475088076594,
    "isolation": 0.0036032185712131515,
    "inside_band": false,
    "weight0": 0.6368363628390621,
    "Gamma": 1.0000000000000004,
    "tail": 7.638554699665447e-21,
    "conv_2L": 3.1086244689504383e-15,
    "eta_dependence": 6.217248937900877e-15,
    "dense_minus_banded": 2.6645352591003757e-15,
    "dM1": [
     0.9976817346970904,
     0.9976817346985778
    ],
    "dM2": [
     0.9996814413248957,
     0.9996814413234609
    ],
    "dtau1": [
     0.004623913755182525,
     0.004623913756321769
    ],
    "dtau2": [
     0.0010793486492725415,
     0.0010793486503045025
    ],
    "dtheta": [
     -0.0063683592788447525,
     -0.006368359278489002
    ],
    "euler_residual": 4.440892098500626e-15,
    "Ep": [
     -0.0008001290118316481,
     -0.0008001290122026834,
     -0.0008001290122026873
    ],
    "Epp": [
     0.005213784762444126,
     0.0052137847511406704
    ],
    "green_rel_error": 4.220620971804914e-14,
    "eq_3a_root": 2.696475088076597,
    "eq_3a_root_minus_E": 3.1086244689504383e-15,
    "closed_E": 2.6964669046101912,
    "closed_Ep": -0.0007997160499104646
   },
   "+0.00": {
    "E": 2.696414739676969,
    "isolation": 0.003585260323031303,
    "inside_band": false,
    "weight0": 0.6343920873760741,
    "Gamma": 1.0000000000000007,
    "tail": 9.860552537011425e-21,
    "conv_2L": 2.6645352591003757e-15,
    "eta_dependence": 3.552713678800501e-15,
    "dense_minus_banded": 3.552713678800501e-15,
    "dM1": [
     0.9977123894775822,
     0.9977123894767301
    ],
    "dM2": [
     0.9997133235958366,
     0.9997133235960436
    ],
    "dtau1": [
     0.004562573288698542,
     0.0045625732893821835
    ],
    "dtau2": [
     0.0009710432199439011,
     0.0009710432203219463
    ],
    "dtheta": [
     -0.006343916422883271,
     -0.006343916422741831
    ],
    "euler_residual": -2.6645352591003757e-15,
    "Ep": [
     1.1102230246251565e-14,
     -1.752348181816857e-19,
     3.6871916661879243e-20
    ],
    "Epp": [
     0.005394417406471656,
     0.005394417424747923
    ],
    "green_rel_error": 4.0500907564219975e-14,
    "eq_3a_root": 2.696414739676964,
    "eq_3a_root_minus_E": -4.884981308350689e-15,
    "closed_E": 2.6964065882071035,
    "closed_Ep": 0.0
   },
   "+0.15": {
    "E": 2.696475088076594,
    "isolation": 0.0036032185712131515,
    "inside_band": false,
    "weight0": 0.6368363628390621,
    "Gamma": 1.0000000000000004,
    "tail": 7.638554699665447e-21,
    "conv_2L": 3.1086244689504383e-15,
    "eta_dependence": 6.217248937900877e-15,
    "dense_minus_banded": 2.6645352591003757e-15,
    "dM1": [
     0.9976817346970904,
     0.9976817346985778
    ],
    "dM2": [
     0.9996814413248957,
     0.9996814413234609
    ],
    "dtau1": [
     0.004623913755182525,
     0.004623913756321769
    ],
    "dtau2": [
     0.0010793486492725415,
     0.0010793486503045025
    ],
    "dtheta": [
     -0.0063683592788447525,
     -0.006368359278489002
    ],
    "euler_residual": 4.440892098500626e-15,
    "Ep": [
     0.0008001290118538525,
     0.0008001290122026834,
     0.0008001290122026873
    ],
    "Epp": [
     0.005213784763184274,
     0.0052137847511406704
    ],
    "green_rel_error": 3.950614916369572e-14,
    "eq_3a_root": 2.696475088076597,
    "eq_3a_root_minus_E": 3.1086244689504383e-15,
    "closed_E": 2.6964669046101912,
    "closed_Ep": 0.0007997160499104646
   },
   "+0.30": {
    "E": 2.696652071451656,
    "isolation": 0.0036570933737110067,
    "inside_band": false,
    "weight0": 0.6441146800209665,
    "Gamma": 1.0000000000000004,
    "tail": 3.542800658530355e-21,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 1.7763568394002505e-15,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.9975918168031079,
     0.9975918168041218
    ],
    "dM2": [
     0.9995873147538702,
     0.9995873147536779
    ],
    "dtau1": [
     0.004803847817314022,
     0.00480384781574927
    ],
    "dtau2": [
     0.0013991144944084746,
     0.0013991144950698544
    ],
    "dtheta": [
     -0.0064411427438404445,
     -0.006441142744538554
    ],
    "euler_residual": -1.3322676295501878e-15,
    "Ep": [
     0.0015461338158773152,
     0.0015461338167275206,
     0.001546133816727594
    ],
    "Epp": [
     0.004673250560231305,
     0.004673250556180512
    ],
    "green_rel_error": 4.2348320426210185e-14,
    "eq_3a_root": 2.6966520714516546,
    "eq_3a_root_minus_E": -1.3322676295501878e-15,
    "closed_E": 2.6966438039739637,
    "closed_Ep": 0.001545464131327247
   }
  },
  "max_abs_deviation": {
   "dM": 1.4873657860903222e-12,
   "dtau": 1.5647518003536476e-12,
   "dtheta": 6.981091052460364e-13,
   "euler": 4.440892098500626e-15,
   "V1": 8.502053228109929e-13,
   "V2": 8.502788317182874e-13,
   "V12": 7.35089072945172e-17,
   "Epp": 1.8276266784689188e-11,
   "eq310": 4.884981308350689e-15,
   "green": 4.277464579962843e-14,
   "conv": 3.1086244689504383e-15,
   "tail": 9.860552537011425e-21,
   "eta": 6.217248937900877e-15,
   "solvers": 3.552713678800501e-15,
   "closed_E": 8.267477692225356e-06,
   "closed_Ep": 6.69684564871386e-07
  },
  "closed_forms_P0": {
   "u": 0.8252427184466018,
   "a": 0.012117647058823532,
   "eps2": 0.04000000000000001,
   "compare": {
    "s3_1": [
     0.9977123894767301,
     0.997712813740429
    ],
    "s3_2": [
     0.9997133235960436,
     0.9997150909849669
    ],
    "A1": [
     0.0045625732893821835,
     0.004574372519142084
    ],
    "A2": [
     0.0009710432203219463,
     0.0009686906511124409
    ],
    "U": [
     -0.006343916422741831,
     -0.0063649433780238966
    ],
    "Ebind": [
     -0.003585260323031081,
     -0.003593411792896635
    ],
    "Epp0": [
     0.005394417424747923,
     0.005391481449620242
    ]
   },
   "item4": {
    "mb_over_m1_plus_m2": [
     1.295838032493856,
     1.2965436916468096
    ],
    "mb_minus_m1_m2": [
     42.321274092871064,
     42.32598992467248
    ]
   },
   "max_dE_over_P": 8.267477692225356e-06,
   "max_dEp_over_P": 6.69684564871386e-07,
   "rel_dev_Epp0": 0.0005445581432701723
  }
 },
 "C_above_band_R": {
  "params": {
   "M1": 1.0,
   "M2": 0.8,
   "tau1": 0.1,
   "tau2": 0.15,
   "w": [
    0.02,
    -0.005,
    0.003,
    -0.01
   ]
  },
  "P": {
   "-0.30": {
    "E": 1.8313465315612105,
    "isolation": 0.012743087345902016,
    "inside_band": false,
    "weight0": 0.9036658105468726,
    "Gamma": 1.000000000000001,
    "tail": 5.5580167244561765e-28,
    "conv_2L": 2.220446049250313e-16,
    "eta_dependence": 1.3322676295501878e-15,
    "dense_minus_banded": 2.220446049250313e-16,
    "dM1": [
     0.9966369378430021,
     0.996636937842992
    ],
    "dM2": [
     0.9881027121923698,
     0.9881027121927409
    ],
    "dtau1": [
     0.006793044051933705,
     0.006793044052046955
    ],
    "dtau2": [
     0.019361128223926993,
     0.019361128223725578
    ],
    "dtheta": [
     0.018073251688214647,
     0.01807325168825412
    ],
    "euler_residual": 8.881784197001252e-16,
    "Ep": [
     0.0008867732218753588,
     0.0008867732246106974,
     0.00088677322461067
    ],
    "Epp": [
     -0.0026292340571387744,
     -0.002629234044505366
    ],
    "green_rel_error": 4.9737813445611155e-15,
    "eq_3a_root": 1.8313465315612096,
    "eq_3a_root_minus_E": -8.881784197001252e-16,
    "closed_E": 1.8315472483142752,
    "closed_Ep": 0.0009016494129372725
   },
   "-0.15": {
    "E": 1.8314483719913548,
    "isolation": 0.012601844860038236,
    "inside_band": false,
    "weight0": 0.8994257891125012,
    "Gamma": 0.9999999999999997,
    "tail": 2.381395421773662e-28,
    "conv_2L": 0.0,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.9965405216444585,
     0.9965405216446359
    ],
    "dM2": [
     0.9879941423733782,
     0.9879941423726564
    ],
    "dtau1": [
     0.0069871784095232314,
     0.006987178410096289
    ],
    "dtau2": [
     0.01953691097944521,
     0.019536910979863466
    ],
    "dtheta": [
     0.017988447059746893,
     0.01798844705863354
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     0.00046191115759726864,
     0.000461911158908447,
     0.00046191115890853256
    ],
    "Epp": [
     -0.002996418482966353,
     -0.002996418484758176
    ],
    "green_rel_error": 5.684320109558415e-16,
    "eq_3a_root": 1.831448371991355,
    "eq_3a_root_minus_E": 2.220446049250313e-16,
    "closed_E": 1.8316508007415573,
    "closed_Ep": 0.0004696922820371139
   },
   "+0.00": {
    "E": 1.8314832491433681,
    "isolation": 0.012554657226293786,
    "inside_band": false,
    "weight0": 0.8979827973644506,
    "Gamma": 0.9999999999999993,
    "tail": 1.265245303041117e-28,
    "conv_2L": 0.0,
    "eta_dependence": 0.0,
    "dense_minus_banded": 0.0,
    "dM1": [
     0.9965076038347213,
     0.9965076038341719
    ],
    "dM2": [
     0.9879570643803874,
     0.9879570643793468
    ],
    "dtau1": [
     0.007053461200556832,
     0.0070534612009323285
    ],
    "dtau2": [
     0.01959694681237985,
     0.01959694681368228
    ],
    "dtheta": [
     0.01795958579122366,
     0.0179595857911024
    ],
    "euler_residual": -1.7763568394002505e-15,
    "Ep": [
     1.8503717077085944e-15,
     -1.6041830992033249e-19,
     5.73573563285171e-19
    ],
    "Epp": [
     -0.0031210110453446425,
     -0.003121011047160065
    ],
    "green_rel_error": 1.5631878954715505e-15,
    "eq_3a_root": 1.8314832491433677,
    "eq_3a_root_minus_E": -4.440892098500626e-16,
    "closed_E": 1.8316862658330455,
    "closed_Ep": -0.0
   },
   "+0.15": {
    "E": 1.8314483719913548,
    "isolation": 0.012601844860038236,
    "inside_band": false,
    "weight0": 0.8994257891125012,
    "Gamma": 0.9999999999999997,
    "tail": 2.381395421773662e-28,
    "conv_2L": 0.0,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.9965405216444585,
     0.9965405216446359
    ],
    "dM2": [
     0.9879941423733782,
     0.9879941423726564
    ],
    "dtau1": [
     0.0069871784095232314,
     0.006987178410096289
    ],
    "dtau2": [
     0.01953691097944521,
     0.019536910979863466
    ],
    "dtheta": [
     0.017988447059746893,
     0.01798844705863354
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     -0.0004619111575861664,
     -0.000461911158908447,
     -0.00046191115890853256
    ],
    "Epp": [
     -0.0029964184811159815,
     -0.002996418484758176
    ],
    "green_rel_error": 2.2737280438233693e-15,
    "eq_3a_root": 1.831448371991355,
    "eq_3a_root_minus_E": 2.220446049250313e-16,
    "closed_E": 1.8316508007415573,
    "closed_Ep": -0.0004696922820371139
   },
   "+0.30": {
    "E": 1.8313465315612105,
    "isolation": 0.012743087345902016,
    "inside_band": false,
    "weight0": 0.9036658105468726,
    "Gamma": 1.000000000000001,
    "tail": 5.5580167244561765e-28,
    "conv_2L": 2.220446049250313e-16,
    "eta_dependence": 1.3322676295501878e-15,
    "dense_minus_banded": 2.220446049250313e-16,
    "dM1": [
     0.9966369378430021,
     0.996636937842992
    ],
    "dM2": [
     0.9881027121923698,
     0.9881027121927409
    ],
    "dtau1": [
     0.006793044051933705,
     0.006793044052046955
    ],
    "dtau2": [
     0.019361128223926993,
     0.019361128223725578
    ],
    "dtheta": [
     0.018073251688214647,
     0.01807325168825412
    ],
    "euler_residual": 8.881784197001252e-16,
    "Ep": [
     -0.0008867732218772092,
     -0.0008867732246106974,
     -0.00088677322461067
    ],
    "Epp": [
     -0.002629234056953737,
     -0.002629234044505366
    ],
    "green_rel_error": 2.8421607683206314e-15,
    "eq_3a_root": 1.8313465315612096,
    "eq_3a_root_minus_E": -8.881784197001252e-16,
    "closed_E": 1.8315472483142752,
    "closed_Ep": -0.0009016494129372725
   }
  },
  "max_abs_deviation": {
   "dM": 1.0406120409811592e-12,
   "dtau": 1.3024269163164348e-12,
   "dtheta": 1.1133524657758187e-12,
   "euler": 1.7763568394002505e-15,
   "V1": 2.7353386482936726e-12,
   "V2": 2.7353112179787087e-12,
   "V12": 8.55435514091063e-17,
   "Epp": 1.2633408642132027e-11,
   "eq310": 8.881784197001252e-16,
   "green": 4.9737813445611155e-15,
   "conv": 2.220446049250313e-16,
   "tail": 5.5580167244561765e-28,
   "eta": 1.3322676295501878e-15,
   "solvers": 4.440892098500626e-16,
   "closed_E": 0.00020301668967737108,
   "closed_Ep": 1.4876191061913725e-05
  },
  "closed_forms_P0": {
   "u": 2.098360655737705,
   "a": 0.00953125,
   "eps2": 0.035156249999999986,
   "compare": {
    "s3_1": [
     0.9965076038341719,
     0.9964244816984306
    ],
    "s3_2": [
     0.9879570643793468,
     0.9874298184710452
    ],
    "A1": [
     0.0070534612009323285,
     0.007151036603138771
    ],
    "A2": [
     0.01959694681368228,
     0.02011229044632779
    ],
    "U": [
     0.0179595857911024,
     0.018054602308312292
    ],
    "Ebind": [
     0.031483249143368086,
     0.031686265833045575
    ],
    "Epp0": [
     -0.003121011047160065,
     -0.0031736605620080204
    ]
   },
   "item4": {
    "mb_over_m1_plus_m2": [
     -2.3636728831961515,
     -2.3244606775654373
    ],
    "mb_minus_m1_m2": [
     -455.9645463888116,
     -447.7617655945683
    ]
   },
   "max_dE_over_P": 0.00020301668967737108,
   "max_dEp_over_P": 1.4876191061913725e-05,
   "rel_dev_Epp0": 0.016589522987500434
  }
 },
 "D_wide_R": {
  "params": {
   "M1": 1.3,
   "M2": 1.0,
   "tau1": 0.15,
   "tau2": 0.2,
   "w": [
    -0.004,
    0.002,
    0.001,
    0.003
   ]
  },
  "P": {
   "-0.30": {
    "E": 2.2999698406707054,
    "isolation": 0.0005676902764646385,
    "inside_band": false,
    "weight0": 0.27803153364811334,
    "Gamma": 1.0000000000000016,
    "tail": 2.5420251273295236e-08,
    "conv_2L": 3.1086244689504383e-15,
    "eta_dependence": 3.9968028886505635e-15,
    "dense_minus_banded": 2.220446049250313e-15,
    "dM1": [
     0.9995878102232201,
     0.9995878102226097
    ],
    "dM2": [
     0.9994525069865201,
     0.9994525069865698
    ],
    "dtau1": [
     0.0010710953159964731,
     0.0010710953162301957
    ],
    "dtau2": [
     0.0010942109083626288,
     0.0010942109070576644
    ],
    "dtheta": [
     -0.0011121258306120059,
     -0.0011121258285397067
    ],
    "euler_residual": 5.329070518200751e-15,
    "Ep": [
     -0.003402250763991551,
     -0.0034022507589530036,
     -0.003402250758953079
    ],
    "Epp": [
     0.010746616826059116,
     0.01074661686468223
    ],
    "green_rel_error": 2.3374007407359554e-13,
    "eq_3a_root": 2.299969840670707,
    "eq_3a_root_minus_E": 1.7763568394002505e-15,
    "closed_E": 2.299969153832336,
    "closed_Ep": -0.003403264820215837
   },
   "-0.15": {
    "E": 2.2995833452872985,
    "isolation": 0.0005521813277367116,
    "inside_band": false,
    "weight0": 0.27073149336333957,
    "Gamma": 0.9999999999999983,
    "tail": 4.14179099418866e-08,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 4.440892098500626e-15,
    "dense_minus_banded": 0.0,
    "dM1": [
     0.9998046921911036,
     0.9998046921896625
    ],
    "dM2": [
     0.9995861016039997,
     0.9995861016019525
    ],
    "dtau1": [
     0.0005071638142783996,
     0.0005071638149982289
    ],
    "dtau2": [
     0.0008269056284149201,
     0.0008269056293956405
    ],
    "dtheta": [
     -0.0010829256051521814,
     -0.0010829256056103754
    ],
    "euler_residual": -1.3322676295501878e-15,
    "Ep": [
     -0.0017343104155761089,
     -0.0017343104135742542,
     -0.0017343104135741697
    ],
    "Epp": [
     0.01141561427608906,
     0.01141561422753753
    ],
    "green_rel_error": 2.1441330315987695e-13,
    "eq_3a_root": 2.2995833452873002,
    "eq_3a_root_minus_E": 1.7763568394002505e-15,
    "closed_E": 2.299582581337323,
    "closed_Ep": -0.0017344866586560333
   },
   "+0.00": {
    "E": 2.2994528607227624,
    "isolation": 0.000547139277237374,
    "inside_band": false,
    "weight0": 0.2683527421411404,
    "Gamma": 0.9999999999999991,
    "tail": 4.853656656034339e-08,
    "conv_2L": 4.440892098500626e-15,
    "eta_dependence": 1.7763568394002505e-15,
    "dense_minus_banded": 1.7763568394002505e-15,
    "dM1": [
     0.9998771296688006,
     0.9998771296692601
    ],
    "dM2": [
     0.9996319144148039,
     0.9996319144145291
    ],
    "dtau1": [
     0.0003188390674072986,
     0.00031883906936428863
    ],
    "dtau2": [
     0.000735249248003574,
     0.0007352492475109331
    ],
    "dtheta": [
     -0.00107341058008803,
     -0.0010734105786802063
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     1.1102230246251565e-14,
     -2.2352182505058147e-19,
     5.295571825345954e-19
    ],
    "Epp": [
     0.01163513175472808,
     0.011635131655509572
    ],
    "green_rel_error": 2.302157628221212e-13,
    "eq_3a_root": 2.299452860722764,
    "eq_3a_root_minus_E": 1.3322676295501878e-15,
    "closed_E": 2.2994520877886893,
    "closed_Ep": 0.0
   },
   "+0.15": {
    "E": 2.2995833452872985,
    "isolation": 0.0005521813277367116,
    "inside_band": false,
    "weight0": 0.27073149336333957,
    "Gamma": 0.9999999999999983,
    "tail": 4.14179099418866e-08,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 4.440892098500626e-15,
    "dense_minus_banded": 0.0,
    "dM1": [
     0.9998046921911036,
     0.9998046921896625
    ],
    "dM2": [
     0.9995861016039997,
     0.9995861016019525
    ],
    "dtau1": [
     0.0005071638142783996,
     0.0005071638149982289
    ],
    "dtau2": [
     0.0008269056284149201,
     0.0008269056293956405
    ],
    "dtheta": [
     -0.0010829256051521814,
     -0.0010829256056103754
    ],
    "euler_residual": -1.3322676295501878e-15,
    "Ep": [
     0.0017343104155650066,
     0.0017343104135742542,
     0.0017343104135741697
    ],
    "Epp": [
     0.011415614271278093,
     0.01141561422753753
    ],
    "green_rel_error": 2.1464067675813775e-13,
    "eq_3a_root": 2.2995833452873002,
    "eq_3a_root_minus_E": 1.7763568394002505e-15,
    "closed_E": 2.299582581337323,
    "closed_Ep": 0.0017344866586560333
   },
   "+0.30": {
    "E": 2.2999698406707054,
    "isolation": 0.0005676902764646385,
    "inside_band": false,
    "weight0": 0.27803153364811334,
    "Gamma": 1.0000000000000016,
    "tail": 2.5420251273295236e-08,
    "conv_2L": 3.1086244689504383e-15,
    "eta_dependence": 3.9968028886505635e-15,
    "dense_minus_banded": 2.220446049250313e-15,
    "dM1": [
     0.9995878102232201,
     0.9995878102226097
    ],
    "dM2": [
     0.9994525069865201,
     0.9994525069865698
    ],
    "dtau1": [
     0.0010710953159964731,
     0.0010710953162301957
    ],
    "dtau2": [
     0.0010942109083626288,
     0.0010942109070576644
    ],
    "dtheta": [
     -0.0011121258306120059,
     -0.0011121258285397067
    ],
    "euler_residual": 5.329070518200751e-15,
    "Ep": [
     0.0034022507639841493,
     0.0034022507589530036,
     0.003402250758953079
    ],
    "Epp": [
     0.010746616826799265,
     0.01074661686468223
    ],
    "green_rel_error": 2.328305796219475e-13,
    "eq_3a_root": 2.299969840670707,
    "eq_3a_root_minus_E": 1.7763568394002505e-15,
    "closed_E": 2.299969153832336,
    "closed_Ep": 0.003403264820215837
   }
  },
  "max_abs_deviation": {
   "dM": 2.0472512574087887e-12,
   "dtau": 1.956990017086546e-12,
   "dtheta": 2.0722991465188523e-12,
   "euler": 5.329070518200751e-15,
   "V1": 5.038547270380667e-12,
   "V2": 5.038471809909462e-12,
   "V12": 8.456776945386935e-17,
   "Epp": 9.921850840921564e-11,
   "eq310": 1.7763568394002505e-15,
   "green": 2.3374007407359554e-13,
   "conv": 4.440892098500626e-15,
   "tail": 4.853656656034339e-08,
   "eta": 4.440892098500626e-15,
   "solvers": 2.220446049250313e-15,
   "closed_E": 7.729340731899015e-07,
   "closed_Ep": 1.0140562316878453e-06
  },
  "closed_forms_P0": {
   "u": 0.2791946308724832,
   "a": 0.014326923076923077,
   "eps2": 0.04000000000000001,
   "compare": {
    "s3_1": [
     0.9998771296692601,
     0.9998773988238779
    ],
    "s3_2": [
     0.9996319144145291,
     0.9996316515775179
    ],
    "A1": [
     0.00031883906936428863,
     0.00031876305791723347
    ],
    "A2": [
     0.0007352492475109331,
     0.0007366968449642731
    ],
    "U": [
     -0.0010734105786802063,
     -0.0010756421627509882
    ],
    "Ebind": [
     -0.000547139277237596,
     -0.000547912211310236
    ],
    "Epp0": [
     0.011635131655509572,
     0.011635552241296749
    ]
   },
   "item4": {
    "mb_over_m1_plus_m2": [
     1.0382810672392517,
     1.0382435368968217
    ],
    "mb_minus_m1_m2": [
     3.168821677026937,
     3.161249157372777
    ]
   },
   "max_dE_over_P": 7.729340731899015e-07,
   "max_dEp_over_P": 1.0140562316878453e-06,
   "rel_dev_Epp0": 3.61466115621009e-05
  }
 },
 "E_order_one": {
  "params": {
   "M1": 1.0,
   "M2": 1.3,
   "tau1": 1.0,
   "tau2": 0.8,
   "w": [
    -0.6,
    0.2,
    -0.15,
    0.3
   ]
  },
  "P": {
   "-0.30": {
    "E": 2.0202430653650967,
    "isolation": 0.29440305721726867,
    "inside_band": false,
    "weight0": 0.701707383851894,
    "Gamma": 1.0000000000000004,
    "tail": 1.7199875421734497e-30,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 4.440892098500626e-16,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.8503318666591339,
     0.8503318666583716
    ],
    "dM2": [
     0.9328219265201905,
     0.9328219265196965
    ],
    "dtau1": [
     0.23778305062290467,
     0.23778305062442884
    ],
    "dtau2": [
     0.13944747911154295,
     0.13944747911219654
    ],
    "dtheta": [
     -0.41998783550600827,
     -0.41998783550550445
    ],
    "euler_residual": 1.3322676295501878e-15,
    "Ep": [
     -0.0533071623368205,
     -0.05330716251086799,
     -0.05330716251086764
    ],
    "Epp": [
     0.15802105920115217,
     0.15802105937262773
    ],
    "green_rel_error": 1.9938464141953312e-15,
    "eq_3a_root": 2.020243065365098,
    "eq_3a_root_minus_E": 1.3322676295501878e-15,
    "closed_E": 1.9741936617317075,
    "closed_Ep": -0.049718216265647104
   },
   "-0.15": {
    "E": 2.0141207903858516,
    "isolation": 0.2895782974541672,
    "inside_band": false,
    "weight0": 0.6956259399840091,
    "Gamma": 0.9999999999999998,
    "tail": 2.1615467344399323e-30,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 2.6645352591003757e-15,
    "dM1": [
     0.8549045880839415,
     0.8549045880838624
    ],
    "dM2": [
     0.9371204279218225,
     0.9371204279213157
    ],
    "dtau1": [
     0.22858232492573016,
     0.22858232492677993
    ],
    "dtau2": [
     0.12864136876322704,
     0.1286413687625461
    ],
    "dtheta": [
     -0.416264047684541,
     -0.41626404768504804
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     -0.02776996948270864,
     -0.027769969570427034,
     -0.027769969570427072
    ],
    "Epp": [
     0.1801269900647551,
     0.1801269902164982
    ],
    "green_rel_error": 3.588255397739565e-15,
    "eq_3a_root": 2.014120790385851,
    "eq_3a_root_minus_E": -4.440892098500626e-16,
    "closed_E": 1.9684934526588127,
    "closed_Ep": -0.025810794086150356
   },
   "+0.00": {
    "E": 2.012023935088437,
    "isolation": 0.2879760649115628,
    "inside_band": false,
    "weight0": 0.6935661601144257,
    "Gamma": 0.9999999999999994,
    "tail": 2.2610645562733344e-30,
    "conv_2L": 8.881784197001252e-16,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 8.881784197001252e-16,
    "dM1": [
     0.8564696712686226,
     0.8564696712688329
    ],
    "dM2": [
     0.938590891190379,
     0.9385908911908176
    ],
    "dtau1": [
     0.2254381116959895,
     0.22543811169631017
    ],
    "dtau2": [
     0.1249503925203251,
     0.1249503925193654
    ],
    "dtheta": [
     -0.41500239894528185,
     -0.4150023989441348
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     -7.401486830834377e-15,
     -3.140156509536244e-17,
     1.9141900210567238e-17
    ],
    "Epp": [
     0.1876436174034583,
     0.18764361764368498
    ],
    "green_rel_error": 4.983365620674174e-16,
    "eq_3a_root": 2.012023935088438,
    "eq_3a_root_minus_E": 8.881784197001252e-16,
    "closed_E": 1.9665456848909921,
    "closed_Ep": 0.0
   },
   "+0.15": {
    "E": 2.0141207903858516,
    "isolation": 0.2895782974541672,
    "inside_band": false,
    "weight0": 0.6956259399840091,
    "Gamma": 0.9999999999999998,
    "tail": 2.1615467344399323e-30,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 8.881784197001252e-16,
    "dense_minus_banded": 2.6645352591003757e-15,
    "dM1": [
     0.8549045880839415,
     0.8549045880838624
    ],
    "dM2": [
     0.9371204279218225,
     0.9371204279213157
    ],
    "dtau1": [
     0.22858232492580416,
     0.22858232492677993
    ],
    "dtau2": [
     0.12864136876322704,
     0.1286413687625461
    ],
    "dtheta": [
     -0.416264047684541,
     -0.41626404768504804
    ],
    "euler_residual": -4.440892098500626e-16,
    "Ep": [
     0.027769969482642026,
     0.027769969570427034,
     0.027769969570427072
    ],
    "Epp": [
     0.18012699007659747,
     0.1801269902164982
    ],
    "green_rel_error": 3.1895603535462812e-15,
    "eq_3a_root": 2.014120790385851,
    "eq_3a_root_minus_E": -4.440892098500626e-16,
    "closed_E": 1.9684934526588127,
    "closed_Ep": 0.025810794086150356
   },
   "+0.30": {
    "E": 2.0202430653650967,
    "isolation": 0.29440305721726867,
    "inside_band": false,
    "weight0": 0.701707383851894,
    "Gamma": 1.0000000000000004,
    "tail": 1.7199875421734497e-30,
    "conv_2L": 4.440892098500626e-16,
    "eta_dependence": 4.440892098500626e-16,
    "dense_minus_banded": 4.440892098500626e-16,
    "dM1": [
     0.8503318666591339,
     0.8503318666583716
    ],
    "dM2": [
     0.9328219265201905,
     0.9328219265196965
    ],
    "dtau1": [
     0.23778305062290467,
     0.23778305062442884
    ],
    "dtau2": [
     0.13944747911157998,
     0.13944747911219654
    ],
    "dtheta": [
     -0.41998783550600827,
     -0.41998783550550445
    ],
    "euler_residual": 1.3322676295501878e-15,
    "Ep": [
     0.0533071623368205,
     0.05330716251086799,
     0.05330716251086764
    ],
    "Epp": [
     0.15802105920041204,
     0.15802105937262773
    ],
    "green_rel_error": 3.9876928283906716e-16,
    "eq_3a_root": 2.020243065365098,
    "eq_3a_root_minus_E": 1.3322676295501878e-15,
    "closed_E": 1.9741936617317075,
    "closed_Ep": 0.049718216265647104
   }
  },
  "max_abs_deviation": {
   "dM": 7.622791287076325e-13,
   "dtau": 1.5241696793566462e-12,
   "dtheta": 1.1470269178914805e-12,
   "euler": 1.3322676295501878e-15,
   "V1": 1.7404749169669387e-10,
   "V2": 1.7404713781310477e-10,
   "V12": 3.5388358909926865e-16,
   "Epp": 2.4022667188816627e-10,
   "eq310": 1.3322676295501878e-15,
   "green": 3.588255397739565e-15,
   "conv": 8.881784197001252e-16,
   "tail": 2.2610645562733344e-30,
   "eta": 8.881784197001252e-16,
   "solvers": 2.6645352591003757e-15,
   "closed_E": 0.04604940363338916,
   "closed_Ep": 0.003588946071173396
  },
  "closed_forms_P0": {
   "u": 1.6082474226804122,
   "a": 0.3730769230769231,
   "eps2": 1.0,
   "compare": {
    "s3_1": [
     0.8564696712688329,
     0.8820100594684337
    ],
    "s3_2": [
     0.9385908911908176,
     0.9553174189702944
    ],
    "A1": [
     0.22543811169631017,
     0.23597988106313272
    ],
    "A2": [
     0.1249503925193654,
     0.11617471067723459
    ],
    "U": [
     -0.4150023989441348,
     -0.5095316109791912
    ],
    "Ebind": [
     -0.287976064911563,
     -0.3334543151090077
    ],
    "Epp0": [
     0.18764361764368498,
     0.1741988413604073
    ]
   },
   "item4": {
    "mb_over_m1_plus_m2": [
     1.7581035334915232,
     1.893795071426206
    ],
    "mb_minus_m1_m2": [
     2.298001335896179,
     2.339805527406449
    ]
   },
   "max_dE_over_P": 0.04604940363338916,
   "max_dEp_over_P": 0.003588946071173396,
   "rel_dev_Epp0": 0.07718062978077568
  }
 },
 "epsilon_scan_set_B": [
  {
   "eps": 1.0,
   "dE_P0": 8.151469865325112e-06,
   "dE_P03": 8.267477692225356e-06,
   "rel_dEpp0": 0.0005445581432701723,
   "d_s3_1": -4.2426369883941106e-07,
   "d_s3_2": -1.7673889233238427e-06
  },
  {
   "eps": 0.5,
   "dE_P0": 5.094345443268367e-07,
   "dE_P03": 5.167414247608804e-07,
   "rel_dEpp0": 0.00013707918516712943,
   "d_s3_1": -2.720324154825704e-08,
   "d_s3_2": -1.10197183156302e-07,
   "ratio_to_previous": {
    "dE_P0": 16.001015157102092,
    "dE_P03": 15.99925474535178,
    "rel_dEpp0": 3.972580830607048,
    "d_s3_1": 15.596071449308377,
    "d_s3_2": 16.038421969616095
   }
  },
  {
   "eps": 0.25,
   "dE_P0": 3.183914820681366e-08,
   "dE_P03": 3.2296711527379784e-08,
   "rel_dEpp0": 3.432847031626075e-05,
   "d_s3_1": -1.7109325067821146e-09,
   "d_s3_2": -6.883195680096321e-09,
   "ratio_to_previous": {
    "dE_P0": 16.000256697125344,
    "dE_P03": 15.999815471083144,
    "rel_dEpp0": 3.9931632229530947,
    "d_s3_1": 15.899657900252487,
    "d_s3_2": 16.00959616402478
   }
  },
  {
   "eps": 0.125,
   "dE_P0": 1.9899379921639593e-09,
   "dE_P03": 2.018550659954599e-09,
   "rel_dEpp0": 8.585780804080197e-06,
   "d_s3_1": -1.0710143882874945e-10,
   "d_s3_2": -4.3013559380966626e-10,
   "ratio_to_previous": {
    "dE_P0": 16.00007052088601,
    "dE_P03": 15.999950939109054,
    "rel_dEpp0": 3.9982933526496423,
    "d_s3_1": 15.974878820422024,
    "d_s3_2": 16.002385710823354
   }
  }
 ],
 "settings": {
  "L": 120,
  "L_check": 240,
  "P_values": [
   -0.3,
   -0.15,
   0.0,
   0.15,
   0.3
  ],
  "eta": 0.5,
  "h_P": 0.01,
  "h_rel_parameters": 0.001
 },
 "new_in_v2": {
  "I3_clock": [
   {
    "part": 1,
    "N": 4,
    "D": 0.06,
    "lambda0": 78.53981633974483,
    "g0": 0.28810180056785306,
    "D_over_g0": 0.2082597188970672,
    "D_over_M": 0.06,
    "sum_q_minus_1": 2.9976021664879227e-15,
    "Gamma_level0": 0.8564696712688329,
    "Gamma_mean_level": 0.8621903822649348,
    "Gamma_first_order": 0.8623337319853568,
    "Gamma_fit": 0.8621456724086228,
    "d2E_dM2": 0.19546869055079613,
    "d2E_dM2_closed": 0.17218462083533354,
    "Gamma_closed_11_20_at_mean": 0.8870173806068575,
    "Gamma_closed_11_26": 0.8871755980934937,
    "dev_mean_level": 0.0009467967298583124,
    "dev_level0": 0.07097572305973499,
    "dev_first_order": 0.002645333718387599,
    "dev_mean_level_first_revolution": 0.0003598364085480865,
    "dev_level0_first_revolution": 0.03789662732937604,
    "set": "E_order_one"
   },
   {
    "part": 1,
    "N": 4,
    "D": 0.03,
    "lambda0": 157.07963267948966,
    "g0": 0.28810180056785306,
    "D_over_g0": 0.1041298594485336,
    "D_over_M": 0.03,
    "sum_q_minus_1": 1.9984014443252818e-15,
    "Gamma_level0": 0.8564696712688329,
    "Gamma_mean_level": 0.8593655981103847,
    "Gamma_first_order": 0.8594017016270948,
    "Gamma_fit": 0.8593541025206765,
    "d2E_dM2": 0.19546869055079613,
    "d2E_dM2_closed": 0.17218462083533354,
    "Gamma_closed_11_20_at_mean": 0.884552755442187,
    "Gamma_closed_11_26": 0.8845928287809637,
    "dev_mean_level": 0.0002475659342767722,
    "dev_level0": 0.03606318054154545,
    "dev_first_order": 0.0006866642287148839,
    "dev_mean_level_first_revolution": 9.234651743539324e-05,
    "dev_level0_first_revolution": 0.019233635157828832,
    "set": "E_order_one",
    "ratio_to_previous": {
     "dev_mean_level": 3.824422502329495,
     "dev_level0": 1.9680938284955107,
     "dev_first_order": 3.8524414229913124
    }
   },
   {
    "part": 1,
    "N": 4,
    "D": 0.015,
    "lambda0": 314.1592653589793,
    "g0": 0.28810180056785306,
    "D_over_g0": 0.0520649297242668,
    "D_over_M": 0.015,
    "sum_q_minus_1": 1.3322676295501878e-15,
    "Gamma_level0": 0.8564696712688329,
    "Gamma_mean_level": 0.8579266273579921,
    "Gamma_first_order": 0.8579356864479638,
    "Gamma_fit": 0.8579237667072714,
    "d2E_dM2": 0.19546869055079613,
    "d2E_dM2_closed": 0.17218462083533354,
    "Gamma_closed_11_20_at_mean": 0.8832913598005296,
    "Gamma_closed_11_26": 0.8833014441246987,
    "dev_mean_level": 6.07722356592566e-05,
    "dev_level0": 0.018160681641319787,
    "dev_first_order": 0.00017070048426082174,
    "dev_mean_level_first_revolution": 2.3218168594296706e-05,
    "dev_level0_first_revolution": 0.009685663579682813,
    "set": "E_order_one",
    "ratio_to_previous": {
     "dev_mean_level": 4.073668371603898,
     "dev_level0": 1.9857834223299913,
     "dev_first_order": 4.022626131896003
    }
   },
   {
    "part": 1,
    "N": 4,
    "D": 0.1,
    "lambda0": 47.12388980384689,
    "g0": 0.003589344384700155,
    "D_over_g0": 27.86024111429858,
    "D_over_M": 0.1,
    "sum_q_minus_1": 1.1102230246251565e-15,
    "Gamma_level0": 0.9977123894767301,
    "Gamma_mean_level": 0.9978093967582963,
    "Gamma_first_order": 0.9978119032690593,
    "Gamma_fit": 0.9978328312332096,
    "d2E_dM2": 0.001990275846584925,
    "d2E_dM2_closed": 0.0019957745654456236,
    "Gamma_closed_11_20_at_mean": 0.9978100720044616,
    "Gamma_closed_11_26": 0.9978126024687013,
    "dev_mean_level": 0.00046856157329266956,
    "dev_level0": 0.0014255752432916768,
    "dev_first_order": 0.000470726417796663,
    "dev_mean_level_first_revolution": 0.00041275611907753973,
    "dev_level0_first_revolution": 0.0009115174225038936,
    "set": "B_unequal_R"
   },
   {
    "part": 1,
    "N": 4,
    "D": 0.05,
    "lambda0": 94.24777960769379,
    "g0": 0.003589344384700155,
    "D_over_g0": 13.93012055714929,
    "D_over_M": 0.05,
    "sum_q_minus_1": 2.6645352591003757e-15,
    "Gamma_level0": 0.9977123894767301,
    "Gamma_mean_level": 0.9977615159617519,
    "Gamma_first_order": 0.9977621463728947,
    "Gamma_fit": 0.9977620037487646,
    "d2E_dM2": 0.001990275846584925,
    "d2E_dM2_closed": 0.0019957745654456236,
    "Gamma_closed_11_20_at_mean": 0.9977620715654857,
    "Gamma_closed_11_26": 0.9977627081045651,
    "dev_mean_level": 0.0001306954843264263,
    "dev_level0": 0.0005874380983595939,
    "dev_first_order": 0.00013091300811862716,
    "dev_mean_level_first_revolution": 0.0001251309988861138,
    "dev_level0_first_revolution": 0.000351697595908973,
    "set": "B_unequal_R",
    "ratio_to_previous": {
     "dev_mean_level": 3.5851397292532745,
     "dev_level0": 2.426766747462515,
     "dev_first_order": 3.5957192074458564
    }
   },
   {
    "part": 1,
    "N": 4,
    "D": 0.025,
    "lambda0": 188.49555921538757,
    "g0": 0.003589344384700155,
    "D_over_g0": 6.965060278574645,
    "D_over_M": 0.025,
    "sum_q_minus_1": 2.220446049250313e-15,
    "Gamma_level0": 0.9977123894767301,
    "Gamma_mean_level": 0.9977371098586924,
    "Gamma_first_order": 0.9977372679248124,
    "Gamma_fit": 0.9977368501719874,
    "d2E_dM2": 0.001990275846584925,
    "d2E_dM2_closed": 0.0019957745654456236,
    "Gamma_closed_11_20_at_mean": 0.997737601306593,
    "Gamma_closed_11_26": 0.997737760922497,
    "dev_mean_level": 3.2593668840674717e-05,
    "dev_level0": 0.00030208804183140536,
    "dev_first_order": 3.2613523463176364e-05,
    "dev_mean_level_first_revolution": 3.2593668840674717e-05,
    "dev_level0_first_revolution": 0.00014078240854031865,
    "set": "B_unequal_R",
    "ratio_to_previous": {
     "dev_mean_level": 4.009842677278695,
     "dev_level0": 1.9445923605524305,
     "dev_first_order": 4.014071287527085
    }
   },
   {
    "part": 2,
    "N": 5,
    "D": 0.1,
    "lambda0": 50.26548245743669,
    "g0": 0.003589344384700155,
    "D_over_g0": 27.86024111429858,
    "D_over_M": 0.05882352941176471,
    "sum_q_minus_1": 2.6645352591003757e-15,
    "Gamma_level0": 0.9997133235960436,
    "Gamma_mean_level": 0.999727645111026,
    "Gamma_first_order": 0.9997282035003875,
    "Gamma_fit": 0.9997277089609488,
    "d2E_dM2": 0.00029759808687771037,
    "d2E_dM2_closed": 0.0002951748287156396,
    "Gamma_closed_11_20_at_mean": 0.9997292967392039,
    "Gamma_closed_11_26": 0.9997298497264027,
    "dev_mean_level": 7.2552162198036285e-06,
    "dev_level0": 0.00021994915284728744,
    "dev_first_order": 1.3051467231628422e-05,
    "dev_mean_level_first_revolution": 5.6901172710288606e-06,
    "dev_level0_first_revolution": 0.00010832143266170657,
    "set": "B_unequal_R"
   },
   {
    "part": 2,
    "N": 5,
    "D": 0.05,
    "lambda0": 100.53096491487338,
    "g0": 0.003589344384700155,
    "D_over_g0": 13.93012055714929,
    "D_over_M": 0.029411764705882356,
    "sum_q_minus_1": 1.7763568394002505e-15,
    "Gamma_level0": 0.9997133235960436,
    "Gamma_mean_level": 0.9997206215820752,
    "Gamma_first_order": 0.9997207635482155,
    "Gamma_fit": 0.9997205698052849,
    "d2E_dM2": 0.00029759808687771037,
    "d2E_dM2_closed": 0.0002951748287156396,
    "Gamma_closed_11_20_at_mean": 0.9997223297657317,
    "Gamma_closed_11_26": 0.9997224703556848,
    "dev_mean_level": 1.8887657756705423e-06,
    "dev_level0": 0.00011137972002434049,
    "dev_first_order": 3.4333857857338224e-06,
    "dev_mean_level_first_revolution": 1.8887657756705423e-06,
    "dev_level0_first_revolution": 5.356949068496819e-05,
    "set": "B_unequal_R",
    "ratio_to_previous": {
     "dev_mean_level": 3.841247185468463,
     "dev_level0": 1.9747684120522175,
     "dev_first_order": 3.801340148217254
    }
   },
   {
    "part": 2,
    "N": 5,
    "D": 0.025,
    "lambda0": 201.06192982974676,
    "g0": 0.003589344384700155,
    "D_over_g0": 6.965060278574645,
    "D_over_M": 0.014705882352941178,
    "sum_q_minus_1": 1.3322676295501878e-15,
    "Gamma_level0": 0.9997133235960436,
    "Gamma_mean_level": 0.9997170077773905,
    "Gamma_first_order": 0.9997170435721295,
    "Gamma_fit": 0.9997169942914724,
    "d2E_dM2": 0.00029759808687771037,
    "d2E_dM2_closed": 0.0002951748287156396,
    "Gamma_closed_11_20_at_mean": 0.999718745222923,
    "Gamma_closed_11_26": 0.9997187806703258,
    "dev_mean_level": 4.854379966889866e-07,
    "dev_level0": 5.6639805733671444e-05,
    "dev_first_order": 8.02049628600976e-07,
    "dev_mean_level_first_revolution": 4.854379966889866e-07,
    "dev_level0_first_revolution": 2.6731036821658893e-05,
    "set": "B_unequal_R",
    "ratio_to_previous": {
     "dev_mean_level": 3.890848653284651,
     "dev_level0": 1.9664566038249502,
     "dev_first_order": 4.280764759810082
    }
   }
  ],
  "I4_w22": [
   {
    "eps": 2.0,
    "w22": 0.032,
    "dE": 2.86729628928839e-07,
    "w22_times_weight": 2.867347376495886e-07,
    "weight_22_at_0": 8.960460551549645e-06
   },
   {
    "eps": 1.0,
    "w22": 0.008,
    "dE": 4.444423051808144e-09,
    "w22_times_weight": 4.444422510851054e-09,
    "weight_22_at_0": 5.555528138563818e-07,
    "ratio_to_previous": {
     "dE": 64.51447703930604,
     "weight_22_at_0": 16.128908589896998
    }
   },
   {
    "eps": 0.5,
    "w22": 0.002,
    "dE": 6.930322982157122e-11,
    "w22_times_weight": 6.93040919254433e-11,
    "weight_22_at_0": 3.465204596272165e-08,
    "ratio_to_previous": {
     "dE": 64.13009989939573,
     "weight_22_at_0": 16.0323235878782
    }
   },
   {
    "eps": 0.25,
    "w22": 0.0005,
    "dE": 1.0800249583553523e-12,
    "w22_times_weight": 1.0823293910994822e-12,
    "weight_22_at_0": 2.1646587821989643e-09,
    "ratio_to_previous": {
     "dE": 64.16817434210526,
     "weight_22_at_0": 16.00808693161351
    }
   }
  ],
  "I5_j_zero": [
   {
    "eps": 1.0,
    "E": 2.001000623469512,
    "closed_E": 2.001,
    "dE": 6.234695120177491e-07,
    "one_minus_weight_r0_11": 0.0024954676847248614,
    "weight_r_not_0_in_11": 3.044137799612656e-07
   },
   {
    "eps": 0.5,
    "E": 2.000250039038553,
    "closed_E": 2.0002500000000003,
    "dE": 3.9038552834824713e-08,
    "one_minus_weight_r0_11": 0.0006247164369600489,
    "weight_r_not_0_in_11": 1.906156910091994e-08,
    "ratio_to_previous": {
     "dE": 15.970610249199023,
     "one_minus_weight": 3.9945606311691275
    }
   },
   {
    "eps": 0.25,
    "E": 2.000062502441032,
    "closed_E": 2.0000625000000003,
    "dE": 2.441031821120987e-09,
    "one_minus_weight_r0_11": 0.0001562322727233223,
    "weight_r_not_0_in_11": 1.1919065734389278e-09,
    "ratio_to_previous": {
     "dE": 15.992643970080312,
     "one_minus_weight": 3.998638860399753
    }
   }
  ],
  "I2_degenerate": {
   "X_P0_0.3": {
    "P0": 0.3,
    "E0": 1.0,
    "W0_block_11_22": [
     [
      -0.8709984901538393,
      0.1699989926373006
     ],
     [
      0.1699989926373006,
      2.488875934645938
     ]
    ],
    "level": 0.9999999999999982,
    "splitting": 2.1094237467877974e-15,
    "isolation": 0.5367646288937746,
    "tail": 1.329247076629414e-30,
    "xi": {
     "M1": {
      "branch_overlap_min": 0.9999971099677671,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.6284491302935782,
       0.8930763706569885
      ],
      "slopes_finite_difference": [
       -0.6284491302942693,
       0.8930763706587833
      ],
      "max_abs_deviation": 1.794786541609028e-12
     },
     "M2": {
      "branch_overlap_min": 0.9999992632573971,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.9193836682493896,
       0.8379556562603612
      ],
      "slopes_finite_difference": [
       -0.919383668249835,
       0.8379556562611896
      ],
      "max_abs_deviation": 8.284484209752918e-13
     },
     "tau1": {
      "branch_overlap_min": 0.9999994652353024,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       0.13701364783169456,
       0.6017382679216703
      ],
      "slopes_finite_difference": [
       0.13701364783985648,
       0.6017382679187796
      ],
      "max_abs_deviation": 8.161915587834301e-12
     },
     "tau2": {
      "branch_overlap_min": 0.9999997344706929,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.1562399942386677,
       0.5336387103127493
      ],
      "slopes_finite_difference": [
       -0.15623999423875992,
       0.5336387103116194
      ],
      "max_abs_deviation": 1.1299849944634843e-12
     },
     "theta": {
      "branch_overlap_min": 0.9999958486105363,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.726064560740659,
       2.016971420266951
      ],
      "slopes_finite_difference": [
       -0.7260645607407579,
       2.016971420271583
      ],
      "max_abs_deviation": 4.632294547946003e-12
     },
     "P": {
      "branch_overlap_min": 0.9999549236248141,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.031846375003745014,
       0.05626498105111962
      ],
      "slopes_finite_difference": [
       -0.03184637502647488,
       0.05626498076378439
      ],
      "max_abs_deviation": 2.8733523199653277e-10,
      "second_derivative_11_24": [
       -0.10636246132447708,
       0.1732240845088477
      ],
      "second_derivative_finite_difference": [
       -0.10636246133695812,
       0.1732240843798268
      ],
      "max_abs_deviation_second": 1.290208773152557e-10,
      "term_of_11_9_from_the_level": {
       "numerator": 0.0006549251905570781,
       "denominator": -2.1094237467877974e-15
      }
     }
    },
    "every_eigenvector": {
     "euler": 1.5543122344752192e-15,
     "V12": 1.0755285551056204e-16,
     "mean_rule": 4.083622329176251e-12,
     "norm_Pi_V1_minus_V2_Pi": 1.623807045561269e-16
    },
    "overlap_of_branch_0_of_M1_with_branch_0_of": {
     "M2": 0.9912457291055672,
     "tau1": 0.27691133128244105,
     "tau2": 0.727218460602937,
     "theta": 0.00125015493571443,
     "P": 0.5106343791399865
    },
    "U_in_the_branch_vectors_of_M1": [
     2.0135422002964525,
     -0.7226353407701603
    ]
   },
   "X_P0_0": {
    "P0": 0.0,
    "E0": 1.0,
    "W0_block_11_22": [
     [
      -0.8690861691877569,
      0.17779417922648388
     ],
     [
      0.17779417922648388,
      2.4886177820527084
     ]
    ],
    "level": 0.9999999999999998,
    "splitting": 3.552713678800501e-15,
    "isolation": 0.5397467369356923,
    "tail": 3.220867649153723e-30,
    "xi": {
     "M1": {
      "branch_overlap_min": 0.9999971876593898,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.6311961096511747,
       0.8954732540945399
      ],
      "slopes_finite_difference": [
       -0.6311961096529725,
       0.8954732540947807
      ],
      "max_abs_deviation": 1.797784143775516e-12
     },
     "M2": {
      "branch_overlap_min": 0.9999993323005603,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.9189017363386298,
       0.8450716129595568
      ],
      "slopes_finite_difference": [
       -0.9189017363377326,
       0.8450716129607921
      ],
      "max_abs_deviation": 1.2353451595004117e-12
     },
     "tau1": {
      "branch_overlap_min": 0.9999994664039994,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       0.12086946671832857,
       0.6053049489183279
      ],
      "slopes_finite_difference": [
       0.12086946671909422,
       0.6053049489162521
      ],
      "max_abs_deviation": 2.075783989141655e-12
     },
     "tau2": {
      "branch_overlap_min": 0.999999739781839,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.17900441992705343,
       0.5381300536834165
      ],
      "slopes_finite_difference": [
       -0.17900441992700963,
       0.5381300536826712
      ],
      "max_abs_deviation": 7.452927164308676e-13
     },
     "theta": {
      "branch_overlap_min": 0.9999959710756143,
      "second_order_branches": false,
      "matrix_eigenvalues": [
       -0.7256826731364663,
       2.0243054354253944
      ],
      "slopes_finite_difference": [
       -0.7256826731369959,
       2.024305435429141
      ],
      "max_abs_deviation": 3.746780663504978e-12
     },
     "P": {
      "branch_overlap_min": 0.9999515656387844,
      "second_order_branches": true,
      "matrix_eigenvalues": [
       -1.5990099605146319e-18,
       1.4220717080865478e-17
      ],
      "slopes_finite_difference": [
       1.7578531223231646e-14,
       -5.551115123125783e-15
      ],
      "max_abs_deviation": 1.758013023319216e-14,
      "second_derivative_11_24": [
       -0.10630609567694373,
       0.19294340823060183
      ],
      "second_derivative_finite_difference": [
       -0.1063060956525234,
       0.19294340782016753
      ],
      "max_abs_deviation_second": 4.1043429765963424e-10,
      "term_of_11_9_from_the_level": {
       "numerator": 9.381668279642345e-35,
       "denominator": -3.552713678800501e-15
      }
     }
    },
    "every_eigenvector": {
     "euler": 1.5543122344752192e-15,
     "V12": 3.495273306657225e-17,
     "mean_rule": 2.8810287489022812e-12,
     "norm_Pi_V1_minus_V2_Pi": 6.395302922133256e-17
    },
    "overlap_of_branch_0_of_M1_with_branch_0_of": {
     "M2": 0.990444344926481,
     "tau1": 0.28434210754965816,
     "tau2": 0.7171408387658194,
     "theta": 0.0013826601406883624,
     "P": 0.511202997513944
    },
    "U_in_the_branch_vectors_of_M1": [
     2.0205031364803183,
     -0.7218803741913904
    ]
   }
  },
  "I1_listing": {
   "scan": [
    {
     "kappa": 0.04,
     "centred": {
      "total_contract_listing_B_minus_A": 1.2827761084789717e-15,
      "Cbod_listing_B_minus_A": 5.162369185311951e-16,
      "Cbod_minus_listed_Cpair_A": 1.3390402313457069e-15,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.3390402313457069e-15,
      "Cbod_minus_listed_Cpair_B": 2.589160095474978,
      "view_minus_evolution_by_Cbod": 0.04140756807593813,
      "view_minus_evolution_by_listed_Cpair_A": 0.04140756807593793,
      "view_minus_evolution_by_listed_Cpair_B": 1.0252105518165358
     },
     "not_centred": {
      "total_contract_listing_B_minus_A": 1.4541908674370036e-15,
      "Cbod_listing_B_minus_A": 1.2727338794797184e-15,
      "Cbod_minus_listed_Cpair_A": 0.6533790368880953,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.337937461793145e-15,
      "Cbod_minus_listed_Cpair_B": 2.4911510444119456,
      "view_minus_evolution_by_Cbod": 0.04147399211699122,
      "view_minus_evolution_by_listed_Cpair_A": 0.15258106910530397,
      "view_minus_evolution_by_listed_Cpair_B": 1.0454209777590693
     }
    },
    {
     "kappa": 0.02,
     "centred": {
      "total_contract_listing_B_minus_A": 1.277058133722624e-15,
      "Cbod_listing_B_minus_A": 1.0104924317347425e-15,
      "Cbod_minus_listed_Cpair_A": 1.2979632982043458e-15,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.2979632982043458e-15,
      "Cbod_minus_listed_Cpair_B": 2.589160095474978,
      "view_minus_evolution_by_Cbod": 0.010524595210457292,
      "view_minus_evolution_by_listed_Cpair_A": 0.010524595210457895,
      "view_minus_evolution_by_listed_Cpair_B": 1.0344041743048134
     },
     "not_centred": {
      "total_contract_listing_B_minus_A": 1.4352611847732062e-15,
      "Cbod_listing_B_minus_A": 9.818780061564638e-16,
      "Cbod_minus_listed_Cpair_A": 0.3266895184440475,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.5067593816740945e-15,
      "Cbod_minus_listed_Cpair_B": 2.5195368069500708,
      "view_minus_evolution_by_Cbod": 0.010533024092336463,
      "view_minus_evolution_by_listed_Cpair_A": 0.07442241670320898,
      "view_minus_evolution_by_listed_Cpair_B": 1.0437996321633354
     }
    },
    {
     "kappa": 0.01,
     "centred": {
      "total_contract_listing_B_minus_A": 1.4427560722082318e-15,
      "Cbod_listing_B_minus_A": 8.320400019456291e-16,
      "Cbod_minus_listed_Cpair_A": 1.2946481703345058e-15,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.2946481703345058e-15,
      "Cbod_minus_listed_Cpair_B": 2.589160095474978,
      "view_minus_evolution_by_Cbod": 0.00264233315616465,
      "view_minus_evolution_by_listed_Cpair_A": 0.0026423331561647428,
      "view_minus_evolution_by_listed_Cpair_B": 1.036936456151247
     },
     "not_centred": {
      "total_contract_listing_B_minus_A": 1.3322676295501878e-15,
      "Cbod_listing_B_minus_A": 1.2047738841180856e-15,
      "Cbod_minus_listed_Cpair_A": 0.16334475922202352,
      "Cbod_minus_listed_Cpair_A_minus_gradient": 1.7886148401916585e-15,
      "Cbod_minus_listed_Cpair_B": 2.5493580271163903,
      "view_minus_evolution_by_Cbod": 0.0026433907275934454,
      "view_minus_evolution_by_listed_Cpair_A": 0.03695338761977342,
      "view_minus_evolution_by_listed_Cpair_B": 1.0414064786548582
     }
    }
   ],
   "mean_of_X_not_centred": -0.6020967706836465
  }
 },
 "new_in_v3": {
  "I3_root_against_dense": [
   {
    "sign": -1,
    "u": 1.0,
    "root_minus_dense": -2.995867443011946e-15
   },
   {
    "sign": -1,
    "u": 0.5,
    "root_minus_dense": 9.686262208985497e-16
   },
   {
    "sign": 1,
    "u": 1.0,
    "root_minus_dense": -8.281569874313277e-15
   },
   {
    "sign": 1,
    "u": 0.5,
    "root_minus_dense": -2.8831104170734534e-15
   }
  ],
  "I3_wide": [
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 2.0,
    "w11": -0.024235294117647063,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -0.014920001571574897,
    "E_bind_leading": -0.014978235492056277,
    "isolation": 0.014920001571574897,
    "isolation_leading": 0.014978235492056277,
    "rel_dev_isolation": -0.0038879025845376994,
    "remainder": 5.82339204813799e-05,
    "remainder_over_isolation": 0.003903077369128786,
    "rel_dev_E_bind": -0.0038879025845376994,
    "wide_form": -0.024235294117647063,
    "rel_dev_wide_form": -0.6243493005938658,
    "Epp0": 0.0031404151650026376,
    "rel_dev_Epp0": 0.004562116682309792,
    "mb_minus_m1_m2": 175.3736798984645,
    "minus_4_m1_m2_E_bind": 176.13890744220365,
    "rel_dev_11_16": -0.004363411568840803,
    "leading_function": 176.82639122566437,
    "rel_dev_leading_function": -0.008215466690975592,
    "P_half_pi": {
     "isolation": 0.017532317636902654,
     "isolation_leading": 0.017602563555805258,
     "remainder": 6.498322307038791e-05,
     "remainder_over_isolation": 0.003706482189987756,
     "closed_form_minus_exact_edge": -0.017597300859973044
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 1.0,
    "w11": -0.012117647058823532,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -0.005006099041962584,
    "E_bind_leading": -0.005019293755815151,
    "isolation": 0.005006099041962584,
    "isolation_leading": 0.005019293755815151,
    "rel_dev_isolation": -0.0026287988897401816,
    "remainder": 1.3194713852566695e-05,
    "remainder_over_isolation": 0.002635727687759421,
    "rel_dev_E_bind": -0.0026287988897401816,
    "wide_form": -0.006058823529411766,
    "rel_dev_wide_form": -0.21028838595180344,
    "Epp0": 0.0049475706098375295,
    "rel_dev_Epp0": 0.0009484862427336612,
    "mb_minus_m1_m2": 59.063843814237046,
    "minus_4_m1_m2_E_bind": 59.09978035650273,
    "rel_dev_11_16": -0.000608435549482786,
    "leading_function": 59.25555128392888,
    "rel_dev_leading_function": -0.00323526598838393,
    "P_half_pi": {
     "isolation": 0.006554166297161543,
     "isolation_leading": 0.0065734022494556635,
     "remainder": 1.3973256461904254e-05,
     "remainder_over_isolation": 0.002131965505354319,
     "closed_form_minus_exact_edge": -0.006568139553623447
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.5,
    "w11": -0.006058823529411766,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -0.001428217778920135,
    "E_bind_leading": -0.0014302942166163728,
    "isolation": 0.001428217778920135,
    "isolation_leading": 0.0014302942166163728,
    "rel_dev_isolation": -0.001451755640283511,
    "remainder": 2.076437696237705e-06,
    "remainder_over_isolation": 0.0014538662988831327,
    "rel_dev_E_bind": -0.001451755640283511,
    "wide_form": -0.0015147058823529415,
    "rel_dev_wide_form": -0.06055666349301393,
    "Epp0": 0.006252906186268668,
    "rel_dev_Epp0": 9.590195197753653e-05,
    "mb_minus_m1_m2": 16.870080654370653,
    "minus_4_m1_m2_E_bind": 16.860904334473815,
    "rel_dev_11_16": 0.0005439404875910067,
    "leading_function": 16.885417835054408,
    "rel_dev_leading_function": -0.0009083092188524076,
    "P_half_pi": {
     "isolation": 0.002055058279317434,
     "isolation_leading": 0.0020595196414825417,
     "remainder": -8.013336671086266e-07,
     "remainder_over_isolation": 0.00038993233193113195,
     "closed_form_minus_exact_edge": -0.0020542569456503254
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.25,
    "w11": -0.003029411764705883,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -0.0003726666887699605,
    "E_bind_leading": -0.00037293763054761786,
    "isolation": 0.0003726666887699605,
    "isolation_leading": 0.00037293763054761786,
    "rel_dev_isolation": -0.0007265069423525296,
    "remainder": 2.709417776573472e-07,
    "remainder_over_isolation": 0.0007270351384279317,
    "rel_dev_E_bind": -0.0007265069423525296,
    "wide_form": -0.00037867647058823536,
    "rel_dev_wide_form": -0.016126426105083313,
    "Epp0": 0.0067815876724185795,
    "rel_dev_Epp0": 1.3316406762168568e-06,
    "mb_minus_m1_m2": 4.402539554989673,
    "minus_4_m1_m2_E_bind": 4.3995372979787,
    "rel_dev_11_16": 0.0006819375438819743,
    "leading_function": 4.402735916187166,
    "rel_dev_leading_function": -4.459981275987202e-05,
    "P_half_pi": {
     "isolation": 0.0005608837656039265,
     "isolation_leading": 0.000562102253175132,
     "remainder": -4.04420826101079e-06,
     "remainder_over_isolation": 0.007210421319034302,
     "closed_form_minus_exact_edge": -0.0005568395573429157
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.125,
    "w11": -0.0015147058823529415,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -9.426848538950456e-05,
    "E_bind_leading": -9.430217756986083e-05,
    "isolation": 9.426848538950456e-05,
    "isolation_leading": 9.430217756986083e-05,
    "rel_dev_isolation": -0.0003572789221256669,
    "remainder": 3.3692180356263116e-08,
    "remainder_over_isolation": 0.0003574066159761834,
    "rel_dev_E_bind": -0.0003572789221256669,
    "wide_form": -9.466911764705884e-05,
    "rel_dev_wide_form": -0.0042499065928440416,
    "Epp0": 0.006936299435021802,
    "rel_dev_Epp0": -1.720825363171211e-06,
    "mb_minus_m1_m2": 1.1135376861431183,
    "minus_4_m1_m2_E_bind": 1.1128918414038733,
    "rel_dev_11_16": 0.0005799936071153297,
    "leading_function": 1.113289596310861,
    "rel_dev_leading_function": 0.00022284393304250458,
    "P_half_pi": {
     "isolation": 0.00014385659177961092,
     "isolation_leading": 0.0001442167993358466,
     "remainder": -4.902488275980617e-06,
     "remainder_over_isolation": 0.03407899641812212,
     "closed_form_minus_exact_edge": -0.0001389541035036303
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.0625,
    "w11": -0.0007573529411764707,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -2.3640040486996213e-05,
    "E_bind_leading": -2.3644211866057432e-05,
    "isolation": 2.3640040486996213e-05,
    "isolation_leading": 2.3644211866057432e-05,
    "rel_dev_isolation": -0.00017642284229435075,
    "remainder": 4.171379061219667e-09,
    "remainder_over_isolation": 0.00017645397280576726,
    "rel_dev_E_bind": -0.00017642284229435075,
    "wide_form": -2.366727941176471e-05,
    "rel_dev_wide_form": -0.0011522368070173508,
    "Epp0": 0.006976674138363447,
    "rel_dev_Epp0": -5.848281355921224e-07,
    "mb_minus_m1_m2": 0.2792168829598296,
    "minus_4_m1_m2_E_bind": 0.27908381130481635,
    "rel_dev_11_16": 0.00047658885667166206,
    "leading_function": 0.2791330567520875,
    "rel_dev_leading_function": 0.00030030913829228313,
    "P_half_pi": {
     "isolation": 3.619953080777425e-05,
     "isolation_leading": 3.630043971993013e-05,
     "remainder": -5.161786920060418e-06,
     "remainder_over_isolation": 0.14259264705585264,
     "closed_form_minus_exact_edge": -3.103774388771383e-05
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.03125,
    "w11": -0.00037867647058823536,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -5.914857966156118e-06,
    "E_bind_leading": -5.9153760217540985e-06,
    "isolation": 5.914857966156118e-06,
    "isolation_leading": 5.9153760217540985e-06,
    "rel_dev_isolation": -8.757779658904613e-05,
    "remainder": 5.180555979809014e-10,
    "remainder_over_isolation": 8.758546713127071e-05,
    "rel_dev_E_bind": -8.757779658904613e-05,
    "wide_form": -5.9168198529411775e-06,
    "rel_dev_wide_form": -0.00033168789449984393,
    "Epp0": 0.006986879432227972,
    "rel_dev_Epp0": -1.5738681444477128e-07,
    "mb_minus_m1_m2": 0.06985682630956092,
    "minus_4_m1_m2_E_bind": 0.06982818432267639,
    "rel_dev_11_16": 0.0004100098501126479,
    "leading_function": 0.06983430025681395,
    "rel_dev_leading_function": 0.00032256430814269464,
    "P_half_pi": {
     "isolation": 9.063926823905943e-06,
     "isolation_leading": 9.09076442331784e-06,
     "remainder": -5.235858232804404e-06,
     "remainder_over_isolation": 0.5776589258195379,
     "closed_form_minus_exact_edge": -3.82806859110154e-06
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.015625,
    "w11": -0.00018933823529411768,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -1.4790501695772618e-06,
    "E_bind_leading": -1.4791146907486286e-06,
    "isolation": 1.4790501695772618e-06,
    "isolation_leading": 1.4791146907486286e-06,
    "rel_dev_isolation": -4.362147963937128e-05,
    "remainder": 6.452117136678624e-11,
    "remainder_over_isolation": 4.362338255586523e-05,
    "rel_dev_E_bind": -4.362147963937128e-05,
    "wide_form": -1.4792049632352944e-06,
    "rel_dev_wide_form": -0.00010465747627536955,
    "Epp0": 0.006989437832072702,
    "rel_dev_Epp0": -3.995139304396111e-08,
    "mb_minus_m1_m2": 0.017467486621242756,
    "minus_4_m1_m2_E_bind": 0.017461008946398227,
    "rel_dev_11_16": 0.0003708418380381662,
    "leading_function": 0.017461770654657777,
    "rel_dev_leading_function": 0.00032734175119027376,
    "P_half_pi": {
     "isolation": 2.2667477633762922e-06,
     "isolation_leading": 2.2736737380017052e-06,
     "remainder": -5.255769857590888e-06,
     "remainder_over_isolation": 2.3186390398208596,
     "closed_form_minus_exact_edge": 2.9890220942145954e-06
    }
   },
   {
    "eps_factor": 1.0,
    "sign": -1,
    "u": 0.0078125,
    "w11": -9.466911764705884e-05,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": -3.6978754861694177e-07,
    "E_bind_leading": -3.697955982609469e-07,
    "isolation": 3.6978754861694177e-07,
    "isolation_leading": 3.697955982609469e-07,
    "rel_dev_isolation": -2.1767819960438747e-05,
    "remainder": 8.049644005107028e-12,
    "remainder_over_isolation": 2.1768293808739222e-05,
    "rel_dev_E_bind": -2.1767819960438747e-05,
    "wide_form": -3.698012408088236e-07,
    "rel_dev_wide_form": -3.7027184752530755e-05,
    "Epp0": 0.006990077876856824,
    "rel_dev_Epp0": -9.768734677709186e-09,
    "mb_minus_m1_m2": 0.004367039993908861,
    "minus_4_m1_m2_E_bind": 0.0043655474489500065,
    "rel_dev_11_16": 0.00034177496907204655,
    "leading_function": 0.004365642479480729,
    "rel_dev_leading_function": 0.00032011655436761,
    "P_half_pi": {
     "isolation": 5.667204262919945e-07,
     "isolation_leading": 5.68479915422776e-07,
     "remainder": -5.260936343085519e-06,
     "remainder_over_isolation": 9.283124621971712,
     "closed_form_minus_exact_edge": 4.694215916793525e-06
    }
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 2.0,
    "w11": 0.024235294117647063,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.03894297934044144,
    "E_bind_leading": 0.03921352960970334,
    "isolation": 0.014909045200069634,
    "isolation_leading": 0.014978235492056277,
    "rel_dev_isolation": -0.0046193887139335315,
    "remainder": -0.00027055026926189885,
    "remainder_over_isolation": 0.018146720036815986,
    "rel_dev_E_bind": -0.006899411298975533,
    "E_bind_minus_2a": 0.014707685222794378,
    "w2_over_2a": 0.024235294117647063
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 1.0,
    "w11": 0.012117647058823532,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.029031083268790715,
    "E_bind_leading": 0.029254587873462214,
    "isolation": 0.004997149128418907,
    "isolation_leading": 0.005019293755815151,
    "rel_dev_isolation": -0.004411901050937384,
    "remainder": -0.00022350460467149974,
    "remainder_over_isolation": 0.044726422791832185,
    "rel_dev_E_bind": -0.007639984731223919,
    "E_bind_minus_2a": 0.004795789151143651,
    "w2_over_2a": 0.006058823529411766
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.5,
    "w11": 0.006058823529411766,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.025457764579939205,
    "E_bind_leading": 0.025665588334263436,
    "isolation": 0.0014238304395673973,
    "isolation_leading": 0.0014302942166163728,
    "rel_dev_isolation": -0.004519194004899729,
    "remainder": -0.0002078237543242309,
    "remainder_over_isolation": 0.1459610277663217,
    "rel_dev_E_bind": -0.008097369583645476,
    "E_bind_minus_2a": 0.0012224704622921419,
    "w2_over_2a": 0.0015147058823529415
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.25,
    "w11": 0.003029411764705883,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.02440508745573683,
    "E_bind_leading": 0.02460823174819468,
    "isolation": 0.00037115331536502136,
    "isolation_leading": 0.00037293763054761786,
    "rel_dev_isolation": -0.004784486832225624,
    "remainder": -0.00020314429245785193,
    "remainder_over_isolation": 0.5473325551681085,
    "rel_dev_E_bind": -0.00825513570160339,
    "E_bind_minus_2a": 0.00016979333808976593,
    "w2_over_2a": 0.00037867647058823536
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.125,
    "w11": 0.0015147058823529415,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.02412776826458304,
    "E_bind_leading": 0.024329596295216922,
    "isolation": 9.383412421123255e-05,
    "isolation_leading": 9.430217756986083e-05,
    "rel_dev_isolation": -0.004963335637520493,
    "remainder": -0.00020182803063388197,
    "remainder_over_isolation": 2.150902268555748,
    "rel_dev_E_bind": -0.008295576637807195,
    "E_bind_minus_2a": -0.00010752585306402287,
    "w2_over_2a": 9.466911764705884e-05
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.0625,
    "w11": 0.0007573529411764707,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.024057460547305596,
    "E_bind_leading": 0.02425893832951312,
    "isolation": 2.3526406933788158e-05,
    "isolation_leading": 2.3644211866057432e-05,
    "rel_dev_isolation": -0.004982400468098929,
    "remainder": -0.00020147778220752297,
    "remainder_over_isolation": 8.563899399281604,
    "rel_dev_E_bind": -0.008305300894491646,
    "E_bind_minus_2a": -0.00017783357034146727,
    "w2_over_2a": 2.366727941176471e-05
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.03125,
    "w11": 0.00037867647058823536,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.02403982108711964,
    "E_bind_leading": 0.024241209493668817,
    "isolation": 5.886946747832994e-06,
    "isolation_leading": 5.9153760217540985e-06,
    "rel_dev_isolation": -0.004805996071349377,
    "remainder": -0.00020138840654917653,
    "remainder_over_isolation": 34.209313448148365,
    "rel_dev_E_bind": -0.008307688054994699,
    "E_bind_minus_2a": -0.00019547303052742243,
    "w2_over_2a": 5.9168198529411775e-06
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.015625,
    "w11": 0.00018933823529411768,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.024035406843661206,
    "E_bind_leading": 0.024236773232337812,
    "isolation": 1.472703289397831e-06,
    "isolation_leading": 1.4791146907486286e-06,
    "rel_dev_isolation": -0.004334620831568261,
    "remainder": -0.00020136638867660622,
    "remainder_over_isolation": 136.73249060164883,
    "rel_dev_E_bind": -0.00830830023230708,
    "E_bind_minus_2a": -0.0001998872739858576,
    "w2_over_2a": 1.4792049632352944e-06
   },
   {
    "eps_factor": 1.0,
    "sign": 1,
    "u": 0.0078125,
    "w11": 9.466911764705884e-05,
    "a": 0.012117647058823532,
    "found": true,
    "E_bind": 0.024034302704737207,
    "E_bind_leading": 0.024235663913245324,
    "isolation": 3.685643653987547e-07,
    "isolation_leading": 3.697955982609469e-07,
    "rel_dev_isolation": -0.0033294957213724215,
    "remainder": -0.00020136120850811762,
    "remainder_over_isolation": 546.3393301472926,
    "rel_dev_E_bind": -0.008308466779738982,
    "E_bind_minus_2a": -0.00020099141290985667,
    "w2_over_2a": 3.698012408088236e-07
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 2.0,
    "w11": -0.006058823529411766,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -0.0037409280422991387,
    "E_bind_leading": -0.0037445588730140693,
    "isolation": 0.0037409280422991387,
    "isolation_leading": 0.0037445588730140693,
    "rel_dev_isolation": -0.0009696284230158297,
    "remainder": 3.6308307149305642e-06,
    "remainder_over_isolation": 0.0009705695148038961,
    "rel_dev_E_bind": -0.0009696284230158297,
    "wide_form": -0.006058823529411766,
    "rel_dev_wide_form": -0.6196044032132921,
    "Epp0": 0.0007824348657223055,
    "rel_dev_Epp0": 0.0011471523070140561,
    "mb_minus_m1_m2": 705.8394335257601,
    "minus_4_m1_m2_E_bind": 706.6197413231706,
    "rel_dev_11_16": -0.001105503263699453,
    "leading_function": 707.3055649026575,
    "rel_dev_leading_function": -0.00207284015515858,
    "P_half_pi": {
     "isolation": 0.00439625566701661,
     "isolation_leading": 0.004400640888951314,
     "remainder": 4.055689716441716e-06,
     "remainder_over_isolation": 0.0009225327241247529,
     "closed_form_minus_exact_edge": -0.004400311356733052
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 1.0,
    "w11": -0.003029411764705883,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -0.0012539989102265665,
    "E_bind_leading": -0.0012548234389537878,
    "isolation": 0.0012539989102265665,
    "isolation_leading": 0.0012548234389537878,
    "rel_dev_isolation": -0.0006570874448350358,
    "remainder": 8.245287272212569e-07,
    "remainder_over_isolation": 0.0006575194926383827,
    "rel_dev_E_bind": -0.0006570874448350358,
    "wide_form": -0.0015147058823529415,
    "rel_dev_wide_form": -0.20790047742487403,
    "Epp0": 0.001236015533987851,
    "rel_dev_Epp0": 0.00023868300751412127,
    "mb_minus_m1_m2": 236.82909833329205,
    "minus_4_m1_m2_E_bind": 236.86646082057365,
    "rel_dev_11_16": -0.00015776138804116655,
    "leading_function": 237.02220513571552,
    "rel_dev_leading_function": -0.0008147203014709179,
    "P_half_pi": {
     "isolation": 0.0016421467066022716,
     "isolation_leading": 0.0016433505623639159,
     "remainder": 8.743235433815314e-07,
     "remainder_over_isolation": 0.000532427181972416,
     "closed_form_minus_exact_edge": -0.001643021030145653
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.5,
    "w11": -0.0015147058823529415,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -0.00035744380650213004,
    "E_bind_leading": -0.0003575735541540932,
    "isolation": 0.00035744380650213004,
    "isolation_leading": 0.0003575735541540932,
    "rel_dev_isolation": -0.00036285583890591135,
    "remainder": 1.297476519631518e-07,
    "remainder_over_isolation": 0.000362987551058263,
    "rel_dev_E_bind": -0.00036285583890591135,
    "wide_form": -0.00037867647058823536,
    "rel_dev_wide_form": -0.059401404360264934,
    "Epp0": 0.0015631145010291626,
    "rel_dev_Epp0": 2.421926232755241e-05,
    "mb_minus_m1_m2": 67.52617710591068,
    "minus_4_m1_m2_E_bind": 67.51716345040234,
    "rel_dev_11_16": 0.00013348387091724544,
    "leading_function": 67.54167134021763,
    "rel_dev_leading_function": -0.00022940258953483094,
    "P_half_pi": {
     "isolation": 0.0005146005172142594,
     "isolation_leading": 0.0005148799103706354,
     "remainder": -5.013906188681711e-08,
     "remainder_over_isolation": 9.743297997102708e-05,
     "closed_form_minus_exact_edge": -0.0005145503781523726
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.25,
    "w11": -0.0007573529411764707,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -9.32174855774465e-05,
    "E_bind_leading": -9.323440763690446e-05,
    "isolation": 9.32174855774465e-05,
    "isolation_leading": 9.323440763690446e-05,
    "rel_dev_isolation": -0.0001815001552202796,
    "remainder": 1.6922059457968983e-08,
    "remainder_over_isolation": 0.0001815331035067437,
    "rel_dev_E_bind": -0.0001815001552202796,
    "wide_form": -9.466911764705884e-05,
    "rel_dev_wide_form": -0.01557252977400154,
    "Epp0": 0.0016953953089124342,
    "rel_dev_Epp0": 3.82485740065091e-07,
    "mb_minus_m1_m2": 17.610718062060016,
    "minus_4_m1_m2_E_bind": 17.607747275739893,
    "rel_dev_11_16": 0.00016869194712300364,
    "leading_function": 17.610943664748664,
    "rel_dev_leading_function": -1.2810369105852032e-05,
    "P_half_pi": {
     "isolation": 0.00014044920565403824,
     "isolation_leading": 0.000140525563293783,
     "remainder": -2.531745785180634e-07,
     "remainder_over_isolation": 0.0018026059837012974,
     "closed_form_minus_exact_edge": -0.00014019603107552018
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.125,
    "w11": -0.00037867647058823536,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -2.357344078414307e-05,
    "E_bind_leading": -2.3575544392465207e-05,
    "isolation": 2.357344078414307e-05,
    "isolation_leading": 2.3575544392465207e-05,
    "rel_dev_isolation": -8.922840919878494e-05,
    "remainder": 2.103608322135005e-09,
    "remainder_over_isolation": 8.923637161826711e-05,
    "rel_dev_E_bind": -8.922840919878494e-05,
    "wide_form": -2.366727941176471e-05,
    "rel_dev_wide_form": -0.0039806928687627224,
    "Epp0": 0.001734077118230059,
    "rel_dev_Epp0": -4.1784198334296267e-07,
    "mb_minus_m1_m2": 4.453399344528918,
    "minus_4_m1_m2_E_bind": 4.4527610370048025,
    "rel_dev_11_16": 0.00014333040330192682,
    "leading_function": 4.453158385243444,
    "rel_dev_leading_function": 5.410974967170186e-05,
    "P_half_pi": {
     "isolation": 3.6031617005733785e-05,
     "isolation_leading": 3.605419983396165e-05,
     "remainder": -3.069493900349513e-07,
     "remainder_over_isolation": 0.008518890228715126,
     "closed_form_minus_exact_edge": -3.5724667615698834e-05
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.0625,
    "w11": -0.00018933823529411768,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -5.9107925685195424e-06,
    "E_bind_leading": -5.911052966514358e-06,
    "isolation": 5.9107925685195424e-06,
    "isolation_leading": 5.911052966514358e-06,
    "rel_dev_isolation": -4.4052725680315715e-05,
    "remainder": 2.6039799481567346e-10,
    "remainder_over_isolation": 4.405466640844994e-05,
    "rel_dev_E_bind": -4.4052725680315715e-05,
    "wide_form": -5.9168198529411775e-06,
    "rel_dev_wide_form": -0.0010197083304421806,
    "Epp0": 0.0017441693054188734,
    "rel_dev_Epp0": -1.4288256349048713e-07,
    "mb_minus_m1_m2": 1.116614147131088,
    "minus_4_m1_m2_E_bind": 1.1164830407203579,
    "rel_dev_11_16": 0.0001174142483031938,
    "leading_function": 1.11653222700835,
    "rel_dev_leading_function": 7.337013724852108e-05,
    "P_half_pi": {
     "isolation": 9.06878191169391e-06,
     "isolation_leading": 9.075109929982533e-06,
     "remainder": -3.23204199974194e-07,
     "remainder_over_isolation": 0.035639207461526046,
     "closed_form_minus_exact_edge": -8.745577711719715e-06
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.03125,
    "w11": -9.466911764705884e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -1.4788116688554939e-06,
    "E_bind_leading": -1.4788440054385246e-06,
    "isolation": 1.4788116688554939e-06,
    "isolation_leading": 1.4788440054385246e-06,
    "rel_dev_isolation": -2.1866121721995138e-05,
    "remainder": 3.233658303076162e-11,
    "remainder_over_isolation": 2.1866599859729316e-05,
    "rel_dev_E_bind": -2.1866121721995138e-05,
    "wide_form": -1.4792049632352944e-06,
    "rel_dev_wide_form": -0.00026595298649821245,
    "Epp0": 0.00174672006608934,
    "rel_dev_Epp0": -3.8287971381824763e-08,
    "mb_minus_m1_m2": 0.27935912095148296,
    "minus_4_m1_m2_E_bind": 0.2793310930060377,
    "rel_dev_11_16": 0.00010032944458660201,
    "leading_function": 0.2793372010272558,
    "rel_dev_leading_function": 7.847119591148674e-05,
    "P_half_pi": {
     "isolation": 2.271007870434643e-06,
     "isolation_leading": 2.27269110582946e-06,
     "remainder": -3.278489828680009e-07,
     "remainder_over_isolation": 0.14436276823877967,
     "closed_form_minus_exact_edge": -1.943158887566642e-06
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.015625,
    "w11": -4.733455882352942e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -3.6977464552042225e-07,
    "E_bind_leading": -3.6977867268715714e-07,
    "isolation": 3.6977464552042225e-07,
    "isolation_leading": 3.6977867268715714e-07,
    "rel_dev_isolation": -1.0890749067868521e-05,
    "remainder": 4.0271667348853154e-12,
    "remainder_over_isolation": 1.0890867677575528e-05,
    "rel_dev_E_bind": -1.0890749067868521e-05,
    "wide_form": -3.698012408088236e-07,
    "rel_dev_wide_form": -7.192296368484605e-05,
    "Epp0": 0.0017473595112347943,
    "rel_dev_Epp0": -9.495944133114093e-09,
    "mb_minus_m1_m2": 0.0698525170723201,
    "minus_4_m1_m2_E_bind": 0.06984632193163531,
    "rel_dev_11_16": 8.868886826754983e-05,
    "leading_function": 0.06984708261863111,
    "rel_dev_leading_function": 7.780502041381135e-05,
    "P_half_pi": {
     "isolation": 5.679840086416418e-07,
     "isolation_leading": 5.684184345004263e-07,
     "remainder": -3.2909779240403343e-07,
     "remainder_over_isolation": 0.5794138345392593,
     "closed_form_minus_exact_edge": -2.3888621623760833e-07
    }
   },
   {
    "eps_factor": 0.5,
    "sign": -1,
    "u": 0.0078125,
    "w11": -2.366727941176471e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": -9.244839714904354e-08,
    "E_bind_leading": -9.244889956523672e-08,
    "isolation": 9.244839714904354e-08,
    "isolation_leading": 9.244889956523672e-08,
    "rel_dev_isolation": -5.434528648181909e-06,
    "remainder": 5.024161931801709e-13,
    "remainder_over_isolation": 5.434558182444041e-06,
    "rel_dev_E_bind": -5.434528648181909e-06,
    "wide_form": -9.24503102022059e-08,
    "rel_dev_wide_form": -2.069319989697024e-05,
    "Epp0": 0.0017475194826295998,
    "rel_dev_Epp0": -2.0919139606119022e-09,
    "mb_minus_m1_m2": 0.017463766994126217,
    "minus_4_m1_m2_E_bind": 0.017462475017041557,
    "rel_dev_11_16": 7.398043532616647e-05,
    "leading_function": 0.017462569917922915,
    "rel_dev_leading_function": 6.855097553959524e-05,
    "P_half_pi": {
     "isolation": 1.4200961198575397e-07,
     "isolation_leading": 1.42119978855694e-07,
     "remainder": -3.2942185139287795e-07,
     "remainder_over_isolation": 2.3197151712936495,
     "closed_form_minus_exact_edge": 1.8741223940712398e-07
    }
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 2.0,
    "w11": 0.006058823529411766,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.009786148616199895,
    "E_bind_leading": 0.009803382402425835,
    "isolation": 0.003740092506917366,
    "isolation_leading": 0.0037445588730140693,
    "rel_dev_isolation": -0.001192761617100195,
    "remainder": -1.7233786225940434e-05,
    "remainder_over_isolation": 0.004607850258801419,
    "rel_dev_E_bind": -0.0017579428730308383,
    "E_bind_minus_2a": 0.003727325086788129,
    "w2_over_2a": 0.006058823529411766
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 1.0,
    "w11": 0.003029411764705883,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.007299453794610978,
    "E_bind_leading": 0.007313646968365554,
    "isolation": 0.0012533976853284492,
    "isolation_leading": 0.0012548234389537878,
    "rel_dev_isolation": -0.001136218515751735,
    "remainder": -1.419317375457585e-05,
    "remainder_over_isolation": 0.011323759346864096,
    "rel_dev_E_bind": -0.00194064244773736,
    "E_bind_minus_2a": 0.001240630265199212,
    "w2_over_2a": 0.0015147058823529415
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.5,
    "w11": 0.0015147058823529415,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.006403213593810778,
    "E_bind_leading": 0.006416397083565859,
    "isolation": 0.00035715748452824943,
    "isolation_leading": 0.0003575735541540932,
    "rel_dev_isolation": -0.001163591717033028,
    "remainder": -1.3183489755081053e-05,
    "remainder_over_isolation": 0.03691225951065937,
    "rel_dev_E_bind": -0.002054656154128547,
    "E_bind_minus_2a": 0.00034439006439901214,
    "w2_over_2a": 0.00037867647058823536
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.25,
    "w11": 0.0007573529411764707,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.00613917534216912,
    "E_bind_leading": 0.00615205793704867,
    "isolation": 9.31192328865911e-05,
    "isolation_leading": 9.323440763690446e-05,
    "rel_dev_isolation": -0.0012353245248460578,
    "remainder": -1.2882594879550652e-05,
    "remainder_over_isolation": 0.13834515685111176,
    "rel_dev_E_bind": -0.0020940301621624234,
    "E_bind_minus_2a": 8.035181275735381e-05,
    "w2_over_2a": 9.466911764705884e-05
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.125,
    "w11": 0.00037867647058823536,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.0060696011944169626,
    "E_bind_leading": 0.006082399073804231,
    "isolation": 2.354508513443404e-05,
    "isolation_leading": 2.3575544392465207e-05,
    "rel_dev_isolation": -0.0012919853524528055,
    "remainder": -1.2797879387268021e-05,
    "remainder_over_isolation": 0.5435478068648592,
    "rel_dev_E_bind": -0.0021040841339046833,
    "E_bind_minus_2a": 1.0777665005196752e-05,
    "w2_over_2a": 2.366727941176471e-05
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.0625,
    "w11": 0.00018933823529411768,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.0060519593553679816,
    "E_bind_leading": 0.00606473458237828,
    "isolation": 5.903246085453041e-06,
    "isolation_leading": 5.911052966514358e-06,
    "rel_dev_isolation": -0.001320725952811132,
    "remainder": -1.2775227010298172e-05,
    "remainder_over_isolation": 2.16410205933635,
    "rel_dev_E_bind": -0.002106477511384905,
    "E_bind_minus_2a": -6.864174043784248e-06,
    "w2_over_2a": 5.9168198529411775e-06
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.03125,
    "w11": 9.466911764705884e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.006047532994613864,
    "E_bind_leading": 0.006060302373417204,
    "isolation": 1.4768853313354077e-06,
    "isolation_leading": 1.4788440054385246e-06,
    "rel_dev_isolation": -0.0013244629561426175,
    "remainder": -1.2769378803340406e-05,
    "remainder_over_isolation": 8.646154533740452,
    "rel_dev_E_bind": -0.0021070530835807415,
    "E_bind_minus_2a": -1.1290534797901881e-05,
    "w2_over_2a": 1.4792049632352944e-06
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.015625,
    "w11": 4.733455882352942e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.006046425406422311,
    "E_bind_leading": 0.006059193308084453,
    "isolation": 3.69297139782461e-07,
    "isolation_leading": 3.6977867268715714e-07,
    "rel_dev_isolation": -0.0013022192469806068,
    "remainder": -1.2767901662141985e-05,
    "remainder_over_isolation": 34.57351895458241,
    "rel_dev_E_bind": -0.002107194970179688,
    "E_bind_minus_2a": -1.2398122989454828e-05,
    "w2_over_2a": 3.698012408088236e-07
   },
   {
    "eps_factor": 0.5,
    "sign": 1,
    "u": 0.0078125,
    "w11": 2.366727941176471e-05,
    "a": 0.003029411764705883,
    "found": true,
    "E_bind": 0.0060461484433444205,
    "E_bind_leading": 0.006058915978311331,
    "isolation": 9.233406189201182e-08,
    "isolation_leading": 9.244889956523672e-08,
    "rel_dev_isolation": -0.0012421745825526417,
    "remainder": -1.2767534966910514e-05,
    "remainder_over_isolation": 138.2754609219145,
    "rel_dev_E_bind": -0.002107230899489867,
    "E_bind_minus_2a": -1.2675086067345277e-05,
    "w2_over_2a": 9.24503102022059e-08
   }
  ],
  "I3_tight": [
   {
    "eps_factor": 1.0,
    "u": 2,
    "w11": -0.024235294117647063,
    "w11_over_M": 0.024235294117647063,
    "in_a_band": false,
    "weight0": 0.8899626325872354,
    "tail": 4.286374863774783e-28,
    "E_bind_minus_w11": [
     0.009315292546071038,
     0.009257058625590786,
     0.009088235294117649
    ],
    "rel_dev_leading": 0.006290758526608752,
    "rel_dev_tight_form": 0.024374677534862485,
    "rel_dev_Epp0": 0.0045621178035695755,
    "rel_dev_1_minus_s3": [
     0.00928390170775158,
     0.01327732749960934
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 4,
    "w11": -0.048470588235294126,
    "w11_over_M": 0.048470588235294126,
    "in_a_band": false,
    "weight0": 0.9647145657474384,
    "tail": 3.0273500468074624e-29,
    "E_bind_minus_w11": [
     0.010806881355552272,
     0.01062589653663306,
     0.01060294117647059
    ],
    "rel_dev_leading": 0.017032428115148907,
    "rel_dev_tight_form": 0.01887132581287241,
    "rel_dev_Epp0": 0.013706571931081648,
    "rel_dev_1_minus_s3": [
     0.0317904044214823,
     0.027299425644829782
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 8,
    "w11": -0.09694117647058825,
    "w11_over_M": 0.09694117647058825,
    "in_a_band": false,
    "weight0": 0.9863204057314806,
    "tail": 3.21343946132194e-29,
    "E_bind_minus_w11": [
     0.011822029025570335,
     0.011363229638264638,
     0.01136029411764706
    ],
    "rel_dev_leading": 0.04037579120646583,
    "rel_dev_tight_form": 0.03905716243164097,
    "rel_dev_Epp0": 0.03300064567553019,
    "rel_dev_1_minus_s3": [
     0.082875105370223,
     0.05723557773482265
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 16,
    "w11": -0.1938823529411765,
    "w11_over_M": 0.1938823529411765,
    "in_a_band": false,
    "weight0": 0.9914083650647069,
    "tail": 2.2642392220475766e-29,
    "E_bind_minus_w11": [
     0.012809255083744753,
     0.01173933966896662,
     0.011738970588235297
    ],
    "rel_dev_leading": 0.09113931830480161,
    "rel_dev_tight_form": 0.08355556107768297,
    "rel_dev_Epp0": 0.07258383439270044,
    "rel_dev_1_minus_s3": [
     0.19916186754658335,
     0.12156633757158962
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 32,
    "w11": -0.387764705882353,
    "w11_over_M": 0.387764705882353,
    "in_a_band": false,
    "weight0": 0.9912773154710773,
    "tail": 6.013579122618436e-31,
    "E_bind_minus_w11": [
     0.014433007998646552,
     0.01192835502612738,
     0.011928308823529413
    ],
    "rel_dev_leading": 0.2099747171368628,
    "rel_dev_tight_form": 0.17353965128766058,
    "rel_dev_Epp0": 0.15338733715504924,
    "rel_dev_1_minus_s3": [
     0.4966985526284478,
     0.2691234124894872
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 64,
    "w11": -0.775529411764706,
    "w11_over_M": 0.775529411764706,
    "in_a_band": false,
    "weight0": 0.9861623291256749,
    "tail": 6.974237998173349e-31,
    "E_bind_minus_w11": [
     0.018647839621440676,
     0.012022983718615654,
     0.012022977941176472
    ],
    "rel_dev_leading": 0.5510159589227006,
    "rel_dev_tight_form": 0.35526161822236796,
    "rel_dev_Epp0": 0.2896168417438294,
    "rel_dev_1_minus_s3": [
     1.5473588086792234,
     0.6646755990942441
    ]
   },
   {
    "eps_factor": 1.0,
    "u": 128,
    "w11": -1.551058823529412,
    "w11_over_M": 1.551058823529412,
    "in_a_band": false,
    "weight0": 0.9228376830703742,
    "tail": 1.7339401159402546e-30,
    "E_bind_minus_w11": [
     0.04408761817019391,
     0.012070313222246165,
     0.012070312500000003
    ],
    "rel_dev_leading": 2.652566205899141,
    "rel_dev_tight_form": 0.7262199002585195,
    "rel_dev_Epp0": -2.100942686626407,
    "rel_dev_1_minus_s3": [
     14.09861440831093,
     2.1683818548196707
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 2,
    "w11": -0.006058823529411766,
    "w11_over_M": 0.006058823529411766,
    "in_a_band": false,
    "weight0": 0.8933174652797004,
    "tail": 3.2881135039312895e-27,
    "E_bind_minus_w11": [
     0.0023178954871142347,
     0.0023142646563976965,
     0.002272058823529412
    ],
    "rel_dev_leading": 0.001568891745592245,
    "rel_dev_tight_form": 0.019775120940370317,
    "rel_dev_Epp0": 0.0011471534541653713,
    "rel_dev_1_minus_s3": [
     0.002321542434251817,
     0.0033016666492830813
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 4,
    "w11": -0.012117647058823532,
    "w11_over_M": 0.012117647058823532,
    "in_a_band": false,
    "weight0": 0.9688137746658395,
    "tail": 1.9499254398139794e-28,
    "E_bind_minus_w11": [
     0.0026676749434621713,
     0.002656474134158265,
     0.0026507352941176473
    ],
    "rel_dev_leading": 0.0042164194862207415,
    "rel_dev_tight_form": 0.0063499675573438965,
    "rel_dev_Epp0": 0.003438100481649809,
    "rel_dev_1_minus_s3": [
     0.007853212388524905,
     0.006741000605532999
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 8,
    "w11": -0.024235294117647063,
    "w11_over_M": 0.024235294117647063,
    "in_a_band": false,
    "weight0": 0.9908688818219815,
    "tail": 1.784534891696209e-29,
    "E_bind_minus_w11": [
     0.0028687199714216155,
     0.0028408074095661595,
     0.002840073529411765
    ],
    "rel_dev_leading": 0.00982557344840167,
    "rel_dev_tight_form": 0.00998579237263595,
    "rel_dev_Epp0": 0.008232547622203813,
    "rel_dev_1_minus_s3": [
     0.019925354733248402,
     0.013912535400511995
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 16,
    "w11": -0.048470588235294126,
    "w11_over_M": 0.048470588235294126,
    "in_a_band": false,
    "weight0": 0.9965930526536041,
    "tail": 1.1893173796815703e-29,
    "E_bind_minus_w11": [
     0.0029975713921960023,
     0.002934834917241655,
     0.0029347426470588242
    ],
    "rel_dev_leading": 0.021376491940238725,
    "rel_dev_tight_form": 0.020959882824058498,
    "rel_dev_Epp0": 0.017935604197695944,
    "rel_dev_1_minus_s3": [
     0.045165705842932,
     0.028583657961672254
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 32,
    "w11": -0.09694117647058825,
    "w11_over_M": 0.09694117647058825,
    "in_a_band": false,
    "weight0": 0.9979766747369238,
    "tail": 2.010353993912508e-30,
    "E_bind_minus_w11": [
     0.003117420656284009,
     0.002982088756531845,
     0.0029820772058823533
    ],
    "rel_dev_leading": 0.04538158009406616,
    "rel_dev_tight_form": 0.043415202927084645,
    "rel_dev_Epp0": 0.037587548717591956,
    "rel_dev_1_minus_s3": [
     0.09875791234091236,
     0.058933872292668554
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 64,
    "w11": -0.1938823529411765,
    "w11_over_M": 0.1938823529411765,
    "in_a_band": false,
    "weight0": 0.9981809983832776,
    "tail": 2.9166490403288004e-31,
    "E_bind_minus_w11": [
     0.003297572192952569,
     0.0030057459296539135,
     0.003005744485294118
    ],
    "rel_dev_leading": 0.0970894646881405,
    "rel_dev_tight_form": 0.08849774639722303,
    "rel_dev_Epp0": 0.07770770279836432,
    "rel_dev_1_minus_s3": [
     0.21919239231328952,
     0.12381374991384912
    ]
   },
   {
    "eps_factor": 0.5,
    "u": 128,
    "w11": -0.387764705882353,
    "w11_over_M": 0.387764705882353,
    "in_a_band": false,
    "weight0": 0.997863504625092,
    "tail": 1.4577500693434633e-30,
    "E_bind_minus_w11": [
     0.0036759003083068897,
     0.0030175783055615413,
     0.0030175781250000007
    ],
    "rel_dev_leading": 0.2181623593767325,
    "rel_dev_tight_form": 0.17909141382838822,
    "rel_dev_Epp0": 0.15959171799045976,
    "rel_dev_1_minus_s3": [
     0.5279806621488864,
     0.27277057353440065
    ]
   }
  ],
  "I2_flat_member": {
   "M": 1.0,
   "tau": 1.0,
   "w": 1.0,
   "c_star": 0.41421356237309515,
   "L": 240,
   "P": [
    {
     "P": 0.8,
     "Delta": 0.29713862190152907,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.3003429150020171,
     "root_finer_q": 0.3003429150020171,
     "root_minus_Delta": 0.0032042931004880315,
     "root_minus_Delta_over_P3": 0.006258384961890685,
     "root_over_P": 0.37542864375252133
    },
    {
     "P": 0.4,
     "Delta": 0.16130235882109156,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.16171255346925908,
     "root_finer_q": 0.1617125534692591,
     "root_minus_Delta": 0.00041019464816752227,
     "root_minus_Delta_over_P3": 0.006409291377617534,
     "root_over_P": 0.4042813836731477
    },
    {
     "P": 0.2,
     "Delta": 0.08229153124290134,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.08234317712266383,
     "root_finer_q": 0.08234317712266381,
     "root_minus_Delta": 5.164587976248802e-05,
     "root_minus_Delta_over_P3": 0.006455734970311001,
     "root_over_P": 0.4117158856133191
    },
    {
     "P": 0.1,
     "Delta": 0.04135235515316027,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.0413588231100566,
     "root_finer_q": 0.0413588231100566,
     "root_minus_Delta": 6.467956896329119e-06,
     "root_minus_Delta_over_P3": 0.006467956896329117,
     "root_over_P": 0.413588231100566
    },
    {
     "P": 0.05,
     "Delta": 0.020702049748055673,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.02070285862952574,
     "root_finer_q": 0.02070285862952574,
     "root_minus_Delta": 8.088814700685232e-07,
     "root_minus_Delta_over_P3": 0.006471051760548184,
     "root_over_P": 0.41405717259051483
    },
    {
     "P": -0.2,
     "Delta": 0.08229153124290112,
     "sign_changes_above": 1,
     "sign_changes_below": 0,
     "root": 0.08234317712266383,
     "root_finer_q": 0.08234317712266381,
     "root_minus_Delta": 5.164587976271007e-05,
     "root_minus_Delta_over_P3": 0.006455734970338757,
     "root_over_P": 0.4117158856133191
    }
   ],
   "max_weight_of_v_on_the_flat_bands_at_P0": 7.703719777548943e-32,
   "P0_discrete_root": -1.816160202538259,
   "P0_equation_at_plus_minus_0.3": [
    1.053944184776615,
    0.9460558152233852
   ],
   "dense": [
    {
     "P": 0.8,
     "E": 0.3003429150020165,
     "E_minus_root": -6.106226635438361e-16,
     "tail": 2.5895460575642306e-08,
     "weight_on_v_at_r0": 0.006282874936772755,
     "next_below": 0.29713618685757637,
     "next_above": 2.12475875363549,
     "eigenvalues_between_Delta_and_1": 1,
     "eigenvalues_between_minus_1_and_minus_Delta": 0
    },
    {
     "P": 0.4,
     "E": 0.16171255341103397,
     "E_minus_root": -5.822511917052964e-11,
     "tail": 0.00019208097907288073,
     "weight_on_v_at_r0": 0.0008160833844589366,
     "next_below": 0.16130089343034437,
     "next_above": 2.037558991872855,
     "eigenvalues_between_Delta_and_1": 1,
     "eigenvalues_between_minus_1_and_minus_Delta": 0
    }
   ],
   "dense_P0": {
    "dimension": 1924,
    "eigenvalues_at_zero": 962,
    "two_times_sites": 962,
    "max_abs_of_them": 7.048522331707946e-15,
    "nearest_other_eigenvalue": -1.8161602025381942
   }
  }
 }
}
output/check_bound_pair.txt48 KB · raw
range of r: -L..L with L=120 (open ends); convergence: comparison with L=240 and weight at |r|>L/2
finite differences: 5-point, step 0.01 in P, relative step 0.001 in M_i, tau_i, theta; convention eta=1/2

=== set A_equal_R: {'M1': 1.0, 'M2': 1.0, 'tau1': 0.1, 'tau2': 0.1, 'w': [-0.004, 0.003, -0.002, 0.006]}  max tau_i/M_i = 0.100
P=-0.30  E_b=1.998771748883  isolation=1.452e-03  in a band: False  weight(r=0,11)=0.6408  Gamma=+1.000000  E_b'=-1.133090e-03  <V1>=-1.133090e-03  <V2>=-1.133090e-03  E_b''=+3.517649e-03  (11.9)=+3.517649e-03
P=-0.15  E_b=1.998642641792  isolation=1.414e-03  in a band: False  weight(r=0,11)=0.6278  Gamma=+1.000000  E_b'=-5.810445e-04  <V1>=-5.810445e-04  <V2>=-5.810445e-04  E_b''=+3.809572e-03  (11.9)=+3.809572e-03
P=+0.00  E_b=1.998598883527  isolation=1.401e-03  in a band: False  weight(r=0,11)=0.6235  Gamma=+1.000000  E_b'=+1.850372e-15  <V1>=+7.893878e-21  <V2>=-2.053590e-20  E_b''=+3.905596e-03  (11.9)=+3.905596e-03
P=+0.15  E_b=1.998642641792  isolation=1.414e-03  in a band: False  weight(r=0,11)=0.6278  Gamma=+1.000000  E_b'=+5.810445e-04  <V1>=+5.810445e-04  <V2>=+5.810445e-04  E_b''=+3.809572e-03  (11.9)=+3.809572e-03
P=+0.30  E_b=1.998771748883  isolation=1.452e-03  in a band: False  weight(r=0,11)=0.6408  Gamma=+1.000000  E_b'=+1.133090e-03  <V1>=+1.133090e-03  <V2>=+1.133090e-03  E_b''=+3.517649e-03  (11.9)=+3.517649e-03
max |deviation| over the P values:
  2(a): dE/dM_i - <sigma3_i> 1.25e-12; tau_i dE/dtau_i - <A_i> 1.37e-12; dE/dtheta - <U> 8.96e-13; Euler residual 4.22e-15
  2(b): E_b' - <V1> 1.59e-12; E_b' - <V2> 1.59e-12; <V1> - <V2> 6.51e-19
  2(c): E_b'' (finite difference) - formula (11.9) 1.59e-11
  3(a): coefficients of (11.10) against direct inversion (relative) 1.19e-14; root of (11.10) - E_b 1.55e-15
  numerics: |E_b(L) - E_b(2L)| 2.00e-15; weight at |r|>L/2 3.17e-20; dependence on eta 2.44e-15; dense - banded 2.44e-15
closed forms (items 3, 4), regime R: |w11|/a = 0.800, (max tau/M)^2 = 1.000e-02
  max_P |E_b - (11.12)| = 2.053e-06  = 0.021 * (tau/M)^4;  max_P |E_b' - d(11.12)/dP| = 2.354e-07
  E_b''(0): numeric +3.90559613e-03  closed +3.90434405e-03  rel.dev 3.207e-04  = 0.032 * (tau/M)^2
  s3_1   numeric +9.9945154586e-01  closed +9.9945217202e-01  diff -6.26e-07
  s3_2   numeric +9.9945154586e-01  closed +9.9945217202e-01  diff -6.26e-07
  A1     numeric +1.0948993397e-03  closed +1.0956559528e-03  diff -7.57e-07
  A2     numeric +1.0948993397e-03  closed +1.0956559528e-03  diff -7.57e-07
  U      numeric -2.4940068754e-03  closed -2.4987801902e-03  diff +4.77e-06
  Ebind  numeric -1.4011164735e-03  closed -1.4031242374e-03  diff +2.01e-06
  Epp0   numeric +3.9055961250e-03  closed +3.9043440472e-03  diff +1.25e-06
  m_b/(m_1+m_2): numeric +1.280214  (11.16) +1.280625;  m_b-(m_1+m_2): numeric +5.604286e+01  -4 m_1 m_2 E_bind +5.604466e+01

=== set B_unequal_R: {'M1': 1.0, 'M2': 1.7, 'tau1': 0.2, 'tau2': 0.12, 'w': [-0.01, 0.005, -0.004, 0.008]}  max tau_i/M_i = 0.200
P=-0.30  E_b=2.696652071452  isolation=3.657e-03  in a band: False  weight(r=0,11)=0.6441  Gamma=+1.000000  E_b'=-1.546134e-03  <V1>=-1.546134e-03  <V2>=-1.546134e-03  E_b''=+4.673251e-03  (11.9)=+4.673251e-03
P=-0.15  E_b=2.696475088077  isolation=3.603e-03  in a band: False  weight(r=0,11)=0.6368  Gamma=+1.000000  E_b'=-8.001290e-04  <V1>=-8.001290e-04  <V2>=-8.001290e-04  E_b''=+5.213785e-03  (11.9)=+5.213785e-03
P=+0.00  E_b=2.696414739677  isolation=3.585e-03  in a band: False  weight(r=0,11)=0.6344  Gamma=+1.000000  E_b'=+1.110223e-14  <V1>=-1.752348e-19  <V2>=+3.687192e-20  E_b''=+5.394417e-03  (11.9)=+5.394417e-03
P=+0.15  E_b=2.696475088077  isolation=3.603e-03  in a band: False  weight(r=0,11)=0.6368  Gamma=+1.000000  E_b'=+8.001290e-04  <V1>=+8.001290e-04  <V2>=+8.001290e-04  E_b''=+5.213785e-03  (11.9)=+5.213785e-03
P=+0.30  E_b=2.696652071452  isolation=3.657e-03  in a band: False  weight(r=0,11)=0.6441  Gamma=+1.000000  E_b'=+1.546134e-03  <V1>=+1.546134e-03  <V2>=+1.546134e-03  E_b''=+4.673251e-03  (11.9)=+4.673251e-03
max |deviation| over the P values:
  2(a): dE/dM_i - <sigma3_i> 1.49e-12; tau_i dE/dtau_i - <A_i> 1.56e-12; dE/dtheta - <U> 6.98e-13; Euler residual 4.44e-15
  2(b): E_b' - <V1> 8.50e-13; E_b' - <V2> 8.50e-13; <V1> - <V2> 7.35e-17
  2(c): E_b'' (finite difference) - formula (11.9) 1.83e-11
  3(a): coefficients of (11.10) against direct inversion (relative) 4.28e-14; root of (11.10) - E_b 4.88e-15
  numerics: |E_b(L) - E_b(2L)| 3.11e-15; weight at |r|>L/2 9.86e-21; dependence on eta 6.22e-15; dense - banded 3.55e-15
closed forms (items 3, 4), regime R: |w11|/a = 0.825, (max tau/M)^2 = 4.000e-02
  max_P |E_b - (11.12)| = 8.267e-06  = 0.005 * (tau/M)^4;  max_P |E_b' - d(11.12)/dP| = 6.697e-07
  E_b''(0): numeric +5.39441742e-03  closed +5.39148145e-03  rel.dev 5.446e-04  = 0.014 * (tau/M)^2
  s3_1   numeric +9.9771238948e-01  closed +9.9771281374e-01  diff -4.24e-07
  s3_2   numeric +9.9971332360e-01  closed +9.9971509098e-01  diff -1.77e-06
  A1     numeric +4.5625732894e-03  closed +4.5743725191e-03  diff -1.18e-05
  A2     numeric +9.7104322032e-04  closed +9.6869065111e-04  diff +2.35e-06
  U      numeric -6.3439164227e-03  closed -6.3649433780e-03  diff +2.10e-05
  Ebind  numeric -3.5852603230e-03  closed -3.5934117929e-03  diff +8.15e-06
  Epp0   numeric +5.3944174247e-03  closed +5.3914814496e-03  diff +2.94e-06
  m_b/(m_1+m_2): numeric +1.295838  (11.16) +1.296544;  m_b-(m_1+m_2): numeric +4.232127e+01  -4 m_1 m_2 E_bind +4.232599e+01

=== set C_above_band_R: {'M1': 1.0, 'M2': 0.8, 'tau1': 0.1, 'tau2': 0.15, 'w': [0.02, -0.005, 0.003, -0.01]}  max tau_i/M_i = 0.187
P=-0.30  E_b=1.831346531561  isolation=1.274e-02  in a band: False  weight(r=0,11)=0.9037  Gamma=+1.000000  E_b'=+8.867732e-04  <V1>=+8.867732e-04  <V2>=+8.867732e-04  E_b''=-2.629234e-03  (11.9)=-2.629234e-03
P=-0.15  E_b=1.831448371991  isolation=1.260e-02  in a band: False  weight(r=0,11)=0.8994  Gamma=+1.000000  E_b'=+4.619112e-04  <V1>=+4.619112e-04  <V2>=+4.619112e-04  E_b''=-2.996418e-03  (11.9)=-2.996418e-03
P=+0.00  E_b=1.831483249143  isolation=1.255e-02  in a band: False  weight(r=0,11)=0.8980  Gamma=+1.000000  E_b'=+1.850372e-15  <V1>=-1.604183e-19  <V2>=+5.735736e-19  E_b''=-3.121011e-03  (11.9)=-3.121011e-03
P=+0.15  E_b=1.831448371991  isolation=1.260e-02  in a band: False  weight(r=0,11)=0.8994  Gamma=+1.000000  E_b'=-4.619112e-04  <V1>=-4.619112e-04  <V2>=-4.619112e-04  E_b''=-2.996418e-03  (11.9)=-2.996418e-03
P=+0.30  E_b=1.831346531561  isolation=1.274e-02  in a band: False  weight(r=0,11)=0.9037  Gamma=+1.000000  E_b'=-8.867732e-04  <V1>=-8.867732e-04  <V2>=-8.867732e-04  E_b''=-2.629234e-03  (11.9)=-2.629234e-03
max |deviation| over the P values:
  2(a): dE/dM_i - <sigma3_i> 1.04e-12; tau_i dE/dtau_i - <A_i> 1.30e-12; dE/dtheta - <U> 1.11e-12; Euler residual 1.78e-15
  2(b): E_b' - <V1> 2.74e-12; E_b' - <V2> 2.74e-12; <V1> - <V2> 8.55e-17
  2(c): E_b'' (finite difference) - formula (11.9) 1.26e-11
  3(a): coefficients of (11.10) against direct inversion (relative) 4.97e-15; root of (11.10) - E_b 8.88e-16
  numerics: |E_b(L) - E_b(2L)| 2.22e-16; weight at |r|>L/2 5.56e-28; dependence on eta 1.33e-15; dense - banded 4.44e-16
closed forms (items 3, 4), regime R: |w11|/a = 2.098, (max tau/M)^2 = 3.516e-02
  max_P |E_b - (11.12)| = 2.030e-04  = 0.164 * (tau/M)^4;  max_P |E_b' - d(11.12)/dP| = 1.488e-05
  E_b''(0): numeric -3.12101105e-03  closed -3.17366056e-03  rel.dev 1.659e-02  = 0.472 * (tau/M)^2
  s3_1   numeric +9.9650760383e-01  closed +9.9642448170e-01  diff +8.31e-05
  s3_2   numeric +9.8795706438e-01  closed +9.8742981847e-01  diff +5.27e-04
  A1     numeric +7.0534612009e-03  closed +7.1510366031e-03  diff -9.76e-05
  A2     numeric +1.9596946814e-02  closed +2.0112290446e-02  diff -5.15e-04
  U      numeric +1.7959585791e-02  closed +1.8054602308e-02  diff -9.50e-05
  Ebind  numeric +3.1483249143e-02  closed +3.1686265833e-02  diff -2.03e-04
  Epp0   numeric -3.1210110472e-03  closed -3.1736605620e-03  diff +5.26e-05
  m_b/(m_1+m_2): numeric -2.363673  (11.16) -2.324461;  m_b-(m_1+m_2): numeric -4.559645e+02  -4 m_1 m_2 E_bind -4.477618e+02

=== set D_wide_R: {'M1': 1.3, 'M2': 1.0, 'tau1': 0.15, 'tau2': 0.2, 'w': [-0.004, 0.002, 0.001, 0.003]}  max tau_i/M_i = 0.200
P=-0.30  E_b=2.299969840671  isolation=5.677e-04  in a band: False  weight(r=0,11)=0.2780  Gamma=+1.000000  E_b'=-3.402251e-03  <V1>=-3.402251e-03  <V2>=-3.402251e-03  E_b''=+1.074662e-02  (11.9)=+1.074662e-02
P=-0.15  E_b=2.299583345287  isolation=5.522e-04  in a band: False  weight(r=0,11)=0.2707  Gamma=+1.000000  E_b'=-1.734310e-03  <V1>=-1.734310e-03  <V2>=-1.734310e-03  E_b''=+1.141561e-02  (11.9)=+1.141561e-02
P=+0.00  E_b=2.299452860723  isolation=5.471e-04  in a band: False  weight(r=0,11)=0.2684  Gamma=+1.000000  E_b'=+1.110223e-14  <V1>=-2.235218e-19  <V2>=+5.295572e-19  E_b''=+1.163513e-02  (11.9)=+1.163513e-02
P=+0.15  E_b=2.299583345287  isolation=5.522e-04  in a band: False  weight(r=0,11)=0.2707  Gamma=+1.000000  E_b'=+1.734310e-03  <V1>=+1.734310e-03  <V2>=+1.734310e-03  E_b''=+1.141561e-02  (11.9)=+1.141561e-02
P=+0.30  E_b=2.299969840671  isolation=5.677e-04  in a band: False  weight(r=0,11)=0.2780  Gamma=+1.000000  E_b'=+3.402251e-03  <V1>=+3.402251e-03  <V2>=+3.402251e-03  E_b''=+1.074662e-02  (11.9)=+1.074662e-02
max |deviation| over the P values:
  2(a): dE/dM_i - <sigma3_i> 2.05e-12; tau_i dE/dtau_i - <A_i> 1.96e-12; dE/dtheta - <U> 2.07e-12; Euler residual 5.33e-15
  2(b): E_b' - <V1> 5.04e-12; E_b' - <V2> 5.04e-12; <V1> - <V2> 8.46e-17
  2(c): E_b'' (finite difference) - formula (11.9) 9.92e-11
  3(a): coefficients of (11.10) against direct inversion (relative) 2.34e-13; root of (11.10) - E_b 1.78e-15
  numerics: |E_b(L) - E_b(2L)| 4.44e-15; weight at |r|>L/2 4.85e-08; dependence on eta 4.44e-15; dense - banded 2.22e-15
closed forms (items 3, 4), regime R: |w11|/a = 0.279, (max tau/M)^2 = 4.000e-02
  max_P |E_b - (11.12)| = 7.729e-07  = 0.000 * (tau/M)^4;  max_P |E_b' - d(11.12)/dP| = 1.014e-06
  E_b''(0): numeric +1.16351317e-02  closed +1.16355522e-02  rel.dev 3.615e-05  = 0.001 * (tau/M)^2
  s3_1   numeric +9.9987712967e-01  closed +9.9987739882e-01  diff -2.69e-07
  s3_2   numeric +9.9963191441e-01  closed +9.9963165158e-01  diff +2.63e-07
  A1     numeric +3.1883906936e-04  closed +3.1876305792e-04  diff +7.60e-08
  A2     numeric +7.3524924751e-04  closed +7.3669684496e-04  diff -1.45e-06
  U      numeric -1.0734105787e-03  closed -1.0756421628e-03  diff +2.23e-06
  Ebind  numeric -5.4713927724e-04  closed -5.4791221131e-04  diff +7.73e-07
  Epp0   numeric +1.1635131656e-02  closed +1.1635552241e-02  diff -4.21e-07
  m_b/(m_1+m_2): numeric +1.038281  (11.16) +1.038244;  m_b-(m_1+m_2): numeric +3.168822e+00  -4 m_1 m_2 E_bind +3.161249e+00

=== set E_order_one: {'M1': 1.0, 'M2': 1.3, 'tau1': 1.0, 'tau2': 0.8, 'w': [-0.6, 0.2, -0.15, 0.3]}  max tau_i/M_i = 1.000
P=-0.30  E_b=2.020243065365  isolation=2.944e-01  in a band: False  weight(r=0,11)=0.7017  Gamma=+1.000000  E_b'=-5.330716e-02  <V1>=-5.330716e-02  <V2>=-5.330716e-02  E_b''=+1.580211e-01  (11.9)=+1.580211e-01
P=-0.15  E_b=2.014120790386  isolation=2.896e-01  in a band: False  weight(r=0,11)=0.6956  Gamma=+1.000000  E_b'=-2.776997e-02  <V1>=-2.776997e-02  <V2>=-2.776997e-02  E_b''=+1.801270e-01  (11.9)=+1.801270e-01
P=+0.00  E_b=2.012023935088  isolation=2.880e-01  in a band: False  weight(r=0,11)=0.6936  Gamma=+1.000000  E_b'=-7.401487e-15  <V1>=-3.140157e-17  <V2>=+1.914190e-17  E_b''=+1.876436e-01  (11.9)=+1.876436e-01
P=+0.15  E_b=2.014120790386  isolation=2.896e-01  in a band: False  weight(r=0,11)=0.6956  Gamma=+1.000000  E_b'=+2.776997e-02  <V1>=+2.776997e-02  <V2>=+2.776997e-02  E_b''=+1.801270e-01  (11.9)=+1.801270e-01
P=+0.30  E_b=2.020243065365  isolation=2.944e-01  in a band: False  weight(r=0,11)=0.7017  Gamma=+1.000000  E_b'=+5.330716e-02  <V1>=+5.330716e-02  <V2>=+5.330716e-02  E_b''=+1.580211e-01  (11.9)=+1.580211e-01
max |deviation| over the P values:
  2(a): dE/dM_i - <sigma3_i> 7.62e-13; tau_i dE/dtau_i - <A_i> 1.52e-12; dE/dtheta - <U> 1.15e-12; Euler residual 1.33e-15
  2(b): E_b' - <V1> 1.74e-10; E_b' - <V2> 1.74e-10; <V1> - <V2> 3.54e-16
  2(c): E_b'' (finite difference) - formula (11.9) 2.40e-10
  3(a): coefficients of (11.10) against direct inversion (relative) 3.59e-15; root of (11.10) - E_b 1.33e-15
  numerics: |E_b(L) - E_b(2L)| 8.88e-16; weight at |r|>L/2 2.26e-30; dependence on eta 8.88e-16; dense - banded 2.66e-15
closed forms (items 3, 4), control, outside R: |w11|/a = 1.608, (max tau/M)^2 = 1.000e+00
  max_P |E_b - (11.12)| = 4.605e-02  = 0.046 * (tau/M)^4;  max_P |E_b' - d(11.12)/dP| = 3.589e-03
  E_b''(0): numeric +1.87643618e-01  closed +1.74198841e-01  rel.dev 7.718e-02  = 0.077 * (tau/M)^2
  s3_1   numeric +8.5646967127e-01  closed +8.8201005947e-01  diff -2.55e-02
  s3_2   numeric +9.3859089119e-01  closed +9.5531741897e-01  diff -1.67e-02
  A1     numeric +2.2543811170e-01  closed +2.3597988106e-01  diff -1.05e-02
  A2     numeric +1.2495039252e-01  closed +1.1617471068e-01  diff +8.78e-03
  U      numeric -4.1500239894e-01  closed -5.0953161098e-01  diff +9.45e-02
  Ebind  numeric -2.8797606491e-01  closed -3.3345431511e-01  diff +4.55e-02
  Epp0   numeric +1.8764361764e-01  closed +1.7419884136e-01  diff +1.34e-02
  m_b/(m_1+m_2): numeric +1.758104  (11.16) +1.893795;  m_b-(m_1+m_2): numeric +2.298001e+00  -4 m_1 m_2 E_bind +2.339806e+00

=== epsilon scan on set B_unequal_R (tau -> eps*tau, w -> eps^2*w)
eps= 1.000  E_b-(11.12): P=0 +8.1515e-06, P=0.3 +8.2675e-06;  rel.dev E_b''(0) +5.4456e-04;  <sigma3_i>-(11.14): -4.2426e-07, -1.7674e-06
eps= 0.500  E_b-(11.12): P=0 +5.0943e-07, P=0.3 +5.1674e-07;  rel.dev E_b''(0) +1.3708e-04;  <sigma3_i>-(11.14): -2.7203e-08, -1.1020e-07
          ratios to the previous eps: dE_P0 16.00, dE_P03 16.00, rel_dEpp0 3.97, d_s3_1 15.60, d_s3_2 16.04
eps= 0.250  E_b-(11.12): P=0 +3.1839e-08, P=0.3 +3.2297e-08;  rel.dev E_b''(0) +3.4328e-05;  <sigma3_i>-(11.14): -1.7109e-09, -6.8832e-09
          ratios to the previous eps: dE_P0 16.00, dE_P03 16.00, rel_dEpp0 3.99, d_s3_1 15.90, d_s3_2 16.01
eps= 0.125  E_b-(11.12): P=0 +1.9899e-09, P=0.3 +2.0186e-09;  rel.dev E_b''(0) +8.5858e-06;  <sigma3_i>-(11.14): -1.0710e-10, -4.3014e-10
          ratios to the previous eps: dE_P0 16.00, dE_P03 16.00, rel_dEpp0 4.00, d_s3_1 15.97, d_s3_2 16.00
expected for halving eps: 16 for E_b and <sigma3_i> (next order eps^4), 4 for the relative deviation of E_b''(0)

=== new in v2, I3: reading statistics of the clock of a part, (11.19), (11.25), (11.26)
start: bound eigenvector of the level 0 on every level, clock label in |0>, total label P=0 sharp, no records;
readings at lambda = t*lambda_0, t = 0.25, 0.5, ..., 2N; deviation = max over a and t of |q - P_N(a; Gamma*t)|
set E_order_one, clock of part 1, N=4, spread D=0.0600 (D/g0=0.208, D/m=0.0600, lambda_0=78.54)
  Gamma: level 0 (v1) 0.8564696713; mean level (11.19) 0.8621903823; first order (11.25) 0.8623337320; least-squares fit 0.8621456724
  d2E_b/dM^2 at m: spectral sum +1.95468691e-01; closed form of (11.26) +1.72184621e-01;  closed (11.20) at the mean level 0.8870173806; closed (11.26) 0.8871755981
  deviation of the statistics: Gamma at the mean level 9.468e-04 (t<=N: 3.598e-04); first order 2.645e-03; Gamma of the level 0 7.098e-02 (t<=N: 3.790e-02)
set E_order_one, clock of part 1, N=4, spread D=0.0300 (D/g0=0.104, D/m=0.0300, lambda_0=157.08)
  Gamma: level 0 (v1) 0.8564696713; mean level (11.19) 0.8593655981; first order (11.25) 0.8594017016; least-squares fit 0.8593541025
  d2E_b/dM^2 at m: spectral sum +1.95468691e-01; closed form of (11.26) +1.72184621e-01;  closed (11.20) at the mean level 0.8845527554; closed (11.26) 0.8845928288
  deviation of the statistics: Gamma at the mean level 2.476e-04 (t<=N: 9.235e-05); first order 6.867e-04; Gamma of the level 0 3.606e-02 (t<=N: 1.923e-02)
  ratios to the previous spread: dev_mean_level 3.82, dev_level0 1.97, dev_first_order 3.85
set E_order_one, clock of part 1, N=4, spread D=0.0150 (D/g0=0.052, D/m=0.0150, lambda_0=314.16)
  Gamma: level 0 (v1) 0.8564696713; mean level (11.19) 0.8579266274; first order (11.25) 0.8579356864; least-squares fit 0.8579237667
  d2E_b/dM^2 at m: spectral sum +1.95468691e-01; closed form of (11.26) +1.72184621e-01;  closed (11.20) at the mean level 0.8832913598; closed (11.26) 0.8833014441
  deviation of the statistics: Gamma at the mean level 6.077e-05 (t<=N: 2.322e-05); first order 1.707e-04; Gamma of the level 0 1.816e-02 (t<=N: 9.686e-03)
  ratios to the previous spread: dev_mean_level 4.07, dev_level0 1.99, dev_first_order 4.02
set B_unequal_R, clock of part 1, N=4, spread D=0.1000 (D/g0=27.860, D/m=0.1000, lambda_0=47.12)
  Gamma: level 0 (v1) 0.9977123895; mean level (11.19) 0.9978093968; first order (11.25) 0.9978119033; least-squares fit 0.9978328312
  d2E_b/dM^2 at m: spectral sum +1.99027585e-03; closed form of (11.26) +1.99577457e-03;  closed (11.20) at the mean level 0.9978100720; closed (11.26) 0.9978126025
  deviation of the statistics: Gamma at the mean level 4.686e-04 (t<=N: 4.128e-04); first order 4.707e-04; Gamma of the level 0 1.426e-03 (t<=N: 9.115e-04)
set B_unequal_R, clock of part 1, N=4, spread D=0.0500 (D/g0=13.930, D/m=0.0500, lambda_0=94.25)
  Gamma: level 0 (v1) 0.9977123895; mean level (11.19) 0.9977615160; first order (11.25) 0.9977621464; least-squares fit 0.9977620037
  d2E_b/dM^2 at m: spectral sum +1.99027585e-03; closed form of (11.26) +1.99577457e-03;  closed (11.20) at the mean level 0.9977620716; closed (11.26) 0.9977627081
  deviation of the statistics: Gamma at the mean level 1.307e-04 (t<=N: 1.251e-04); first order 1.309e-04; Gamma of the level 0 5.874e-04 (t<=N: 3.517e-04)
  ratios to the previous spread: dev_mean_level 3.59, dev_level0 2.43, dev_first_order 3.60
set B_unequal_R, clock of part 1, N=4, spread D=0.0250 (D/g0=6.965, D/m=0.0250, lambda_0=188.50)
  Gamma: level 0 (v1) 0.9977123895; mean level (11.19) 0.9977371099; first order (11.25) 0.9977372679; least-squares fit 0.9977368502
  d2E_b/dM^2 at m: spectral sum +1.99027585e-03; closed form of (11.26) +1.99577457e-03;  closed (11.20) at the mean level 0.9977376013; closed (11.26) 0.9977377609
  deviation of the statistics: Gamma at the mean level 3.259e-05 (t<=N: 3.259e-05); first order 3.261e-05; Gamma of the level 0 3.021e-04 (t<=N: 1.408e-04)
  ratios to the previous spread: dev_mean_level 4.01, dev_level0 1.94, dev_first_order 4.01
set B_unequal_R, clock of part 2, N=5, spread D=0.1000 (D/g0=27.860, D/m=0.0588, lambda_0=50.27)
  Gamma: level 0 (v1) 0.9997133236; mean level (11.19) 0.9997276451; first order (11.25) 0.9997282035; least-squares fit 0.9997277090
  d2E_b/dM^2 at m: spectral sum +2.97598087e-04; closed form of (11.26) +2.95174829e-04;  closed (11.20) at the mean level 0.9997292967; closed (11.26) 0.9997298497
  deviation of the statistics: Gamma at the mean level 7.255e-06 (t<=N: 5.690e-06); first order 1.305e-05; Gamma of the level 0 2.199e-04 (t<=N: 1.083e-04)
set B_unequal_R, clock of part 2, N=5, spread D=0.0500 (D/g0=13.930, D/m=0.0294, lambda_0=100.53)
  Gamma: level 0 (v1) 0.9997133236; mean level (11.19) 0.9997206216; first order (11.25) 0.9997207635; least-squares fit 0.9997205698
  d2E_b/dM^2 at m: spectral sum +2.97598087e-04; closed form of (11.26) +2.95174829e-04;  closed (11.20) at the mean level 0.9997223298; closed (11.26) 0.9997224704
  deviation of the statistics: Gamma at the mean level 1.889e-06 (t<=N: 1.889e-06); first order 3.433e-06; Gamma of the level 0 1.114e-04 (t<=N: 5.357e-05)
  ratios to the previous spread: dev_mean_level 3.84, dev_level0 1.97, dev_first_order 3.80
set B_unequal_R, clock of part 2, N=5, spread D=0.0250 (D/g0=6.965, D/m=0.0147, lambda_0=201.06)
  Gamma: level 0 (v1) 0.9997133236; mean level (11.19) 0.9997170078; first order (11.25) 0.9997170436; least-squares fit 0.9997169943
  d2E_b/dM^2 at m: spectral sum +2.97598087e-04; closed form of (11.26) +2.95174829e-04;  closed (11.20) at the mean level 0.9997187452; closed (11.26) 0.9997187807
  deviation of the statistics: Gamma at the mean level 4.854e-07 (t<=N: 4.854e-07); first order 8.020e-07; Gamma of the level 0 5.664e-05 (t<=N: 2.673e-05)
  ratios to the previous spread: dev_mean_level 3.89, dev_level0 1.97, dev_first_order 4.28
expected for halving the spread at fixed lambda/lambda_0: 4 with Gamma at the mean level, 2 with Gamma of the level 0

=== new in v2, I4: order of the contribution of w22 (set B, tau -> eps*tau, w -> eps^2*w)
eps= 2.000  E_b(w22) - E_b(w22=0) = +2.867296e-07;  w22*|<22|psi(0)>|^2 = +2.867347e-07;  |<22|psi(0)>|^2 = 8.960461e-06
eps= 1.000  E_b(w22) - E_b(w22=0) = +4.444423e-09;  w22*|<22|psi(0)>|^2 = +4.444423e-09;  |<22|psi(0)>|^2 = 5.555528e-07;  ratios to the previous eps: dE 64.51, weight 16.13
eps= 0.500  E_b(w22) - E_b(w22=0) = +6.930323e-11;  w22*|<22|psi(0)>|^2 = +6.930409e-11;  |<22|psi(0)>|^2 = 3.465205e-08;  ratios to the previous eps: dE 64.13, weight 16.03
eps= 0.250  E_b(w22) - E_b(w22=0) = +1.080025e-12;  w22*|<22|psi(0)>|^2 = +1.082329e-12;  |<22|psi(0)>|^2 = 2.164659e-09;  ratios to the previous eps: dE 64.17, weight 16.01
expected for halving eps: 64 for the contribution of w22 to E_b (order eps^6), 16 for the weight (order eps^4)

=== new in v2, I5: equal data (a_1 = a_2) at P = pi/2, where j(P) = 0 (set A, tau -> eps*tau, w -> eps^2*w)
eps= 1.000  E_b = 2.001000623470  M_1+M_2+a+w11 = 2.001000000000  difference +6.235e-07;  1 - weight(r=0,11) = 2.495e-03;  weight of 11 at r != 0: 3.044e-07
eps= 0.500  E_b = 2.000250039039  M_1+M_2+a+w11 = 2.000250000000  difference +3.904e-08;  1 - weight(r=0,11) = 6.247e-04;  weight of 11 at r != 0: 1.906e-08;  ratios: dE 15.97, 1-weight 3.99
eps= 0.250  E_b = 2.000062502441  M_1+M_2+a+w11 = 2.000062500000  difference +2.441e-09;  1 - weight(r=0,11) = 1.562e-04;  weight of 11 at r != 0: 1.192e-09;  ratios: dE 15.99, 1-weight 4.00
expected: psi_P = delta_{r,0}|11> up to O(eps) (1 - weight of order eps^2), E_b = M_1+M_2+a+w11 up to O(eps^4)

=== new in v2, I2: twofold bound levels (on-site binding W0 = -G(E0,P0)^(-1) on span(|11>,|22>))
set X_P0_0.3: M = 1.0, 0.7; tau = 0.5, 0.35; P0 = 0.3; W0 on (11,22) = [[-0.870998, 0.169999], [0.169999, 2.488876]]; bands {'+1+1': (1.7046, 1.8965), '+1-1': (0.2832, 0.3515), '-1+1': (-0.3515, -0.2832), '-1-1': (-1.8965, -1.7046)}
  level 1.000000000000, splitting of the two eigenvalues 2.11e-15, distance to the next eigenvalue 0.5368, weight at |r|>L/2 1.3e-30
  M1   : eigenvalues of Pi dH Pi -0.628449130, +0.893076371; slopes of the branches (finite differences) -0.628449130, +0.893076371; max dev 1.8e-12; overlap with the branch vectors >= 0.999997
  M2   : eigenvalues of Pi dH Pi -0.919383668, +0.837955656; slopes of the branches (finite differences) -0.919383668, +0.837955656; max dev 8.3e-13; overlap with the branch vectors >= 0.999999
  tau1 : eigenvalues of Pi dH Pi +0.137013648, +0.601738268; slopes of the branches (finite differences) +0.137013648, +0.601738268; max dev 8.2e-12; overlap with the branch vectors >= 0.999999
  tau2 : eigenvalues of Pi dH Pi -0.156239994, +0.533638710; slopes of the branches (finite differences) -0.156239994, +0.533638710; max dev 1.1e-12; overlap with the branch vectors >= 1.000000
  theta: eigenvalues of Pi dH Pi -0.726064561, +2.016971420; slopes of the branches (finite differences) -0.726064561, +2.016971420; max dev 4.6e-12; overlap with the branch vectors >= 0.999996
  P    : eigenvalues of Pi dH Pi -0.031846375, +0.056264981; slopes of the branches (finite differences) -0.031846375, +0.056264981; max dev 2.9e-10; overlap with the branch vectors >= 0.999955
         E'' of the branches: (11.24) -0.10636246, +0.17322408; finite differences -0.10636246, +0.17322408; max dev 1.3e-10
         (11.9) with Q_P = 1 - |psi><psi|, term of the other vector of the level in the basis of the solver: |<psi'|V_eta|psi>|^2 = 6.549e-04 over E' - E = -2.109e-15
  every eigenvector (5 random vectors of the level): residual of (11.6) 1.6e-15; <V1> - <V2> 1.1e-16; ||Pi (V1 - V2) Pi|| 1.6e-16; <dH> - weighted mean of the branch slopes (M1, theta) 4.1e-12
  |<branch 0 of M1 | branch 0 of xi>|^2: M2 0.9912, tau1 0.2769, tau2 0.7272, theta 0.0013, P 0.5106
  <U> in the two branch vectors of M1: +2.013542, -0.722635  against the slopes of the branches of theta: -0.726065, +2.016971
set X_P0_0: M = 1.0, 0.7; tau = 0.5, 0.35; P0 = 0.0; W0 on (11,22) = [[-0.869086, 0.177794], [0.177794, 2.488618]]; bands {'+1+1': (1.7, 1.9007), '+1-1': (0.3, 0.3354), '-1+1': (-0.3354, -0.3), '-1-1': (-1.9007, -1.7)}
  level 1.000000000000, splitting of the two eigenvalues 3.55e-15, distance to the next eigenvalue 0.5397, weight at |r|>L/2 3.2e-30
  M1   : eigenvalues of Pi dH Pi -0.631196110, +0.895473254; slopes of the branches (finite differences) -0.631196110, +0.895473254; max dev 1.8e-12; overlap with the branch vectors >= 0.999997
  M2   : eigenvalues of Pi dH Pi -0.918901736, +0.845071613; slopes of the branches (finite differences) -0.918901736, +0.845071613; max dev 1.2e-12; overlap with the branch vectors >= 0.999999
  tau1 : eigenvalues of Pi dH Pi +0.120869467, +0.605304949; slopes of the branches (finite differences) +0.120869467, +0.605304949; max dev 2.1e-12; overlap with the branch vectors >= 0.999999
  tau2 : eigenvalues of Pi dH Pi -0.179004420, +0.538130054; slopes of the branches (finite differences) -0.179004420, +0.538130054; max dev 7.5e-13; overlap with the branch vectors >= 1.000000
  theta: eigenvalues of Pi dH Pi -0.725682673, +2.024305435; slopes of the branches (finite differences) -0.725682673, +2.024305435; max dev 3.7e-12; overlap with the branch vectors >= 0.999996
  P    : eigenvalues of Pi dH Pi -0.000000000, +0.000000000; slopes of the branches (finite differences) +0.000000000, -0.000000000; max dev 1.8e-14; overlap with the branch vectors >= 0.999952; branch vectors from the second order
         E'' of the branches: (11.24) -0.10630610, +0.19294341; finite differences -0.10630610, +0.19294341; max dev 4.1e-10
         (11.9) with Q_P = 1 - |psi><psi|, term of the other vector of the level in the basis of the solver: |<psi'|V_eta|psi>|^2 = 9.382e-35 over E' - E = -3.553e-15
  every eigenvector (5 random vectors of the level): residual of (11.6) 1.6e-15; <V1> - <V2> 3.5e-17; ||Pi (V1 - V2) Pi|| 6.4e-17; <dH> - weighted mean of the branch slopes (M1, theta) 2.9e-12
  |<branch 0 of M1 | branch 0 of xi>|^2: M2 0.9904, tau1 0.2843, tau2 0.7171, theta 0.0014, P 0.5112
  <U> in the two branch vectors of M1: +2.020503, -0.721880  against the slopes of the branches of theta: -0.725683, +2.024305

=== new in v2, I1: the operator C_bod = <chi|C|chi> of (11.21), small system in the places (dimension 64 x 3)
listing A: the terms of the question; listing B: h*sigma3 of b_1, a constant and a part of the motion term of b_2 listed in the record terms; <chi|X|chi> = -0.6021 for the medium that is not centred; lambda = 3
kappa=0.040 centred    : ||C_B - C_A|| 1.3e-15; ||C_bod(B) - C_bod(A)|| 5.2e-16; ||C_bod - C_pair(A)|| 1.339e-15 (minus the gradient: 1.3e-15); ||C_bod - C_pair(B)|| 2.589; view against evolution by C_bod 4.141e-02, by C_pair(A) 4.141e-02, by C_pair(B) 1.025
kappa=0.040 not_centred: ||C_B - C_A|| 1.5e-15; ||C_bod(B) - C_bod(A)|| 1.3e-15; ||C_bod - C_pair(A)|| 6.534e-01 (minus the gradient: 1.3e-15); ||C_bod - C_pair(B)|| 2.491; view against evolution by C_bod 4.147e-02, by C_pair(A) 1.526e-01, by C_pair(B) 1.045
kappa=0.020 centred    : ||C_B - C_A|| 1.3e-15; ||C_bod(B) - C_bod(A)|| 1.0e-15; ||C_bod - C_pair(A)|| 1.298e-15 (minus the gradient: 1.3e-15); ||C_bod - C_pair(B)|| 2.589; view against evolution by C_bod 1.052e-02, by C_pair(A) 1.052e-02, by C_pair(B) 1.034
kappa=0.020 not_centred: ||C_B - C_A|| 1.4e-15; ||C_bod(B) - C_bod(A)|| 9.8e-16; ||C_bod - C_pair(A)|| 3.267e-01 (minus the gradient: 1.5e-15); ||C_bod - C_pair(B)|| 2.520; view against evolution by C_bod 1.053e-02, by C_pair(A) 7.442e-02, by C_pair(B) 1.044
kappa=0.010 centred    : ||C_B - C_A|| 1.4e-15; ||C_bod(B) - C_bod(A)|| 8.3e-16; ||C_bod - C_pair(A)|| 1.295e-15 (minus the gradient: 1.3e-15); ||C_bod - C_pair(B)|| 2.589; view against evolution by C_bod 2.642e-03, by C_pair(A) 2.642e-03, by C_pair(B) 1.037
kappa=0.010 not_centred: ||C_B - C_A|| 1.3e-15; ||C_bod(B) - C_bod(A)|| 1.2e-15; ||C_bod - C_pair(A)|| 1.633e-01 (minus the gradient: 1.8e-15); ||C_bod - C_pair(B)|| 2.549; view against evolution by C_bod 2.643e-03, by C_pair(A) 3.695e-02, by C_pair(B) 1.041
expected for halving kappa: the view against the evolution by C_bod falls by 4 (second order); by the listed C_pair(A) with a medium that is not centred it falls by 2

=== new in v3, I3: wide pair at fixed epsilon (data of set B_unequal_R, w11 = -u*a or +u*a, the other three w fixed)
level on the infinite chain: root of F_+ of (11.10), mean over 32768 values of q; x = E_b - (M_1+M_2); E_b''(0) from 5-point differences of the roots, step 0.01
cross-check of the root against the dense diagonalization (L = 120), eps' = 1:
  sign -1, u = 1.0: root - dense = -3.00e-15
  sign -1, u = 0.5: root - dense = +9.69e-16
  sign +1, u = 1.0: root - dense = -8.28e-15
  sign +1, u = 0.5: root - dense = -2.88e-15
eps' = 1.0 (max tau_i/M_i = 0.20), w11 < 0, level below the band:
  u= 2.000000 eps^2/u^2=1.000e-02  P=0: isolation 1.4920e-02, remainder x-(11.12) +5.823e-05 (over isolation 3.90e-03), rel.dev E_bind -3.89e-03, wide form -6.24e-01, E_b''(0) +4.56e-03; m_b-(m_1+m_2) = 1.753737e+02 against -4 m_1 m_2 E_bind (rel.dev -4.36e-03) and the leading function (rel.dev -8.22e-03);  P=pi/2: isolation 1.7532e-02, remainder +6.498e-05 (over isolation 3.71e-03), (11.12) minus the exact edge -1.760e-02
  u= 1.000000 eps^2/u^2=4.000e-02  P=0: isolation 5.0061e-03, remainder x-(11.12) +1.319e-05 (over isolation 2.64e-03), rel.dev E_bind -2.63e-03, wide form -2.10e-01, E_b''(0) +9.48e-04; m_b-(m_1+m_2) = 5.906384e+01 against -4 m_1 m_2 E_bind (rel.dev -6.08e-04) and the leading function (rel.dev -3.24e-03);  P=pi/2: isolation 6.5542e-03, remainder +1.397e-05 (over isolation 2.13e-03), (11.12) minus the exact edge -6.568e-03
  u= 0.500000 eps^2/u^2=1.600e-01  P=0: isolation 1.4282e-03, remainder x-(11.12) +2.076e-06 (over isolation 1.45e-03), rel.dev E_bind -1.45e-03, wide form -6.06e-02, E_b''(0) +9.59e-05; m_b-(m_1+m_2) = 1.687008e+01 against -4 m_1 m_2 E_bind (rel.dev +5.44e-04) and the leading function (rel.dev -9.08e-04);  P=pi/2: isolation 2.0551e-03, remainder -8.013e-07 (over isolation 3.90e-04), (11.12) minus the exact edge -2.054e-03
  u= 0.250000 eps^2/u^2=6.400e-01  P=0: isolation 3.7267e-04, remainder x-(11.12) +2.709e-07 (over isolation 7.27e-04), rel.dev E_bind -7.27e-04, wide form -1.61e-02, E_b''(0) +1.33e-06; m_b-(m_1+m_2) = 4.402540e+00 against -4 m_1 m_2 E_bind (rel.dev +6.82e-04) and the leading function (rel.dev -4.46e-05);  P=pi/2: isolation 5.6088e-04, remainder -4.044e-06 (over isolation 7.21e-03), (11.12) minus the exact edge -5.568e-04
  u= 0.125000 eps^2/u^2=2.560e+00  P=0: isolation 9.4268e-05, remainder x-(11.12) +3.369e-08 (over isolation 3.57e-04), rel.dev E_bind -3.57e-04, wide form -4.25e-03, E_b''(0) -1.72e-06; m_b-(m_1+m_2) = 1.113538e+00 against -4 m_1 m_2 E_bind (rel.dev +5.80e-04) and the leading function (rel.dev +2.23e-04);  P=pi/2: isolation 1.4386e-04, remainder -4.902e-06 (over isolation 3.41e-02), (11.12) minus the exact edge -1.390e-04
  u= 0.062500 eps^2/u^2=1.024e+01  P=0: isolation 2.3640e-05, remainder x-(11.12) +4.171e-09 (over isolation 1.76e-04), rel.dev E_bind -1.76e-04, wide form -1.15e-03, E_b''(0) -5.85e-07; m_b-(m_1+m_2) = 2.792169e-01 against -4 m_1 m_2 E_bind (rel.dev +4.77e-04) and the leading function (rel.dev +3.00e-04);  P=pi/2: isolation 3.6200e-05, remainder -5.162e-06 (over isolation 1.43e-01), (11.12) minus the exact edge -3.104e-05
  u= 0.031250 eps^2/u^2=4.096e+01  P=0: isolation 5.9149e-06, remainder x-(11.12) +5.181e-10 (over isolation 8.76e-05), rel.dev E_bind -8.76e-05, wide form -3.32e-04, E_b''(0) -1.57e-07; m_b-(m_1+m_2) = 6.985683e-02 against -4 m_1 m_2 E_bind (rel.dev +4.10e-04) and the leading function (rel.dev +3.23e-04);  P=pi/2: isolation 9.0639e-06, remainder -5.236e-06 (over isolation 5.78e-01), (11.12) minus the exact edge -3.828e-06
  u= 0.015625 eps^2/u^2=1.638e+02  P=0: isolation 1.4791e-06, remainder x-(11.12) +6.452e-11 (over isolation 4.36e-05), rel.dev E_bind -4.36e-05, wide form -1.05e-04, E_b''(0) -4.00e-08; m_b-(m_1+m_2) = 1.746749e-02 against -4 m_1 m_2 E_bind (rel.dev +3.71e-04) and the leading function (rel.dev +3.27e-04);  P=pi/2: isolation 2.2667e-06, remainder -5.256e-06 (over isolation 2.32e+00), (11.12) minus the exact edge +2.989e-06
  u= 0.007812 eps^2/u^2=6.554e+02  P=0: isolation 3.6979e-07, remainder x-(11.12) +8.050e-12 (over isolation 2.18e-05), rel.dev E_bind -2.18e-05, wide form -3.70e-05, E_b''(0) -9.77e-09; m_b-(m_1+m_2) = 4.367040e-03 against -4 m_1 m_2 E_bind (rel.dev +3.42e-04) and the leading function (rel.dev +3.20e-04);  P=pi/2: isolation 5.6672e-07, remainder -5.261e-06 (over isolation 9.28e+00), (11.12) minus the exact edge +4.694e-06
eps' = 1.0, w11 > 0, level above the band, P = 0:
  u= 2.000000 eps^2/u^2=1.000e-02  isolation 1.4909e-02 (leading 1.4978e-02, rel.dev -4.62e-03), remainder x-(11.12) -2.706e-04 (over isolation 1.81e-02), E_bind-2a = +1.4708e-02 against w11^2/(2a) = 2.4235e-02
  u= 1.000000 eps^2/u^2=4.000e-02  isolation 4.9971e-03 (leading 5.0193e-03, rel.dev -4.41e-03), remainder x-(11.12) -2.235e-04 (over isolation 4.47e-02), E_bind-2a = +4.7958e-03 against w11^2/(2a) = 6.0588e-03
  u= 0.500000 eps^2/u^2=1.600e-01  isolation 1.4238e-03 (leading 1.4303e-03, rel.dev -4.52e-03), remainder x-(11.12) -2.078e-04 (over isolation 1.46e-01), E_bind-2a = +1.2225e-03 against w11^2/(2a) = 1.5147e-03
  u= 0.250000 eps^2/u^2=6.400e-01  isolation 3.7115e-04 (leading 3.7294e-04, rel.dev -4.78e-03), remainder x-(11.12) -2.031e-04 (over isolation 5.47e-01), E_bind-2a = +1.6979e-04 against w11^2/(2a) = 3.7868e-04
  u= 0.125000 eps^2/u^2=2.560e+00  isolation 9.3834e-05 (leading 9.4302e-05, rel.dev -4.96e-03), remainder x-(11.12) -2.018e-04 (over isolation 2.15e+00), E_bind-2a = -1.0753e-04 against w11^2/(2a) = 9.4669e-05
  u= 0.062500 eps^2/u^2=1.024e+01  isolation 2.3526e-05 (leading 2.3644e-05, rel.dev -4.98e-03), remainder x-(11.12) -2.015e-04 (over isolation 8.56e+00), E_bind-2a = -1.7783e-04 against w11^2/(2a) = 2.3667e-05
  u= 0.031250 eps^2/u^2=4.096e+01  isolation 5.8869e-06 (leading 5.9154e-06, rel.dev -4.81e-03), remainder x-(11.12) -2.014e-04 (over isolation 3.42e+01), E_bind-2a = -1.9547e-04 against w11^2/(2a) = 5.9168e-06
  u= 0.015625 eps^2/u^2=1.638e+02  isolation 1.4727e-06 (leading 1.4791e-06, rel.dev -4.33e-03), remainder x-(11.12) -2.014e-04 (over isolation 1.37e+02), E_bind-2a = -1.9989e-04 against w11^2/(2a) = 1.4792e-06
  u= 0.007812 eps^2/u^2=6.554e+02  isolation 3.6856e-07 (leading 3.6980e-07, rel.dev -3.33e-03), remainder x-(11.12) -2.014e-04 (over isolation 5.46e+02), E_bind-2a = -2.0099e-04 against w11^2/(2a) = 3.6980e-07
eps' = 0.5 (max tau_i/M_i = 0.10), w11 < 0, level below the band:
  u= 2.000000 eps^2/u^2=2.500e-03  P=0: isolation 3.7409e-03, remainder x-(11.12) +3.631e-06 (over isolation 9.71e-04), rel.dev E_bind -9.70e-04, wide form -6.20e-01, E_b''(0) +1.15e-03; m_b-(m_1+m_2) = 7.058394e+02 against -4 m_1 m_2 E_bind (rel.dev -1.11e-03) and the leading function (rel.dev -2.07e-03);  P=pi/2: isolation 4.3963e-03, remainder +4.056e-06 (over isolation 9.23e-04), (11.12) minus the exact edge -4.400e-03
  u= 1.000000 eps^2/u^2=1.000e-02  P=0: isolation 1.2540e-03, remainder x-(11.12) +8.245e-07 (over isolation 6.58e-04), rel.dev E_bind -6.57e-04, wide form -2.08e-01, E_b''(0) +2.39e-04; m_b-(m_1+m_2) = 2.368291e+02 against -4 m_1 m_2 E_bind (rel.dev -1.58e-04) and the leading function (rel.dev -8.15e-04);  P=pi/2: isolation 1.6421e-03, remainder +8.743e-07 (over isolation 5.32e-04), (11.12) minus the exact edge -1.643e-03
  u= 0.500000 eps^2/u^2=4.000e-02  P=0: isolation 3.5744e-04, remainder x-(11.12) +1.297e-07 (over isolation 3.63e-04), rel.dev E_bind -3.63e-04, wide form -5.94e-02, E_b''(0) +2.42e-05; m_b-(m_1+m_2) = 6.752618e+01 against -4 m_1 m_2 E_bind (rel.dev +1.33e-04) and the leading function (rel.dev -2.29e-04);  P=pi/2: isolation 5.1460e-04, remainder -5.014e-08 (over isolation 9.74e-05), (11.12) minus the exact edge -5.146e-04
  u= 0.250000 eps^2/u^2=1.600e-01  P=0: isolation 9.3217e-05, remainder x-(11.12) +1.692e-08 (over isolation 1.82e-04), rel.dev E_bind -1.82e-04, wide form -1.56e-02, E_b''(0) +3.82e-07; m_b-(m_1+m_2) = 1.761072e+01 against -4 m_1 m_2 E_bind (rel.dev +1.69e-04) and the leading function (rel.dev -1.28e-05);  P=pi/2: isolation 1.4045e-04, remainder -2.532e-07 (over isolation 1.80e-03), (11.12) minus the exact edge -1.402e-04
  u= 0.125000 eps^2/u^2=6.400e-01  P=0: isolation 2.3573e-05, remainder x-(11.12) +2.104e-09 (over isolation 8.92e-05), rel.dev E_bind -8.92e-05, wide form -3.98e-03, E_b''(0) -4.18e-07; m_b-(m_1+m_2) = 4.453399e+00 against -4 m_1 m_2 E_bind (rel.dev +1.43e-04) and the leading function (rel.dev +5.41e-05);  P=pi/2: isolation 3.6032e-05, remainder -3.069e-07 (over isolation 8.52e-03), (11.12) minus the exact edge -3.572e-05
  u= 0.062500 eps^2/u^2=2.560e+00  P=0: isolation 5.9108e-06, remainder x-(11.12) +2.604e-10 (over isolation 4.41e-05), rel.dev E_bind -4.41e-05, wide form -1.02e-03, E_b''(0) -1.43e-07; m_b-(m_1+m_2) = 1.116614e+00 against -4 m_1 m_2 E_bind (rel.dev +1.17e-04) and the leading function (rel.dev +7.34e-05);  P=pi/2: isolation 9.0688e-06, remainder -3.232e-07 (over isolation 3.56e-02), (11.12) minus the exact edge -8.746e-06
  u= 0.031250 eps^2/u^2=1.024e+01  P=0: isolation 1.4788e-06, remainder x-(11.12) +3.234e-11 (over isolation 2.19e-05), rel.dev E_bind -2.19e-05, wide form -2.66e-04, E_b''(0) -3.83e-08; m_b-(m_1+m_2) = 2.793591e-01 against -4 m_1 m_2 E_bind (rel.dev +1.00e-04) and the leading function (rel.dev +7.85e-05);  P=pi/2: isolation 2.2710e-06, remainder -3.278e-07 (over isolation 1.44e-01), (11.12) minus the exact edge -1.943e-06
  u= 0.015625 eps^2/u^2=4.096e+01  P=0: isolation 3.6977e-07, remainder x-(11.12) +4.027e-12 (over isolation 1.09e-05), rel.dev E_bind -1.09e-05, wide form -7.19e-05, E_b''(0) -9.50e-09; m_b-(m_1+m_2) = 6.985252e-02 against -4 m_1 m_2 E_bind (rel.dev +8.87e-05) and the leading function (rel.dev +7.78e-05);  P=pi/2: isolation 5.6798e-07, remainder -3.291e-07 (over isolation 5.79e-01), (11.12) minus the exact edge -2.389e-07
  u= 0.007812 eps^2/u^2=1.638e+02  P=0: isolation 9.2448e-08, remainder x-(11.12) +5.024e-13 (over isolation 5.43e-06), rel.dev E_bind -5.43e-06, wide form -2.07e-05, E_b''(0) -2.09e-09; m_b-(m_1+m_2) = 1.746377e-02 against -4 m_1 m_2 E_bind (rel.dev +7.40e-05) and the leading function (rel.dev +6.86e-05);  P=pi/2: isolation 1.4201e-07, remainder -3.294e-07 (over isolation 2.32e+00), (11.12) minus the exact edge +1.874e-07
eps' = 0.5, w11 > 0, level above the band, P = 0:
  u= 2.000000 eps^2/u^2=2.500e-03  isolation 3.7401e-03 (leading 3.7446e-03, rel.dev -1.19e-03), remainder x-(11.12) -1.723e-05 (over isolation 4.61e-03), E_bind-2a = +3.7273e-03 against w11^2/(2a) = 6.0588e-03
  u= 1.000000 eps^2/u^2=1.000e-02  isolation 1.2534e-03 (leading 1.2548e-03, rel.dev -1.14e-03), remainder x-(11.12) -1.419e-05 (over isolation 1.13e-02), E_bind-2a = +1.2406e-03 against w11^2/(2a) = 1.5147e-03
  u= 0.500000 eps^2/u^2=4.000e-02  isolation 3.5716e-04 (leading 3.5757e-04, rel.dev -1.16e-03), remainder x-(11.12) -1.318e-05 (over isolation 3.69e-02), E_bind-2a = +3.4439e-04 against w11^2/(2a) = 3.7868e-04
  u= 0.250000 eps^2/u^2=1.600e-01  isolation 9.3119e-05 (leading 9.3234e-05, rel.dev -1.24e-03), remainder x-(11.12) -1.288e-05 (over isolation 1.38e-01), E_bind-2a = +8.0352e-05 against w11^2/(2a) = 9.4669e-05
  u= 0.125000 eps^2/u^2=6.400e-01  isolation 2.3545e-05 (leading 2.3576e-05, rel.dev -1.29e-03), remainder x-(11.12) -1.280e-05 (over isolation 5.44e-01), E_bind-2a = +1.0778e-05 against w11^2/(2a) = 2.3667e-05
  u= 0.062500 eps^2/u^2=2.560e+00  isolation 5.9032e-06 (leading 5.9111e-06, rel.dev -1.32e-03), remainder x-(11.12) -1.278e-05 (over isolation 2.16e+00), E_bind-2a = -6.8642e-06 against w11^2/(2a) = 5.9168e-06
  u= 0.031250 eps^2/u^2=1.024e+01  isolation 1.4769e-06 (leading 1.4788e-06, rel.dev -1.32e-03), remainder x-(11.12) -1.277e-05 (over isolation 8.65e+00), E_bind-2a = -1.1291e-05 against w11^2/(2a) = 1.4792e-06
  u= 0.015625 eps^2/u^2=4.096e+01  isolation 3.6930e-07 (leading 3.6978e-07, rel.dev -1.30e-03), remainder x-(11.12) -1.277e-05 (over isolation 3.46e+01), E_bind-2a = -1.2398e-05 against w11^2/(2a) = 3.6980e-07
  u= 0.007812 eps^2/u^2=1.638e+02  isolation 9.2334e-08 (leading 9.2449e-08, rel.dev -1.24e-03), remainder x-(11.12) -1.277e-05 (over isolation 1.38e+02), E_bind-2a = -1.2675e-05 against w11^2/(2a) = 9.2450e-08
reading: (11.30) is sufficient, not necessary. Below the band at P = 0 the remainder stays far below the isolation for every u (the lower edge at P = 0 is exactly M_1+M_2); at P = pi/2 and above the band it tends to a constant of order eps^4 and exceeds the isolation for u of the order of eps

=== new in v3, I3: tight pair at fixed epsilon (set B_unequal_R, w11 = -u*a), dense diagonalization, L = 120, P = 0
  eps'=1.0 u=   2 w11=-0.0242 |w11|/min M = 0.0242 in a band: False weight(r=0,11)=0.8900  E_bind-w11 = 9.315293e-03: rel.dev from the leading form +6.291e-03 (= +0.260 |w11|/M), from the tight form a+a^2/(2w) +2.437e-02; rel.dev E_b''(0) +4.562e-03 (= +0.188 |w11|/M); rel.dev 1-<sigma3_i> +9.284e-03, +1.328e-02
  eps'=1.0 u=   4 w11=-0.0485 |w11|/min M = 0.0485 in a band: False weight(r=0,11)=0.9647  E_bind-w11 = 1.080688e-02: rel.dev from the leading form +1.703e-02 (= +0.351 |w11|/M), from the tight form a+a^2/(2w) +1.887e-02; rel.dev E_b''(0) +1.371e-02 (= +0.283 |w11|/M); rel.dev 1-<sigma3_i> +3.179e-02, +2.730e-02
  eps'=1.0 u=   8 w11=-0.0969 |w11|/min M = 0.0969 in a band: False weight(r=0,11)=0.9863  E_bind-w11 = 1.182203e-02: rel.dev from the leading form +4.038e-02 (= +0.416 |w11|/M), from the tight form a+a^2/(2w) +3.906e-02; rel.dev E_b''(0) +3.300e-02 (= +0.340 |w11|/M); rel.dev 1-<sigma3_i> +8.288e-02, +5.724e-02
  eps'=1.0 u=  16 w11=-0.1939 |w11|/min M = 0.1939 in a band: False weight(r=0,11)=0.9914  E_bind-w11 = 1.280926e-02: rel.dev from the leading form +9.114e-02 (= +0.470 |w11|/M), from the tight form a+a^2/(2w) +8.356e-02; rel.dev E_b''(0) +7.258e-02 (= +0.374 |w11|/M); rel.dev 1-<sigma3_i> +1.992e-01, +1.216e-01
  eps'=1.0 u=  32 w11=-0.3878 |w11|/min M = 0.3878 in a band: False weight(r=0,11)=0.9913  E_bind-w11 = 1.443301e-02: rel.dev from the leading form +2.100e-01 (= +0.542 |w11|/M), from the tight form a+a^2/(2w) +1.735e-01; rel.dev E_b''(0) +1.534e-01 (= +0.396 |w11|/M); rel.dev 1-<sigma3_i> +4.967e-01, +2.691e-01
  eps'=1.0 u=  64 w11=-0.7755 |w11|/min M = 0.7755 in a band: False weight(r=0,11)=0.9862  E_bind-w11 = 1.864784e-02: rel.dev from the leading form +5.510e-01 (= +0.711 |w11|/M), from the tight form a+a^2/(2w) +3.553e-01; rel.dev E_b''(0) +2.896e-01 (= +0.373 |w11|/M); rel.dev 1-<sigma3_i> +1.547e+00, +6.647e-01
  eps'=1.0 u= 128 w11=-1.5511 |w11|/min M = 1.5511 in a band: False weight(r=0,11)=0.9228  E_bind-w11 = 4.408762e-02: rel.dev from the leading form +2.653e+00 (= +1.710 |w11|/M), from the tight form a+a^2/(2w) +7.262e-01; rel.dev E_b''(0) -2.101e+00 (= -1.355 |w11|/M); rel.dev 1-<sigma3_i> +1.410e+01, +2.168e+00
  eps'=0.5 u=   2 w11=-0.0061 |w11|/min M = 0.0061 in a band: False weight(r=0,11)=0.8933  E_bind-w11 = 2.317895e-03: rel.dev from the leading form +1.569e-03 (= +0.259 |w11|/M), from the tight form a+a^2/(2w) +1.978e-02; rel.dev E_b''(0) +1.147e-03 (= +0.189 |w11|/M); rel.dev 1-<sigma3_i> +2.322e-03, +3.302e-03
  eps'=0.5 u=   4 w11=-0.0121 |w11|/min M = 0.0121 in a band: False weight(r=0,11)=0.9688  E_bind-w11 = 2.667675e-03: rel.dev from the leading form +4.216e-03 (= +0.348 |w11|/M), from the tight form a+a^2/(2w) +6.350e-03; rel.dev E_b''(0) +3.438e-03 (= +0.284 |w11|/M); rel.dev 1-<sigma3_i> +7.853e-03, +6.741e-03
  eps'=0.5 u=   8 w11=-0.0242 |w11|/min M = 0.0242 in a band: False weight(r=0,11)=0.9909  E_bind-w11 = 2.868720e-03: rel.dev from the leading form +9.826e-03 (= +0.405 |w11|/M), from the tight form a+a^2/(2w) +9.986e-03; rel.dev E_b''(0) +8.233e-03 (= +0.340 |w11|/M); rel.dev 1-<sigma3_i> +1.993e-02, +1.391e-02
  eps'=0.5 u=  16 w11=-0.0485 |w11|/min M = 0.0485 in a band: False weight(r=0,11)=0.9966  E_bind-w11 = 2.997571e-03: rel.dev from the leading form +2.138e-02 (= +0.441 |w11|/M), from the tight form a+a^2/(2w) +2.096e-02; rel.dev E_b''(0) +1.794e-02 (= +0.370 |w11|/M); rel.dev 1-<sigma3_i> +4.517e-02, +2.858e-02
  eps'=0.5 u=  32 w11=-0.0969 |w11|/min M = 0.0969 in a band: False weight(r=0,11)=0.9980  E_bind-w11 = 3.117421e-03: rel.dev from the leading form +4.538e-02 (= +0.468 |w11|/M), from the tight form a+a^2/(2w) +4.342e-02; rel.dev E_b''(0) +3.759e-02 (= +0.388 |w11|/M); rel.dev 1-<sigma3_i> +9.876e-02, +5.893e-02
  eps'=0.5 u=  64 w11=-0.1939 |w11|/min M = 0.1939 in a band: False weight(r=0,11)=0.9982  E_bind-w11 = 3.297572e-03: rel.dev from the leading form +9.709e-02 (= +0.501 |w11|/M), from the tight form a+a^2/(2w) +8.850e-02; rel.dev E_b''(0) +7.771e-02 (= +0.401 |w11|/M); rel.dev 1-<sigma3_i> +2.192e-01, +1.238e-01
  eps'=0.5 u= 128 w11=-0.3878 |w11|/min M = 0.3878 in a band: False weight(r=0,11)=0.9979  E_bind-w11 = 3.675900e-03: rel.dev from the leading form +2.182e-01 (= +0.563 |w11|/M), from the tight form a+a^2/(2w) +1.791e-01; rel.dev E_b''(0) +1.596e-01 (= +0.412 |w11|/M); rel.dev 1-<sigma3_i> +5.280e-01, +2.728e-01
reading: at fixed epsilon the relative remainders of the leading forms grow in proportion to |w11|/M; the forms fail for |w11| of order M

=== new in v3, I2: equal data, on-site binding W0 = w |v><v|, v = (|11> - |22>)/sqrt(2): the flat point of the mixed bands
M_1 = M_2 = 1.0, tau_1 = tau_2 = 1.0, w = 1.0; c* = Omega - M = 0.414214; largest weight of v on the flat bands at P = 0 over q: 7.7e-32
  P=+0.80: mixed bands [-Delta, Delta], Delta = 0.2971386219; root of 1 + w g_v above them: E = 0.300342915002 (finer q grid: 0.300342915002); E - Delta = 3.2043e-03 = 6.2584e-03 |P|^3; E/|P| = 0.375429; sign changes above: 1, below -Delta: 0
  P=+0.40: mixed bands [-Delta, Delta], Delta = 0.1613023588; root of 1 + w g_v above them: E = 0.161712553469 (finer q grid: 0.161712553469); E - Delta = 4.1019e-04 = 6.4093e-03 |P|^3; E/|P| = 0.404281; sign changes above: 1, below -Delta: 0
  P=+0.20: mixed bands [-Delta, Delta], Delta = 0.0822915312; root of 1 + w g_v above them: E = 0.082343177123 (finer q grid: 0.082343177123); E - Delta = 5.1646e-05 = 6.4557e-03 |P|^3; E/|P| = 0.411716; sign changes above: 1, below -Delta: 0
  P=+0.10: mixed bands [-Delta, Delta], Delta = 0.0413523552; root of 1 + w g_v above them: E = 0.041358823110 (finer q grid: 0.041358823110); E - Delta = 6.4680e-06 = 6.4680e-03 |P|^3; E/|P| = 0.413588; sign changes above: 1, below -Delta: 0
  P=+0.05: mixed bands [-Delta, Delta], Delta = 0.0207020497; root of 1 + w g_v above them: E = 0.020702858630 (finer q grid: 0.020702858630); E - Delta = 8.0888e-07 = 6.4711e-03 |P|^3; E/|P| = 0.414057; sign changes above: 1, below -Delta: 0
  P=-0.20: mixed bands [-Delta, Delta], Delta = 0.0822915312; root of 1 + w g_v above them: E = 0.082343177123 (finer q grid: 0.082343177123); E - Delta = 5.1646e-05 = 6.4557e-03 |P|^3; E/|P| = 0.411716; sign changes above: 1, below -Delta: 0
  dense, L = 240, P=+0.80: eigenvalue 0.300342915002, minus the root -6.1e-16; weight at |r|>L/2 2.6e-08; weight on (r=0, v) 0.0063; neighbours 0.29713619, 2.12475875; eigenvalues in (Delta, 1): 1, in (-1, -Delta): 0
  dense, L = 240, P=+0.40: eigenvalue 0.161712553411, minus the root -5.8e-11; weight at |r|>L/2 1.9e-04; weight on (r=0, v) 0.0008; neighbours 0.16130089, 2.03755899; eigenvalues in (Delta, 1): 1, in (-1, -Delta): 0
  dense, L = 240, P=0: dimension 1924; eigenvalues with |E| < 1e-9: 962 (2 x number of r: 962), largest of them 7.0e-15; nearest other eigenvalue -1.81616020; root of 1 + w g_v(E,0): -1.81616020; 1 + w g_v(E,0) at E = +0.3, -0.3: 1.0539, 0.9461
reading: for P != 0 one simple eigenvalue lies just above the mixed bands and tends to 0 as c*|P|; at P = 0 the value 0 is the flat point (infinite multiplicity on the infinite chain), isolated from the rest of the spectrum

run time: 404 s

Interested in this research?

Join the readers' list and get an e-mail when a new stage or a correction is published. No password, and you can unsubscribe at any time.