\documentclass[11pt,a4paper]{article}

% Psy03-D.tex
%
% Compile:
%   pdflatex Psy03-D.tex
%   pdflatex Psy03-D.tex
%
% Standalone source:
% No external bibliography, figures, code files, or shell escape.
%
% Source boundary:
% The supplied Psy manuscripts and development brief are documentary inputs.
% A public 069av2.py was consulted for task-definition alignment.
% That mutable public file is not asserted to be byte-identical to an
% unprovided attachment or to every version used for published results.
%
% Verification boundary:
% Analytic proofs, a source-pattern audit, and proposed test specifications
% are supplied. No executed simulation, regression, LaTeX build, laboratory
% realization, or machine-checked proof is represented as completed.

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[margin=1in]{geometry}
\usepackage{microtype}
\usepackage{amsmath,amssymb,amsthm,mathtools,bm}
\usepackage{booktabs,array,tabularx,longtable}
\usepackage{enumitem}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{url}
\usepackage[
 colorlinks=true,
 linkcolor=blue!55!black,
 citecolor=blue!55!black,
 urlcolor=blue!55!black,
 pdftitle={Psy03-D: Hidden-Rule Observability and Intervention Identifiability},
 pdfauthor={Ngo Cheung}
]{hyperref}

\setlength{\emergencystretch}{3em}
\setlist[enumerate]{itemsep=0.25em,topsep=0.4em}
\setlist[itemize]{itemsep=0.25em,topsep=0.4em}
\renewcommand{\arraystretch}{1.12}

