Download source/chapters/certificate_appendix.tex from PureOne/EVE-AITHRAEL-Robust-Causal-Calibration: direct link, hf CLI and curl.
- Browser
- Download file 8.78 kB
-
https://huggingface.co/datasets/PureOne/EVE-AITHRAEL-Robust-Causal-Calibration/resolve/main/source/chapters/certificate_appendix.tex
- Command line
-
hf download hf://datasets/PureOne/EVE-AITHRAEL-Robust-Causal-Calibration/source/chapters/certificate_appendix.tex
-
curl -L -o certificate_appendix.tex https://huggingface.co/datasets/PureOne/EVE-AITHRAEL-Robust-Causal-Calibration/resolve/main/source/chapters/certificate_appendix.tex
8.78 kB
| \chapter{Reading the exact certificates}\label{app:certificates} | |
| \section{What a certificate records} | |
| The planner's JSON output separates the graph-derived support, the trusted residual geometry, the theoretical architecture optimum, and an actually constructed sensor matrix. These are different objects. A reader can reproduce each implication without trusting an unexplained success flag. | |
| The \texttt{supports} field lists $I_j$ in the input vertex order. The \texttt{residual\_bases} field stores a basis of each $E_j$ as a list of ambient row vectors. The column-space basis used in the mathematics is the transpose of that list. The \texttt{dimensions} field counts those vectors, while \texttt{total\_dimension} sums their counts. The largest count appears as \texttt{dense\_no\_fault\_channels}. | |
| For each column, \texttt{sum\_ranks} stores $r_j(T)$ for every sensor bit mask $T$. The \texttt{generic\_ranks} array stores the Rado optimum $\rho_j(K)$. The \texttt{profile} lists $D_{j,1},\ldots,D_{j,d_j}$, and \texttt{cut\_witnesses} identifies a cut attaining each displayed bound. Zero-dimensional columns have empty profiles and a JSON null distance, rather than a fabricated finite vulnerability. | |
| The \texttt{design} field distinguishes a certified numerical matrix, an already identified residual family, and exhaustion of the bounded search. Search exhaustion is explicitly inconclusive. When rows are returned with status \texttt{certified}, their actual rank for every column and every subset agrees with the architecture table. The \texttt{numerical\_certificates} field then gives the direct rank profile and surviving kernel witnesses for that specific matrix. | |
| \section{Checking a cut by hand} | |
| Suppose a column has dimension $d=3$ and there are $m=6$ channels. A cut $T$ containing four channels may have available restricted-row rank $r(T)=2$. The distance upper bound from that cut is | |
| \[ | |
| m-|T|+r(T)-d+1=6-4+2-3+1=2. | |
| \] | |
| Thus no choice of admissible weights can force distance above two. To see the obstruction geometrically, the common annihilator of all allowed rows in $T$ has dimension one. Only the two outside channels can see that surviving direction. Erasing those channels hides it completely. | |
| If instead the cut rank were one, the common annihilator would have dimension two. The two outside channels can provide at most two scalar equations on that plane. A nonzero vector can be chosen to annihilate one of them as well, leaving response support at most one. The cut formula becomes $6-4+1-3+1=1$, exactly matching the argument. | |
| The cut does not need the actual selected sensor weights. It depends on the spaces of weights the hardware permits. This makes it a certificate that no more clever weight choice can meet the requested target. A numerical kernel witness, by contrast, certifies failure of a particular matrix and can be used to construct explicit indistinguishable observations. | |
| \section{Checking a numerical failure witness} | |
| A numerical witness gives a retained channel set and vectors spanning the remaining kernel. Verify that each witness vector lies in its declared residual space by checking its support and trusted equations. Next multiply by every retained sensor row and obtain zero. If the vector is nonzero, the retained design cannot identify that column. | |
| To convert this to an error-and-erasure witness, place the vector into one column of $Q$ and set all other columns to zero. Its response support has the displayed small size. Partition that support into erased channels and two possible corruption supports. Report the alternative response on one part and the zero response on the other. Both candidate explanations then obey the fault budget. Multiplying the witness by a sufficiently small nonzero rational scalar preserves its response support and places the corresponding causal alternatives in the strict neighborhood. | |
| For the five-moment-channel example, the witness in the three-dimensional root-column space is | |
| \[ | |
| v=(0,2,-3,1)^T, | |
| \qquad Cv=(0,0,6,24,60)^T. | |
| \] | |
| Delete the third channel, using one-based indexing. Report $(0,0,\text{erased},24,0)$. Zero explains these readings with the fourth channel corrupted. The alternative $v$ explains them with the fifth channel corrupted. This is an exact collision, so no decoder can distinguish the two explanations under that contract. | |
| \section{Why exact fractions are used} | |
| All input rational values are parsed as \texttt{Fraction}. An integer may be written as an ordinary JSON integer, while a nonintegral rational should be supplied as a string such as \texttt{"2/7"}. This avoids treating a binary floating-point approximation as an exact intended rational. The output uses integers for denominator one and strings otherwise. | |
| The elimination routines reduce rows by exact pivoting and compute a null basis by assigning each free variable in turn. A zero determinant is therefore an algebraic zero for the supplied rational instance. This makes exceptional dependencies reproducible. The two same-support star matrices are an example where an exact dependency is the central mathematical distinction, so a hidden numerical tolerance would be inappropriate. | |
| Exact arithmetic has a cost. Numerators and denominators may grow, and the number of channel subsets may be exponential. The implementation is deliberately transparent for small instances. It does not claim the performance of a specialized symbolic or combinatorial solver, and it rejects catalogue sizes above its documented planner limit. | |
| \section{Independent checks versus duplicated calculations} | |
| The robust verifier does not only compare a function with itself. Its two-dimensional architecture audit uses an independent determinant-based rank oracle and exhausts finite candidate row assignments. It checks the common-rank assertion across every subset and also compares the failure profiles obtained by deleting actual numerical rows. This provides different routes to the same finite conclusion. | |
| The bridge verifier implements independent exact inversion and checks the original model equations. It includes a case with a nonzero quadratic term, so the wrong forward-gauge and first-order formulas demonstrably fail. It verifies the complete baseline and intervention responses before and after reconstruction, then runs a faulty-readout decoding example. Those checks probe the coordinate convention rather than only the final distance formula. | |
| The selection verifier addresses a different failure mode: an invalid optimization proof. It checks the minimal counterexample to submodularity of the worst-case rank, then checks the valid scenario-summed objective over all pairs of selected subsets in a finite catalogue. Such a check supports the implementation of the objective; the general submodularity proof remains the one in Chapter~\ref{ch:selection}. | |
| \section{What bounded verification cannot establish} | |
| The exhaustive architecture audit covers its declared small family. It does not enumerate all rational subspaces, all causal graphs, or all dimensions. The theorem's universal quantifiers are justified by the supplied proofs, not by the number of tests. The tests are valuable because implementation mistakes and sign errors can invalidate a reproducible package even when a theorem is correct. | |
| The same distinction applies to complexity. No runtime experiment proves NP-hardness or coNP-completeness. Those claims follow from the explicit polynomial reductions and the cited rational spark theorem. A small hard-class instance can be easy for enumeration; that does not refute a worst-case complexity statement. | |
| Finally, neither exact computations nor multiple internal reviews constitute external certification. No proof-assistant development, independent human review, or peer-reviewed acceptance is represented as completed. The release makes the equations, source files, and witnesses available so that those further checks can be performed. | |
| \section{Reproduction order} | |
| From the package directory, run all exact checks and optionally recompute a planner certificate: | |
| \begin{lstlisting} | |
| python code/reproduce_all.py | |
| python code/plan_robust_calibration.py examples/star_spark_three.json \ | |
| --output results/recomputed_star_certificate.json | |
| \end{lstlisting} | |
| The wrapper extracts the preserved original archive into a temporary directory and runs its verifier separately from the new checks. Optional figures are regenerated with \texttt{python code/plot\_results.py}, which uses NumPy and Matplotlib. | |
| The manuscript compiles from the \texttt{source} directory using \texttt{latexmk -pdf manuscript.tex}. The supplied figures allow rebuilding without rerunning the numerical plot. The BibTeX bibliography contains the primary literature used in the comparison. | |