frontmatter.tex
COS Method
frontmatter.tex
This is the original TeX manuscript source. Use the paper’s PDF for typeset equations.
Read this chapter with formatted equations
1 \chapter*{Preface}
2 \addcontentsline{toc}{chapter}{Preface}\markboth{Preface}{}
3 A Gaussian quadratic-form probability is often presented as an inversion problem. In a large calculation, the spectrum required by that inversion must first be obtained. Data may not fit in memory. A structural approximation may discard couplings. A reduced basis may leave part of the range unresolved. Each choice affects what can ultimately be said about the probability.
4
5 This book connects those choices. It begins with the exact Gaussian reduction to a weighted sum of independent squares and ends with an interval for the requested tail probability. Between them lie streamed factors, phase blocks, range cores, spectral intervals, and local transform expansions. Changing representation reduces the work only if the mathematical object is preserved or the resulting error is controlled.
6
7 K-COS is the transform method at the end of this construction. Exponential tilting moves an upper-tail query toward the center of a reweighted law. Centered spectral packets reduce repeated evaluations of the cumulant generating function. Fourier-cosine inversion evaluates the weighted tail functional. Packet approximation, finite support, and omitted modes contribute separate errors. Their separate bounds make refinement possible.
8
9 The distinction between exact representation and controlled approximation runs throughout the argument. So does the distinction between a real-arithmetic theorem and a computed interval with outward rounding. These are the interfaces that determine which parts of the method can be composed.
10
11 The four parts follow that dependency: Gaussian laws, structured operators and spectral recovery, packet and inversion analysis, then numerical enclosure and acceptance. One four-dimensional example accompanies the development from factor to independently checkable probability. Further visual studies, formal correspondence, reproducible computation, notation, and references are collected at the back.
12
13 The intended reader knows finite-dimensional linear algebra, Gaussian probability, and basic numerical analysis. Written proofs carry the mathematical argument. The accompanying numerical and formal sources provide distinct, explicitly delimited forms of supporting evidence.
14
15 \chapter*{How to read this book}
16 \addcontentsline{toc}{chapter}{How to read this book}\markboth{How to read this book}{}
17 \section*{Following the calculation}
18 For the complete matrix-to-tail route, read the chapters in order. For a supplied spectrum, read the Gaussian reductions in Chapter~\ref{ch:gaussian}, then Chapters~\ref{ch:packets}--\ref{ch:accuracy}. The intervening operator chapters explain what must be established when the spectrum is not already known.
19
20 A recurring example begins in Section~\ref{sec:worked-law} with an exact dyadic factor and spectrum $(1,1,2,2)$. Section~\ref{sec:worked-stream} changes its storage partition. Section~\ref{sec:worked-tilt} derives the tilt and packets. Section~\ref{sec:worked-enclosure} completes the enclosure and compares it with a closed-form probability.
21
22 \section*{Interpreting the answer}
23 A directed calculation returns an outward interval $[p_-,p_+]$. Requested multiplicative tolerance $\varepsilon>0$ is accepted only if $p_->0$ and
24 \[
25 \frac{p_+}{p_-}-1\le\varepsilon.
26 \]
27 A plausible point estimate can still fail this test. Failure means that the requested accuracy was not certified. Agreement with an independent value is useful evidence, but cannot replace the interval inequality.
28
29 The supplied directed backend requires an exact positive spectrum with rank greater than two, a nonnegative threshold, an admissible positive tilt, and a support endpoint above the threshold. Its automatic planner handles queries above the mean. The analytic packet theory has broader rank coverage, but its binary64 implementation does not inherit a directed-rounding guarantee.
30
31 For matrix inputs, certification targets the exact Gram matrix of the stored binary64 factor. Preprocessing and statistical-model validity are separate obligations. Signed and noncentral reductions are exact mathematics, but their supplied numerical paths have narrower guarantees than the positive directed backend.
32
33 Appendix~\ref{app:lean} identifies the finite-algebra and order statements represented in Lean. Appendix~\ref{app:reproduction} gives reproducible computations and their trust assumptions. Neither finite tests nor the limited formal companion establish end-to-end correctness of every layer.
34
35 \chapter*{Notation and conventions}
36 \addcontentsline{toc}{chapter}{Notation and conventions}\markboth{Notation and conventions}{}
37 All vector spaces and matrices in this book are finite dimensional unless stated otherwise. Matrices and factors are real, while transform arguments may be complex. Gaussian components in a spectral reduction are independent standard normal variables. Logarithms are natural unless the base is displayed.
38
39 \begin{longtable}{@{}P{.18\linewidth}P{.76\linewidth}@{}}
40 \toprule Symbol & Meaning\\\midrule\endhead
41 $A$ & A factor. In the streaming construction, $A\in\mathbb R^{n\times m}$.\\
42 $K=AA^\top$ & The sample-space Gram matrix.\\
43 $H=A^\top A$ & The feature-space Gram matrix in the phase construction. Elsewhere $H$ denotes the explicitly defined symmetric coefficient matrix.\\
44 $Q$ & The scalar Gaussian quadratic form whose law is being evaluated.\\
45 $\lambda_j$ & Its nonzero spectral coefficients, including multiplicity.\\
46 $q$ & The threshold in $P(Q\ge q)$.\\
47 $\kappa(s)$ & The cumulant generating function, $\log\mathbb E e^{sQ}$.\\
48 $\theta$ & A positive tilt in the moment-generating-function domain.\\
49 $b$, $N$ & The upper support endpoint and the number of retained COS modes.\\
50 $u_k$, $J_k$ & Frequency $k\pi/b$ and its exponentially weighted payoff integral.\\
51 $\|\cdot\|_2$ & Euclidean vector norm or induced matrix norm, as appropriate.\\
52 $\|\cdot\|_F$ & Frobenius norm.\\
53 $M\succeq0$ & Positive semidefiniteness.\\
54 \bottomrule
55 \end{longtable}
56 The symbols $U$, $B$, and $R$ have locally defined linear-algebra roles. A core or basis is never assumed to span the exact range unless that hypothesis is stated. Nonzero spectra are compared with multiplicity. Additional zero eigenvalues in an oversized core do not change the quadratic-form law.
57
58 The implementation retains some earlier variable names. Appendix~\ref{app:reproduction} maps those names to the notation used here. Printed endpoint strings, not rounded display fields, are the numerical record of an enclosure.
Other PDFs for this work
Original file and source record
This copy matches the recorded source file. Its publication here does not change the work’s review status.
SHA-256: 2dd993f5dbed19235befee39fe44f3d4a653b688231eed32c3bc3ac578fc2600