\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{assumption}[theorem]{Assumption}
\newtheorem{example}[theorem]{Example}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\N}{\mathbb N}
\newcommand{\E}{\mathbb E}
\newcommand{\Prob}{\mathbb P}
\newcommand{\Tr}{\operatorname{Tr}}
\newcommand{\diag}{\operatorname{diag}}
\newcommand{\id}{\mathrm{id}}
\newcommand{\ii}{\mathrm i}
\newcommand{\One}{\mathbf 1}
\newcommand{\ind}{\mathbf 1}
\newcommand{\ReLU}{\operatorname{ReLU}}
\newcommand{\argmax}{\operatorname*{arg\,max}}
\newcommand{\op}{\mathrm{op}}
\newcommand{\Frob}{\mathrm F}
\newcommand{\Had}{\mathbin{\circ}}
\newcommand{\TV}{d_{\mathrm{TV}}}
\newcommand{\dtr}{d_{\mathrm{tr}}}
\newcommand{\ddiam}{d_\diamond}
\newcommand{\Ad}{\operatorname{Ad}}
\newcommand{\ket}[1]{\lvert #1\rangle}
\newcommand{\bra}[1]{\langle #1\rvert}
\newcommand{\ketbra}[2]{\lvert #1\rangle\!\langle #2\rvert}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}

\lstdefinestyle{pythonstyle}{
 language=Python,
 basicstyle=\ttfamily\footnotesize,
 keywordstyle=\color{blue!65!black},
 commentstyle=\color{green!35!black},
 stringstyle=\color{red!55!black},
 numbers=left,
 numberstyle=\tiny\color{gray},
 numbersep=6pt,
 frame=single,
 breaklines=true,
 breakatwhitespace=false,
 showstringspaces=false,
 tabsize=4,
 columns=fullflexible,
 keepspaces=true
}

\title{
\textbf{Psy03-D}\\[0.4em]
Hidden-Rule Observability and Intervention Identifiability
in Modular Recurrent Networks:\\
Switching Metrics, Masked Repair,
and Certified Matching
}

\author{
Ngo Cheung, MBBS, FHKAM(Psychiatry)\\
Independent Researcher, Hong Kong SAR, China\\
\texttt{info@cheungngomedical.com}
}

\date{}

\begin{document}
\maketitle

\begin{abstract}
We study whether a modular recurrent classifier receives the
information required to identify a changing decision rule, and
whether its reported switching statistics distinguish old-rule
responses from generic response repetition.
For an explicitly specified uncued task, the point sequence is
independent of a stationary four-ID rule process.
We prove that neither recurrent history nor any other
rule-independent processing reveals the active rule.
Two rule IDs implement the same label function.
The resulting population classification optimum is exactly
three quarters and is attained by a memoryless classifier;
oracle rule access instead gives accuracy one.
We calculate the distinction between rule-ID changes,
label-function changes, and informative disagreements.
Cued, delayed-cue, erased-cue, and causally ordered feedback
tasks are separately declared protocols.
A feedback elimination argument identifies effective rule
functions while retaining the indistinguishability of duplicate
IDs.
Old-function response fractions, repeated-response fractions,
flexibility ratios, and censored recovery-pattern summaries
receive distinct definitions and sequence-level certificates.
For structural repair, the masked-gradient identity explains
why stored derivatives can be zero at inactive linear weights
while effective-weight derivatives remain available.
Reference-preserving restoration and score-allocation
propositions separate mask reopening from recovery of a
pre-pruning parameter.
Executed matching, bracketed surrogate estimates, and unsupported
targets are distinguished, with conditional interpolation and
isoacute calibration bounds.
A subordinate finite quantum cue pilot demonstrates retention
and conditional rule execution without overcoming an absent
observation channel.
The supplied development brief and public implementation record
are separated from independently proved objects and from
unexecuted numerical claims.
No cognitive-construct validation, treatment ranking, biological
mechanism, quantum advantage, or inherited analytic admission
is asserted.
\end{abstract}

\noindent\textbf{Keywords:}
hidden rules; observability; recurrent networks;
response repetition; masked gradients; structural repair;
ratio certification; interpolation; computational psychiatry.

\section{Question, contribution, and evidence boundary}
\label{sec:introduction}

The central question is:
\begin{quote}
Can the network infer the changing rule from the information
it actually receives, and do the reported metrics measure
rule persistence rather than generic repetition?
\end{quote}

Cheung's modular recurrent OCD model supplies the direct
computational motivation \cite{CheungOCD}.
His pruning and intervention studies provide related
structural-intervention precedents
\cite{CheungPruning,CheungModes}.
These are computational studies, not premises identifying
the present variables with clinical symptoms or treatment effects.

The OCD article already acknowledges that two rule labels
implement one function and that its immediate response-repetition
metric does not prove persistence of the previous latent rule
\cite{CheungOCD}.
The present contribution is an explicit observability theorem,
the exact task reference, and independently specified interfaces
for metrics, repair, and matching.

Psy01-A separates cue information, masks, parameter geometry,
margins, and observation semantics \cite{CheungPsy01A}.
Psy03-A separates intervention budgets and implemented functions
\cite{CheungPsy03A}.
Psy03-B separates permanent structural restrictions from
performance effects \cite{CheungPsy03B}.
Psy03-C separates recurrent dynamics, task information, and
probe interpretation \cite{CheungPsy03C}.
Psy02-A and Psy02-B supply documentary precedents for complete
records and mechanism-identification boundaries
\cite{CheungPsy02A,CheungPsy02B}.
They are cited as source records and methodological precedents,
not as unexplained premises.
All positive results used here have printed objects and proofs.

\paragraph{Implementation provenance.}
The development brief supplied for Psy03-D describes a modular
rule-switching implementation \cite{DevelopmentBrief}.
The complete modular source was not included as an attachment
in that supplied package.
The public project file \texttt{069av2.py} supplies the fourth
rule and corresponding task generator \cite{CheungPublicCode}.
It is a mutable public record, not a certified byte-identical
substitute for an unprovided attachment.

The mathematical task below is completely specified.
Its theorems do not depend on reconstructing an unavailable
training run.
Implementation observations are classified separately as
reported source patterns, public-record checks, and independently
proved consequences of those patterns.

\paragraph{Three claim levels.}
\begin{enumerate}
\item \emph{Information limitation:}
what can be predicted from the admitted observations.
\item \emph{Computational intervention effect:}
what changes under a specified implementation or training policy.
\item \emph{Cognitive or biological interpretation:}
what a computational variable corresponds to outside the model.
\end{enumerate}
The first two require different certificates.
The third requires an additional empirical correspondence.

\paragraph{Terminology.}
We use \emph{rule-ID change}, \emph{label-function change},
\emph{informative disagreement}, \emph{old-function response},
\emph{repeated response}, and \emph{recovery pattern}.
The source's clinical and pharmacological names are retained
only as documentary labels.

\paragraph{Verification boundary.}
This is an analytic manuscript with a static source-pattern audit.
No numerical ranking is generated or independently reproduced.
No successful compilation, executed regression, machine proof,
or clinical validation is represented as completed.

\section{An explicitly specified hidden-rule task}
\label{sec:task}

\subsection{Points, rules, and observations}

Let
\[
 \mu_0=(m,m),\quad
 \mu_1=(-m,m),\quad
 \mu_2=(-m,-m),\quad
 \mu_3=(m,-m),
 \qquad m>0,\quad s>0.
\]
At each step,
\[
 X_t=\mu_{K_t}+sZ_t,
\]
where \(K_t\) is uniform on \(\{0,1,2,3\}\),
\(Z_t\sim N(0,I_2)\), and the point draws are independent.
The public task uses \(m=1.5\), \(s=0.8\)
\cite{CheungPublicCode}.
The calculations below apply to every \(m>0,s>0\).

Let \(\mathcal B\subseteq\{1,\ldots,T-1\}\) be a switch schedule.
It can be deterministic or random, but is independent of the
point draws and of the initial rule.
Let
\[
 R_0\sim\operatorname{Unif}\{0,1,2,3\}.
\]
At a switch, add an independent uniform increment from
\(\{1,2,3\}\) modulo four:
\[
 R_t=
 \begin{cases}
 R_{t-1},&t\notin\mathcal B,\\
 R_{t-1}+J_t\pmod4,&t\in\mathcal B.
 \end{cases}
 \label{eq:ruleprocess}
\]

For \(x=(x_1,x_2)\), define
\begin{align}
 f_0(x)&=2\ind\{x_1\ge0\}+\ind\{x_2\ge0\},\\
 f_1(x)&=2\ind\{x_2\ge0\}+\ind\{x_1\ge0\},\\
 f_2(x)&=\ind\{x_1\ge0\}+2\ind\{x_2\ge0\},\\
 f_3(x)&=2\ind\{x_2\ge x_1\}+\ind\{x_2\ge-x_1\}.
 \label{eq:rules}
\end{align}
These are the task mappings aligned with the public
\texttt{apply\_rule} record \cite{CheungPublicCode}.
The target is
\[
 Y_t=f_{R_t}(X_t).
\]
Optional ritual overwriting is disabled.

The evaluator may retain \(R_t,Y_t,\mathcal B\) for scoring.
The predictor receives the point sequence, not these annotations.

\begin{assumption}[Uncued assessment interface]
\label{ass:uncued}
The assessed checkpoint and its initial state are independent
of the fresh assessment rule process.
During an assessment sequence, the predictor receives no rule
cue, target, correctness feedback, reward, or label-dependent
parameter update.
Its internal randomness is independent of the rule process.

Predictions may depend on all points \(X_{0:T-1}\), the switch
schedule if revealed, the fixed checkpoint, and independent
randomness.
Allowing the entire point sequence is more permissive than
the causal recurrent implementation.
\end{assumption}

Training targets can affect a trained checkpoint.
Assumption~\ref{ass:uncued} concerns a new assessment sequence.
It does not hold if that sequence's labels were used to fit the
checkpoint or update it online.

\subsection{Stationarity and the observation obstruction}

\begin{lemma}[Uniform rule marginals]
\label{lem:uniform}
Conditional on any admitted switch schedule,
\[
 \Prob(R_t=r\mid\mathcal B)=\frac14
\]
for every \(t,r\).
The complete rule process is independent of the point sequence.
\end{lemma}

\begin{proof}
At a switch the transition matrix has zero diagonal and
off-diagonal entries \(1/3\).
It is doubly stochastic and preserves the uniform distribution.
At other steps the transition is the identity.
Induct from the uniform initial rule.
All variables constructing the rule process are independent
of the point-generating variables.
\end{proof}

\begin{theorem}[Hidden-rule observation obstruction]
\label{thm:observability}
Under Assumption~\ref{ass:uncued},
\[
 \Prob(R_t=r\mid X_{0:T-1},\mathcal B,\vartheta)=\frac14,
\]
where \(\vartheta\) denotes the fixed assessed checkpoint.
Consequently,
\begin{equation}
 \Prob(Y_t=c\mid X_{0:T-1},\mathcal B,\vartheta)
 =
 \frac14\sum_{r=0}^3\ind\{f_r(X_t)=c\}.
 \label{eq:labelposterior}
\end{equation}
The optimal accuracy at step \(t\) is
\[
 Q_t^*
 =
 \E\left[
 \max_{c\in\{0,1,2,3\}}
 \frac14\sum_{r=0}^3\ind\{f_r(X_t)=c\}
 \right].
 \label{eq:generalbayes}
\]
No function of the input history can improve on this reference.
Knowing switch times does not reveal the new rule identity.
\end{theorem}

\begin{proof}
Lemma~\ref{lem:uniform} and assessment independence give the
rule posterior.
The target is a deterministic function of \(R_t,X_t\), giving
\eqref{eq:labelposterior}.
Conditional randomized classification is a convex combination
of the four possible label probabilities and cannot exceed
their maximum.
Selecting a maximizing label attains that maximum.
\end{proof}

This is an information limitation, not a failure of a particular
optimizer.
It is the hidden-rule counterpart of the cue and observation
boundaries recorded in Psy01-A and Psy03-C
\cite{CheungPsy01A,CheungPsy03C}.

\begin{remark}[Nonuniform initial rules]
If the initial rule is nonuniform, clock information can change
the known prior through the transition matrix.
Point history still does not supply rule evidence.
Replace \(1/4\) in \eqref{eq:labelposterior} by the appropriate
time-dependent prior.
Uniformity is therefore a stated hypothesis, not a universal
property of hidden-rule tasks.
\end{remark}

\section{Duplicate functions and the exact population reference}
\label{sec:ceiling}

\begin{proposition}[Three functions, four IDs]
\label{prop:duplicates}
The functions \(f_1,f_2\) are identical:
\[
 f_1=f_2.
\]
The other functions are distinct on positive-probability sets.
Neither \(f_0\) nor \(f_1\) is a binary sign classification:
both take all four label values.
\end{proposition}

\begin{proof}
The two displayed expressions differ only in the order of
addition.
All four sign combinations have positive probability under
the continuous Gaussian mixture.
Inspection of \eqref{eq:rules} distinguishes the remaining
functions on open regions.
\end{proof}

Write
\[
 A=f_0,\qquad B=f_1=f_2,\qquad D=f_3.
\]
The effective function prior is
\[
 \Prob(A)=\frac14,\qquad
 \Prob(B)=\frac12,\qquad
 \Prob(D)=\frac14.
\]
Uniform rule-ID sampling is not uniform sampling of distinct
label functions.

\begin{theorem}[Exact uncued accuracy and a memoryless optimizer]
\label{thm:ceiling}
For the task in Section~\ref{sec:task},
\[
 \boxed{Q_t^*=\frac34}
\]
at every assessment step.
The memoryless predictor
\[
 \widehat Y_t=B(X_t)
\]
attains this optimum.

Conditional quadrant reference accuracies are
\[
 \frac78,\quad\frac78,\quad\frac58,\quad\frac58
\]
for the positive-positive, negative-negative,
positive-negative, and negative-positive quadrants,
respectively.
Oracle rule access gives accuracy one.
\end{theorem}

\begin{proof}
Outside the null boundaries
\(x_1=0,x_2=0,x_2=x_1,x_2=-x_1\), the mixture is invariant
under coordinate sign changes and exchange.
Each quadrant has probability \(1/4\), and its two diagonal
subregions have equal probability.

In a same-sign quadrant, \(A=B\).
Three rule IDs therefore vote for \(B\).
On one half of that quadrant, \(D=B\), giving posterior
correctness one; on the other half it gives \(3/4\).
The conditional average is \(7/8\).

In an opposite-sign quadrant, \(A\ne B\), and two IDs vote
for \(B\).
On one half, \(D=B\), giving correctness \(3/4\).
On the other half, \(D\) differs from both \(A\) and \(B\),
so the largest label probability is \(1/2\), again attained
by \(B\).
The conditional average is \(5/8\).

Hence \(B\) is a maximizing rule at every nonboundary point,
and
\[
 Q_t^*=\frac14\left(\frac78+\frac78+\frac58+\frac58\right)
      =\frac34.
\]
The target is deterministic when \(R_t,X_t\) are both known,
so the oracle accuracy is one.
\end{proof}

\begin{table}[ht]
\centering
\small
\caption{Information reference for the uncued task.
Each listed diagonal half has conditional probability \(1/2\)
within its quadrant.}
\label{tab:quadrants}
\begin{tabular}{@{}llll@{}}
\toprule
Quadrant & Relation & Votes for \(B\) & Optimal accuracy\\
\midrule
\(x_1>0,x_2>0\) & \(x_2>x_1\) & 4 & \(1\)\\
\(x_1>0,x_2>0\) & \(x_2<x_1\) & 3 & \(3/4\)\\
\(x_1<0,x_2<0\) & \(x_2<x_1\) & 4 & \(1\)\\
\(x_1<0,x_2<0\) & \(x_2>x_1\) & 3 & \(3/4\)\\
\(x_1>0,x_2<0\) & \(x_2>-x_1\) & 3 & \(3/4\)\\
\(x_1>0,x_2<0\) & \(x_2<-x_1\) & 2 & \(1/2\)\\
\(x_1<0,x_2>0\) & \(x_2<-x_1\) & 3 & \(3/4\)\\
\(x_1<0,x_2>0\) & \(x_2>-x_1\) & 2 & \(1/2\)\\
\bottomrule
\end{tabular}
\end{table}

\begin{corollary}[An optimal predictor need not adapt at switches]
\label{cor:noadapt}
The memoryless predictor \(B(X_t)\) has expected accuracy
\(3/4\) at all times, including windows selected solely from
an independent switch schedule.
For nonempty early and stable windows with this selection rule,
its population early-to-stable accuracy ratio is one.

High accuracy and a ratio near one therefore do not establish
inference of the active rule or successful rule updating.
\end{corollary}

\begin{proof}
Theorem~\ref{thm:ceiling} applies conditional on each admitted
schedule and at every selected time.
The predictor does not use a hidden state or switch history.
\end{proof}

\begin{remark}[Population reference, not sample cap]
A finite-sample accuracy can exceed \(3/4\).
Assessment sequences share temporally correlated rule states,
and sampling variation remains.
The theorem bounds population accuracy under its hypotheses,
not every realized empirical value.

The reference also does not apply unchanged to ritual-overwritten
labels, a nonuniform rule prior, an informative cue, feedback,
or a checkpoint fitted to the assessment labels.
At zero stimulus noise, diagonal boundaries can have positive
mass; that is a different law requiring separate calculation.
\end{remark}

\begin{proposition}[Deduplication changes the reference task]
\label{prop:dedup}
If the three distinct functions \(A,B,D\) are instead sampled
with equal marginal probabilities, while remaining hidden and
independent of the points, the population optimum is
\[
 Q^*_{\mathrm{balanced\ functions}}=\frac23.
\]
Thus removing the duplicated ID and balancing the remaining
functions is a protocol change.
\end{proposition}

\begin{proof}
In each same-sign quadrant, the conditional optimum is the
average of \(1\) and \(2/3\), namely \(5/6\).
In each opposite-sign quadrant it is the average of \(2/3\)
and \(1/3\), namely \(1/2\).
Average the four quadrant values.
\end{proof}

\section{Rule changes and informative switches}
\label{sec:switches}

Define function equivalence \(r\sim r'\) by \(f_r=f_{r'}\).
A switch has three distinct descriptions:
\begin{enumerate}
\item \(R_{t-1}\ne R_t\): rule-ID change;
\item \(R_{t-1}\not\sim R_t\): label-function change;
\item \(f_{R_{t-1}}(X_t)\ne f_{R_t}(X_t)\):
an informative disagreement at that point.
\end{enumerate}

\begin{theorem}[Exact switch and disagreement frequencies]
\label{thm:switchfrequencies}
At a stationary rule-ID switch, the ordered pair of old and new
IDs is uniform over the twelve distinct ordered pairs.
The probability of a change between identical functions is
\[
 \frac16.
\]

Let
\[
 d_{rr'}=\Prob_X\{f_r(X)\ne f_{r'}(X)\}.
\]
For the point law in Section~\ref{sec:task},
\[
 (d_{rr'})=
 \begin{pmatrix}
 0&1/2&1/2&3/4\\
 1/2&0&0&1/2\\
 1/2&0&0&1/2\\
 3/4&1/2&1/2&0
 \end{pmatrix}.
 \label{eq:disagreementmatrix}
\]
For a fresh point after a stationary ID switch, informative
disagreement probability is
\[
 \frac{11}{24}.
\]
Conditional on a genuine label-function change, it is
\[
 \frac{11}{20}.
\]
\end{theorem}

\begin{proof}
Uniform stationarity and the uniform nonzero increment give
probability \(1/12\) to each ordered pair.
Only \((1,2)\) and \((2,1)\) change IDs without changing the
function.

Functions \(A,B\) disagree exactly in opposite-sign quadrants,
giving \(1/2\).
Functions \(A,D\) disagree on half of each same-sign quadrant
and all of each opposite-sign quadrant, giving \(3/4\).
Functions \(B,D\) disagree on half of every quadrant, giving
\(1/2\).
Duplication supplies the other entries.

The sum over the six unordered off-diagonal pairs is \(11/4\).
Therefore the mean over twelve ordered pairs is \(11/24\).
Divide by the genuine-switch probability \(5/6\) to obtain
\(11/20\).
\end{proof}

A trial can be uninformative even after a genuine function
change.
An evaluator that treats every rule-ID transition as a behavioral
switch combines these different events.

\section{Observable task designs are new protocols}
\label{sec:repairs}

\subsection{Explicit and delayed cues}

\begin{proposition}[Full and delayed rule cues]
\label{prop:cues}
Supplying \(R_t\) alongside \(X_t\) gives Bayes accuracy one.

If a rule is fixed within a segment and its ID is supplied only
at the first segment trial, an ideal predictor with memory of
that cue also has accuracy one throughout the segment.
The later trials then test retention and execution of an
observed rule, rather than discovery of an unobserved rule.
\end{proposition}

\begin{proof}
Evaluate \(f_{R_t}(X_t)\).
In the delayed-cue case, retain the supplied ID until the next
segment cue.
\end{proof}

These are information statements, not claims that a finite
trained GRU attains the oracle.

\subsection{Partially informative cues}

Let a cue \(C_t\) have a declared channel
\[
 K(c\mid r)=\Prob(C_t=c\mid R_t=r),
\]
independent of the point given the rule.

\begin{theorem}[Cue-conditioned classification reference]
\label{thm:noisycues}
For a uniform rule prior, the Bayes accuracy with the current
cue is
\[
 Q^*(X_t,C_t)
 =
 \E_X\left[
 \sum_c
 \max_\ell
 \sum_{r=0}^3\frac14K(c\mid r)
                       \ind\{f_r(X)=\ell\}
 \right].
 \label{eq:cuebayes}
\]
If the cue reveals the rule with probability \(1-\rho\)
and otherwise reports a recognizable erasure,
\[
 Q^*_{\mathrm{erased\ cue}}=1-\frac{\rho}{4}.
\]
Further rule-independent processing of a cue cannot improve
its Bayes accuracy.
\end{theorem}

\begin{proof}
The inner sum is the joint conditional probability of cue
\(c\) and label \(\ell\) at a fixed point.
Optimize the prediction separately for every cue.

A nonerased cue gives accuracy one.
An erased cue leaves the uncued reference \(3/4\).
Average these two cases.

A predictor receiving a degraded cue can be simulated by a
predictor receiving the original cue and applying the degrading
channel before its decision.
\end{proof}

Cue accuracy and task accuracy need not coincide.
A mistaken ID can still prescribe the correct current label,
especially for duplicate functions or uninformative points.

\subsection{Causally ordered feedback}

Let \(\pi_t^-\) be the rule belief immediately before prediction
at time \(t\).
After predicting, reveal the target \(Y_t\) for use on later
trials.
For noiseless full-label feedback,
\[
 \pi_t^+(r)=
 \frac{\pi_t^-(r)\ind\{f_r(X_t)=Y_t\}}
 {\sum_j\pi_t^-(j)\ind\{f_j(X_t)=Y_t\}},
 \label{eq:feedback}
\]
whenever the denominator is positive.
For a known transition matrix \(P_t\),
\[
 \pi_{t+1}^-=P_t^{\mathsf T}\pi_t^+.
\]
Current prediction uses
\[
 \argmax_c\sum_r\pi_t^-(r)\ind\{f_r(X_t)=c\},
\]
not \(\pi_t^+\).
A known noisy feedback channel replaces the indicator likelihood
by its declared likelihood.

\begin{theorem}[Effective-function identification from feedback]
\label{thm:feedback}
Suppose one of \(A,B,D\) is fixed for \(n\) independent
point trials and noiseless target feedback is received after
each prediction.
Retain all functions consistent with the observed point-label
pairs.
The probability that any incorrect distinct function remains
after \(n\) feedback trials is at most
\[
 \min\{1,2^{1-n}\}.
\]
The duplicate IDs 1 and 2 remain observationally identical
within that fixed-rule experiment.
\end{theorem}

\begin{proof}
An incorrect function \(g\) survives each fresh trial with
probability \(1-d(f,g)\).
For all distinct effective function pairs,
\eqref{eq:disagreementmatrix} gives \(d(f,g)\ge1/2\).
Independence makes its survival probability at most \(2^{-n}\).
Union bound over the two incorrect functions.

IDs 1 and 2 prescribe identical labels for every point, so
their point-label laws are identical.
\end{proof}

A stable-segment assumption is essential.
If a switch occurs during the elimination window, a fixed-rule
consistency set is no longer the correct filter.

Correctness-only feedback also supplies information:
its likelihood is determined by whether a candidate rule would
make the chosen response correct.
It can be less informative than full target feedback.
The action policy and feedback timing must be part of that task.

\subsection{An allowance for imperfect source alignment}

\begin{proposition}[Observation-law perturbation allowance]
\label{prop:leakage}
Let \(P\) be the ideal joint law of the rule, points, and
admitted auxiliary observations in the uncued task.
Let \(P'\) be another law on the same spaces with
\(\TV(P,P')\le e\), and retain the target
\(Y=f_R(X)\).
Every predictor has accuracy under \(P'\) at most
\[
 \frac34+e,
\]
truncated at one.

More generally, for a conditional rule posterior \(\pi(r\mid O)\)
and a reference posterior \(\pi_0(r\mid O)\), the difference
between their optimal current-label probabilities is at most
\[
 \TV(\pi(\cdot\mid O),\pi_0(\cdot\mid O))
\]
when the same point and label functions are used.
\end{proposition}

\begin{proof}
Mapping the joint law to target and prediction cannot increase
total variation.
The expectation of a correctness indicator changes by at most
\(e\).
For the conditional statement, each candidate-label probability
is the posterior mass of a subset of rule IDs.
Its change is at most total variation; taking a maximum
preserves that allowance.
\end{proof}

The proposition is not an assertion that a particular script
has only a small observation-law discrepancy.
That discrepancy must be certified.

\section{What the modular computation does and does not expose}
\label{sec:architecture}

A declared modular template is
\begin{align}
 v_t&=a\ReLU(A X_t+b_A)+\sigma G_t^{\mathrm{in}},\\
 (q_{0:T-1},h_T)&=\operatorname{GRU}_\theta(v_{0:T-1},h_0),\\
 u_t&=\psi(aq_t)+\tfrac{\sigma}{2}G_t^{\mathrm{out}},\\
 k_t&=\ReLU(Cu_t+b_C),\\
 \gamma_t&=\operatorname{sigmoid}(Ku_t+b_K),\\
 m_t&=\gamma_t k_t+(1-\gamma_t)u_t,\\
 z_t&=Vm_t+b_V.
 \label{eq:modular}
\end{align}
Here \(\psi\) is identity or external tanh.
The gate is scalar at each trial.
For a nonmodular variant set \(m_t=u_t\).

This template records the distinction between recurrent state
and a pointwise readout branch.
The symbols ``cortical,'' ``striatal,'' and ``thalamic'' can
name computational motifs without constituting an anatomical
identification.

The PyTorch candidate convention is
\[
 n_t=\tanh\!\left(
 W_{in}v_t+b_{in}
 +r_t\Had(W_{hn}h_{t-1}+b_{hn})
 \right),
\]
followed by
\[
 h_t=(1-z_t)\Had n_t+z_t\Had h_{t-1}.
\]
Dropout in a multilayer \texttt{nn.GRU} is placed between
recurrent layers, not after the final recurrent layer
\cite{PyTorchGRU}.

The GRU can retain information about past inputs.
It cannot turn past rule-independent points into evidence
about the hidden rule in Theorem~\ref{thm:observability}.
Post-RNN readout noise and a pointwise branch also do not
provide missing feedback.

\begin{proposition}[A pointwise branch is not an additional state loop]
\label{prop:topology}
In \eqref{eq:modular}, if \(k_t,\gamma_t,m_t\) are not fed into
the next recurrent update and have no separately persistent
state, their branch introduces no additional recurrent state.
Their influence on future predictions can occur only through
an explicitly added feedback or training operation.
\end{proposition}

\begin{proof}
The next recurrent state is computed from the GRU state and
next input.
The displayed pointwise branch does not appear among those
arguments.
\end{proof}

\begin{remark}[No transfer of Psy03-C's external-activation invariant]
Psy03-C's ordinary-ReLU invariant concerns an external activation
applied to the state that is fed into the next cell
\cite{CheungPsy03C}.
In a template such as \eqref{eq:modular}, scaling and activation
after the sequence GRU modify its readout, not automatically
its internal recurrent state.
The two implementations must not be identified.
\end{remark}

\section{Response metrics and old-function persistence}
\label{sec:metrics}

\subsection{Disjoint post-switch windows}

Let rule-ID switches occur at
\[
 b_1<\cdots<b_J.
\]
For each switch, set \(b_{J+1}=T\) and define
\[
 W_j=\{b_j,\ldots,\min(b_j+w,b_{j+1},T)-1\}.
 \label{eq:windows}
\]
These windows stop at the next ID switch and do not overlap.
The old and new IDs are
\[
 r_j^-=R_{b_j-1},\qquad r_j^+=R_{b_j}.
\]

For \(t\in W_j\), define
\[
 I_t=\ind\{f_{r_j^-}(X_t)\ne f_{r_j^+}(X_t)\},
\]
\[
 P_t=I_t\ind\{\widehat Y_t=f_{r_j^-}(X_t)\},
\]
\[
 N_t=I_t\ind\{\widehat Y_t=f_{r_j^+}(X_t)\},
\]
and
\[
 O_t=I_t-P_t-N_t.
\]
Then \(P_t,N_t,O_t\) are disjoint indicators and
\[
 P_t+N_t+O_t=I_t.
\]

\begin{definition}[Old-function response fraction]
\label{def:oldfraction}
For a finite record with \(\sum_t I_t>0\), define
\[
 \widehat\Pi_{\mathrm{old}}
 =\frac{\sum_tP_t}{\sum_tI_t}.
\]
Report the denominator, new-function response fraction, and
other-error fraction alongside it.
If the denominator is zero, report \emph{undefined}, not zero.
\end{definition}

The metric states what response was made on points where the
functions disagree.
It does not by itself establish an internal representation
of the old rule.

\subsection{The original repetition statistic}

Let
\[
 E_t=\ind\{\widehat Y_t\ne Y_t\},\qquad
 A_t=\ind\{\widehat Y_t=\widehat Y_{t-1}\}.
\]
A distinct statistic is
\[
 \widehat\Pi_{\mathrm{repeat\mid error}}
 =
 \frac{\sum_{t\in\cup_jW_j}E_tA_t}
      {\sum_{t\in\cup_jW_j}E_t},
 \label{eq:repeatmetric}
\]
when its denominator is positive.

We call this \emph{repeated-response fraction among post-switch
errors}.
It is not renamed as old-rule persistence.

\begin{proposition}[Repetition and old-function responses can diverge]
\label{prop:metriccounterexamples}
The two fractions in Definitions~\ref{def:oldfraction} and
\eqref{eq:repeatmetric} do not determine one another.

In particular:
\begin{enumerate}
\item an old-function strategy can make every informative
post-switch response an error while never repeating its
immediately preceding response;
\item a constant classifier can repeat every erroneous response
without implementing the old function;
\item a memoryless classifier can have old-function response
fraction one for a selected old/new pair.
\end{enumerate}
\end{proposition}

\begin{proof}
Use a switch from \(B\) to \(A\), with alternating points in
the two opposite-sign quadrants.
A predictor using \(B\) produces alternating labels 1 and 2.
Every post-switch point is informative and every response is
the old-function response, but adjacent responses differ.

On the same post-switch points, a constant response 0 is always
wrong, always repeated, and is not the old-function response.

Finally, the memoryless predictor \(B(X_t)\) makes the
old-function response on every informative trial whenever the
old function is \(B\) and the new function is \(A\).
No stored rule ID is needed.
\end{proof}

A change in either metric is an observation-level contrast.
Interpretation as cognitive rigidity needs additional task and
construct evidence.

\subsection{Output entropy is not temporal repetition entropy}

For marginal response frequencies \(p_c\), define
\[
 H_{\mathrm{marg}}=-\sum_cp_c\log p_c.
\]
This is marginal label entropy.
A temporal conditional entropy is instead
\[
 H(\widehat Y_t\mid\widehat Y_{t-1},\ldots),
\]
under a declared process law or estimator.

\begin{proposition}[Equal marginal entropy, different temporal patterns]
\label{prop:entropy}
An independent uniform four-label process and the deterministic
cycle \(0,1,2,3,0,\ldots\), with a uniform initial phase, both
have marginal entropy \(\log4\).
Their one-step conditional entropies are \(\log4\) and zero,
respectively.
\end{proposition}

\begin{proof}
Both have uniform marginals.
The independent process retains uniform conditional law.
In the cycle, the next label is determined by the current one.
\end{proof}

Normalizing marginal entropy by \(\log4\) does not convert it
into a temporal measure.

\section{Sequence-level statistical certificates}
\label{sec:statistics}

\subsection{The sampling unit}

A sequence contains correlated rule states, overlapping
recurrent computations, and outcome-dependent denominators.
It is generally not valid to count its \(T\) trials as \(T\)
independent population observations.

For each independent assessment sequence \(i\), let
\(Z_{ij}\in[0,1]\) be a predeclared summary.
Examples include total accuracy, a normalized count, or a
within-sequence mean over a predetermined nonempty window.

\begin{theorem}[Simultaneous sequence-mean certificate]
\label{thm:sequencehoeffding}
Condition on fixed checkpoints independent of the fresh
assessment sequences.
For \(L\) bounded summaries, each averaged over \(n\)
independent sequence blocks,
\[
 r=\sqrt{\frac{\log(2L/\delta)}{2n}}
\]
is a simultaneous mean radius at confidence at least
\(1-\delta\).

Within-sequence dependence and within-sequence pairing between
checkpoints are allowed.
A paired sequence contrast in an interval of length \(B\)
has radius
\[
 r_B=B\sqrt{\frac{\log(2L/\delta)}{2n}}.
\]
\end{theorem}

\begin{proof}
For one bounded mean, Hoeffding's inequality gives
\(2e^{-2nr^2}\) \cite{Hoeffding}.
Union bound over \(L\) summaries.
Rescale an interval of length \(B\) to \([0,1]\).
The independence is between sequence blocks, not their steps.
\end{proof}

This is the sequence-unit specialization of the evaluation
interfaces recorded in Psy03-A and Psy03-C
\cite{CheungPsy03A,CheungPsy03C}.

\subsection{Ratios of population means}

For disjoint windows, define sequence summaries
\[
 p_i=\frac1T\sum_tP_{it},\qquad
 n_i=\frac1T\sum_tI_{it}.
\]
They satisfy \(0\le p_i\le n_i\le1\).
The population estimand is
\[
 \Pi_{\mathrm{old}}
 =\frac{\mu_p}{\mu_n},
 \qquad \mu_p=\E p_i,\quad\mu_n=\E n_i>0.
 \label{eq:ratiotarget}
\]
Its plug-in estimate is the pooled count ratio.
It is not generally the average of per-sequence ratios.

\begin{theorem}[Certified ratio interval]
\label{thm:ratio}
Suppose simultaneous intervals satisfy
\[
 \mu_p\in[p_L,p_U],\qquad
 \mu_n\in[n_L,n_U],
\]
with nonnegative endpoints.
If \(n_L>0\), then
\[
 \Pi_{\mathrm{old}}\in
 \left[
 \max\left\{0,\frac{p_L}{n_U}\right\},
 \min\left\{1,\frac{p_U}{n_L}\right\}
 \right].
 \label{eq:ratiointerval}
\]
If \(n_L=0\), this construction does not certify a positive
population denominator and the ratio is unresolved.

The same statement applies to
\(\Pi_{\mathrm{repeat\mid error}}\) using its normalized
numerator and error count.
\end{theorem}

\begin{proof}
Division is increasing in a nonnegative numerator and
decreasing in a positive denominator.
Use \(0\le\mu_p\le\mu_n\) for truncation at one.
\end{proof}

An unresolved denominator is not evidence that the fraction
equals zero.
A clinically interpreted percentage cannot be inferred from
this computational ratio.

For two certified ratio intervals \([L_0,U_0]\) and
\([L_1,U_1]\), their difference lies in
\[
 [L_1-U_0,U_1-L_0].
\]
A positive lower endpoint certifies the oriented comparison
of those ratio estimands.

\subsection{Flexibility ratios}

One possible predeclared definition uses, on each sequence,
nonempty early and stable windows with mean accuracies
\(e_i,s_i\in[0,1]\).
Define
\[
 \mathcal F=\frac{\E e_i}{\E s_i}.
\]
Theorem~\ref{thm:ratio} applies without upper truncation at one:
\[
 \mathcal F\in
 \left[\frac{e_L}{s_U},\frac{e_U}{s_L}\right],
 \qquad s_L>0.
\]
The ratio can exceed one.

A pooled-trial definition is a different estimand.
If its early and stable correctness and exposure summaries
have means \(\mu_{ce},\mu_{ne},\mu_{cs},\mu_{ns}\), then
\[
 \mathcal F_{\mathrm{pooled}}
 =\frac{\mu_{ce}\mu_{ns}}{\mu_{ne}\mu_{cs}}.
\]
Certify all four means and the required denominator
positivity before forming that ratio.

Adding \(10^{-8}\) to a denominator produces a regularized
statistic, not a proof that the original ratio exists.

\subsection{History-conditional assessment}

\begin{corollary}[Fresh sequences after adaptive history]
\label{cor:conditional}
Before assessment block \(k\), condition on the complete
training, intervention, and calibration history.
Choose the checkpoint, sample size, summary definitions, and
confidence allocation before viewing the block.
If its sequences are conditionally fresh and independent,
the sequence-mean and ratio certificates hold conditionally.

Predictable allocations with total at most \(\delta\) give
simultaneous confidence at least \(1-\delta\) across completed
blocks.
\end{corollary}

\begin{proof}
Apply Theorem~\ref{thm:sequencehoeffding} conditional on the
past.
Average the conditional failure probabilities and sum them.
This is the conditional-block argument recorded in Psy03-B
\cite{CheungPsy03B}.
\end{proof}

Reusing assessment sequences to select, train, or adapt later
checkpoints invalidates the ordinary independent-assessment
hypothesis.
Fresh noise on reused sequences controls a finite-design
noise average, not automatically a fresh-sequence population
target.

\section{Recovery patterns and censoring}
\label{sec:recovery}

For a genuine function switch, select a horizon \(H\) that
does not extend beyond the next switch.
Let \(C_1,\ldots,C_H\) be post-switch correctness indicators,
indexed starting at one.

\begin{definition}[First recovery-pattern completion]
\label{def:recovery}
For a five-trial, four-correct criterion, define
\[
 \tau_H=
 \inf\left\{
 e\in\{5,\ldots,H\}:
 \sum_{k=e-4}^{e}C_k\ge4
 \right\},
\]
with \(\tau_H=+\infty\) if the set is empty.

Record:
\[
 \delta_H=\ind\{\tau_H\le H\},\qquad
 R_H=\min\{\tau_H,H\}.
\]
The completion time differs by four trials from the start
index of its qualifying window.
A record without an observed event is administratively
right-censored at \(H\).
\end{definition}

\begin{theorem}[Restricted pattern summaries]
\label{thm:recovery}
For a common fixed horizon \(H\), the event indicator
\(\delta_H\), the normalized restricted time \(R_H/H\), and
each indicator \(\ind\{\tau_H\le h\}\), \(h\le H\), are
bounded sequence-level summaries.
Their population means therefore admit
Theorem~\ref{thm:sequencehoeffding}.

If a sequence contains several eligible switches, first use
a predeclared bounded within-sequence aggregation.
Those switches are not automatically independent replicates.

A censored record and an event completing exactly at \(H\)
have the same \(R_H\), but different \(\delta_H\).
The censoring indicator must therefore be retained.
\end{theorem}

\begin{proof}
Each indicator is in \([0,1]\), and \(0\le R_H/H\le1\).
Apply the sequence-level theorem.
The last statement follows directly from the definition.
\end{proof}

This certifies a specified correctness pattern, not recovery
of a latent cognitive state.
A numerical sentinel such as 50 cannot distinguish late
recovery from no observed recovery unless event and censoring
metadata are supplied.

\begin{proposition}[A chance pattern is possible]
\label{prop:chancepattern}
For an independent Bernoulli correctness process with success
probability \(q\), one five-trial window satisfies the criterion
with probability
\[
 5q^4(1-q)+q^5=q^4(5-4q).
\]
At \(q=1/4\), this is \(1/64\).
At \(q=3/4\), it is \(81/128\).

For \(H\ge5\), the probability of at least one qualifying
window is at most
\[
 \min\{1,(H-4)q^4(5-4q)\}.
\]
\end{proposition}

\begin{proof}
Sum the probabilities of exactly four and five successes.
Use a union bound over \(H-4\) windows.
Their overlap does not affect the validity of that upper bound.
\end{proof}

The independent Bernoulli process is an illustrative comparison,
not the hidden-rule sequence law.
The calculation nevertheless shows why a short success pattern
does not alone identify rule recovery.

\section{Masked gradients and reference-preserving repair}
\label{sec:masked}

\subsection{Stored and effective parameters}

Let \(W\) be a stored weight tensor, \(M\) a fixed binary mask,
and \(B=W\Had M\) the tensor used in the forward computation.
Assume the loss depends on \(W\) only through \(B\).

\begin{theorem}[Masked-gradient obstruction]
\label{thm:maskedgradient}
At every differentiability point,
\[
 \nabla_W L=M\Had\nabla_B L.
 \label{eq:maskedgradient}
\]
Therefore every inactive coordinate has zero stored-weight
loss derivative.

If a regrowth routine scores inactive coordinates using only
accumulated absolute stored-weight derivatives and selects
only strictly positive scores, it cannot select those
coordinates through this interface.
\end{theorem}

\begin{proof}
The differential is
\[
 dB=M\Had dW.
\]
Apply the chain rule coordinatewise.
Accumulating absolute zero derivatives still gives zero.
\end{proof}

The hypothesis excludes a direct regularizer on \(W\), a
surrogate derivative, stale gradients, or an independent
score.
Those are different scoring interfaces.

PyTorch's pruning reparameterization distinguishes an original
parameter, a mask buffer, and the effective masked tensor
\cite{PyTorchPruning}.
That bookkeeping does not make their derivatives interchangeable.

\begin{proposition}[Ambient effective-weight scores remain available]
\label{prop:ambient}
Let \(\widetilde L(B)\) be the same computational loss viewed
as a function of the effective tensor.
Its derivative at \(B=W\Had M\) can be nonzero at an inactive
coordinate, even though the derivative with respect to \(W\)
is zero there.

Recording the effective tensor's autograd derivative computes
this ambient derivative.
It does not apply a signed update or guarantee a loss decrease.
\end{proposition}

\begin{proof}
For
\[
 \widetilde L(B)=\frac12(\langle B,x\rangle-y)^2,
\]
the effective derivative is
\[
 \nabla_B\widetilde L=(\langle B,x\rangle-y)x.
\]
It can be nonzero at any coordinate with nonzero \(x_i\).
Equation \eqref{eq:maskedgradient} then zeros the corresponding
stored derivative when \(M_i=0\).
\end{proof}

Gradient-based topology updates have established precedents,
including RigL \cite{EvciRigL}.
The present score distinction is not an identification of the
reported repair algorithm with RigL.

Recurrent tensors that are zeroed only after optimizer steps,
but used without an in-forward mask, have a different
derivative interface.
The same scoring code can therefore have different eligibility
consequences for linear and recurrent modules.

Psy03-A's signed sparse-gradient descent result has an explicit
signed update and local smoothness hypothesis
\cite{CheungPsy03A}.
It is not imported as a guarantee for unsigned scoring,
positive-score filtering, or random initialization.

\subsection{Reference preservation}

Let \(W^{\mathrm{ref}}\) be an immutable pre-pruning reference.
A declared scaled restoration writes
\[
 W_i^{\mathrm{new}}=\alpha W_i^{\mathrm{ref}}
\]
at reopened coordinates.

\begin{proposition}[A pruned clone is not a healthy reference]
\label{prop:reference}
If the reference is captured after deleted coordinates have
been zeroed, then
\[
 W_i^{\mathrm{ref}}=0
\]
at those coordinates.
Reopening their masks and applying the scaled-restoration
rule initializes them to zero for every finite \(\alpha\).

If all other effective parameters and controls are unchanged,
this operation leaves the immediate forward function
unchanged, even though the active mask changes.
Subsequent learning can differ because eligibility changes.
\end{proposition}

\begin{proof}
Multiply zero by \(\alpha\).
The effective coordinate before and immediately after reopening
is zero.
The mask change can allow a later stored derivative or update.
\end{proof}

A restoration reference must therefore be saved independently
of current weights and copied into each branch.
A training parameter called \texttt{weight\_orig} is not
automatically an immutable healthy-checkpoint reference.

\subsection{Zeroing is not permanent eligibility exclusion}

\begin{proposition}[Numerical permanence does not prohibit future regrowth]
\label{prop:remove}
Removing a masking reparameterization while retaining its
current zeroed tensor does not by itself impose a permanent
zero constraint under later optimization.
There are losses for which a zeroed coordinate immediately
becomes nonzero under a subsequent gradient step.
\end{proposition}

\begin{proof}
After mask removal, take a scalar zero parameter \(w=0\)
and loss
\[
 L(w)=\frac12(w-1)^2.
\]
A gradient step of size \(\eta>0\) gives \(w'=\eta\).
\end{proof}

The pruning tutorial's removal operation preserves the current
pruned values and removes the mask reparameterization
\cite{PyTorchPruning}.
It must not be identified with Psy03-B's permanent scar
eligibility rule \cite{CheungPsy03B}.
No permanent scar register is assumed in the modular source
patterns studied here.

\subsection{An admissible repair record}

A complete repair record should retain:
\begin{enumerate}
\item current stored and effective weights;
\item active masks and any separately declared forbidden set;
\item immutable pre-pruning reference weights;
\item score type: stored derivative, effective derivative,
activation statistic, or another declared score;
\item exact integer counts, eligibility, and tie convention;
\item initialization type and scale;
\item optimizer reset or retained-state policy;
\item consolidation data, schedule, and random streams.
\end{enumerate}

If all scores are zero, the routine must explicitly reject,
return zero repairs, or invoke a declared fallback.
Those decisions are different algorithms.

\section{Score allocation and recurrent-protection counterexamples}
\label{sec:protection}

\begin{theorem}[Per-tensor multiplier cancellation]
\label{thm:cancel}
Let \(s_i\) be scores in one tensor, let \(s_{(k)}\) be its
\(k\)-th ascending order statistic, and let \(c>0\).
Then
\[
 \{i:cs_i>cs_{(k)}\}=\{i:s_i>s_{(k)}\}.
\]
The same retained support is obtained by a consistent exact-count
ranking.

Consequently a positive multiplier common to every score in
a tensor does not protect that tensor through a fixed
per-tensor pruning allocation.
\end{theorem}

\begin{proof}
Positive multiplication preserves inequalities, ties, and
ordering.
\end{proof}

The statement is exact in real arithmetic.
Numerical underflow or overflow is not a protection mechanism
and requires separate implementation handling.

\begin{proposition}[Division reverses global magnitude protection]
\label{prop:division}
Suppose a global exact-count rule removes the lowest scores
and divides a designated recurrent group's magnitudes by
\(b>1\), leaving other scores fixed.
The number of retained coordinates in that group cannot
increase solely because of this division.

It can decrease strictly.
\end{proposition}

\begin{proof}
Every designated score weakly decreases relative to unchanged
scores.
With fixed deterministic tie breaking, its group cannot gain
positions in the top-retained ranking.

For a strict example, take one recurrent magnitude 2 and one
other magnitude \(3/2\), and delete one coordinate.
Without division the other coordinate is deleted.
At \(b=2\), the recurrent score is 1 and is deleted instead.
\end{proof}

A protective global convention could multiply the designated
group's scores by \(b>1\), or could assign it a separate
retention budget.
Such a changed convention still does not prove a favorable
task effect.
Density and score allocation remain insufficient statistics
for implemented performance, as in Psy01-A
\cite{CheungPsy01A}.

A named parameter that is not read by the update has no
within-program effect.
Likewise, classifying a pointwise striatal tensor as
``recurrent'' in a pruning-name predicate does not change
the network topology of Proposition~\ref{prop:topology}.

\section{Intervention accounting and certified matching}
\label{sec:matching}

\subsection{The matching object}

For a fixed parameterization, a complete accounting vector may
include
\[
 \mathcal B=
 (D_W,D_b,D_M,D_a,D_\psi,D_{\mathrm{noise}},
                  C_{\mathrm{train}},C_{\mathrm{score}}).
\]
Here \(D_W\) must state whether it compares stored parameters
or effective masked tensors.

Weight-only displacement does not price bias changes,
mask reopening at zero, activation changes, or computational
cost.
The budget counterexamples and conventions in Psy03-A remain
methodological records \cite{CheungPsy03A}.

Let family \(m\) have executed candidates \(c\in\mathcal C_m\),
with displacement \(d_{mc}\).
For a target \(d_*\) and tolerance \(\tau\), common executed
support is
\[
 d_*\in
 \bigcap_m\bigcup_{c\in\mathcal C_m}
 [d_{mc}-\tau,d_{mc}+\tau].
 \label{eq:matching}
\]
A pooled range across families does not establish this
intersection.

\begin{definition}[Three reporting statuses]
\label{def:statuses}
\begin{enumerate}
\item \textbf{Executed match within tolerance:}
an actually run candidate has
\(\abs{d_{mc}-d_*}\le\tau\), and its complete identity is retained.
\item \textbf{Bracketed surrogate estimate:}
two executed points bracket the target, but the reported
target outcome is an estimate under a separately declared
response model.
\item \textbf{Unsupported target:}
there is neither an eligible executed match nor a justified
surrogate bracket for the claimed target response.
\end{enumerate}
An interpolated parameter is not an executed checkpoint.
\end{definition}

Integer epochs, categorical architecture switches, and hard
mask changes do not become valid fractional operations
through interpolation.

\subsection{Conditional interpolation}

\begin{theorem}[Interpolation with a genuine response certificate]
\label{thm:interpolation}
Suppose a declared scalar path has response \(q(d)\in C^2\)
on \([d_0,d_1]\), with \(d_0<d_1\), and
\[
 \sup_{d\in[d_0,d_1]}\abs{q''(d)}\le M.
\]
Let \(\ell(d)\) be the affine interpolant of the exact endpoint
responses.
Then
\[
 \abs{q(d)-\ell(d)}
 \le\frac M2(d-d_0)(d_1-d)
 \le\frac{M(d_1-d_0)^2}{8}.
 \label{eq:interpolationerror}
\]

If the endpoint estimates have simultaneous errors at most
\(r_0,r_1\), their estimated interpolant has allowance
\[
 \frac M2(d-d_0)(d_1-d)+w_0r_0+w_1r_1,
\]
where
\[
 w_0=\frac{d_1-d}{d_1-d_0},\qquad
 w_1=\frac{d-d_0}{d_1-d_0}.
\]
\end{theorem}

\begin{proof}
The interpolation error formula follows from the repeated
Rolle theorem applied to the function after subtracting its
interpolant and a suitable multiple of
\((d-d_0)(d-d_1)\).
Its absolute value is bounded by the displayed curvature
allowance.
The product is maximized at the midpoint.
Endpoint estimation errors propagate with nonnegative
weights summing to one.
\end{proof}

The hypotheses include a single-valued response on an admitted
scalar path.
Dose-sorted candidates from different schedules or architectures
do not supply that path automatically.
Two points do not establish a curvature bound.

Interpolating a ratio also needs a ratio-response certificate,
or separate numerator and denominator certificates.
Interpolating numerator and denominator and then dividing is
not generally the same as interpolating their ratio.

\begin{proposition}[Executed candidate rankings and target rankings differ]
\label{prop:targetranking}
Suppose executed candidate accuracies have simultaneous
allowances \(r_0,r_1\).
Then
\[
 \widehat Q_1-\widehat Q_0>r_0+r_1
\]
certifies their executed-checkpoint ranking.

To claim an exact-target ranking, additionally suppose
\[
 \abs{Q_{mc_m}-q_m(d_*)}
 \le L_m\abs{d_{mc_m}-d_*}+e_m.
\]
For matches within \(\tau\),
\[
 q_1(d_*)-q_0(d_*)
 \ge
 \widehat Q_1-\widehat Q_0-r_0-r_1
                  -(L_0+L_1)\tau-e_0-e_1.
\]
\end{proposition}

\begin{proof}
Subtract the simultaneous estimate allowances and the
declared target-response allowances.
\end{proof}

The \(L_m,e_m\) certificates do not follow from nearest-neighbor
selection or a plotted smooth curve.

\subsection{Isoacute comparison}

\begin{definition}[Calibrated isoacute design]
Choose a predeclared acute endpoint \(a(c)\), target \(a_*\),
and tolerance \(\epsilon_A\).
Select candidates using calibration data only.
Then evaluate a distinct durability or challenge endpoint on
fresh assessment sequences.

The target can be an accuracy, a bounded summary, or a ratio
with a certified positive denominator.
The endpoint and orientation are part of the design.
\end{definition}

\begin{theorem}[Certified isoacute eligibility]
\label{thm:isoacute}
If a calibration estimate has simultaneous error radius \(r_c\),
then
\[
 \abs{\widehat a(c)-a_*}+r_c\le\epsilon_A
\]
certifies acute eligibility.

If each of two selected candidates is eligible, their actual
acute endpoints differ by at most \(2\epsilon_A\).
Conditionally fresh post-selection assessment supports
Theorem~\ref{thm:sequencehoeffding} for their secondary outcomes.

For a ratio endpoint, replace the scalar-radius criterion by
containment of its certified ratio interval in the target
tolerance interval.
\end{theorem}

\begin{proof}
Use the triangle inequality.
For the secondary endpoint, condition on the calibration and
selection history; the new assessment sequences remain fresh.
Interval containment proves the ratio statement.
\end{proof}

Isoacute and equal-displacement comparisons answer different
questions.
Neither is automatically a pharmacological dose comparison,
an equal-resource comparison, or a mechanism-identification
theorem.

Taking candidate minima within each seed and then averaging
those minima estimates a selected-family summary.
It does not estimate one common matched intervention unless
that policy and its selection correction are explicitly defined.

\section{Source-pattern audit and debugging decisions}
\label{sec:audit}

This ledger retains the supplied development brief's findings
\cite{DevelopmentBrief}.
The public task definitions were separately aligned with
\texttt{069av2.py} \cite{CheungPublicCode}.
It is not a claim that every version underlying every published
table has been independently reconstructed.

\begin{enumerate}
\item \textbf{Notebook syntax versus a Python script.}
The public export contains a leading notebook shell command.
Remove it from a standard Python source and declare dependencies
separately.
A parse failure occurs before an experiment can run.

\item \textbf{Missing rule evidence.}
Under the stated point-only assessment interface, neither rule IDs,
past targets, correctness, nor rewards enter the recurrent update.
Theorem~\ref{thm:observability} supplies the exact consequence.

\item \textbf{Duplicated label mappings.}
Use the distinction between IDs, effective functions, and
informative disagreements.
Do not describe four IDs as four independent rules.

\item \textbf{Training and assessment schedules.}
Random training switches and deterministic assessment switches
are different schedule laws.
They do not remove the uncued observation obstruction when
both remain independent of the points and preserve uniform
rule marginals.

\item \textbf{Response-repetition naming.}
The reported post-switch error metric repeats the preceding
response, not the old rule's prediction on the current point.
Retain it under the neutral name in \eqref{eq:repeatmetric}.

\item \textbf{Stable-window coverage.}
Construct stable windows from all segments, including the final
segment.
Report empty windows rather than dropping them without a
selection record.

\item \textbf{Window overlap.}
Stop a post-switch window at the next switch.
Otherwise a statistic attributed to one switch can include
responses under another rule.
The corrected metric definition changes that protocol.

\item \textbf{Recovery bounds and censoring.}
State whether time refers to a window start or completion.
Do not search through later switches without declaring that
estimand.
A sentinel is not a censoring indicator.
Include the final permitted window start when implementing an
inclusive observation horizon.

\item \textbf{Rule-inference metric.}
Classification accuracy on selected stable windows is still
classification accuracy.
It is not a direct estimate of the hidden rule-ID posterior.

\item \textbf{Entropy scope.}
Marginal output-label entropy and temporal conditional entropy
are different.
A high marginal entropy can coexist with deterministic repetition
patterns.

\item \textbf{Mixed gradient interfaces.}
In-forward masked linears have
\(\nabla_WL=M\Had\nabla_BL\).
Post-step-zeroed recurrent parameters can have nonzero ambient
inactive derivatives.
Record which interface supplied each score.

\item \textbf{Restoration reference.}
A manager built after loading zeroed weights does not recover
an immutable pre-pruning reference.
Mask access can reopen while the numerical initialization
remains zero.
Preserve reference weights separately.

\item \textbf{Activity versus loss influence.}
Accumulated absolute loss derivatives are loss-influence scores,
not direct measurements of synaptic activity.
ReLU saturation or an unused branch can give zero scores for
reasons unrelated to biological inactivity.

\item \textbf{Protective-score direction.}
A per-tensor positive multiplier cancels.
Global division lowers designated scores.
Theorems~\ref{thm:cancel} and \ref{prop:division} identify the
two different issues.

\item \textbf{Unused control and topology.}
A configured striatal-specific multiplier has no effect if never
read.
A pointwise striatal readout is not a second recurrent loop
unless it is fed back or has its own state.

\item \textbf{Dropout and evaluation mode.}
Training-mode interlayer dropout and evaluation-mode computation
are different laws.
PyTorch locates GRU dropout between layers
\cite{PyTorchGRU}.
Mode restoration and the assessed mode belong in provenance.

\item \textbf{No permanent scar register.}
An active mask and regrowth eligibility are not Psy03-B's
separate permanently forbidden coordinate set.
Its scar-capacity theorem is not silently transferred.

\item \textbf{Composite challenges.}
Cumulative pruning with rising stress changes two controls.
An evaluation after stress reset is a different endpoint from
the stressed trajectory.
Report both if both are claimed.

\item \textbf{Matching statuses.}
Interpolated outcomes are surrogate estimates.
Nearest achieved candidates must retain residual mismatches.
Pooled target support is not common arm support.

\item \textbf{Isoacute implementation.}
A notebook heading containing ``isoacute'' does not establish
calibrated acute matching and independent durability evaluation.
Theorem~\ref{thm:isoacute} states the needed procedure.

\item \textbf{Candidate-minimum summaries.}
Independent seed counts do not turn different selected candidate
minima into one executed matched intervention.
Retain candidate IDs, absolute targets, and selection rules.

\item \textbf{Architecture ablations.}
GRU and LSTM use different gate counts and parameter spaces.
A modular-off toggle can leave unused branch parameters registered;
then total stored count need not decrease although active computation
changes.
Report registered parameters, used parameters, masks, and
computational cost separately.

\item \textbf{Random-stream isolation.}
Training, scoring, initialization, dropout, assessment, and
selection need named streams and complete replay state.
A seed is not a proof of statistical independence or cross-platform
bitwise identity \cite{PyTorchRandom}.

\item \textbf{Endpoint interpretation.}
A validated computational effect is not clinical efficacy,
OCD mechanism identification, or a treatment recommendation.
Printed interpretations must remain within the certified
task and intervention scope.
\end{enumerate}

\section{A subordinate finite quantum cue extension}
\label{sec:quantum}

\subsection{No carrier supplies absent observations}

\begin{corollary}[Carrier-independent uncued obstruction]
\label{cor:qobstruction}
Suppose a finite quantum processor starts in a state independent
of the assessment rule and receives only the point sequence and
rule-independent randomness.
Let every admitted channel and instrument choice depend only
on those inputs and previous accessible records, not on hidden
rule-dependent feedback.
Its predictions obey the same uncued accuracy bound \(3/4\).
\end{corollary}

\begin{proof}
Conditional on the point sequence, all initial states, update
maps, and outcome laws are independent of the rule.
Induction through the complete instrument sequence preserves
that independence.
Its final prediction is therefore another randomized decision
rule covered by Theorem~\ref{thm:observability}.
\end{proof}

This is not a quantum advantage obstruction for every task.
It says that changing the carrier does not add the missing
observation channel.

Complete sequential probabilities require instruments, and
equal complete record laws cannot be distinguished by a test,
as in Psy02-A and Psy02-B
\cite{CheungPsy02A,CheungPsy02B,Watrous}.
An expectation-valued feature is not automatically a noiseless
record available from one unknown state.

\subsection{Two observed rule cues}

Choose two label functions \(f_r,f_{r'}\), with equal rule priors.
The cue prepares \(\rho_0,\rho_1\) respectively, independently
of the current point.
After a declared storage channel \(\Lambda\), the observer
receives the point and the stored carrier.

Let
\[
 d=\Prob_X\{f_r(X)\ne f_{r'}(X)\},\qquad
 D=\dtr(\Lambda(\rho_0),\Lambda(\rho_1)).
\]

\begin{theorem}[Cue distinguishability and rule execution]
\label{thm:qexecution}
The optimal current-label accuracy is
\[
 Q^*_{\mathrm{two\ cued\ rules}}
 =1-\frac d2+\frac{dD}{2}.
 \label{eq:qexecution}
\]
A complete readout first distinguishes the two cue states on
informative points and then executes the corresponding label
function.
On uninformative points it returns the common label.
\end{theorem}

\begin{proof}
On a point where the functions agree, correctness one is
available without distinguishing the cue.

Where they disagree, label classification is equal-prior
binary state discrimination.
For an effect \(F\) declaring cue 0,
\[
 Q=\frac12+\frac12
       \Tr[F(\Lambda(\rho_0)-\Lambda(\rho_1))].
\]
The maximum effect expectation is the positive-part trace,
equal to \(D\).
Average over informative and uninformative points
\cite{Watrous}.
\end{proof}

\subsection{An exact delayed cue pilot}

On a qubit, encode the two cues as
\[
 \rho_0^\pm=\frac{I\pm X}{2}.
\]
For each delay step apply
\[
 \Lambda(\rho)=
 \eta\left[
 \frac{1+\lambda}{2}\rho+
 \frac{1-\lambda}{2}Z\rho Z
 \right]+(1-\eta)\Tr(\rho)\frac I2,
 \qquad 0\le\eta,\lambda\le1.
 \label{eq:qchannel}
\]
This is a linear CPTP map.
Later inputs contain no further rule cue and no retained
classical copy of the cue label is admitted to the readout.

\begin{theorem}[Exact delayed rule-cue retention]
\label{thm:qpilot}
After \(T\) delay steps,
\[
 \rho_T^\pm=\frac12[I\pm(\eta\lambda)^T X],
\qquad
 D_T=(\eta\lambda)^T.
\]
The rule-execution accuracy is
\[
 Q_T^*=1-\frac d2+\frac d2(\eta\lambda)^T.
\]
For the pair \(f_0,f_3\), \(d=3/4\), giving
\[
 Q_T^*=\frac58+\frac38(\eta\lambda)^T.
\]

The exact global carrier trace-distance contraction coefficient
of one step is \(\eta\).
It is not generally \(\eta\lambda\).
\end{theorem}

\begin{proof}
The Bloch map scales the two transverse components by
\(\eta\lambda\) and the longitudinal component by \(\eta\).
Iterate the transverse phase inputs.
Their trace distance is the transverse separation factor.
Apply Theorem~\ref{thm:qexecution}.

The largest singular value of the Bloch map is \(\eta\),
attained by opposite longitudinal-axis states.
Qubit trace distance is half Euclidean Bloch distance.
\end{proof}

The pilot independently reproduces the distinction between
phase-specific decay and global forgetting developed in
Psy03-C \cite{CheungPsy03C}.

For an observed-cue versus dephased-cue comparison, assign a
neutral score \(1/2\) on uninformative points, preparation
failures, and erasures.
On informative observed trials, score correct execution one
and incorrect execution zero.
With preparation success \(p\), observation probability \(v\),
and symmetric assignment error \(\epsilon<1/2\), the ideal
oriented record contrast is
\[
 g_{\mathrm{ideal}}
 =\frac{dpv(1-2\epsilon)(\eta\lambda)^T}{2}.
\]
Uniform complete-law errors \(e_0,e_1\) leave the allowance
\[
 g_{\mathrm{ideal}}-e_0-e_1.
\]
A positive remainder separates the specified record families.
Sampling still requires independent attempted runs or the
corresponding conditional mean assumptions.

The cue states are orthogonal.
A classical memory allowed to read and store their label can
reproduce this binary cue task.
The construction proves neither asymptotic advantage nor
a quantum model of OCD.

A persistent classical rule or structural label outside the
contracting carrier also invalidates an automatic global
forgetting claim.
That observation does not imply that the modular implementation
contains Psy03-B's scar register.

\section{Discussion and mathematical release}
\label{sec:release}

The uncued task is not merely difficult.
Its admitted inputs do not identify the current rule.
The duplicated function makes a memoryless mapping optimal
at population accuracy \(3/4\).
A recurrent classifier approaching that value need not have
learned online rule inference.

Switch metrics require a second audit.
Immediate response repetition is not adherence to the old
function on a new point.
Old-function responses on informative points are better
specified, but still describe behavior rather than an
identified internal representation.

Repair and matching require separate interface audits.
A masked stored derivative, an effective-weight derivative,
a restoration reference, a reopened mask, and an executed
intervention are distinct objects.
Interpolation does not remove those distinctions.

\begin{theorem}[Psy03-D mathematical release]
\label{thm:release}
For the objects and hypotheses printed here:
\begin{enumerate}
\item the uncued rule process is unobservable from the point
history, and its exact population classification optimum is \(3/4\);
\item two rule IDs implement the same function, and the stated
switch and disagreement frequencies hold;
\item explicit, delayed, erased-cue, and feedback protocols have
the stated information references;
\item old-function responses, repeated errors, entropy, flexibility,
and recovery patterns have distinct operational meanings;
\item sequence-level mean, ratio, paired, and censored-pattern
certificates hold under their freshness and denominator hypotheses;
\item the masked-gradient and reference-preservation identities hold;
\item per-tensor multiplier cancellation and reversed global-score
protection have the stated counterexamples;
\item executed matching, conditional interpolation, and isoacute
calibration have the stated certificates;
\item a rule-independent quantum processor inherits the uncued
obstruction, while the separately cued pilot has the exact
retention and execution formulas.
\end{enumerate}

Adaptation requires observable evidence of change.
Response repetition alone does not identify rule perseveration.

No executed ranking, validated cognitive construct, biological
treatment mechanism, clinical recommendation, quantum advantage,
or inherited analytic admission is established.
\end{theorem}

\begin{proof}
The preceding independent proofs establish each positive
statement.
Their hypotheses exclude the unsupported observation,
optimization, matching, and interpretive transfers.
The absent biological correspondence is not a premise of
any theorem.
\end{proof}

No scalar Fock model, Wick-square contact class, gravitational
kernel, characteristic quantum coefficient, or Ward identity
is used.
This manuscript licenses no O.1 closure, XV-B continuation,
or downstream inherited admission.
It does not purport to audit the status of unavailable full
sources.
The analytic boundaries recorded in Psy02-B remain separate
\cite{CheungPsy02B}.

\section*{Declarations}

\paragraph{Funding and competing interests.}
No specific funding or competing interests are declared in
the supplied project materials for this mathematical analysis.

\paragraph{Ethics.}
No new human or animal experimentation is reported.

\paragraph{Data and source availability.}
The manuscript uses supplied documentary materials and a
public implementation record.
No new empirical dataset or reproduced performance table is
provided.
The mathematical definitions and optional repair artifacts
are printed in this single source.

\paragraph{Verification provenance.}
Analytic proofs and unexecuted test specifications are supplied.
The public file was used for task-definition alignment, not
represented as a version-stable substitute for an unprovided
attachment.
No source hash, commit identity, successful build, executed
regression, or machine proof certificate is invented.

\paragraph{Clinical boundary.}
The paper does not recommend selecting, combining,
discontinuing, or timing treatments.
It does not identify rule-ID switching with clinical events,
parameter deletion with biological lesions, or computational
endpoint matching with pharmacological dose equivalence.

\appendix

\section{Fresh task and observation interfaces}
\label{app:taskcode}

The following independently extractable CPU code implements
the printed task and observation repairs.
It does not reproduce a complete original experiment.
Separate role streams are an implementation convention;
statistical independence remains a hypothesis of the intended
sampling law.

The current target is never included in the current feedback
input.
Rule annotations remain evaluator-side information in the
uncued mode.

\begin{lstlisting}[style=pythonstyle]
import copy
import math
from fractions import Fraction
import torch
from torch import nn
from torch.nn import functional as F

def role_rng(seed, role):
    offsets = {
        "points": 101, "rules": 211, "schedule": 307,
        "assessment": 401
    }
    if role not in offsets:
        raise ValueError("unknown random-stream role")
    value = (int(seed) * 1009 + offsets[role]) % (2**63 - 1)
    return torch.Generator(device="cpu").manual_seed(value)

def rule_table(points):
    if points.shape[-1] != 2 or not bool(torch.isfinite(points).all()):
        raise ValueError("finite two-dimensional points required")
    x, y = points[..., 0], points[..., 1]
    bx, by = (x >= 0).long(), (y >= 0).long()
    first = 2 * bx + by
    second = 2 * by + bx
    duplicate = bx + 2 * by
    diagonal = 2 * (y >= x).long() + (y >= -x).long()
    return torch.stack((first, second, duplicate, diagonal), dim=-1)

def effective_rule_ids(rules):
    lookup = torch.tensor([0, 1, 1, 2], dtype=torch.long)
    return lookup[rules]

def make_uncued_task(n, length, switch_interval, seed,
                     center=1.5, noise=0.8, dtype=torch.float64):
    if not isinstance(n, int) or n < 1:
        raise ValueError("positive sequence count required")
    if not isinstance(length, int) or length < 1:
        raise ValueError("positive sequence length required")
    if not isinstance(switch_interval, int) or switch_interval < 1:
        raise ValueError("positive integer switch interval required")
    if center <= 0 or noise <= 0:
        raise ValueError("the printed continuous task uses positive scales")
    point_gen, rule_gen = role_rng(seed, "points"), role_rng(seed, "rules")
    centers = torch.tensor(
        [[center, center], [-center, center],
         [-center, -center], [center, -center]], dtype=dtype
    )
    cluster = torch.randint(0, 4, (n, length), generator=point_gen)
    points = centers[cluster] + noise * torch.randn(
        (n, length, 2), dtype=dtype, generator=point_gen
    )
    rules = torch.empty((n, length), dtype=torch.long)
    current = torch.randint(0, 4, (n,), generator=rule_gen)
    for t in range(length):
        if t > 0 and t % switch_interval == 0:
            current = (current + torch.randint(
                1, 4, (n,), generator=rule_gen
            )) % 4
        rules[:, t] = current
    labels = rule_table(points).gather(-1, rules[..., None]).squeeze(-1)
    return {"points": points, "labels": labels, "rules": rules}

def observation_tensor(task, mode="uncued"):
    points, labels, rules = (
        task["points"], task["labels"], task["rules"]
    )
    if mode == "uncued":
        return points
    if mode == "full_cue":
        cue = F.one_hot(rules, num_classes=4).to(points.dtype)
        return torch.cat((points, cue), dim=-1)
    if mode == "delayed_cue":
        present = torch.ones_like(rules, dtype=torch.bool)
        present[:, 1:] = rules[:, 1:] != rules[:, :-1]
        cue = F.one_hot(rules, num_classes=4).to(points.dtype)
        cue = cue * present[..., None]
        return torch.cat((points, cue), dim=-1)
    if mode == "past_target_feedback":
        feedback = points.new_zeros((*labels.shape, 4))
        feedback[:, 1:, :] = F.one_hot(
            labels[:, :-1], num_classes=4
        ).to(points.dtype)
        return torch.cat((points, feedback), dim=-1)
    raise ValueError("unsupported observation protocol")
\end{lstlisting}

The delayed-cue protocol explicitly reveals a cue at each
recorded segment boundary.
The past-target protocol is a new feedback experiment.
Neither is silently attributed to the uncued source.

\section{Sequence metrics with informative denominators}
\label{app:metriccode}

The implementation below truncates windows at the next switch,
includes the final stable segment, and records censoring.
Recovery-pattern entries are restricted to genuine
label-function changes.

Its normalized summaries support ratios of population means.
They do not implement an average of per-sequence ratios.

\begin{lstlisting}[style=pythonstyle]
def first_completion(correct, window=5, required=4):
    correct = correct.bool()
    horizon = len(correct)
    if window < 1 or not 0 <= required <= window:
        raise ValueError("invalid recovery pattern")
    for end in range(window, horizon + 1):
        if int(correct[end-window:end].sum()) >= required:
            return {
                "first_completion": end,
                "horizon": horizon,
                "censored": False,
                "restricted_time": end,
            }
    return {
        "first_completion": None,
        "horizon": horizon,
        "censored": True,
        "restricted_time": horizon,
    }

def sequence_metrics(points, rules, predictions, post_window=10,
                     stable_margin=5, recovery_horizon=50):
    if points.ndim != 2 or points.shape[1] != 2:
        raise ValueError("one [T, 2] sequence required")
    length = len(points)
    if length < 1 or rules.shape != (length,) \
            or predictions.shape != (length,):
        raise ValueError("aligned nonempty sequence required")
    if rules.dtype != torch.long or predictions.dtype != torch.long:
        raise ValueError("integer labels required")
    if not bool(((rules >= 0) & (rules < 4)).all()) \
            or not bool(((predictions >= 0) & (predictions < 4)).all()):
        raise ValueError("rule or prediction outside label range")
    if post_window < 1 or stable_margin < 0 or recovery_horizon < 1:
        raise ValueError("invalid window controls")

    mappings = rule_table(points)
    labels = mappings.gather(-1, rules[:, None]).squeeze(-1)
    correct = predictions == labels
    switches = (torch.nonzero(rules[1:] != rules[:-1]).flatten() + 1).tolist()
    boundaries = [0] + switches + [length]
    semantic = effective_rule_ids(rules)

    old_count = new_count = other_count = informative = 0
    repeated_errors = post_errors = 0
    early_correct = early_exposure = 0
    function_switches = 0
    recovery = []

    for j, start in enumerate(switches):
        next_start = boundaries[j + 2]
        stop = min(start + post_window, next_start, length)
        old_id, new_id = int(rules[start-1]), int(rules[start])
        old_label = mappings[start:stop, old_id]
        new_label = mappings[start:stop, new_id]
        pred = predictions[start:stop]
        info = old_label != new_label
        old = info & (pred == old_label)
        new = info & (pred == new_label)
        other = info & ~old & ~new

        informative += int(info.sum())
        old_count += int(old.sum())
        new_count += int(new.sum())
        other_count += int(other.sum())

        errors = ~correct[start:stop]
        repeat = predictions[start:stop] == predictions[start-1:stop-1]
        post_errors += int(errors.sum())
        repeated_errors += int((errors & repeat).sum())
        early_correct += int(correct[start:stop].sum())
        early_exposure += stop - start

        if int(semantic[start-1]) != int(semantic[start]):
            function_switches += 1
            end = min(start + recovery_horizon, next_start, length)
            record = first_completion(correct[start:end])
            record["switch_index"] = start
            recovery.append(record)

    stable_correct = stable_exposure = 0
    for left, right in zip(boundaries[:-1], boundaries[1:]):
        lo, hi = left + stable_margin, right - stable_margin
        if lo < hi:
            stable_correct += int(correct[lo:hi].sum())
            stable_exposure += hi - lo

    assert old_count + new_count + other_count == informative
    return {
        "accuracy": float(correct.double().mean()),
        "id_switches": len(switches),
        "function_switches": function_switches,
        "informative_trials": informative,
        "old_responses": old_count,
        "new_responses": new_count,
        "other_errors": other_count,
        "old_fraction_sample": (
            old_count / informative if informative else None
        ),
        "repeated_error_fraction_sample": (
            repeated_errors / post_errors if post_errors else None
        ),
        "p_old": old_count / length,
        "n_info": informative / length,
        "p_repeat": repeated_errors / length,
        "n_error": post_errors / length,
        "c_early": early_correct / length,
        "n_early": early_exposure / length,
        "c_stable": stable_correct / length,
        "n_stable": stable_exposure / length,
        "recovery_records": recovery,
        "normalization": "counts divided by complete sequence length",
    }

def ratio_certificate(rows, numerator, denominator, delta=0.05,
                      number_of_ratios=1, upper_one=True):
    if not rows or not 0 < delta < 1 or number_of_ratios < 1:
        raise ValueError("invalid certification controls")
    p = torch.tensor([r[numerator] for r in rows], dtype=torch.float64)
    n = torch.tensor([r[denominator] for r in rows], dtype=torch.float64)
    if not bool(((p >= 0) & (p <= 1) & (n >= 0) & (n <= 1)).all()):
        raise ValueError("bounded sequence summaries required")
    if upper_one and not bool((p <= n).all()):
        raise ValueError("fraction numerator must not exceed denominator")

    # Two means for each of the predeclared ratios.
    radius = math.sqrt(
        math.log(4.0 * number_of_ratios / delta) / (2.0 * len(rows))
    )
    pm, nm = float(p.mean()), float(n.mean())
    pl, pu = max(0.0, pm-radius), min(1.0, pm+radius)
    nl, nu = max(0.0, nm-radius), min(1.0, nm+radius)
    result = {
        "numerator_interval": (pl, pu),
        "denominator_interval": (nl, nu),
        "radius": radius,
        "target": "ratio of population sequence-summary means",
        "estimate": pm / nm if nm > 0 else None,
    }
    if nl == 0.0:
        result.update(status="unresolved_denominator", interval=None)
    else:
        lower, upper = pl / nu, pu / nl
        if upper_one:
            upper = min(1.0, upper)
        result.update(status="certified_interval", interval=(lower, upper))
    return result
\end{lstlisting}

For recovery analyses with a common horizon, use only a
predeclared schedule-eligible set of switches with that horizon.
Do not select eligible switches after viewing correctness.

\section{An effective-gradient and reference-preserving linear interface}
\label{app:repaircode}

This compact module demonstrates the two gradient interfaces.
It does not silently change the source's entire recurrent
implementation.

The reference is captured only through an explicit method.
Repeated use of the same effective tensor parameter in a
computation is handled by summing derivatives over its recorded
forward uses.
The stored-weight derivative still receives the mask factor.

\begin{lstlisting}[style=pythonstyle]
class ReferenceMaskedLinear(nn.Module):
    def __init__(self, inputs, outputs, bias=False, dtype=torch.float64):
        super().__init__()
        self.weight = nn.Parameter(torch.zeros(outputs, inputs, dtype=dtype))
        self.bias = nn.Parameter(torch.zeros(outputs, dtype=dtype)) \
            if bias else None
        self.register_buffer("mask", torch.ones_like(self.weight, dtype=torch.bool))
        self.register_buffer("reference", torch.zeros_like(self.weight))
        self.register_buffer("reference_valid", torch.tensor(False))
        self.record_effective = False
        self.effective_uses = []

    @torch.no_grad()
    def capture_dense_reference(self):
        if not bool(self.mask.all()):
            raise ValueError("capture reference before pruning")
        if not bool(torch.isfinite(self.weight).all()):
            raise ValueError("non-finite reference")
        self.reference.copy_(self.weight)
        self.reference_valid.fill_(True)

    def begin_scoring(self):
        self.effective_uses.clear()
        self.record_effective = True

    def end_scoring(self):
        self.record_effective = False
        self.effective_uses.clear()

    def forward(self, x):
        effective = self.weight * self.mask.to(self.weight.dtype)
        if self.record_effective and torch.is_grad_enabled():
            effective.retain_grad()
            self.effective_uses.append(effective)
        return F.linear(x, effective, self.bias)

    def effective_gradient(self):
        if not self.effective_uses:
            raise ValueError("no recorded differentiable forward use")
        if any(t.grad is None for t in self.effective_uses):
            raise ValueError("loss must use every recorded forward tensor")
        return sum(
            (t.grad.detach() for t in self.effective_uses),
            torch.zeros_like(self.weight)
        )

    @torch.no_grad()
    def enforce(self):
        self.weight.mul_(self.mask.to(self.weight.dtype))

    @torch.no_grad()
    def delete_exact(self, count):
        active = torch.nonzero(self.mask.reshape(-1)).flatten()
        if not isinstance(count, int) or not 0 <= count <= len(active):
            raise ValueError("invalid exact deletion count")
        values = self.weight.detach().reshape(-1)[active].abs()
        order = torch.argsort(values, stable=True)
        selected = active[order[:count]]
        self.mask.view(-1)[selected] = False
        self.enforce()
        return selected.clone()

    @torch.no_grad()
    def reopen_exact(self, count, score, scale=1.0, positive_only=False):
        if not bool(self.reference_valid):
            raise ValueError("pre-pruning reference is unavailable")
        scale = float(scale)
        if not math.isfinite(scale):
            raise ValueError("finite restoration scale required")
        if score.shape != self.weight.shape \
                or not bool(torch.isfinite(score).all()):
            raise ValueError("finite aligned score required")
        eligible = torch.nonzero((~self.mask).reshape(-1)).flatten()
        values = score.detach().reshape(-1)[eligible].abs()
        if positive_only:
            keep = values > 0
            eligible, values = eligible[keep], values[keep]
        if not isinstance(count, int) or not 0 <= count <= len(eligible):
            raise ValueError("count exceeds declared repair eligibility")
        order = torch.argsort(values, descending=True, stable=True)
        selected = eligible[order[:count]]
        self.mask.view(-1)[selected] = True
        self.weight.view(-1)[selected] = (
            scale * self.reference.view(-1)[selected]
        )
        self.enforce()
        return {
            "selected": selected.clone(),
            "numerically_zero_initializations": int(
                (self.weight.view(-1)[selected] == 0).sum()
            ),
            "score": "effective-weight derivative supplied by caller",
            "initialization": "scaled immutable pre-pruning reference",
        }
\end{lstlisting}

The caller must clear ordinary gradients before scoring and
restore mode and controls in a \texttt{finally} block.
The scored loss must not be constructed from assessment data
later claimed to be independent.

Normal optimization of fixed support should enforce the mask
after each step or maintain the in-forward reparameterization.
Optimizer moments and regrowth-state policy must be specified.
The listing contains no permanently forbidden scar set.

\section{Matching records and interpolation allowances}
\label{app:matchcode}

The following matcher does not generate a new trained checkpoint.
A bracket is accepted only within one caller-declared path.
A curvature value is treated as an externally certified input,
not inferred from the endpoints.

\begin{lstlisting}[style=pythonstyle]
def matching_record(rows, target, tolerance, curvature=None):
    target, tolerance = float(target), float(tolerance)
    if not math.isfinite(target) or target < 0 \
            or not math.isfinite(tolerance) or tolerance < 0:
        raise ValueError("invalid matching target")
    if curvature is not None:
        curvature = float(curvature)
        if not math.isfinite(curvature) or curvature < 0:
            raise ValueError("invalid curvature certificate")
    checked = []
    for row in rows:
        d = float(row["displacement"])
        if not math.isfinite(d) or d < 0:
            raise ValueError("invalid executed displacement")
        checked.append((d, str(row["candidate_id"]), row))
    if not checked:
        return {"status": "unsupported_target", "target": target}

    nearest = min(
        checked, key=lambda item: (abs(item[0]-target), item[1])
    )
    residual = abs(nearest[0] - target)
    if residual <= tolerance:
        return {
            "status": "executed_match",
            "target": target,
            "candidate": nearest[2],
            "actual_displacement": nearest[0],
            "residual": residual,
            "tolerance": tolerance,
        }

    ordered = sorted(checked, key=lambda item: (item[0], item[1]))
    brackets = []
    for left, right in zip(ordered[:-1], ordered[1:]):
        d0, _, r0 = left
        d1, _, r1 = right
        same_path = r0.get("path_id") is not None \
            and r0.get("path_id") == r1.get("path_id")
        if same_path and d0 < target < d1:
            brackets.append((d1-d0, left, right))
    if not brackets:
        return {
            "status": "unsupported_target",
            "target": target,
            "nearest_candidate_id": nearest[1],
            "nearest_residual": residual,
        }

    _, left, right = min(brackets, key=lambda item: item[0])
    d0, _, r0 = left
    d1, _, r1 = right
    w1 = (target-d0)/(d1-d0)
    w0 = 1.0-w1
    estimate = w0 * float(r0["endpoint"]) + w1 * float(r1["endpoint"])
    allowance = None
    if curvature is not None and r0.get("radius") is not None \
            and r1.get("radius") is not None:
        allowance = (
            0.5 * curvature * (target-d0) * (d1-target)
            + w0 * float(r0["radius"]) + w1 * float(r1["radius"])
        )
    return {
        "status": "bracketed_surrogate",
        "target": target,
        "estimate": estimate,
        "allowance": allowance,
        "endpoint_candidate_ids": (r0["candidate_id"], r1["candidate_id"]),
        "path_id": r0["path_id"],
        "executed_target_checkpoint": False,
        "warning": "path and curvature certificates are caller obligations",
    }

def isoacute_eligible(estimate, radius, target, tolerance):
    values = tuple(map(float, (estimate, radius, target, tolerance)))
    if not all(math.isfinite(v) for v in values):
        raise ValueError("finite calibration values required")
    estimate, radius, target, tolerance = values
    if radius < 0 or tolerance < 0:
        raise ValueError("negative calibration allowance")
    return abs(estimate-target) + radius <= tolerance
\end{lstlisting}

For multiple treatment families, every reported executed target
must pass the tolerance criterion in every family.
For multiple seeds, use common absolute targets or state the
seed-relative selection policy as the estimand.

\section{Unexecuted unit-test specifications}
\label{app:tests}

\begin{lstlisting}[style=pythonstyle]
def proposed_tests():
    # These are specifications; no executed pass is asserted.
    points = torch.tensor(
        [[2., 1.], [1., 2.], [-2., 1.], [-1., 2.],
         [-2., -1.], [-1., -2.], [2., -1.], [1., -2.]],
        dtype=torch.float64
    )
    table = rule_table(points)
    assert torch.equal(table[:, 1], table[:, 2])
    votes = torch.stack(
        [(table == label).sum(dim=1) for label in range(4)], dim=1
    )
    assert float(votes.max(dim=1).values.double().mean()) / 4.0 == 0.75
    chosen_votes = (table == table[:, 1, None]).sum(dim=1)
    assert torch.equal(chosen_votes, votes.max(dim=1).values)

    expected = torch.tensor(
        [[0., .5, .5, .75], [.5, 0., 0., .5],
         [.5, 0., 0., .5], [.75, .5, .5, 0.]],
        dtype=torch.float64
    )
    observed = torch.empty((4, 4), dtype=torch.float64)
    for r in range(4):
        for s in range(4):
            observed[r, s] = (table[:, r] != table[:, s]).double().mean()
    assert torch.equal(observed, expected)

    # Old-function responses without adjacent response repetition.
    alternating = torch.tensor(
        [[-2., 1.], [2., -1.]] * 6, dtype=torch.float64
    )
    rules = torch.tensor([1] + [0] * 11, dtype=torch.long)
    old_predictions = rule_table(alternating)[:, 1]
    metrics = sequence_metrics(
        alternating, rules, old_predictions, post_window=10
    )
    assert metrics["old_fraction_sample"] == 1.0
    assert metrics["repeated_error_fraction_sample"] == 0.0

    constant = torch.zeros(12, dtype=torch.long)
    metrics = sequence_metrics(alternating, rules, constant, post_window=10)
    assert metrics["old_fraction_sample"] == 0.0
    assert metrics["repeated_error_fraction_sample"] == 1.0

    # Zero-denominator certification remains unresolved.
    certificate = ratio_certificate(
        [{"p": 0.0, "n": 0.0}] * 20, "p", "n"
    )
    assert certificate["status"] == "unresolved_denominator"

    event = first_completion(torch.tensor([1, 1, 1, 1, 0]))
    censored = first_completion(torch.tensor([0, 0, 0, 0, 0]))
    assert event["first_completion"] == 5 and not event["censored"]
    assert censored["first_completion"] is None and censored["censored"]
    assert event["restricted_time"] == censored["restricted_time"]

    layer = ReferenceMaskedLinear(2, 1)
    with torch.no_grad():
        layer.weight.copy_(torch.tensor([[3., 2.]], dtype=torch.float64))
    layer.capture_dense_reference()
    deleted = layer.delete_exact(1)
    assert deleted.tolist() == [1]

    layer.zero_grad(set_to_none=True)
    layer.begin_scoring()
    loss = layer(torch.ones((1, 2), dtype=torch.float64)).square().sum()
    loss.backward()
    effective_score = layer.effective_gradient().clone()
    assert layer.weight.grad[0, 1].item() == 0.0
    assert effective_score[0, 1].item() != 0.0
    layer.end_scoring()

    clone = copy.deepcopy(layer)
    result = clone.reopen_exact(1, effective_score, scale=1.0)
    assert result["selected"].tolist() == [1]
    assert clone.weight[0, 1].item() == 2.0
    assert layer.weight[0, 1].item() == 0.0

    # Exact interpolation remainder for q(d)=d^2 on [0,1].
    rows = [
        {"candidate_id": "left", "displacement": 0.0,
         "endpoint": 0.0, "radius": 0.0, "path_id": "quadratic"},
        {"candidate_id": "right", "displacement": 1.0,
         "endpoint": 1.0, "radius": 0.0, "path_id": "quadratic"},
    ]
    record = matching_record(rows, 0.5, 0.01, curvature=2.0)
    assert record["status"] == "bracketed_surrogate"
    assert record["estimate"] == 0.5
    assert record["allowance"] == 0.25
    assert abs(record["estimate"] - 0.5**2) == record["allowance"]

    # Feedback inputs contain the preceding label only.
    task = make_uncued_task(3, 12, 4, seed=0)
    feedback = observation_tensor(task, "past_target_feedback")
    assert bool((feedback[:, 0, 2:] == 0).all())
    assert torch.equal(
        feedback[:, 1:, 2:].argmax(dim=-1),
        task["labels"][:, :-1]
    )
    assert observation_tensor(task, "uncued").shape[-1] == 2
\end{lstlisting}

The eight-point test checks the algebraic reference on one
symmetric finite design.
It is not a numerical reproduction of the Gaussian population
experiment.
Passing implementation tests would not prove statistical
freshness, optimizer convergence, or construct validity.

\section{Claim-to-certificate ledger}
\label{app:ledger}

\small
\begin{longtable}{@{}p{0.29\linewidth}p{0.19\linewidth}p{0.45\linewidth}@{}}
\caption{Scope of the mathematical release.}\\
\toprule
Claim & Status & Certificate or boundary\\
\midrule
\endfirsthead
\toprule
Claim & Status & Certificate or boundary\\
\midrule
\endhead
Point history reveals the active hidden rule &
Excluded under the printed interface &
Input-rule independence and stationary posterior.\\[0.4em]
The uncued optimum is \(3/4\) &
Proved &
Continuous symmetric point law and the four printed ID mappings.\\[0.4em]
Four IDs give four distinct functions &
False &
IDs 1 and 2 implement the same function.\\[0.4em]
Every ID switch is behaviorally informative &
False &
Function equivalence and disagreement matrix.\\[0.4em]
Optimal accuracy proves rule adaptation &
False &
A memoryless \(B\)-mapping attains the optimum.\\[0.4em]
Delayed cues and feedback test observable adaptation &
Declared new protocols &
Their observation timing differs from the uncued task.\\[0.4em]
Repeated response identifies old-rule persistence &
False &
Alternating old responses and constant-response counterexamples.\\[0.4em]
Corrected old-function fraction identifies an internal rule state &
Not established &
It certifies an observation-level response category only.\\[0.4em]
Trial count gives independent sample count &
Not generally &
The fresh sequence is the statistical block.\\[0.4em]
Ratios are certified without denominator control &
Excluded &
Positive denominator lower bound required.\\[0.4em]
Five-trial success pattern proves recovery &
Not established &
Pattern, horizon, and censoring are separately recorded.\\[0.4em]
Masked inactive stored derivatives support regrowth &
False for the stated loss interface &
Chain-rule mask factor.\\[0.4em]
Reopened mask restores a healthy weight &
Conditional &
Requires an independently preserved pre-pruning reference.\\[0.4em]
Score multiplier necessarily protects recurrence &
False for the reported allocations &
Per-tensor cancellation and global-division counterexample.\\[0.4em]
Interpolated outcome is an executed match &
False &
Surrogate status and response assumptions required.\\[0.4em]
Isoacute equals iso-displacement &
False &
Different matching quantities and assessment designs.\\[0.4em]
Quantum processing recovers absent rule information &
Excluded under the same observation law &
Carrier-independent observation obstruction.\\[0.4em]
Finite cued quantum retention is exact &
Proved pilot &
Specified encoding, storage, and readout.\\[0.4em]
Clinical ranking, cognitive mechanism, or analytic admission &
Not established &
No empirical correspondence or inherited construction.\\
\bottomrule
\end{longtable}
\normalsize

\section{Submission and source-alignment checklist}
\label{app:checklist}

Before an empirical application, retain:
\begin{enumerate}
\item an immutable source deposit, version, configuration, and
checksums computed from actual deposited bytes;
\item the complete rule functions, boundary conventions,
rule priors, switch law, and optional label modifications;
\item the precise information supplied before and after prediction;
\item fixed versus online-updated checkpoint status;
\item sequence, trial, segment, and window definitions;
\item all metric numerators, denominators, exposures, and censoring;
\item current weights, masks, references, scoring interfaces,
optimizer policy, and named streams;
\item executed candidate identities and complete intervention budgets;
\item explicit matching statuses and surrogate assumptions;
\item calibration and fresh assessment separation;
\item independent training replicates when procedure-level claims
are made;
\item a separate construct-validation dossier before cognitive
or clinical interpretation.
\end{enumerate}

A source title, a notebook heading, a mutable repository root,
or a numerical summary is not a complete source-alignment
certificate.
A mathematical proof, a software execution, and a biological
correspondence are different forms of evidence.

\begin{thebibliography}{99}

\bibitem{CheungOCD}
N.~Cheung,
Structural synaptogenesis superior to functional modulation
in a pruning-based recurrent network model of OCD.
\emph{Frontiers in Computational Neuroscience}
\textbf{20} (2026), 1799705.
Published 20 July 2026.
\url{https://doi.org/10.3389/fncom.2026.1799705}.
Computational motivation.
The article's operational and biological qualifications are
retained; no clinical hierarchy is imported.

\bibitem{CheungPruning}
N.~Cheung,
Phased pruning in neural networks recapitulates
selectivity--fragility trade-offs in brain development.
\emph{Scientific Reports} (2026).
Published online 13 July 2026.
\url{https://doi.org/10.1038/s41598-026-62244-5}.
A different computational task and architecture.

\bibitem{CheungModes}
N.~Cheung,
Divergent mechanisms of antidepressant efficacy:
a unified computational comparison of synaptogenesis,
stabilization, and tonic inhibition in a model of depression.
\emph{Cureus} \textbf{18}, no.~3 (2026), e105040.
Published 11 March 2026.
\url{https://doi.org/10.7759/cureus.105040}.
Intervention motivation, not a clinical premise.

\bibitem{CheungPublicCode}
N.~Cheung,
\emph{069av2.py}.
Public file in
\emph{Structural-Synaptogenesis-Superior-to-Functional-Modulation-in-a-Network-Model-of-OCD}.
\url{https://github.com/cheungngo/Structural-Synaptogenesis-Superior-to-Functional-Modulation-in-a-Network-Model-of-OCD/blob/main/069av2.py}.
Consulted for the task mappings and generator.
Mutable branch record; no byte identity with an unprovided
attachment, source checksum, or verified numerical reproduction
is asserted.

\bibitem{DevelopmentBrief}
N.~Cheung,
\emph{Psy03-D development brief:
hidden-rule observability, switching metrics,
masked repair, and certified matching}.
Supplied documentary text, undated.
Its implementation descriptions are source-pattern records,
not a complete versioned code deposit.

\bibitem{CheungPsy01A}
N.~Cheung,
\emph{Psy01-A: Phased magnitude pruning in task-gated ReLU networks:
cue certificates, stability, and conditional
selectivity--fragility trade-offs}.
Undated manuscript, \texttt{Psy01-A.tex}, supplied in full.
Relevant source records:
\texttt{thm:cueobstruction},
\texttt{thm:nesting},
\texttt{thm:accuracystability}, and
\texttt{prop:harddiscontinuity}.
No architecture identity is presumed.

\bibitem{CheungPsy02A}
N.~Cheung,
\emph{Psy02-A: Conditional scalar-carrier bounds and operational
separation: a mathematical framework for evaluating Orch-OR hypotheses}.
Undated manuscript, \texttt{Psy02-A.tex}, supplied in full.
Relevant records:
\texttt{prop:instrument},
\texttt{thm:nonidentifiable}, and
\texttt{thm:nonentailment}.
Its scalar and reduction models are not imported.

\bibitem{CheungPsy02B}
N.~Cheung,
\emph{Psy02-B: Quantitative viability and identifiability of a
branch-matched reduction pilot:
complete records, collective mass energies, and a self-contained
interface to the inherited analytic problem}.
Undated manuscript, \texttt{Psy02-B-v2.tex}, version 2,
supplied in full.
Relevant records:
\texttt{thm:process},
\texttt{thm:overlap},
\texttt{thm:sampling}, and
\texttt{prop:nontransfer}.
The analytic continuation and admission obligations remain separate.

\bibitem{CheungPsy03A}
N.~Cheung,
\emph{Psy03-A: Structural repair, noise adaptation, and dynamical
modulation in pruned networks:
intervention budgets, classical certificates, and a separately
defined quantum extension}.
Undated manuscript, \texttt{Psy03-A.tex}, supplied in full.
Relevant records:
\texttt{def:budget},
\texttt{def:matching},
\texttt{thm:descent},
\texttt{thm:ranking},
\texttt{thm:evaluation}, and
\texttt{prop:rng}.

\bibitem{CheungPsy03B}
N.~Cheung,
\emph{Psy03-B: Irreversible structural memory and threshold-triggered
feedback in pruned networks:
longitudinal certificates and a quantum--classical extension}.
Undated manuscript, \texttt{Psy03-B-v1.tex}, version 1,
supplied in full.
Relevant records:
\texttt{cor:capacity},
\texttt{thm:conditional},
\texttt{prop:fixeddesign},
\texttt{thm:paired}, and
\texttt{thm:operationalmemory}.
No permanent scar register is inferred for the modular source.

\bibitem{CheungPsy03C}
N.~Cheung,
\emph{Psy03-C: Recurrent stability and probe identifiability
in scar-constrained networks:
task geometry, temporal certificates, and a separate quantum extension}.
Undated manuscript, \texttt{Psy03-C-v1.tex}, version 1,
supplied in full.
Relevant records:
\texttt{prop:repetition},
\texttt{thm:bayes},
\texttt{cor:battery},
\texttt{prop:identifiability},
\texttt{prop:register}, and
\texttt{thm:qpilot}.
Its repeated-point task and recurrent state interface are
not identified with the present task.

\bibitem{Hoeffding}
W.~Hoeffding,
Probability inequalities for sums of bounded random variables.
\emph{Journal of the American Statistical Association}
\textbf{58}, no.~301 (1963), 13--30.
\url{https://doi.org/10.1080/01621459.1963.10500830}.
Here applied to independent or conditionally fresh sequence blocks.

\bibitem{EvciRigL}
U.~Evci, T.~Gale, J.~Menick, P.~S.~Castro, and E.~Elsen,
Rigging the lottery: making all tickets winners.
In \emph{Proceedings of the 37th International Conference
on Machine Learning},
\emph{Proceedings of Machine Learning Research}
\textbf{119} (2020), 2943--2952.
\url{https://proceedings.mlr.press/v119/evci20a.html}.
A topology-update precedent, not an identity with the
reported repair algorithm.

\bibitem{Watrous}
J.~Watrous,
\emph{The Theory of Quantum Information}.
Cambridge University Press, 2018.
Author's manuscript:
\url{https://cs.uwaterloo.ca/~watrous/TQI/}.
Cited for channels, instruments, trace distance, and
binary state discrimination.

\bibitem{PyTorchGRU}
PyTorch Contributors,
\emph{GRU}.
Official PyTorch main documentation.
\url{https://docs.pytorch.org/docs/main/generated/torch.nn.GRU.html}.
Cited for gate conventions, initial-state and sequence interfaces,
and interlayer dropout placement.
An executed reproduction must pin its installed implementation.

\bibitem{PyTorchPruning}
M.~Paganini and PyTorch Contributors,
\emph{Pruning Tutorial}.
Official PyTorch Tutorials.
Created 22 July 2019; updated 2 November 2023;
last-verified date stated as 5 November 2024.
\url{https://docs.pytorch.org/tutorials/intermediate/pruning_tutorial.html}.
Cited for original parameters, mask buffers, effective tensors,
iterative masks, serialization, and removal of reparameterization.
Its use of ``permanent'' for retaining current pruned values is
not identified with a future regrowth-prohibition rule.

\bibitem{PyTorchRandom}
PyTorch Contributors,
\emph{Reproducibility}.
Official PyTorch documentation.
\url{https://docs.pytorch.org/docs/main/notes/randomness.html}.
Environment- and version-specific implementation guidance,
not a proof of statistical independence.

\end{thebibliography}

\end{document}