| | @@ -0,0 +1,158 @@ |
| 1 | +# B2c: signs of the alternating two-kernel family (work in progress) |
| 2 | + |
| 3 | +Task t-3e25885b26. Notation follows `../b2_kernels/PROOF.md`: odd \(m\ge3\), |
| 4 | +\(h=(m+1)/2\), \(P_m(z)=\sum_{j<m}(j+1)z^j\) with upper-half-plane roots |
| 5 | +\(r_k=q_ke^{i\theta_k}\) (\(1\le k\le (m-1)/2\), increasing argument), |
| 6 | +\(A_k=-\log q_k>0\), \(v_k=r_k\) (odd \(k\)) or \(\overline{r_k}\) (even \(k\)), and |
| 7 | +\(G_m(z)=c_m\prod_k(1-(v_k+v_k^{-1})z+z^2)=\sum_j g_jz^j\) with \(c_m>0\) and |
| 8 | +\(|G_m(1)|=1\). The two kernel rows are \(\operatorname{Re}g_j\) and \(\operatorname{Im}g_j\). |
| 9 | +Also \(p(z)=\sum_{j<m}(m-j)z^j=z^{m-1}P_m(1/z)\) and \(c=1+1/m\). |
| 10 | + |
| 11 | +**Status.** This file does not prove nonnegativity for all \(m\), or for an |
| 12 | +infinite family. It proves (Lean: none; on paper: below) an exact factorization and |
| 13 | +recursion that reduce the sign question to one real sequence \(\nu_k\). |
| 14 | +It also gives a sufficient condition and extends the numerical evidence to every odd |
| 15 | +\(m\le 401\). It stops where the last section says. |
| 16 | + |
| 17 | +## Theorem 1 (Blaschke factorization) |
| 18 | + |
| 19 | +Let \(R=\{1/\overline{r_k}: k\text{ odd}\}\cup\{1/r_k: k\text{ even}\}\). Then |
| 20 | +\[ |
| 21 | + G_m(z)=c_m\,p(z)\,B(z),\qquad B(z)=\prod_{w\in R}\frac{z-1/\overline w}{z-w}, |
| 22 | + \qquad |w|>1\ (w\in R). |
| 23 | +\] |
| 24 | +*Proof.* \(1-(v+v^{-1})z+z^2=(z-v)(z-1/v)\), so the roots of \(G_m\) are the \(v_k\) |
| 25 | +(inside the disk) and the \(1/v_k\) (outside). The polynomial \(p\) is monic of degree |
| 26 | +\(m-1\), and its roots are \(1/r\) for every root \(r\) of \(P_m\), so |
| 27 | +\(\{1/r_k,1/\overline{r_k}\}_k\). Its roots \(1/r_k\) (odd \(k\)) and |
| 28 | +\(1/\overline{r_k}\) (even \(k\)) are exactly the \(1/v_k\). The remaining roots form |
| 29 | +\(R\), and for \(w\in R\) the reflected point \(1/\overline w\) is \(r_k=v_k\) (odd) or |
| 30 | +\(\overline{r_k}=v_k\) (even). So \(G_m/c_m\) and \(pB\) are monic with the same roots. |
| 31 | +Finally \(|w|=1/q_k>1\). ∎ |
| 32 | + |
| 33 | +*Reformulation.* By PROOF.md (3) the inside roots \(v_k\) have arguments in |
| 34 | +\((2\pi j/m-\pi/(2m),\,2\pi j/m+\pi/(2m))\) for \(j=k\) (odd \(k\)) or \(j=m-k\) |
| 35 | +(even \(k\)), so exactly the odd \(j\in[1,m-2]\). In words, \(G_m\) keeps the |
| 36 | +ramp root near \(e^{2\pi ij/m}\) inside the disk for odd \(j\) and outside for even |
| 37 | +\(j\ne0\). (Checked numerically in `blaschke.log`.) |
| 38 | + |
| 39 | +**Lemma 1a (half equation).** Take \(\arg z\in(0,2\pi)\) and the principal square |
| 40 | +root, and set \(\Phi(z)=z^{m/2}(m+1-mz)^{1/2}\) on the open unit disk minus |
| 41 | +\([0,1)\). Then the inside roots \(v_k\) of \(G_m\) are exactly the roots of |
| 42 | +\(P_m\) with \(\Phi=-1\), and the other roots of \(P_m\) have \(\Phi=+1\). (Note |
| 43 | +\(1-\Phi^2=(1-z)^2P_m(z)\).) |
| 44 | +*Proof.* In PROOF.md (3), \(r_k\) solves \(F(\log r_k)=2\pi ik\) with |
| 45 | +\(F(w)=mw+\log(m+1-me^w)\) and \(\arg r_k\in(0,\pi)\). Since \(|r|<1\), the second |
| 46 | +logarithm is principal, so \(\Phi(r_k)=e^{F/2}=(-1)^k\). With \(\arg\) in |
| 47 | +\((0,2\pi)\), \(\overline{r_k}\) has \(m\log\overline{r_k}=2\pi im+\overline{m\log r_k}\), |
| 48 | +so \(\Phi(\overline{r_k})=e^{i\pi(m-k)}=(-1)^{m-k}\). For odd \(m\) both chosen roots |
| 49 | +(\(r_k\), \(k\) odd; \(\overline{r_k}\), \(k\) even) give \(-1\), and both others give |
| 50 | +\(+1\). ∎ (`halfeq.py 7 15 63` → `halfeq.log`.) So the alternating choice is the |
| 51 | +branch \(1+\Phi=0\) of the factorization \((1-z)^2P_m=(1-\Phi)(1+\Phi)\). This may be |
| 52 | +the handle for a contour-integral treatment of \(\nu_k\), which is a sum over these |
| 53 | +roots. |
| 54 | + |
| 55 | +## Corollary 2 (sufficient condition) |
| 56 | + |
| 57 | +Let \(B(z)=\sum_n\beta_nz^n\) (radius \(\min_R|w|>1\)). Then \(\beta_0=1/m\) and |
| 58 | +\[ |
| 59 | + g_j=c_m\sum_{l=0}^{j}(m-j+l)\,\beta_l\qquad(0\le j\le m-1). |
| 60 | +\] |
| 61 | +If \(\beta_l\) lies in the closed first quadrant for \(0\le l\le h-1\), then both rows |
| 62 | +are nonnegative, the real row is positive, and both row masses are positive. |
| 63 | + |
| 64 | +*Proof.* \(\beta_0=B(0)=\prod_R|w|^{-2}\). \(P_m\) has no real roots (PROOF.md §2), so |
| 65 | +\(R\) and \(\overline R\) are disjoint with union the roots of \(p\). Hence |
| 66 | +\(\prod_R|w|^2=\prod_{p(\rho)=0}|\rho|=p(0)/1=m\). The coefficient formula is the |
| 67 | +Cauchy product of \(p\) and \(B\), with \(\sum_{i\le j}(m-i)\beta_{j-i}\) reindexed by |
| 68 | +\(l=j-i\). For \(j\le h-1\) only \(\beta_l\) with \(l\le h-1\) enter, all weights are |
| 69 | +positive, and the \(l=0\) term contributes \((m-j)c_m/m>0\) to the real part. |
| 70 | +\(G_m\) is palindromic, which covers \(j\ge h\). The imaginary mass is |
| 71 | +\(\operatorname{Im}G_m(1)\ge0\). It is zero only if every \(g_j\) is real, which is |
| 72 | +impossible since \(v_1=r_1\) is a root while \(\overline{r_1}\) (inside the disk, and |
| 73 | +not among the \(v_k\), whose arguments are separated by (3)) is not. ∎ |
| 74 | + |
| 75 | +## Theorem 3 (exact recursion; the alternation lives in one real sequence) |
| 76 | + |
| 77 | +For \(k\ge1\) put |
| 78 | +\[ |
| 79 | + \nu_k=2\sum_{k'=1}^{(m-1)/2}(-1)^{k'+1}\sinh(kA_{k'})\sin(k\theta_{k'}). |
| 80 | +\] |
| 81 | +Then for \(1\le j\le m-1\), |
| 82 | +\[ |
| 83 | + j\,g_j=\sum_{k=1}^{j}\Bigl(2-\tfrac12c^k+i\nu_k\Bigr)g_{j-k},\qquad |
| 84 | + n\,\beta_n=\sum_{k=1}^{n}\Bigl(\tfrac12c^k+i\nu_k\Bigr)\beta_{n-k}, |
| 85 | +\] |
| 86 | +equivalently, modulo \(z^m\), |
| 87 | +\[ |
| 88 | + G_m(z)\equiv c_m\,(1-cz)^{1/2}(1-z)^{-2}e^{iV(z)},\qquad |
| 89 | + B(z)\equiv\tfrac1m(1-cz)^{-1/2}e^{iV(z)},\qquad V(z)=\sum_{k<m}\frac{\nu_k}{k}z^k. |
| 90 | +\] |
| 91 | + |
| 92 | +*Proof.* (a) Power sums. \(P_m(0)=1\) gives \(P_m(z)=\prod_r(1-z/r)\) over its |
| 93 | +roots, and \((1-z)^2P_m=1-(m+1)z^m+mz^{m+1}\), so |
| 94 | +\(\log P_m=-2\log(1-z)+O(z^m)\). Comparing \(-\sum_r r^{-k}/k\) gives |
| 95 | +\(\sum_rr^{-k}=-2\) for \(1\le k\le m-1\). Likewise \(p(z)=m\prod_r(1-rz)\), and |
| 96 | +\((1-z)^2p=m-(m+1)z+z^{m+1}\), so \(\log(p/m)=\log(1-cz)-2\log(1-z)+O(z^{m+1})\). |
| 97 | +This gives \(\sum_rr^k=c^k-2\) for \(1\le k\le m\). |
| 98 | +(b) \(zp'/p=\sum_\rho z/(z-\rho)=-\sum_{k\ge1}z^k\sum_\rho\rho^{-k}\) over the roots |
| 99 | +\(\rho=1/r\) of \(p\). By (a) its \(k\)-th coefficient is \(2-c^k\) (\(k\le m\)). |
| 100 | +(c) \(zB'/B=\sum_{w\in R}\bigl(\tfrac{z}{z-1/\bar w}-\tfrac{z}{z-w}\bigr)\) has |
| 101 | +\(k\)-th coefficient \(\mu_k=\sum_R(w^{-k}-\overline w^{\,k})\). Write |
| 102 | +\(w=e^{A}e^{i\varepsilon\theta}\) with \(\varepsilon=+1\) (odd index), \(-1\) (even). |
| 103 | +Then \(\mu_k=-2\sum\sinh(kA)\,(\cos k\theta-i\varepsilon\sin k\theta)\), so |
| 104 | +\(\operatorname{Im}\mu_k=\nu_k\). Also |
| 105 | +\(\operatorname{Re}\mu_k=\tfrac12\sum_\rho\rho^{-k}-\tfrac12\sum_\rho\rho^{k} |
| 106 | +=\tfrac12(c^k-2)-\tfrac12(-2)=\tfrac12c^k\) for \(k\le m-1\), because |
| 107 | +\(R\cup\overline R\) is the root set of \(p\) and \(\sum_\rho\rho^k=\sum_rr^{-k}\). |
| 108 | +(d) \(zG'/G=zp'/p+zB'/B\) has coefficient \(2-c^k/2+i\nu_k\) for \(k\le m-1\). |
| 109 | +Comparing coefficients of \(zG'=G\cdot(zG'/G)\) gives the recursion, and the same |
| 110 | +for \(B\) with (c) alone. Integrating gives the closed forms, since |
| 111 | +\(\sum_k 2z^k/k=-2\log(1-z)\) and \(\sum_k c^kz^k/(2k)=-\tfrac12\log(1-cz)\). ∎ |
| 112 | + |
| 113 | +*Consequences.* The real parts of all recursion coefficients are explicit and, |
| 114 | +for \(k\le h\), positive: \(2-c^k/2\ge2-\sqrt e/2>1.17\) and \(c^k/2>0\). Every |
| 115 | +effect of the alternating choice of roots sits in \(\nu\). For example |
| 116 | +\(\beta_1=(c/2+i\nu_1)/m\), so \(\operatorname{Im}\beta_1>0\iff\nu_1>0\). The factor |
| 117 | +\((1-cz)^{-1/2}\) explains the \(x^{-1/2}\) profile of \(\beta\). |
| 118 | + |
| 119 | +## Computations (high-precision floating point, not certified) |
| 120 | + |
| 121 | +All scripts use mpmath at \(m+40\) digits. Run them from this folder. |
| 122 | +`../b2_kernels/ramp_pair.py` remains the only exact-arithmetic certificate (8 widths). |
| 123 | + |
| 124 | +| script / log | what it shows | |
| 125 | +|---|---| |
| 126 | +| `sweep.py 3 151` → `sweep_3_151.log` | every odd \(m\le151\): both rows strictly increasing on \(0\le j<h\) (cols 4–5), hence positive (stronger than nonnegativity) | |
| 127 | +| `betasweep.py 3 101`, `103 401` → `beta_*.log` | every odd \(m\le401\): \(m\beta_0=1\) and all \(\beta_n\), \(n<h\), in the open first quadrant (col 5), so Corollary 2 applies | |
| 128 | +| `preccheck.py 51 101 201` → `preccheck.log` | recomputing at \(2m+80\) digits changes \(\beta\) by \(<10^{-88}\), against \(\min\operatorname{Im}\beta_n\ge7\cdot10^{-7}\) | |
| 129 | +| `blaschke.py 63` → `blaschke.log` | Theorem 1 to \(10^{-92}\); inside roots sit at odd \(j\) | |
| 130 | +| `recur.py 5 … 127` → `recur.log` | \(\operatorname{Re}\mu_k=c^k/2\) and the recursion of Theorem 3 to roundoff; \(\nu_k>0\) and increasing on \(1\le k<h\) | |
| 131 | +| `nuscale.py 63 … 511` → `nuscale.log` | \(\nu_{\lfloor xm\rceil}\) converges: \(\nu(0.1)\approx0.061\), \(\nu(0.2)\approx0.288\), \(\nu(0.3)\approx0.92\), \(\nu(0.4)\approx3.6\), \(\nu(0.45)\approx11.6\), and \(m^2\nu_1\to\approx5.74\) | |
| 132 | + |
| 133 | +Observed: \(\arg\beta_n\) is nondecreasing on \(n<h\) (\(m=63,127,255\)), and |
| 134 | +\(\sqrt{n/m}\,m\beta_n\) tends to a profile \(\psi(n/m)\) with |
| 135 | +\(\operatorname{Re}\psi\in[0.57,0.78]\) and \(\operatorname{Im}\psi\approx7x^2\operatorname{Re}\psi\) |
| 136 | +near 0. |
| 137 | + |
| 138 | +## Where it stops, and the plan |
| 139 | + |
| 140 | +Not proved: \(\beta_n\in\)Q1 (or the row signs directly) for all \(m\), or for |
| 141 | +any infinite family. The recursion does not close by a naive induction. |
| 142 | +\(\nu_k\) grows sharply as \(k\to h\) (it is about 124 at \(m=63\), \(k=31\)), |
| 143 | +and the peaked row's centre height grows about logarithmically in \(m\) |
| 144 | +(PROOF.md §4, numerical), which suggests that \(\operatorname{Re}g/\operatorname{Im}g\) |
| 145 | +at the centre tends to 0. So any argument must be sharp there. Suggested next steps, each a |
| 146 | +checkable sub-task: |
| 147 | + |
| 148 | +1. Prove \(\nu_1>0\) for all odd \(m\) (equivalently \(\operatorname{Im}\beta_1>0\)). |
| 149 | + This is a delicate alternating sum, of size \(\approx5.74/m^2\) against terms of |
| 150 | + size \(\approx(k/m)\log k/m\). |
| 151 | +2. Prove \(\nu_k>0\) for \(1\le k<h\). The formal continuum limit is |
| 152 | + \(\nu(x)=2\sum_k(-1)^{k+1}\sinh(xa_k)\sin(xb_k)\) with \(e^{s_k}=1+s_k\) |
| 153 | + (conditionally convergent, not yet justified). |
| 154 | +3. In the continuum, \(\rho\propto K*\cos_*V\) and \(K*\sin_*V\) with an explicit |
| 155 | + positive \(K\) (limit of \((1-cz)^{1/2}(1-z)^{-2}\)). Prove first-quadrant |
| 156 | + values on \((0,1/2)\) by interval arithmetic plus tail bounds on \(\nu\). |
| 157 | + Then transfer to all large \(m\) by a quantitative version of the convergence in |
| 158 | + PROOF.md §2, and cover small \(m\) by exact checks. |