# log: s08_hp_landau
# started (UTC): 2026-11-19T02:53:39+00:00
# python 3.12.14 on Darwin arm64
# argv: s08_hp_landau.py
== (1) the gapped branch: junction at u = 1/2 and Gross-Witten-Wadia origin ([HP] eq. V, Vcubic)
  [PASS] V continuous at 1/2: computed 0.25  paper 0.25  |diff| 1e-12 (tol 1e-10)  [HP] eq. (V)
  [PASS] V' continuous at 1/2 (gapped branch value): computed 1  paper 1  |diff| 0 (tol 1e-14)  [HP] eq. (V)
  [PASS] V'' continuous at 1/2 (gapped branch value): computed 2  paper 2  |diff| 0 (tol 1e-14)  [HP] eq. (V)
  [PASS] jump of V''' at 1/2: computed 8  paper 8  |diff| 0 (tol 1e-14)  [HP] section 3.2
  [PASS] (V(u)-u^2)/eps^3 at eps=0.01 -> 4/3: computed 1.35365876  paper 1.333333333  |diff| 0.0203 (tol 0.05)  [HP] eq. (Vcubic)
  [PASS] (V(u)-u^2)/eps^3 at eps=0.001 -> 4/3: computed 1.335336564  paper 1.333333333  |diff| 0.002 (tol 0.005)  [HP] eq. (Vcubic)
  [PASS] V(u) = sup_beta [2 beta u - F_GWW(beta)] at 7 values of u (max abs deviation): computed 4.440892099e-16  paper 0  |diff| 4.44e-16 (tol 1e-09)  [HP] section 3.2 (Legendre transform of Gross-Witten-Wadia)
  Toeplitz det, beta=0.25: F_N - F_inf at N=2,4,8,16,32: -9.88e-05, -3.28e-06, -1.50e-08, -1.65e-12, +0.00e+00
  Toeplitz det, beta=0.75: F_N - F_inf at N=2,4,8,16,32: -2.14e-02, -8.59e-03, -3.09e-03, -1.01e-03, -3.09e-04
  Toeplitz det, beta=1.5: F_N - F_inf at N=2,4,8,16,32: -4.31e-02, -1.44e-02, -4.50e-03, -1.35e-03, -3.94e-04
  [PASS] finite-N GWW free energy, N=32, beta=1.5 (gapped phase): computed 1.700299763  paper 1.700693856  |diff| 0.000394 (tol 0.002)  Gross-Witten, Wadia as cited in [HP] section 3.2
  [PASS] finite-N GWW free energy, N=32, beta=0.25 (ungapped phase): computed 0.0625  paper 0.0625  |diff| 0 (tol 1e-06)  Gross-Witten, Wadia as cited in [HP] section 3.2
== (2) exact saddles and thresholds on the restricted domain
  |b| = 0.1 (the exaggerated value of [HP] Fig. potential): m^2_min = 0.05262 (caption: 0.053; leading order 0.05), m^2_c = 0.03164 (caption: 0.032; leading order 0.025); u_c = 0.5979 (leading 1/2+sqrt|b|/4 = 0.5791)
  [PASS] m^2 at which the second minimum appears, |b|=0.1: computed 0.05262397296  paper 0.053  |diff| 0.000376 (tol 0.0006)  [HP] Fig. (potential) caption
  [PASS] m^2 at which the minima are degenerate, |b|=0.1: computed 0.03163852135  paper 0.032  |diff| 0.000361 (tol 0.0006)  [HP] Fig. (potential) caption
  small-|b| scan: m^2_c/|b| - 1/4 ~ 0.172 |b|^0.502;  m^2_min/|b| - 1/2 ~ 0.250 |b|^1.000
  at |b| = 1e-6: m^2_min/|b| = 0.500000, m^2_c/|b| = 0.250167, (u_c - 1/2)/(sqrt|b|/4) = 1.00067, barrier/|b| = 0.015646 (leading 1/64 = 0.015625)
  [PASS] m^2_min/|b| -> 1/2 as |b| -> 0: computed 0.50000025  paper 0.5  |diff| 2.5e-07 (tol 0.002)  [HP] eq. (us),(eps), Table (regimes)
  [PASS] m^2_c/|b| -> 1/4 as |b| -> 0: computed 0.2501667812  paper 0.25  |diff| 0.000167 (tol 0.002)  [HP] section 3.3
  [PASS] (u_c - 1/2)/(sqrt|b|/4) -> 1: computed 1.000667007  paper 1  |diff| 0.000667 (tol 0.005)  [HP] section 3.3
  [PASS] latent heat (3/2) u_c^2 -> 3/8 as |b| -> 0: computed 0.375375344  paper 0.375  |diff| 0.000375 (tol 0.002)  [HP] eq. (latent)
  [PASS] correction exponent of m^2_c/|b| (expected 1/2: O(|b|^(3/2)) terms from the wall): computed 0.5023718557  paper 0.5  |diff| 0.00237 (tol 0.05)  [HP] section 3.3 ('up to terms of order |b|^(3/2)')
  m^2 = +0.080: interior saddles []; global minimum at u = 0.0000; u=0 is a local minimum
  m^2 = +0.045: interior saddles [(0.4743, 'max'), (0.57, 'min')]; global minimum at u = 0.0000; u=0 is a local minimum
  m^2 = +0.020: interior saddles [(0.3162, 'max'), (0.6147, 'min')]; global minimum at u = 0.6147; u=0 is a local minimum
  m^2 = -0.020: interior saddles [(0.6546, 'min')]; global minimum at u = 0.6546; u=0 is unstable
  truncated quartic without the gapped branch at m^2=0.02, b=-0.1: S(0.8) = -0.0282, S(2) = -1.520 -> unbounded below; the wall is essential
== (3) temperatures through two loops: exact inversion of m_1^2(T) versus the series of [HP] eq. (three-T)
  lambda= 0.01 (g^2=6.33e-05, |b|=1.48e-07): exact T_min=0.379710919 < T_c=0.379710923 < T_H=0.379710926  ordered=True; (T_H-T_c)/T_H = 9.381e-09 (leading |b|/6beta0 = 9.374e-09); jump u_c = 0.50010
  lambda= 0.10 (g^2=6.33e-04, |b|=1.48e-05): exact T_min=0.380141259 < T_c=0.380141616 < T_H=0.380141975  ordered=True; (T_H-T_c)/T_H = 9.447e-07 (leading |b|/6beta0 = 9.374e-07); jump u_c = 0.50096
  lambda= 0.50 (g^2=3.17e-03, |b|=3.70e-04): exact T_min=0.382007253 < T_c=0.382016349 < T_H=0.382025682  ordered=True; (T_H-T_c)/T_H = 2.443e-05 (leading |b|/6beta0 = 2.343e-05); jump u_c = 0.50487
  lambda= 1.00 (g^2=6.33e-03, |b|=1.48e-03): exact T_min=0.384238116 < T_c=0.384275592 < T_H=0.384315028  ordered=True; (T_H-T_c)/T_H = 1.026e-04 (leading |b|/6beta0 = 9.374e-05); jump u_c = 0.50987
  lambda= 2.00 (g^2=1.27e-02, |b|=5.93e-03): exact T_min=0.388387404 < T_c=0.388550462 < T_H=0.388730926  ordered=True; (T_H-T_c)/T_H = 4.642e-04 (leading |b|/6beta0 = 3.750e-04); jump u_c = 0.52027
  lambda= 5.00 (g^2=3.17e-02, |b|=3.70e-02): exact T_min=0.398274406 < T_c=0.400109089 < T_H=0.402499982  ordered=True; (T_H-T_c)/T_H = 5.940e-03 (leading |b|/6beta0 = 2.343e-03); jump u_c = 0.55485
  [PASS] leading window coefficient: (T_H-T_c)/T_H / lambda^2 at lambda=0.01: computed 9.381078354e-05  paper 9.37e-05  |diff| 1.11e-07 (tol 2e-07)  [HP] eq. (window)
  [PASS] window (T_H-T_c)/T_H at lambda=1 ('one part in ten thousand'; order of magnitude): computed 0.0001026144676  paper 0.0001  |diff| 2.61e-06 (tol 2e-05)  [HP] section 7.2
  finding: at lambda=1 the exact two-loop inversion gives a window 9.5% wider than the leading formula 9.37e-5 lambda^2 (wall correction 0.69 sqrt|b| plus the O(g^2) change of the slope of m_1^2); formally higher order, so not in conflict with [HP] eq. (window)
  [PASS] ratio of windows (T_H-T_min)/(T_H-T_c) at lambda=0.01 -> 2: computed 1.999486996  paper 2  |diff| 0.000513 (tol 0.02)  [HP] eq. (Tc)
== (4) b > 0: continuous transition and Gross-Witten-Wadia point
  b=+0.1, m^2=-0.020: minimum at u = 0.31623 (ungapped formula sqrt(-m^2/2b) = 0.31623; gapped: False)
  b=+0.1, m^2=-0.050: minimum at u = 0.50000 (ungapped formula sqrt(-m^2/2b) = 0.50000; gapped: False)
  b=+0.1, m^2=-0.080: minimum at u = 0.56363 (ungapped formula sqrt(-m^2/2b) = 0.63246; gapped: True)
  [PASS] b>0: minimum reaches u=1/2 at m^2 = -b/2: computed 0.5  paper 0.5  |diff| 0 (tol 0.0001)  [HP] section 3.4
  [PASS] b>0: free energy -m^4/4b at m^2=-0.02: computed -0.001  paper -0.001  |diff| 0 (tol 1e-10)  [HP] section 3.4
== (5) gravity side quoted in [HP] section 1: Schwarzschild-AdS_5 (R = 1)
  [PASS] T_min of AdS_5 black holes = sqrt2/pi: computed 0.4501581581  paper 0.4501581581  |diff| 5.55e-17 (tol 1e-09)  [HP] section 1.1
  [PASS] T_HP = T(r+ = R) = 3/(2 pi): computed 0.4774648293  paper 0.4774648293  |diff| 0 (tol 1e-14)  [HP] eq. (THP)
  gravity: T_min/T_HP = 0.9428 (= 2 sqrt2/3); weak coupling: T_min/T_c = 1 - 2.338 g^4 -> 1; no classical counterpart of T_H
SUMMARY: 25/25 checks pass
# finished (UTC): 2026-11-19T02:53:44+00:00  status: ok
