Manuscript Psy03-B@1 · Psy03-B-v1.tex · 8ca3caf9
Psy03-B Irreversible Structural Memory and Threshold-Triggered Feedback in Pruned Networks: Longitudinal Certificates and a Quantum–Classical Extension
Specifies version 1 of a longitudinal structural-memory framework for the supplied 068e_kindling_v2.py and a separately defined finite quantum extension with a classical scar register. prop:reset shows that the post-discontinuation gain reset forces effective gain one for every protection level. prop:duration separates a duration-grid threshold fraction from a continuous survival law. prop:severitysource identifies the implemented severity rule and its gain contribution. cor:capacity and thm:depletion give scar-mask invariants and finite-count depletion. thm:optimalrisk orders optimal achievable risks under nested constraints; prop:counterexamples exclude a universal ordering of current checkpoint performance. thm:conditional and thm:paired give feedback-aware threshold certificates and paired-intervention contrasts. thm:hybrid and thm:classical specify the enlarged evolution with a classical scar register. thm:operationalmemory is a carrier-only causal-break witness. thm:pilot gives a finite coherence-sensitive contrast. Psy01-A, Psy02-A, Psy02-B, Psy03-A, Em06-B, Em04-A, Em05-A, VII-J, and En01-B are documentary source records and are not premises. No newly executed numerical ranking is asserted. This is not a derivation of a kindling mechanism, not a clinical mania probability, not neuronal quantum viability, and not conscious experience. This is not metric reconstruction, not Einstein dynamics, not holographic identification, not a Page curve, and not spacetime emergence. The inherited full characteristic map is not constructed. It does not repair XI-G. It does not close O.1. O.1 stays NOT_CLOSED. The series Route B is not discharged. XVI-N is not discharged. XV-B is not opened. XVI-P is registered and is not a premise. H2, I3, and J2 stay unresolved. Full spacetime emergence is not constructed. No quantum coefficient is admitted. No compilation is asserted. Numerical execution is not asserted. Independent execution is not asserted.
Front matter
abstractAbstractFront matter · lines 124–161
Open as its own pageWe study repeated damage-and-repair processes in which a classification-based feedback controller triggers permanent deletion of network coordinates. The main distinction is between irreversible structural memory, which follows from a specified eligibility rule, and progressive vulnerability, which requires an additional performance certificate. For the supplied
068e_kindling_v2.py, we derive exact gain-reset identities, identify the implemented severity rule and its tie-dependent deletion counts, and distinguish independently retrained duration arms from a continuous post-discontinuation trajectory. We prove scar-mask invariants, repair-capacity bounds, finite-count depletion, and an ordering of optimal achievable risks under nested coordinate constraints. Counterexamples exclude a universal ordering of current checkpoint performance by scar count. Biased-noise path estimates and coupled state comparisons provide margin-based certificates without assuming that gain, positive bias, or protection has a universal accuracy effect. Conditional concentration on fresh challenge blocks supports feedback-aware threshold decisions, while fresh-noise evaluation on reused inputs controls only a finite-design target. Paired interventions distinguish immediate deletion, permanent repair restrictions, maintenance, and changing challenges. A separate affine-Gaussian comparison gives explicit sufficient conditions for decreasing critical challenge and persistent failure. A finite quantum stochastic network is extended by a classical persistent scar register and complete feedback instruments. Its enlarged evolution is specified by physical update maps. An explicit two-probe, carrier-only causal-break experiment detects reduced history dependence without treating access to the scar label as a quantum-memory witness. The same pilot gives exact coherence-sensitive task contrasts. No newly executed longitudinal result, clinical mania probability, biological kindling mechanism, treatment ranking, quantum computational advantage, or inherited field-theoretic admission is asserted.sectionFront matterFront matter · lines 161–167
Open as its own pageKeywords: structural memory; threshold feedback; sparse networks; adaptive evaluation; sensitization; quantum stochastic walks; classical–quantum channels; causal breaks; complete records.
Question, contribution, and evidence boundary
sectionQuestion, contribution, and evidence boundaryQuestion, contribution, and evidence boundary · lines 169–244
Open as its own pageThe central question is:
When does a repeated threshold-triggered damage-and-repair process produce persistent vulnerability, and which apparent effects are consequences of imposed update rules rather than independently demonstrated sensitization?
Cheung's pruning and computational intervention studies provide the immediate motivation CheungPruning,CheungModes,CheungCliff. His separate study of iterative language-model adaptation provides additional motivation for distinguishing structural interventions from changes in susceptibility under weaker challenges CheungLLMKindling. That study uses different tasks and experimental objects. It does not validate the permanent-mask rule studied here.
Psy01-A separates structural counts, weight geometry, margins, noise, and optimization schedules CheungPsy01A. Psy03-A treats individual interventions and their comparison budgets CheungPsy03A. This successor adds longitudinal feedback and persistent structural state rather than another asserted treatment ranking.
Psy02-A and Psy02-B motivate the separation of quantum channels, accessible observations, complete records, and mechanism identification CheungPsy02A,CheungPsy02B. Their results are cited as source records and methodological precedents. The new objects, hypotheses, and independent proofs are printed below.
implementation source. The object audited is the complete supplied file
068e_kindling_v2.pyCheung068E. The audit is static. No mutable repository revision is identified with this snapshot, and no numerical table is independently reproduced here.contributions. The paper supplies:
irreversible-mask invariants and repair-capacity limits;
feedback-aware threshold certification;
counterfactual definitions and certificates for longitudinal sensitization;
a quantum stochastic network with an explicit persistent classical structural-memory register.
and clinical boundary. In theorem statements, a “scar” is a permanently forbidden parameter coordinate or graph edge. An “episode” is a model-defined controller event. We use biased-noise error, threshold crossing, permanent deletion, and low-challenge failure.
The source's “mania,” “relapse,” “kindling,” and drug-class labels are computational analogies. Classification error under an imposed perturbation is not a validated clinical probability. Neither a threshold nor a percentage supplies that validation.
and verification. Coordinate projections, Lipschitz propagation, concentration, and channel contraction are standard. The contribution is their longitudinal assembly, source-specific identities and repairs, and the explicit memory-bearing pilot. No theorem proves convergence of the source's Adam training. Compilation, software execution, formal proof checking, and biological validation are not represented as completed.
The exact classical forward map and longitudinal state
sectionArchitecture, masks, and dataThe exact classical forward map and longitudinal state › Architecture, masks, and data · Psy03-B@1#eq:invariant · lines 248–291
Open as its own pageThe source architecture has
Its weight matrices contain
coordinates. There are unpruned biases.
Write
Here is the active mask and is the permanent-scar mask. The structural invariant is
An active coordinate can contain a numerically zero weight. Structural counts therefore use masks, not a numerical zero threshold.
The source's ordinary input law is
with
The clean-center evaluation uses the different law .
sectionGain, protection, biased noise, and offsetsThe exact classical forward map and longitudinal state › Gain, protection, biased noise, and offsets · Psy03-B@1#eq:gain, Psy03-B@1#eq:forward · lines 292–349
Open as its own pageLet denote the source's multiplicative
inhibition_strength, itsgain_multiplier, and its protection coordinate. The number is not a clinical protection probability.With , the source's gain function is exactly
Set
Although , the effective multiplier can exceed one.
For independent standard Gaussian vectors , activation , input-noise intensity , challenge bias , and hidden-noise intensity , define
This is the source's biased forward computation. Its ordinary forward computation is the case with the configured stress intensity.
The smallest maximizing class index resolves ties. Define
All probabilities below are fractions, not percentages. The source reports .
lemmaLemma: Equivalence of the source gain formulaThe exact classical forward map and longitudinal state › Gain, protection, biased noise, and offsets · Psy03-B@1#lem:gainformula · proof attached · lines 350–362
Open as its own pageFor , the nested minimum and maximum in
get_effective_gainequal (eq:gain).Proof. If , the inner maximum is , and the outer minimum returns . If , the interpolated value lies between and , so neither operation changes it. The case also returns .
definitionDefinition: Longitudinal intervention stateThe exact classical forward map and longitudinal state › A complete augmented state · Psy03-B@1#def:state · lines 366–379
Open as its own pageA complete state is
where is a protection-decay parameter. The remaining entries identify optimizer state or its reset policy, all relevant random streams, data roles, the controller rule, and the intervention stage.
sectionA complete augmented stateThe exact classical forward map and longitudinal state › A complete augmented state · Psy03-B@1#eq:cycle · lines 379–409
Open as its own pageThe source creates a fresh Adam optimizer at every training invocation. Its ordinary training function sets hidden stress to zero during training; the scheduled adaptation function specifies its own stress and gain schedule. These are different maps.
A longitudinal cycle has named stages:
Maintenance includes training and allowed repair. The controller record contains its sample, challenge, diagnostics, uncertainty, and decision. The update performs the predeclared structural operation.
Pre-challenge performance and post-scar structure are different observations. They must not be labeled as properties of the same checkpoint.
sectionLongitudinal accountingThe exact classical forward map and longitudinal state › Longitudinal accounting · lines 410–431
Open as its own pageExtend the accounting vector in Psy03-A CheungPsy03A to
In particular,
Binary masks are identified with their supports when set notation is used.
Terminal weight displacement does not price gain, protection, activation, bias changes, or cumulative path length. A scalarization of this vector requires declared units and weights. It is not a mechanism-independent pharmacological dose.
Exact source identities and interpretation repairs
propositionProposition: Exact post-discontinuation gain identityExact source identities and interpretation repairs › The post-maintenance reset · Psy03-B@1#prop:reset, Psy03-B@1#eq:reset, Psy03-B@1#eq:protection · proof attached · lines 437–474
Open as its own pageIn
simulate_longitudinal_manic_relapse, the call toreset_antidepressant_effectssetsIt leaves and its decay rate unchanged. Consequently, at every final biased evaluation in that routine,
Protection-dependent gain capping is therefore inactive there.
In exact real arithmetic, fifty decay calls from with per-call decrement give
These values are independent of the maintenance duration.
Proof. The reset assignments are printed in the supplied source. Since , (eq:gain) gives effective gain one. The recurrence gives by induction.
Each duration branch reinstates . The maintenance function never calls
decay_ms_protection. Each branch subsequently makes the same fifty decay calls.sectionThe post-maintenance resetExact source identities and interpretation repairs › The post-maintenance reset · Psy03-B@1#tab:protection · lines 474–508
Open as its own pageFloating-point subtraction can produce small representation differences from the exact decimals in (eq:protection). Tests should use appropriate numerical tolerances.
{Exact real-arithmetic protection values in the supplied post-maintenance routine. The biased test uses .}
Computational branch Regrowth Noise adaptation Activation modulation The remaining direct protection effects are bias attenuation and inhibitory offsets. Previously learned weights and biases also remain.
During maintenance, . The assigned gains and both have effective gain ; the assigned gain remains . This equality of gain caps does not establish equality of the trained states, because their initial parameters, activation, multipliers, and training streams can differ.
propositionProposition: Duration-grid fraction versus survival lawExact source identities and interpretation repairs › The post-maintenance reset · Psy03-B@1#prop:duration · proof attached · lines 509–535
Open as its own pageThe source's
averages threshold flags over six separately retrained maintenance-duration arms. It is a fraction of tested duration settings, not a time-to-failure probability for one continuous trajectory.
A different object,
can have a survival law after one trajectory and its exogenous probability law have been specified.
Proof. Each duration arm reconstructs the same saved starting tensors and then trains for its own number of epochs. The source does not advance one saved post-discontinuation state through those duration entries. A grid average and a stopping time therefore refer to different experimental objects.
sectionThe post-maintenance resetExact source identities and interpretation repairs › The post-maintenance reset · lines 535–540
Open as its own pageAcross-seed averages of that grid fraction remain computational statistics. The routine does not create a clinical survival model.
sectionThe six-cycle controllerExact source identities and interpretation repairs › The six-cycle controller · Psy03-B@1#eq:weaktest · lines 541–567
Open as its own pageThe default challenge biases are
The controller declares an episode when the observed biased accuracy is below . The final additional test instead uses
Thus an accuracy would fail the final threshold while passing the earlier threshold.
The final test does not remove the assigned gain, activation, or inhibition. It is neither an untriggered test nor a transient-control-reset test.
Moreover,
simulate_kindlingreconstructs a fresh model whose protection defaults to zero. It restores masks and scar masks and then assigns treatment modulation, but it does not activate the protection mechanism. Thus throughout its default cycles.sectionThe activation diagnostic and severity ruleExact source identities and interpretation repairs › The activation diagnostic and severity rule · Psy03-B@1#eq:srcactivation · lines 568–590
Open as its own pageThe source diagnostic uses the clean surrogate
For equal-size batches, it estimates
It omits challenge bias and noise. For general , it also omits gain protection and offsets. At the default of the kindling routine, it equals the implemented clean, unchallenged diagnostic, but not the activation magnitude during the noisy biased challenge. For arbitrary unequal batch sizes, the source averages batches equally rather than examples equally.
propositionProposition: Implemented severity and requested deletion rangeExact source identities and interpretation repairs › The activation diagnostic and severity rule · Psy03-B@1#prop:severitysource, Psy03-B@1#eq:severitysource, Psy03-B@1#eq:scarrate · proof attached · lines 591–614
Open as its own pageLet be the source activation diagnostic and the current effective gain. The implemented severity is
With the default base fraction , the nominal episode deletion fraction is
The outer clamp does not alter that default interval. The gain contribution is directly imposed in the formula.
Proof. Simplify the source expression . Substitute its configured clipping limits and base fraction.
sectionThe activation diagnostic and severity ruleExact source identities and interpretation repairs › The activation diagnostic and severity rule · lines 614–623
Open as its own pageThe rule combines an assigned gain with a learned-state diagnostic. Its treatment differences are not wholly emergent.
“Uniform scarring” in the source means a common rate rule. Coordinate selection is deterministic low-magnitude selection, not uniform random deletion. Permanent accumulation is imposed by the update itself.
Irreversible structural memory and finite counts
sectionAdmissible mask operationsIrreversible structural memory and finite counts › Admissible mask operations · Psy03-B@1#eq:scarupdate · lines 627–658
Open as its own pageLet the finite coordinate universe be , with . Ordinary deletion leaves coordinates eligible for future repair. Permanent deletion excludes them from that eligibility.
A repair set satisfies
Ignoring other ordinary deletions for this bookkeeping step, maintenance gives
An episode-scar set satisfies
and the update is
Weights on deleted coordinates are set to zero.
An initial-adversity operation is different: it may add scars from all of , including currently inactive coordinates.
corollaryCorollary: Scar invariants and repair capacityIrreversible structural memory and finite counts › Admissible mask operations · Psy03-B@1#cor:capacity, Psy03-B@1#eq:capacity · proof attached · lines 659–695
Open as its own pageStarting from , admissible repair, ordinary deletion, episode scarring, and initial scarring preserve
Writing and ,
At state , exactly coordinates are inactive and unscarred.
For (eq:scarupdate),
For general new scars , active cardinality instead decreases by .
Proof. Fixed parameter masks commute and multiply coordinatewise, as recorded in Psy01-A
thm:nestingand Psy03-Aprop:countsCheungPsy01A,CheungPsy03A. The additional eligibility restriction prevents repair from intersecting . Deletion only removes active coordinates; adding a scar also removes that coordinate from . Induction proves disjointness and monotonicity. Cardinality and capacity follow from these disjoint subsets.sectionAdmissible mask operationsIrreversible structural memory and finite counts › Admissible mask operations · lines 695–701
Open as its own pageThe corollary holds for the source's episode and regrowth operations when initialized consistently. It does not imply that every source pruning call implements an exact requested count.
corollaryCorollary: Finite structural stabilizationIrreversible structural memory and finite counts › Admissible mask operations · Psy03-B@1#cor:stabilization · proof attached · lines 702–718
Open as its own pageAlong every infinite discrete trajectory with permanent scars on a finite coordinate universe, the scar set changes nontrivially at most times and is eventually constant. There is no common bound on the time of its last change without an additional waiting-time assumption. Weights, biases, and active masks can continue changing.
Proof. Each strict change adds at least one new coordinate to a nondecreasing set of cardinality at most . There can be only finitely many such changes. The discrete times of those finitely many changes have a finite maximum, although arbitrarily long delays are permitted.
theoremTheorem: Exact finite-count depletionIrreversible structural memory and finite counts › Exact deletion versus the source's tied threshold · Psy03-B@1#thm:depletion, Psy03-B@1#eq:depletion, Psy03-B@1#eq:minone · proof attached · lines 722–769
Open as its own pageSuppose each triggered update deletes exactly
and no repair occurs between updates. Then
and
After updates,
The difference from the continuous multiplicative approximation is nonnegative and less than .
For constant , a positive active count cannot reach zero under this floor rule, and deletion stops once .
For the distinct exact-count rule
each triggered update removes at least one coordinate and active exhaustion occurs after at most triggered updates.
Proof. Take and iterate the recurrence. Each summand in the rounding remainder is less than one. For , at every positive integer . The minimum-one rule instead decreases every positive count by at least one.
sectionExact deletion versus the source's tied thresholdIrreversible structural memory and finite counts › Exact deletion versus the source's tied threshold · lines 769–777
Open as its own pageApply the theorem separately when allocation is layerwise. The per-update rounding allowance is then bounded by the number of eligible layers, not necessarily one. This is a finite-count refinement of the hard-control discontinuity recorded in Psy01-A CheungPsy01A.
propositionProposition: The actual source count with tiesIrreversible structural memory and finite counts › Exact deletion versus the source's tied threshold · Psy03-B@1#prop:ties, Psy03-B@1#eq:tiedcount · proof attached · lines 778–804
Open as its own pageFor an eligible layer with active magnitudes , the source requests
and deletes every magnitude at most the -th order statistic. Its actual deletion count is
It equals only when no excluded position ties the cutoff. Even a small nominal fraction can delete all active positions when all magnitudes tie.
Thus the source recurrence is , not generally .
Proof. At least the first ordered values are at most the cutoff. Every additional tied value is also deleted. If all values agree, every position satisfies the threshold.
sectionExact deletion versus the source's tied thresholdIrreversible structural memory and finite counts › Exact deletion versus the source's tied threshold · lines 804–812
Open as its own pageThe source's lower clamp in (eq:scarrate) and minimum-one rule both prevent a zero-rate interpretation of an invoked episode update. A repaired exact-count method must state whether it preserves that intended minimum-one rule or adopts the alternative floor rule.
propositionProposition: Uniform initial placement and active hitsIrreversible structural memory and finite counts › Initial scars can reduce capacity without immediately deleting active connections · Psy03-B@1#prop:adversity · proof attached · lines 816–840
Open as its own pageSuppose there are unscarred coordinates, of which are active. Choose new scars uniformly without replacement from those coordinates. The number of active coordinates hit has law
on its feasible integer range, and
The scar count increases by , while the active count decreases by .
Proof. Count the -subsets with exactly active elements. For the expectation, each active coordinate is selected with probability . Sum its indicator.
sectionInitial scars can reduce capacity without immediately deleting active connectionsIrreversible structural memory and finite counts › Initial scars can reduce capacity without immediately deleting active connections · lines 840–853
Open as its own pageThis is the intended independently uniform selection law, not a claim that a pseudorandom seed proves independence.
The supplied initial-adversity routine samples from all unscarred coordinates after baseline pruning, not just active ones. Therefore much of its structural effect can be exclusion of dormant repair positions. The returned random fraction is a requested fraction. The realized mask fraction is affected by layerwise floors and by the implementation's availability check.
Optimal capacity and actual performance are different
definitionDefinition: Common feasible classOptimal capacity and actual performance are different · lines 857–863
Open as its own pageFor scar set , let contain all permitted implementations whose coordinates in are fixed to zero. All other constraints, the input law, readout, and loss remain common. They are not relaxed as the scar set grows.
theoremTheorem: Nested constraints order optimal achievable riskOptimal capacity and actual performance are different · Psy03-B@1#thm:optimalrisk, Psy03-B@1#eq:optimalrisk · proof attached · lines 865–885
Open as its own pageIf , then
For a common nonnegative loss,
An empty feasible class has infimum .
Proof. An implementation satisfying the additional zero constraints also satisfies the original constraints. An infimum over a smaller set cannot be smaller.
sectionOptimal capacity and actual performance are differentOptimal capacity and actual performance are different · lines 885–889
Open as its own pageThis is not a theorem about the optimizer finding the infimum. It does not compare arbitrary trained checkpoints.
propositionProposition: Deletion can improve, worsen, or preserve a checkpointOptimal capacity and actual performance are different · Psy03-B@1#prop:counterexamples · proof attached · lines 890–922
Open as its own pageIn the stated architecture class, permanent deletion can improve, worsen, or leave unchanged the accuracy of a current checkpoint.
Proof. Take , , zero challenge noise, and one constant final ReLU feature equal to one. Use a test law whose label is always zero. Unused units embed these examples in the declared widths.
For improvement, use head logits
where the contribution is an active head weight. The network fails before that weight is scarred and succeeds after it is removed.
For deterioration, use
with the first logit supplied by one active head weight. Removing that weight changes the first logit to zero and causes failure.
For no effect, use constant output biases and disconnect every hidden unit from the output. Scarring a hidden connection leaves all predictions unchanged, including under hidden noise.
sectionOptimal capacity and actual performance are differentOptimal capacity and actual performance are different · lines 922–935
Open as its own pageThese are architecture-class counterexamples, not fits to the four-cluster experiment. The first example is compatible with Theorem thm:optimalrisk: a suboptimal checkpoint can improve despite a smaller feasible class.
The equal-mask stress counterexamples in Psy01-A and Psy03-A provide a related warning CheungPsy01A,CheungPsy03A. Neither scar count nor clean accuracy is a sufficient statistic for stress vulnerability.
propositionProposition: Permanence is initially a latent restrictionOptimal capacity and actual performance are different · Psy03-B@1#prop:latent · proof attached · lines 936–949
Open as its own pageIf two states have identical effective matrices, active masks, biases, and forward controls, but different admissible scar labels on inactive coordinates, their current forward laws and accuracies agree. They can differ under later repair policies.
Proof. The scar label does not appear independently in (eq:forward). It affects subsequent repair eligibility.
sectionOptimal capacity and actual performance are differentOptimal capacity and actual performance are different · lines 949–955
Open as its own pageAccordingly, permanent-versus-regrowable deletion is a longitudinal comparison. Its immediate states should first have the same deletion, weights, and active mask.
Biased-noise and full-state perturbation certificates
sectionCommon-protection challenge pathsBiased-noise and full-state perturbation certificates › Common-protection challenge paths · lines 959–966
Open as its own pageFor fixed parameters, define
corollaryCorollary: Biased-noise path boundBiased-noise and full-state perturbation certificates › Common-protection challenge paths · Psy03-B@1#cor:path, Psy03-B@1#eq:path · proof attached · lines 967–1003
Open as its own pageCompare the same network and protection state at and under a common input and Gaussian coupling. Then
The protection offset cancels in this comparison. The result does not require .
Proof. Both admitted activations are -Lipschitz. Starting from , the hidden differences obey
Iterate and multiply by the head norm. This is the layerwise interface in Psy03-A
lem:path, with gain and bias explicitly included CheungPsy03A.sectionCommon-protection challenge pathsBiased-noise and full-state perturbation certificates › Common-protection challenge paths · Psy03-B@1#eq:marginlip · lines 1003–1020
Open as its own pageThe factor includes multiplication immediately after noise injection and at each subsequent hidden layer. The reference forward pass still contains the common protection offset.
For true-label margin
one has
theoremTheorem: Sufficient challenge-survival certificateBiased-noise and full-state perturbation certificates › Common-protection challenge paths · Psy03-B@1#thm:margin, Psy03-B@1#eq:survival · proof attached · lines 1021–1053
Open as its own pageLet , , and
Define
Then
The right side may be truncated below at zero.
Proof. The scalar Gaussian bound and a union bound place all noise coordinates within with probability at least . Equation (eq:path) is then at most . The margin inequality preserves correct classification.
sectionCommon-protection challenge pathsBiased-noise and full-state perturbation certificates › Common-protection challenge paths · lines 1053–1060
Open as its own pageLarger gain can amplify both signals and perturbations. A positive hidden bias can help or harm a decision. Protection also changes clean representations. No universal accuracy ordering follows from the signs of these control changes.
lemmaLemma: Effective-gain continuityBiased-noise and full-state perturbation certificates › Protection regularity and complete residuals · Psy03-B@1#lem:gainregularity · proof attached · lines 1063–1087
Open as its own pageFor and ,
For ,
Proof. At fixed , the slopes in are and . At fixed , the protection change has magnitude . Split the difference and then the product defining .
sectionProtection regularity and complete residualsBiased-noise and full-state perturbation certificates › Protection regularity and complete residuals · lines 1087–1117
Open as its own pageFor two coupled states, put
and
For , set
Define
and .
theoremTheorem: Coupled longitudinal-state comparisonBiased-noise and full-state perturbation certificates › Protection regularity and complete residuals · Psy03-B@1#thm:comparison, Psy03-B@1#eq:parameter · proof attached · lines 1118–1149
Open as its own pageFor common input and Gaussian draws,
All displayed first moments are finite for finite parameters and the stated Gaussian input law.
Under common forward controls, only weight and bias residuals remain. For different protection levels, the offsets do not cancel.
Proof. Subtract the hidden updates and insert the primed preactivation under the unprimed activation and multiplier. The Lipschitz property gives
Iterate and apply the head bound. Both activations have norm at most their preactivation norm, so finite input and Gaussian moments propagate recursively.
sectionProtection regularity and complete residualsBiased-noise and full-state perturbation certificates › Protection regularity and complete residuals · Psy03-B@1#eq:accuracy · lines 1149–1175
Open as its own pageIf frozen weights of magnitude at most are removed,
This supplies a perturbation input, not the sign of an accuracy change.
For , the accuracy interface in Psy01-A and Psy03-A gives
Indeed, changed correctness requires ; split that event at and use Markov's inequality CheungPsy01A,CheungPsy03A. Accuracy control therefore needs margin information. Two lower accuracy bounds alone do not prove an ordering.
Feedback-aware threshold and severity certification
sectionTwo distinct evaluation targetsFeedback-aware threshold and severity certification › Two distinct evaluation targets · lines 1179–1202
Open as its own pageIn
simulate_kindling, the observed test accuracy controls whether scars are added. The same test inputs supply the activation diagnostic that controls scar severity. The test sample is therefore part of the controller.Later checkpoints depend on that sample. The ordinary independent-held-out hypothesis of Psy03-A
thm:evaluationis no longer automatically available CheungPsy03A. Likewise, its evaluation-isolation proposition does not apply: the source deliberately feeds the readout into a future update.This does not make every conditional statement impossible. There are two different targets:
population accuracy under new inputs and new noise;
finite-design accuracy averaged over new noise on the fixed, reused inputs.
They must not be interchanged.
sectionFresh challenge blocksFeedback-aware threshold and severity certification › Fresh challenge blocks · lines 1203–1209
Open as its own pageLet contain the complete history immediately before cycle 's challenge block, including maintenance randomness, , challenge parameters, sample size, and confidence allocation.
assumptionAssumption: Conditional freshnessFeedback-aware threshold and severity certification › Fresh challenge blocks · Psy03-B@1#ass:fresh · lines 1210–1218
Open as its own pageGiven , the challenge examples and evaluation noises are independent draws from the declared challenge law. The checkpoint is fixed during the block. The integers and numbers are chosen before viewing that block.
sectionFresh challenge blocksFeedback-aware threshold and severity certification › Fresh challenge blocks · lines 1218–1226
Open as its own pageWrite
theoremTheorem: Conditional-cycle concentrationFeedback-aware threshold and severity certification › Fresh challenge blocks · Psy03-B@1#thm:conditional, Psy03-B@1#eq:conditional · proof attached · lines 1227–1260
Open as its own pageUnder Assumption ass:fresh,
If the predictable allocations satisfy almost surely, then
The horizon can be finite or countable with summable allocations. Stopping after completed blocks preserves the guarantee.
Proof. Condition on and apply the bounded-variable Hoeffding inequality Hoeffding. This is the same conditional-dependence discipline used in Psy02-B
thm:samplingCheungPsy02B. Taking expectations and a union bound givessectionFresh challenge blocksFeedback-aware threshold and severity certification › Fresh challenge blocks · lines 1260–1266
Open as its own pageWithin-block adaptive sample-size inspection is not licensed by this fixed-block theorem. It needs a separate stopping argument or an explicit allocation to every permitted inspection.
definitionDefinition: Certified threshold decisionFeedback-aware threshold and severity certification › Fresh challenge blocks · Psy03-B@1#def:decision · lines 1267–1284
Open as its own pageFor fixed , set
Declare:
The action on an unresolved record is predeclared. The appendix uses no deletion on unresolved records.
corollaryCorollary: False certified-update controlFeedback-aware threshold and severity certification › Fresh challenge blocks · Psy03-B@1#cor:falseupdate · proof attached · lines 1286–1296
Open as its own pageIf scars are added only after certified crossing, then with probability at least , every such update occurs at a state satisfying .
Proof. On the simultaneous event, at every certified crossing.
sectionFresh challenge blocksFeedback-aware threshold and severity certification › Fresh challenge blocks · lines 1296–1300
Open as its own pageThe guarantee is a computational threshold statement, not a clinical-event validation.
propositionProposition: Finite-design conditional certificateFeedback-aware threshold and severity certification › What fresh noise on reused inputs can establish · Psy03-B@1#prop:fixeddesign · proof attached · lines 1303–1332
Open as its own pageLet be fixed and possibly reused by the controller. Given and the preceding history, fix the current checkpoint and draw new independent noise for each example. Define
Then
This does not bound without an additional generalization argument.
Proof. Conditional correctness indicators are independent and bounded, although their means can differ by example. Hoeffding applies to their average around the average of their conditional means. The theorem contains no comparison between a data-dependent checkpoint's empirical-design and population targets.
sectionWhat fresh noise on reused inputs can establishFeedback-aware threshold and severity certification › What fresh noise on reused inputs can establish · lines 1332–1338
Open as its own pageRepeated independent noise draws can improve this conditional Monte Carlo certificate. They do not create additional independent population inputs. A reused pseudorandom seed is also not a fresh-noise experiment.
sectionClipped diagnostics and severityFeedback-aware threshold and severity certification › Clipped diagnostics and severity · lines 1339–1353
Open as its own pageDefine a protection-aware clean diagnostic using the actual hidden states:
For , it agrees with (eq:srcactivation). For declared , use
propositionProposition: Severity and count uncertaintyFeedback-aware threshold and severity certification › Clipped diagnostics and severity · Psy03-B@1#prop:severity · proof attached · lines 1354–1389
Open as its own pageOn a fresh block,
with conditional probability at least .
For a predeclared -Lipschitz severity-fraction map ,
For eligible active coordinates, the population-rule floor count lies between
and
For the source's fraction map at fixed gain and base , one can take .
Proof. Apply Hoeffding to variables in . Use Lipschitz continuity and monotonicity of the floor function. The source's two clipping operations are -Lipschitz; the intervening slope in the activation mean is .
sectionClipped diagnostics and severityFeedback-aware threshold and severity certification › Clipped diagnostics and severity · lines 1389–1406
Open as its own pageClipping each example before averaging changes the controller relative to the source's raw diagnostic. That change must be disclosed.
If a conditional second-moment certificate is available, then
because . Without a tail certificate, clipped and raw targets are different.
The source's unperturbed diagnostic can have finite moments for fixed parameters, but no uniform numerical moment bound for its trained trajectory is supplied by the code alone.
Counterfactual sensitization and persistent vulnerability
sectionSeparate intervention questionsCounterfactual sensitization and persistent vulnerability › Separate intervention questions · Psy03-B@1#eq:contrast · lines 1410–1458
Open as its own pageAt a common complete checkpoint, useful paired interventions are:
immediate deletion versus no deletion;
the same immediate deletion marked permanent versus regrowable;
subsequent maintenance versus frozen parameters;
common modulation versus assigned modulation;
a common fixed challenge versus a changing challenge schedule.
The second pair isolates future repair eligibility. It initially differs only in the scar label, as in Proposition prop:latent. The first pair necessarily changes effective weights and the active mask as well.
For immediate deletion, define
For two longitudinal policies , define the procedure-level contrast
The exogenous law and its coupling are part of the experiment.
Common streams do not force later parameters to remain equal when policies differ. Those parameter changes can be mediators of the policy effect.
If future threshold decisions may differ by branch, the estimand is a closed-loop policy effect. A controlled direct-effect comparison instead fixes a common admissible event plan. A deletion set must remain eligible in the branch to which it is applied.
theoremTheorem: Checkpoint-specific effect certificateCounterfactual sensitization and persistent vulnerability › Fresh paired assessment · Psy03-B@1#thm:paired · proof attached · lines 1461–1485
Open as its own pageCondition on two checkpoints before a fresh assessment block. Let independent example blocks give paired correctness differences
Then
A positive certifies the oriented effect at the named challenge and checkpoints.
Proof. Condition on the checkpoint history and apply Hoeffding on an interval of length two Hoeffding. This is the fresh-assessment form of the paired comparison and ranking interfaces in Psy03-A CheungPsy03A.
sectionFresh paired assessmentCounterfactual sensitization and persistent vulnerability › Fresh paired assessment · lines 1485–1491
Open as its own pageWithin-example shared noise is allowed. Between-example conditional independence is required. One realized pair estimates a checkpoint contrast, not an average over training procedures.
definitionDefinition: Persistence after transient resetCounterfactual sensitization and persistent vulnerability › Fresh paired assessment · lines 1492–1500
Open as its own pagePersistent vulnerability is certified failure after a predeclared reset operation at a common challenge. Scar-attributable persistence additionally compares that branch with a specified comparison branch.
The reset must state whether it removes gain, damping, protection, activation modulation, or only some of them.
sectionFresh paired assessmentCounterfactual sensitization and persistent vulnerability › Fresh paired assessment · Psy03-B@1#eq:persistence · lines 1500–1512
Open as its own pageFor simultaneous assessment bands, the strong certificate
establishes both post-reset failure and the admitted branch difference. It is not supplied by the source's final test (eq:weaktest), which retains modulation and changes the threshold.
definitionDefinition: Grid critical challengeCounterfactual sensitization and persistent vulnerability › Critical challenge without presumed monotonicity · lines 1515–1524
Open as its own pageFor a predeclared grid , fixed , and common threshold , define
The minimum of an empty set is .
propositionProposition: Grid boundary certificateCounterfactual sensitization and persistent vulnerability › Critical challenge without presumed monotonicity · Psy03-B@1#prop:grid · proof attached · lines 1526–1549
Open as its own pageSuppose simultaneous bands hold. Define
Then
Thus
certifies a decrease of the grid critical-challenge index. No monotonicity of accuracy in bias is needed.
Proof. Every index below is certified nonfailing. The index , if finite, is certified failing.
sectionCritical challenge without presumed monotonicityCounterfactual sensitization and persistent vulnerability › Critical challenge without presumed monotonicity · lines 1549–1560
Open as its own pageA continuous definition
is also possible. Interpreting it as one failure boundary requires extra response assumptions. Accuracy can have several failure and recovery intervals.
propositionProposition: Conditional critical-root stabilityCounterfactual sensitization and persistent vulnerability › Critical challenge without presumed monotonicity · Psy03-B@1#prop:root · proof attached · lines 1561–1575
Open as its own pageSuppose two response functions are continuously differentiable on one interval, each has a unique interior root at level , and each satisfies . If their sup-norm difference is at most , the roots differ by at most .
Proof. Evaluate one response at the other's root. The deviation from is at most . Apply the mean-value theorem and the derivative lower bound in absolute value.
sectionCritical challenge without presumed monotonicityCounterfactual sensitization and persistent vulnerability › Critical challenge without presumed monotonicity · lines 1575–1578
Open as its own pageThese hypotheses do not follow automatically from hard pruning.
An exact conditional sensitization comparison
sectionAn exact conditional sensitization comparisonAn exact conditional sensitization comparison · Psy03-B@1#eq:affine · lines 1580–1597
Open as its own pageConsider a separate binary affine-Gaussian margin
where
Correctness means . The variable is a declared harmful-margin contribution, not scar cardinality. The variable is bounded compensatory margin.
theoremTheorem: Conditional sensitization and unavoidable failureAn exact conditional sensitization comparison · Psy03-B@1#thm:affine, Psy03-B@1#eq:critical, Psy03-B@1#eq:unavoidable · proof attached · lines 1598–1635
Open as its own pageFor (eq:affine),
For ,
If is nondecreasing, is nonincreasing. It decreases strictly when the untruncated numerator decreases and both compared critical values are positive.
Every permitted compensation fails at zero bias if
Relative to the initial reference at the same challenge, accuracy is strictly lower exactly when .
Proof. Evaluate the Gaussian probability of a positive margin. Solve for and take the failure-set infimum. The monotonicity statements follow from the numerator. The largest admissible zero-bias margin uses , giving (eq:unavoidable). Strict monotonicity of proves the final comparison.
sectionAn exact conditional sensitization comparisonAn exact conditional sensitization comparison · lines 1635–1644
Open as its own pageA critical infimum of zero need not mean strict failure at zero: equality is possible.
This comparison identifies the extra mechanism needed beyond scar monotonicity. It is not Psy01-A's pruning surface and not a rewriting of the source network.
propositionProposition: Strict transfer with approximation allowancesAn exact conditional sensitization comparison · Psy03-B@1#prop:transfer · proof attached · lines 1645–1663
Open as its own pageSuppose actual and comparison accuracies satisfy
If
then . If , the actual checkpoint fails the threshold.
Proof. Subtract the error inequalities or apply the upper allowance.
sectionAn exact conditional sensitization comparisonAn exact conditional sensitization comparison · lines 1663–1668
Open as its own pageA network transfer must include nonlinear gates, multiclass competitors, and input-law differences. A binary Gaussian calculation alone is not that certificate.
Static audit of 068e\ kindling\ v2.py
sectionStatic audit of 068e\ kindling\ v2.pyStatic audit of 068e\ kindling\ v2.py · lines 1670–1743
Open as its own pageThe following findings are established by inspection of the supplied file Cheung068E, not by executed reproduction.
• Unused kindling seed argument.
simulate_kindlingacceptsseedbut never uses it. The outer main experiment seeds global generators, so this does not mean the entire program lacks seeding. It means the routine has no isolated branch replay from its argument.• Global-stream coupling. Model construction, shuffled loaders, scoring, regrowth, initial-scar placement, and evaluation use global Torch randomness. Adding an evaluation or changing branch order can change later training states. The one global seed does not isolate these roles.
• Controller data reuse. The same test inputs determine threshold updates and severity throughout the kindling loop. Its later checkpoint assessments are not independent held-out population assessments.
• Stage mixing. Cycle accuracy, activation magnitude, and gain are measured before scarring. The recorded scar fraction and sparsity are queried after scarring. The code computes pre-update structural quantities but does not store them as such.
• Gain reset and fixed residual protection. Proposition prop:reset applies exactly. The final effective gain is one in every duration arm, and the assigned protection remaining after fifty calls does not depend on maintenance duration.
• Longitudinal scar-state omission.
simulate_longitudinal_manic_relapsereceives no scar state and initializes all scar masks to zero. The active masks are copied, so its present support is retained. Because this particular routine performs no regrowth, the omission need not change its immediate forward results. It nevertheless fails to preserve complete permanent eligibility state for extension or replay. The kindling routine, in contrast, does restore scar masks.• Diagnostic scope. The activation diagnostic ignores protection, offsets, challenge bias, and noise. At the default of kindling, omission of protection does not change its clean diagnostic. Calling it the actual perturbed activation remains incorrect.
• Imposed severity and nonuniform placement. Gain appears explicitly in the severity formula. Episode deletion selects smallest active magnitudes. A common base rate is not uniform random scarring.
• Ties and endpoints. Episode and secondary pruning use cutoff inequalities and can delete more than the requested count. Magnitude quantiles do not enforce exact retained counts. At sparsity one, the maximum-magnitude positions can remain.
• Mask reactivation and allocation.
prune_by_magnitudereranks all unscarred positions, including inactive zeros, rather than restricting deletion to the current active mask. A zero threshold can reactivate inactive mask positions. The acceptedper_layerflag does not supply a global allocation implementation.sectionStatic audit of 068e\ kindling\ v2.pyStatic audit of 068e\ kindling\ v2.py · lines 1743–1811
Open as its own page• Initial-adversity streams and availability boundary. The requested fraction uses a local NumPy generator, but placement uses global
torch.randperm. The conditionlen(available_idx) > num_to_scarsilently skips a layer at equality or insufficient availability. This boundary defect is not asserted to affect the default initial call, whose scar masks begin empty and requested fraction is small. The routine returns the requested fraction, not the realized count.• Scoring state restoration. The first scoring backward pass does not clear pre-existing gradients. The routine does not use a
finallyblock for restoring stress and gain and does not restore its incoming train/eval mode. Fresh clones commonly avoid the first issue; reusable interfaces must not rely on that accident. Scores are accumulated absolute ambient derivatives and random regrowth is not a signed loss-descent update CheungPsy03A.• Matching tolerance and target controls.
find_iso_dose_matchcomputes but never enforces its tolerance. The configured target list is replaced by generated targets. A pooled-percentile fallback does not establish common finite-grid support.• Candidate and seed counts. The default iso-displacement sweep uses configurations. Passing all five configured adaptation learning rates gives . The default entry point does not pass that learning-rate grid. The configured
iso_dose_n_seeds=3is unused by its one-seed iso-displacement call. The separate main routine does use its configured ten seeds.• No longitudinal iso-displacement experiment. The iso-displacement sweeps evaluate acute outcomes and one secondary-pruning challenge. They do not run the kindling or duration-arm routines. Their comparisons cannot be presented as matched-budget longitudinal evidence.
• Dose and density omissions. The primary dose remains L1. Weight-only displacement excludes biases, gain, protection, activation, and training cost. Numerical sparsity is distinct from structural mask sparsity. Sweep displacement and acute outcomes are pre-challenge, while the stored sweep sparsity is post-challenge.
• Different secondary challenges. The main branches use a capped overall sparsity target followed by quantile pruning. The sweeps delete a fraction of surviving coordinates using kth-value thresholds. Those are not necessarily the same integer operation.
• Evaluation and efficiency semantics. The ordinary evaluator restores stress to zero, not its incoming value, and changes the model's train/eval mode. An improvement divided by dose plus is a regularized statistic, not a physical efficiency. Smaller performance degradation does not imply higher absolute post-challenge performance.
sectionStatic audit of 068e\ kindling\ v2.pyStatic audit of 068e\ kindling\ v2.py · lines 1811–1827
Open as its own page• Unsupported printed interpretations. Clinical safety, treatment dependence, and cost-effectiveness interpretations appear as unconditional output prose. They do not follow from the specified computation. Cross-setting standard deviations are also not confidence intervals for independent training-seed uncertainty.
The appendix repairs structural and state interfaces without claiming identical numerical outputs. Exact tie selection, separated streams, fresh controller blocks, and certified threshold decisions can change trajectories. Such changes are protocol changes, not invisible implementation details.
A quantum stochastic network with a scar register
sectionSector dynamicsA quantum stochastic network with a scar register › Sector dynamics · Psy03-B@1#eq:qgenerator · lines 1831–1874
Open as its own pageReuse the finite node carrier of Psy03-A CheungPsy03A, not a different biological carrier:
Let be a finite permitted edge set,
The scar label records forbidden edges.
In sector , choose
with real energy-valued couplings. One permitted generator is
where rates are nonnegative and rates associated with forbidden edges vanish. Here
Quantum stochastic walks provide this coherent–incoherent graph architecture Whitfield. Finite GKSL generators define unique CPTP sector propagators GKS,Lindblad. The graph is not the classical feed-forward architecture, and node labels do not themselves specify spatial tensor factors or a relativistic causal relation.
sectionComplete feedback constructionA quantum stochastic network with a scar register › Complete feedback construction · Psy03-B@1#eq:monotone, Psy03-B@1#eq:hybridKraus · lines 1875–1900
Open as its own pageAdmitted structural-memory states are classical–quantum:
In sector , specify a complete instrument after propagation with Kraus operators :
The record includes any failure and erasure. Fix
and define
theoremTheorem: Physical irreversible feedbackA quantum stochastic network with a scar register › Complete feedback construction · Psy03-B@1#thm:hybrid · proof attached · lines 1901–1933
Open as its own pageThe map
is CPTP on the full matrix space. It discards off-diagonal input scar-label blocks and preserves the classical–quantum state class.
The complete recorded map uses Kraus operators . Along every nonzero-probability history, the scar label is nondecreasing. In particular,
Proof. Kraus completeness is
The formula reads diagonal label blocks and writes diagonal label blocks. Adding orthogonal record labels preserves completeness. Condition (eq:monotone) holds branchwise, so cardinality cannot decrease.
sectionComplete feedback constructionA quantum stochastic network with a scar register › Complete feedback construction · lines 1933–1945
Open as its own pageThe update can be many-to-one. It need not be a unitary or invertible operation. No scar branch is silently postselected and renormalized.
A finite threshold controller can be represented by including its apparatus and classical count register. For a block of preparations, its complete record can be mapped to an update decision. An unexplained update conditioned directly on an ensemble probability is not a linear single-system channel.
theoremTheorem: Diagonal hybrid classical realizationA quantum stochastic network with a scar register › The exact classical boundary · Psy03-B@1#thm:classical · proof attached · lines 1948–1976
Open as its own pageSuppose every , preparations are diagonal in the node and scar bases, and each instrument branch acts on populations by a nonnegative substochastic matrix , with stochastic. Then the complete feedback history has an exact classical controlled Markov realization on node–scar pairs.
Within a sector,
Node dephasing does not affect these populations.
Proof. For , the gain term transfers population from to , and its anticommutator removes it from . The node-projector dissipators have zero diagonal contribution. Diagonal states remain diagonal.
Between observations, populations evolve by stochastic matrices. At an instrument step, the branch populations are , followed by the classical update . Induction gives the same unnormalized histories and probabilities.
sectionThe exact classical boundaryA quantum stochastic network with a scar register › The exact classical boundary · lines 1976–1983
Open as its own pageThis is the persistent-register extension of Psy03-A's
thm:classicalboundaryCheungPsy03A. A classical register encoded in a quantum model is still classical memory.
Enlarged Markov specification and reduced memory
sectionOperational boundaryEnlarged Markov specification and reduced memory › Operational boundary · lines 1987–2015
Open as its own pageThe enlarged construction specifies interval maps, fresh ancillary inputs, complete instruments, and all persistent registers. At a fixed current setting, its next update depends on the current enlarged state. Any controller memory needed for future update choices must also be included.
This is a Markov construction. A family of one-time reduced CPTP maps does not by itself establish operational Markovianity. Pollock and colleagues formulate the relevant test using measurement followed by re-preparation: after a causal break, the conditional future must be independent of past carrier controls and outcomes for a Markov process PollockMarkov,PollockProcess.
Let
reset the carrier while leaving the scar register untouched. For a classical–quantum state,
propositionProposition: A sufficient carrier-only memory witnessEnlarged Markov specification and reduced memory › Operational boundary · Psy03-B@1#prop:memory, Psy03-B@1#eq:memory · proof attached · lines 2016–2041
Open as its own pageSuppose two admissible past carrier-instrument histories, each with positive probability, produce different conditional scar distributions . After the same carrier reset , suppose a common future experiment has an effect for which
Then no history-independent carrier-only channel can describe both conditional futures after that causal break. The reduced process violates the corresponding operational Markov condition under the admitted experiment.
Proof. Both carrier inputs after the break are . A carrier-only channel acting on that same input must produce the same output. Equation (eq:memory) contradicts that requirement. The distinction is retained in the scar distribution.
sectionOperational boundaryEnlarged Markov specification and reduced memory › Operational boundary · lines 2041–2053
Open as its own pageThe histories here must be carrier-accessible histories. Simply revealing two externally recorded damage flags is not, without further argument, a carrier-only witness. The next section constructs such a witness using only carrier observations and a common reset.
Permanent structural memory alone also need not make every reduced experiment non-Markovian. For example, a known fixed scar sector with no other persistent memory can have ordinary Markov carrier evolution.
sectionReference-stable error accountingEnlarged Markov specification and reduced memory › Reference-stable error accounting · lines 2054–2062
corollaryCorollary: Sector and complete-experiment budgetsEnlarged Markov specification and reduced memory › Reference-stable error accounting · Psy03-B@1#cor:qbudget, Psy03-B@1#eq:qbudget · proof attached · lines 2063–2092
Open as its own pageFor bounded sector generators with CPTP propagators,
For two complete feedback experiments with initial-state error and full interval or recorded-instrument errors , the final complete-record trace distance is at most
This also bounds final record total variation.
Proof. Apply the bounded-generator variation-of-constants interface in Psy03-A
prop:dynamicand Psy02-Bprop:dynamic, on the enlarged common spaces CheungPsy03A,CheungPsy02B. Channel composition contracts the diamond norm Watrous. A telescoping sum for complete recorded maps gives the second allowance.sectionReference-stable error accountingEnlarged Markov specification and reduced memory › Reference-stable error accounting · lines 2092–2096
Open as its own pageEvery interval and complete instrument is charged. An endpoint budget alone does not determine all histories.
propositionProposition: Normalization cost on rare historiesEnlarged Markov specification and reduced memory › Reference-stable error accounting · Psy03-B@1#prop:normalization · proof attached · lines 2097–2121
Open as its own pageFor positive subnormalized blocks with traces , if
then
Proof. Insert , use , and obtain
Divide by two.
sectionReference-stable error accountingEnlarged Markov specification and reduced memory › Reference-stable error accounting · lines 2121–2125
Open as its own pageAn unconditional complete-process allowance cannot be reused unchanged for normalized rare-history comparisons.
An exact one-edge structural-memory pilot
sectionAn irreversible damage flagAn exact one-edge structural-memory pilot › An irreversible damage flag · lines 2129–2146
Open as its own pageLet be a qubit and indicate whether its one coherent edge has been scarred. Choose a fresh independent damage flag with probability whenever .
For , use
For , use and . These complete operations leave unchanged.
This hazard is an explicit comparison-model choice, not a derivation of the source's threshold controller.
theoremTheorem: Exact structural lawAn exact one-edge structural-memory pilot › An irreversible damage flag · Psy03-B@1#thm:hazard · proof attached · lines 2147–2169
Open as its own pageStarting unscarred, after updates,
The first scar time satisfies
All current carrier states can remain identical during these damage updates.
Proof. A surviving unscarred label avoids each independent flag with probability . Multiply survival factors and sum them for the expected waiting time. Each carrier Kraus operator is proportional to identity.
sectionAn irreversible damage flagAn exact one-edge structural-memory pilot › An irreversible damage flag · lines 2169–2174
Open as its own pageThe increasing scar probability is imposed. Its effect on a common future experiment is a separate calculation.
sectionCommon future challenge and task performanceAn exact one-edge structural-memory pilot › Common future challenge and task performance · lines 2175–2196
Open as its own pageUse Pauli matrices and generators
where , . Prepare
by a carrier reset. Its node-basis dephased reference is . After time , use node effect .
For , write
theoremTheorem: Coherence-sensitive structural-memory contrastAn exact one-edge structural-memory pilot › Common future challenge and task performance · Psy03-B@1#thm:pilot, Psy03-B@1#eq:C, Psy03-B@1#eq:pilotQ · proof attached · lines 2197–2247
Open as its own pageThe unscarred-sector contrast is
The scarred-sector contrast is zero.
After damage updates, the unconditional coherent-versus- dephased node contrast is . For equal-prior phase-label inputs , with node labels assigned to , success is
At and ,
Proof. In sector zero, the Bloch coordinates obey
Thus
and
The node contrast is . Sector one retains equal node populations, and is fixed in both sectors. Average over the structural law. The opposite phase input gives opposite , proving the success formula.
sectionCommon future challenge and task performanceAn exact one-edge structural-memory pilot › Common future challenge and task performance · lines 2247–2266
Open as its own pageThe local conversion formula is the two-level interface recorded in Psy03-A
thm:nodepilotCheungPsy03A. The new feature is its attachment to an explicit irreversible register.For , the averaged task becomes progressively worse in in this comparison. That conclusion uses the specified harmful edge removal and common readout; it does not follow from scar count alone.
In the noiseless scarred sector, carrier coherence can survive even though the chosen node readout loses its phase-label signal. Changing to a phase-basis readout changes the performance verdict. This is observation-specific vulnerability, not automatic coherence destruction.
sectionA carrier-only causal-break witnessAn exact one-edge structural-memory pilot › A carrier-only causal-break witness · lines 2267–2285
Open as its own pageLet , so . Freeze the scar register between two identical sensing intervals. Assume .
Prepare , sense for time , and measure . Immediately re-prepare the same , regardless of the outcome, and perform the same future sensing and node measurement.
The intervening complete causal-break instrument is
It acts only on . No scar-label measurement or external damage flag is used.
theoremTheorem: Exact reduced operational memoryAn exact one-edge structural-memory pilot › A carrier-only causal-break witness · Psy03-B@1#thm:operationalmemory, Psy03-B@1#eq:memorygap · proof attached · lines 2286–2329
Open as its own pageIn the two-probe experiment, first-outcome probabilities are
The posterior unscarred probabilities are
After the identical carrier re-preparation, the difference in future probabilities is
Consequently, the reduced carrier process is operationally non-Markovian under this carrier-only experiment.
For the noiseless quarter-rotation pilot,
Proof. Sector-zero and sector-one first-outcome probabilities for are and , respectively. Bayes' rule gives . The reset makes the carrier input identical in both histories while leaving these conditional scar distributions unchanged. The future probability is . Subtract and simplify.
Both first outcomes have positive probability because and . The denominator is positive. The nonzero conditional future difference satisfies Proposition prop:memory and the causal-break criterion PollockMarkov.
sectionA carrier-only causal-break witnessAn exact one-edge structural-memory pilot › A carrier-only causal-break witness · lines 2329–2337
Open as its own pageThe enlarged state has a specified Markov update, while the observed carrier retains memory through a classical register. This is not a quantum-memory-resource theorem. The declining unconditional task signal in (eq:pilotQ), by itself, would not have established this operational memory result.
sectionRestricted repair and robust observationsAn exact one-edge structural-memory pilot › Restricted repair and robust observations · Psy03-B@1#eq:robust · lines 2338–2391
Open as its own pageSuppose a scarred sector permits only node dephasing, no restored edge, no additional coherent control, and the same node readout. Its phase-label success remains . For the noiseless averaged pilot and , failure occurs when
This is persistent vulnerability under the declared repair restriction. It is not a theorem about unrestricted quantum recovery.
For an independent preparation-success factor , observation factor , and symmetric assignment error , retain failures and erasures with score . The coherent-versus-dephased score contrast after updates is
Uniform complete-law errors give a retained lower contrast
A positive remainder certifies the oriented comparison.
For the conditional memory test, if ideal and actual first-history probabilities are at least and a complete recorded state allowance is , Proposition prop:normalization bounds each normalized branch error by . A conservative retained memory contrast is therefore
Apparatus discrepancies must be included in .
A bounded complete-record statistic with actual null mean at most , alternative mean at least , and gap has midpoint-test errors at most
after independent attempted runs Hoeffding,CheungPsy02B. This sampling statement requires a common oriented statistic and calibrated alternatives. It is not inferred solely from a nonzero conditional contrast.
Identifiability and non-transfer
sectionIdentifiability and non-transferIdentifiability and non-transfer · Psy03-B@1#eq:testing · lines 2393–2447
Open as its own pageThe complete-process records in Psy02-B and Psy03-A distinguish equality of interval maps from equality of entire admitted experiments CheungPsy02B,CheungPsy03A. Matching complete conditional maps and instruments gives matching history laws by induction. Matching one endpoint accuracy is substantially weaker.
For complete attempted-run laws , every randomized test satisfies
To verify (eq:testing), write
Equal complete laws imply .
Thus nuisance families reproducing the same complete process prevent mechanism identification regardless of sample size. The shared-generator overlap records in Psy02-B illustrate one such obstruction CheungPsy02B. Neither a scar count nor a single accuracy determines the mechanism.
Three quantum conclusions remain distinct:
a persistent classical register can alter a future carrier record after a carrier causal break;
a specified coherence changes a specified readout;
a positive robust contrast separates specified record families.
They do not establish quantum computational advantage or separation from every classical alternative. An alternative allowed to retain the input label in an additional classical register can reproduce some task records.
No correspondence identifies real-valued network weights with quantum graph edges or with biological lesions. Clinical variables do not occur in the mathematical premises. Adding an unconstrained clinical interpretation therefore does not change any computational prediction, as in the relative interpretive boundary of Psy02-A CheungPsy02A.
No scalar Fock limit, Wick-square contact class, gravitational energy functional, characteristic quantum product, or Ward identity is used. The inherited I3/J2 and downstream admission obligations documented in Psy02-B are not advanced by this finite construction CheungPsy02B.
Discussion and mathematical release
sectionDiscussion and mathematical releaseDiscussion and mathematical release · lines 2449–2472
Open as its own pagePermanent scars prove a monotone constraint on a finite coordinate universe. They do not prove that every deletion is harmful, that current accuracy must decline, or that a clinical event causes an irreversible biological lesion.
The longitudinal inference becomes valid only after specifying the controller, the challenge law, the data roles, the repair restriction, and the counterfactual comparison. The source's reused test sample is part of its controller. Its duration arms are not one survival trajectory, and its post-maintenance gain reset removes protection-dependent gain capping before final evaluation.
The quantum extension makes structural memory explicit. Its complete enlarged update is physical. The reduced carrier can retain history dependence even after its current state has been reset. The two-probe calculation establishes that statement using carrier-only records. The retained memory can nevertheless be entirely classical.
theoremTheorem: Psy03-B mathematical releaseDiscussion and mathematical release · Psy03-B@1#thm:release · proof attached · lines 2473–2514
Open as its own pageFor the objects and hypotheses stated in this paper:
the supplied source has the stated gain-reset, protection, severity, and tie-dependent count identities;
admissible scar operations preserve the irreversible-mask invariant and repair-capacity bounds;
exact finite-count depletion and finite structural stabilization hold;
nested feasible classes order optimal achievable risk, but scar count does not order arbitrary checkpoints;
biased-noise paths and full-state residuals give the stated margin-conditioned performance allowances;
fresh conditional challenge blocks support threshold, severity, paired-effect, and grid-boundary certificates; fresh noise on reused inputs supports only the stated finite-design certificate;
the declared affine-Gaussian comparison has the stated conditional sensitization and persistent-failure criteria;
the finite scar-register feedback map is CPTP and has an exact diagonal classical realization;
the one-edge pilot has the exact structural law, coherence-sensitive task response, and carrier-only operational memory witness.
Permanent structural memory is proved under the imposed rules. Progressive vulnerability requires additional certificates.
No executed longitudinal ranking, clinical mania probability, biological kindling mechanism, treatment recommendation, quantum computational advantage, or inherited analytic admission is established.
Proof. The preceding results establish each positive statement. The counterexamples exclude unconditional checkpoint ordering. The statistical assertions retain their conditional freshness, orientation, and complete-record hypotheses. The absent physical correspondences are not mathematical premises.
Declarations
sectionDeclarationsDeclarations · lines 2516–2550
Open as its own pageand competing interests. No specific funding or competing interests are declared.
. No new human or animal experimentation is reported.
and code availability. The exact supplied source
068e_kindling_v2.pydefines the static audit. No new empirical dataset is used. The appended independently extractable CPU core implements declared repairs, not a reproduced output table or full replacement of every source sweep.provenance. The paper contains analytic proofs, a static source audit, and unexecuted repair listings. No executed {} build, simulation, regression pass, laboratory implementation, or machine proof certificate is asserted. Public references identify primary articles and official documentation; supplied manuscripts remain separately identified source records.
boundary. The paper does not recommend selecting, combining, discontinuing, or timing treatments. Classification error is not identified with mania, scar count with biological damage, or low-challenge failure with spontaneous clinical relapse.
Independent CPU repair core
sectionIndependent CPU repair coreIndependent CPU repair core · lines 2552–2574
Open as its own pageThis independently extractable listing implements:
the source-aligned protected forward equation;
exact-count ordinary deletion and permanent scarring;
repair restricted to inactive unscarred positions;
separately seeded initial-scar placement;
complete phase snapshots;
explicit evaluation and training streams;
pre-update and post-update records.
The listing changes tie selection and can use a changed, clipped-diagnostic certified controller. It does not claim numerical identity with the original experiment. Its mask operations are explicitly layerwise.
Stable sorting implements flattened-index tie breaking PyTorchArgsort. Environment-specific reproducibility must still be recorded PyTorchRandom.
listingListing: ListingIndependent CPU repair core · lines 2575–3030
Open as its own pageimport copy import math from fractions import Fraction import torch from torch import nn def finite(value, name): value = float(value) if not math.isfinite(value): raise ValueError(f"{name} must be finite") return value def fraction01(value): value = finite(value, "fraction") if not 0.0 <= value <= 1.0: raise ValueError("fraction outside [0, 1]") return Fraction(str(value)) def floor_count(value, n): q = fraction01(value) * int(n) return q.numerator // q.denominator def rng(seed): return torch.Generator(device="cpu").manual_seed(int(seed)) class LongitudinalNetwork(nn.Module): def __init__(self, widths=(512, 512, 256), seed=0): super().__init__() if len(widths) != 3 or any(int(w) <= 0 for w in widths): raise ValueError("three positive widths required") self.widths = tuple(int(w) for w in widths) with torch.random.fork_rng(devices=[]): torch.manual_seed(int(seed)) self.fc1 = nn.Linear(2, self.widths[0]) self.fc2 = nn.Linear(self.widths[0], self.widths[1]) self.fc3 = nn.Linear(self.widths[1], self.widths[2]) self.fc4 = nn.Linear(self.widths[2], 4) self.a, self.g, self.p = 1.0, 1.0, 0.0 self.decay_rate = 0.0 self.activation = "relu" def effective_gain(self): a, g, p = (finite(self.a, "a"), finite(self.g, "g"), finite(self.p, "p")) if not 0 <= a <= 1 or g < 0 or not 0 <= p <= 1: raise ValueError("invalid modulation") return g - p * max(g - 1.05, 0.0) def reset_transient_controls(self, remove_protection=False): self.a, self.g, self.activation = 1.0, 1.0, "relu" if remove_protection: self.p, self.decay_rate = 0.0, 0.0 def decay_protection(self): d = finite(self.decay_rate, "decay_rate") if d < 0: raise ValueError("negative protection decrement") self.p = max(0.0, self.p - d) def forward(self, x, beta=0.0, sigma=0.0, noise_generator=None, return_hidden=False): beta, sigma = finite(beta, "beta"), finite(sigma, "sigma") if sigma < 0: raise ValueError("negative stress") if self.activation not in ("relu", "tanh"): raise ValueError("unsupported activation") phi = torch.relu if self.activation == "relu" else torch.tanh q = self.a * self.effective_gain() h, hidden = x, [] for layer in (self.fc1, self.fc2, self.fc3): h = phi(layer(h)) if sigma > 0: if noise_generator is None: raise ValueError("explicit noise stream required") h = h + sigma * torch.randn( h.shape, dtype=h.dtype, generator=noise_generator ) h = q * (h + beta * (1.0 - 0.3 * self.p)) h = h - 0.15 * self.p hidden.append(h) z = self.fc4(h) return (z, hidden) if return_hidden else z class ScarLedger: def __init__(self, model, masks=None, scars=None): self.model = model weights = { n: p for n, p in model.named_parameters() if n.endswith("weight") } for supplied in (masks, scars): if supplied is not None and set(supplied) != set(weights): raise ValueError("incomplete structural state") self.masks, self.scars = {}, {} for name, p in weights.items(): m = torch.ones_like(p, dtype=torch.bool) if masks is None \ else self._binary(masks[name], p.shape) s = torch.zeros_like(p, dtype=torch.bool) if scars is None \ else self._binary(scars[name], p.shape) if bool((m & s).any()): raise ValueError("active coordinate intersects scar") self.masks[name], self.scars[name] = m, s self.apply() @staticmethod def _binary(value, shape): if value.shape != shape: raise ValueError("structural shape mismatch") if not bool(((value == 0) | (value == 1)).all()): raise ValueError("nonbinary structural state") return value.bool().clone().contiguous() def validate(self): for name, mask in self.masks.items(): p = self.model.get_parameter(name) if mask.shape != p.shape or self.scars[name].shape != p.shape: raise ValueError("structural shape mismatch") if bool((mask & self.scars[name]).any()): raise ValueError("structural invariant violated") if not bool(torch.isfinite(p).all()): raise ValueError("non-finite weights") @torch.no_grad() def apply(self): self.validate() for name, mask in self.masks.items(): p = self.model.get_parameter(name) p.mul_(mask.to(p.dtype)) def counts(self): total = sum(m.numel() for m in self.masks.values()) active = sum(int(m.sum()) for m in self.masks.values()) scarred = sum(int(s.sum()) for s in self.scars.values()) return { "active": active, "scarred": scarred, "total": total, "active_density": active / total, "scar_density": scarred / total, "repair_eligible": total - active - scarred, } @torch.no_grad() def delete_fraction(self, fraction, permanent=False, minimum_one=False): fraction01(fraction) self.validate() plans = {} for name, mask in self.masks.items(): eligible = torch.nonzero( (mask & ~self.scars[name]).reshape(-1) ).flatten() n = len(eligible) k = floor_count(fraction, n) if minimum_one and n: k = min(n, max(1, k)) values = self.model.get_parameter(name).detach() \ .reshape(-1)[eligible].abs() order = torch.argsort(values, stable=True) plans[name] = eligible[order[:k]] for name, selected in plans.items(): if permanent: self.scars[name].view(-1)[selected] = True self.masks[name].view(-1)[selected] = False self.apply() return {n: len(v) for n, v in plans.items()} @torch.no_grad() def initial_scars(self, requested_fraction, placement_seed): # Counts use the original layer size, like the source. # All unscarred positions are eligible, including inactive ones. fraction01(requested_fraction) self.validate() noise, plans = rng(placement_seed), {} for name, mask in self.masks.items(): eligible = torch.nonzero( (~self.scars[name]).reshape(-1) ).flatten() k = floor_count(requested_fraction, mask.numel()) if k > len(eligible): raise ValueError("requested scars exceed eligibility") order = torch.randperm(len(eligible), generator=noise) plans[name] = eligible[order[:k]] for name, selected in plans.items(): self.scars[name].view(-1)[selected] = True self.masks[name].view(-1)[selected] = False self.apply() return {n: len(v) for n, v in plans.items()} @torch.no_grad() def regrow(self, fraction, scores, init_scale, seed): fraction01(fraction) init_scale = finite(init_scale, "init_scale") if init_scale < 0: raise ValueError("negative initialization scale") self.validate() plans = {} for name, mask in self.masks.items(): eligible = torch.nonzero( (~mask & ~self.scars[name]).reshape(-1) ).flatten() k = floor_count(fraction, len(eligible)) if k == 0: plans[name] = eligible[:0] continue score = scores[name] if score.shape != mask.shape or not bool( torch.isfinite(score).all() ): raise ValueError("invalid repair scores") order = torch.argsort( score.reshape(-1)[eligible], descending=True, stable=True ) plans[name] = eligible[order[:k]] if not any(len(v) for v in plans.values()): return {n: 0 for n in plans} noise = rng(seed) for name, selected in plans.items(): p = self.model.get_parameter(name) self.masks[name].view(-1)[selected] = True p.view(-1)[selected] = init_scale * torch.randn( (len(selected),), dtype=p.dtype, generator=noise ) self.apply() return {n: len(v) for n, v in plans.items()} def snapshot(model, ledger, phase, streams=None): return { "phase": str(phase), "state_dict": { k: v.detach().clone() for k, v in model.state_dict().items() }, "masks": {k: v.clone() for k, v in ledger.masks.items()}, "scars": {k: v.clone() for k, v in ledger.scars.items()}, "controls": { "a": model.a, "g": model.g, "p": model.p, "decay_rate": model.decay_rate, "activation": model.activation, }, "widths": model.widths, "training": model.training, "streams": { k: v.get_state().clone() for k, v in (streams or {}).items() }, "optimizer_policy": "fresh_optimizer_at_next_fit", } def restore(saved): model = LongitudinalNetwork(saved["widths"], seed=0) model.load_state_dict(saved["state_dict"]) for name, value in saved["controls"].items(): setattr(model, name, value) model.train(saved["training"]) ledger = ScarLedger(model, saved["masks"], saved["scars"]) streams = {} for name, state in saved["streams"].items(): streams[name] = rng(0) streams[name].set_state(state.clone()) return model, ledger, streams def fit(model, ledger, x, y, epochs, lr, order_seed, noise_seed, sigma_start=0.0, sigma_end=0.0, batch_size=128): if not isinstance(epochs, int) or epochs < 0: raise ValueError("invalid epoch count") lr = finite(lr, "learning rate") s0, s1 = finite(sigma_start, "sigma_start"), \ finite(sigma_end, "sigma_end") if lr <= 0 or min(s0, s1) < 0: raise ValueError("invalid training controls") if len(x) == 0 or len(x) != len(y) or batch_size <= 0: raise ValueError("invalid training data") if epochs == 1 and s0 != s1: raise ValueError("one epoch cannot realize two endpoints") order, noise = rng(order_seed), rng(noise_seed) optimizer = torch.optim.Adam(model.parameters(), lr=lr) was_training, steps, examples = model.training, 0, 0 try: for epoch in range(epochs): u = epoch / (epochs - 1) if epochs > 1 else 0.0 sigma = s0 + u * (s1 - s0) permutation = torch.randperm(len(x), generator=order) model.train() for start in range(0, len(x), batch_size): idx = permutation[start:start + batch_size] optimizer.zero_grad(set_to_none=True) loss = nn.functional.cross_entropy( model(x[idx], sigma=sigma, noise_generator=noise), y[idx] ) loss.backward() optimizer.step() ledger.apply() steps += 1 examples += len(idx) finally: model.zero_grad(set_to_none=True) model.train(was_training) return { "optimizer_steps": steps, "examples_processed": examples, "optimizer_reset": True, "order_state": order.get_state().clone(), "noise_state": noise.get_state().clone(), "optimizer_state": copy.deepcopy(optimizer.state_dict()), } def ambient_scores(model, ledger, x, y, order_seed, num_batches=30, batch_size=128): if len(x) == 0 or len(x) != len(y): raise ValueError("invalid scoring data") if num_batches <= 0 or batch_size <= 0: raise ValueError("positive scoring controls required") scores = { n: torch.zeros_like(model.get_parameter(n)) for n in ledger.masks } incoming_gain, was_training = model.g, model.training permutation = torch.randperm(len(x), generator=rng(order_seed)) used = 0 try: ledger.apply() model.g = 1.0 model.train() for start in range(0, len(x), batch_size): if used >= num_batches: break idx = permutation[start:start + batch_size] model.zero_grad(set_to_none=True) loss = nn.functional.cross_entropy( model(x[idx], beta=0.0, sigma=0.0), y[idx] ) loss.backward() for name in scores: grad = model.get_parameter(name).grad if grad is None: raise ValueError("missing ambient derivative") eligible = ~ledger.masks[name] & ~ledger.scars[name] scores[name].add_(grad.detach().abs() * eligible) used += 1 finally: model.zero_grad(set_to_none=True) model.g = incoming_gain model.train(was_training) return {n: v / used for n, v in scores.items()} @torch.no_grad() def assess(model, x, y, beta, sigma, noise_seed, activation_clip, batch_size=1000): if len(x) == 0 or len(x) != len(y) or batch_size <= 0: raise ValueError("invalid assessment block") cap = finite(activation_clip, "activation_clip") if cap <= 0: raise ValueError("positive diagnostic cap required") noise, was_training = rng(noise_seed), model.training correct, diagnostic = [], [] try: model.eval() for start in range(0, len(x), batch_size): xb = x[start:start + batch_size] yb = y[start:start + batch_size] z = model(xb, beta, sigma, noise) _, clean_hidden = model( xb, beta=0.0, sigma=0.0, return_hidden=True ) h = sum( v.abs().mean(dim=1) for v in clean_hidden ) / len(clean_hidden) correct.append((z.argmax(dim=1) == yb).double()) diagnostic.append(h.clamp(max=cap).double()) finally: model.train(was_training) c, h = torch.cat(correct), torch.cat(diagnostic) return { "q_hat": float(c.mean()), "h_hat_clipped": float(h.mean()), "correctness": c, "n": len(x), "beta": float(beta), "sigma": float(sigma), "noise_seed": int(noise_seed), "activation_clip": cap, "diagnostic": "protected_clean_equal_layer_mean", } def radius(n, delta, interval_length=1.0): delta = finite(delta, "delta") if n < 1 or not 0 < delta < 1: raise ValueError("invalid confidence controls") return interval_length * math.sqrt( math.log(2.0 / delta) / (2.0 * n) ) def controller_cycle(model, ledger, x_fresh, y_fresh, beta, sigma, noise_seed, q_star, delta_q, delta_h, activation_clip, base_fraction=0.05, minimum_one=False): q_star = finite(q_star, "q_star") if not 0 < q_star < 1: raise ValueError("invalid threshold") fraction01(base_fraction) # Validate confidence allocations before mutating any structural state. rq = radius(len(x_fresh), delta_q) rh = radius(len(x_fresh), delta_h, activation_clip) ledger.apply() pre = snapshot(model, ledger, "controller_pre_update") record = assess( model, x_fresh, y_fresh, beta, sigma, noise_seed, activation_clip ) lo = max(0.0, record["q_hat"] - rq) hi = min(1.0, record["q_hat"] + rq) if hi < q_star: decision = "certified_crossing" elif lo >= q_star: decision = "certified_noncrossing" else: decision = "unresolved" severity = min(2.0, max( 0.5, model.effective_gain() + 2.0 * (record["h_hat_clipped"] - 0.1) )) fraction = min(0.20, max(0.02, base_fraction * severity)) removed = {n: 0 for n in ledger.masks} if decision == "certified_crossing": removed = ledger.delete_fraction( fraction, permanent=True, minimum_one=minimum_one ) return { "pre_update": pre, "pre_update_observation": record, "q_interval": (lo, hi), "activation_radius": rh, "decision": decision, "unresolved_policy": "no_deletion", "severity_rule": "source_form_with_clipped_mean", "requested_fraction": fraction, "minimum_one_rule": bool(minimum_one), "removed_by_layer": removed, "post_update": snapshot(model, ledger, "controller_post_update"), } def paired_assessment(model0, model1, x_fresh, y_fresh, beta, sigma, noise_seed, delta, activation_clip=10.0): r = radius(len(x_fresh), delta, interval_length=2.0) a = assess(model0, x_fresh, y_fresh, beta, sigma, noise_seed, activation_clip) b = assess(model1, x_fresh, y_fresh, beta, sigma, noise_seed, activation_clip) difference = a["correctness"] - b["correctness"] estimate = float(difference.mean()) return { "contrast": estimate, "radius": r, "lower": max(-1.0, estimate - r), "upper": min(1.0, estimate + r), "challenge": (beta, sigma), }sectionIndependent CPU repair coreIndependent CPU repair core · lines 3030–3053
Open as its own pageThe same seed couples raw Gaussian draws only when architectures, batching, and draw ordering agree. No favorable variance reduction follows automatically.
The scoring rule intentionally remains unsigned random regrowth. It does not inherit Psy03-A's signed sparse-gradient descent theorem. At zero regrowth, the caller should skip scoring as well as initialization if a complete identity operation is intended.
The phase snapshot is for a fresh optimizer at the next training call. Resuming a live optimizer requires an additional saved optimizer state and correct parameter correspondence. Data snapshots and controller configuration also remain explicit external provenance.
Most importantly, the names
x_freshandy_freshdo not enforce freshness. The experiment must actually sample independent controller blocks. A distinct final assessment dataset must not be used to select or update later checkpoints unless that feedback is separately modeled.
Unexecuted endpoint and replay tests
listingListing: ListingUnexecuted endpoint and replay tests · lines 3057–3128
Open as its own pagedef proposed_tests(): # Specifications only: no executed pass is asserted. model = LongitudinalNetwork(widths=(2, 2, 2), seed=7) ledger = ScarLedger(model) before = snapshot(model, ledger, "initial") # Exact floor zero deletion is an identity. removed = ledger.delete_fraction(0.0, permanent=True) assert all(k == 0 for k in removed.values()) for name in ledger.masks: assert torch.equal(ledger.masks[name], before["masks"][name]) assert torch.equal(ledger.scars[name], before["scars"][name]) # Permanence and complete phase restoration. ledger.delete_fraction(0.5, permanent=True) model.a, model.g, model.p = 0.7, 0.85, 0.6 model.activation, model.decay_rate = "tanh", 0.008 saved = snapshot(model, ledger, "post_scar") clone, cloned_ledger, _ = restore(saved) assert clone.a == model.a and clone.p == model.p assert clone.activation == model.activation for name in ledger.scars: assert torch.equal(cloned_ledger.scars[name], ledger.scars[name]) # Ordinary deletion leaves eligible coordinates for repair. ledger.delete_fraction(0.5, permanent=False) old_scars = {n: s.clone() for n, s in ledger.scars.items()} scores = { n: torch.ones_like(model.get_parameter(n)) for n in ledger.masks } ledger.regrow(1.0, scores, 0.03, seed=0) for name in ledger.masks: assert not bool((ledger.masks[name] & ledger.scars[name]).any()) assert torch.equal(ledger.scars[name], old_scars[name]) # Reset reproduces the source's gain identity and preserves protection. model.reset_transient_controls() assert model.a == 1.0 and model.g == 1.0 assert model.activation == "relu" and model.p == 0.6 assert model.effective_gain() == 1.0 # Protection decrements: compare with numerical tolerance. for d, expected in ((0.002, 0.9), (0.015, 0.25), (0.008, 0.6)): model.p, model.decay_rate = 1.0, d for _ in range(50): model.decay_protection() assert math.isclose(model.p, expected, abs_tol=1e-12) # Minimum-one is a different operation at fraction zero. other = LongitudinalNetwork(widths=(2, 2, 2), seed=7) other_ledger = ScarLedger(other) counts = other_ledger.delete_fraction( 0.0, permanent=True, minimum_one=True ) assert all(k == 1 for k in counts.values()) # Random scarring accepts equality of request and availability. full = LongitudinalNetwork(widths=(2, 2, 2), seed=7) full_ledger = ScarLedger(full) full_ledger.initial_scars(1.0, placement_seed=0) assert full_ledger.counts()["active"] == 0 assert full_ledger.counts()["scar_density"] == 1.0 # A no-eligible repair is an identity. scores = { n: torch.zeros_like(full.get_parameter(n)) for n in full_ledger.masks } result = full_ledger.regrow(1.0, scores, 0.03, seed=0) assert all(k == 0 for k in result.values())sectionUnexecuted endpoint and replay testsUnexecuted endpoint and replay tests · lines 3128–3133
Open as its own pageThese tests specify structural endpoints and state restoration. They do not establish numerical generalization, controller calibration, cross-platform reproducibility, or biological validity.
Claim-to-certificate ledger
sectionClaim-to-certificate ledgerClaim-to-certificate ledger · lines 3135–3202
Open as its own pageof the longitudinal claims. Claim Status Exact certificate or boundary Claim Status Exact certificate or boundary Permanent scars constrain future repair capacity Proved Mask invariant and exclusion of scarred coordinates. Every additional scar worsens a checkpoint False universally Beneficial, harmful, and irrelevant deletion counterexamples. Added zero constraints cannot improve optimal achievable risk Proved Common nested feasible classes and common loss. Nominal source fraction is its exact deletion fraction False with cutoff ties Order-statistic count and exact-count repair. Post-reset protection caps assigned gain Inactive in this routine Reset sets both gain and multiplicative scale to one. Duration-grid threshold fraction is a survival probability Not established Separate arms versus one stopping-time law. Source controller inputs remain an independent test sample Not generally They determine future masks and severity. Fresh noise on reused inputs certifies population accuracy Not established Only the finite-design conditional target is controlled. Threshold update is certified Conditional Fresh blocks, allocated errors, fixed threshold, unresolved rule. Scar-driven sensitization is established Conditional Paired admitted interventions under one common challenge. Critical challenge decreases Conditional Grid separation or response regularity and error bands. Finite scar-register feedback is physical Proved Complete Kraus construction and monotone label update. Reduced carrier retains operational memory Proved in the pilot Carrier-only measurement, common causal break, distinct futures. Scar register is a quantum-memory resource Not established It is explicitly a classical persistent register. Coherence changes a specified task record Proved finite pilot Matched phase and dephased preparations with node readout. Clinical mania risk or biological kindling Not established No validated observation or carrier correspondence. Quantum advantage or inherited analytic admission Outside the proved scope No scalable resource comparison or I3/J2 construction.
Submission and debugging checklist
sectionSubmission and debugging checklistSubmission and debugging checklist · lines 3204–3270
Open as its own pageExact source identity. Retain the supplied version, immutable checkpoints, and configuration. Do not substitute an unexamined repository revision.
Complete state. Store masks, scars, modulation, protection, decay rate, phase, optimizer convention, and named streams.
Endpoint conventions. Floor deletion and minimum-one deletion are different rules. Zero base severity is also affected by the source's lower clamp.
Tie conventions. Stable exact-count ranking is not identical to threshold deletion when values tie.
Initial versus episode scars. Initial placement may exclude inactive repair capacity. Episode scars select currently active coordinates.
Gain reset. The source reset sets and restores ReLU. It does not remove protection.
Stage labels. Record pre-challenge, post-decision, and post-scar quantities separately.
Controller and assessment data. A readout driving future updates is controller data. Use fresh blocks or name the finite-design target.
Diagnostic target. Clean activation, perturbed activation, raw mean, and clipped mean are different quantities.
Threshold consistency. A threshold of is not the earlier event. A smaller positive bias is not an untriggered condition.
Counterfactual permanence. Permanent versus regrowable branches start with the same immediate deletion; later eligibility is the differing intervention.
Optimization boundary. Risk infima do not imply Adam convergence or checkpoint ordering.
Conditional-history errors. Normalize rare branches only with a recorded probability lower bound and its error allowance.
Operational Markov witness. Use histories accessible through the claimed observation class. External damage flags alone do not prove a carrier-only witness.
Quantum-resource boundary. Classical memory, coherence sensitivity, and computational advantage are distinct claims.
Evidence types. Analytic derivation, compilation, executed regression, numerical reproduction, and clinical validation remain separate.
bibliographyReferencesSubmission and debugging checklist · lines 3271–3462
Open as its own pageCheungPruning
N. Cheung, Phased pruning in neural networks recapitulates selectivity–fragility trade-offs in brain development. Scientific Reports (2026). Published online 13 July 2026.
https://doi.org/10.1038/s41598-026-62244-5. Computational motivation; not a longitudinal biological correspondence theorem.CheungModes
N. Cheung, Divergent mechanisms of antidepressant efficacy: a unified computational comparison of synaptogenesis, stabilization, and tonic inhibition in a model of depression. Cureus 18, no. 3 (2026), e105040. Published 11 March 2026.
https://doi.org/10.7759/cureus.105040. No clinical ranking is imported as a mathematical premise.CheungCliff
N. Cheung, The synaptic pruning cliff: threshold-like network fragility under internal stress and efficient recovery in a computational model of depression. Preprints.org, version 1, posted 13 January 2026. Not peer reviewed.
https://doi.org/10.20944/preprints202601.0805.v1.CheungLLMKindling
N. Cheung, Kindling in neural systems: progressive adversarial sensitization during LLM alignment mirrors psychiatric progression. Scientific Reports (2026). Published online 14 August 2026.
https://doi.org/10.1038/s41598-026-66139-3. A separate computational adaptation study; its tasks and protocol are not identified with the present mask process or clinical kindling.Cheung068E
N. Cheung, 068e_kindling_v2.py. Complete version-2 source supplied for this analysis, undated. The header identifies the exported notebook
068E_Kindling_v2.ipynb. The supplied snapshot defines the static audit. No executed reproduction or artifact checksum is asserted.CheungPsy01A
N. Cheung, Psy01-A: Phased magnitude pruning in task-gated ReLU networks: cue certificates, stability, and conditional selectivity–fragility trade-offs. Undated manuscript,
Psy01-A.tex, supplied in full. Relevant records includethm:nesting,prop:harddiscontinuity,thm:parameterstability,thm:accuracystability, andprop:equaldensity. Different architectures and task laws are not automatically identified.CheungPsy02A
N. Cheung, Psy02-A: Conditional scalar-carrier bounds and operational separation: a mathematical framework for evaluating Orch-OR hypotheses. Undated manuscript,
Psy02-A.tex, supplied in full. Relevant records concern coherence, instruments, complete observational laws, and relative interpretive non-entailment. Its scalar and reduction carriers are not imported here.CheungPsy02B
N. Cheung, 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,
Psy02-B-v2.tex, version 2, supplied in full. Relevant records:thm:process,thm:overlap,prop:dynamic, andthm:sampling. Its inherited characteristic-coefficient obligations remain outside this paper.CheungPsy03A
N. Cheung, Psy03-A: Structural repair, noise adaptation, and dynamical modulation in pruned networks: intervention budgets, classical certificates, and a separately defined quantum extension. Undated manuscript,
Psy03-A.tex, supplied in full. Relevant records:def:budget,lem:path,prop:counts,thm:ranking,thm:evaluation,prop:rng,thm:classicalboundary,prop:dynamic,thm:nodepilot, andprop:nontransfer. The present paper adds persistent structural state and feedback-aware certification.Whitfield
J. D. Whitfield, C. A. Rodríguez-Rosario, and A. Aspuru-Guzik, Quantum stochastic walks: a generalization of classical random walks and quantum walks. Physical Review A 81 (2010), 022323.
https://doi.org/10.1103/PhysRevA.81.022323.https://arxiv.org/abs/0905.2942. The journal author order is used. The arXiv record lists Rodríguez-Rosario first.PollockMarkov
F. A. Pollock, C. Rodríguez-Rosario, T. Frauenheim, M. Paternostro, and K. Modi, Operational Markov condition for quantum processes. Physical Review Letters 120 (2018), 040405.
https://doi.org/10.1103/PhysRevLett.120.040405.https://arxiv.org/abs/1801.09811. Cited for operational history dependence after a causal break. Non-Markovianity does not by itself certify quantum memory.PollockProcess
F. A. Pollock, C. Rodríguez-Rosario, T. Frauenheim, M. Paternostro, and K. Modi, Non-Markovian quantum processes: complete framework and efficient characterization. Physical Review A 97 (2018), 012127.
https://doi.org/10.1103/PhysRevA.97.012127.https://arxiv.org/abs/1512.00589.GKS
V. Gorini, A. Kossakowski, and E. C. G. Sudarshan, Completely positive dynamical semigroups of -level systems. Journal of Mathematical Physics 17 (1976), 821–825.
https://doi.org/10.1063/1.522979.Lindblad
G. Lindblad, On the generators of quantum dynamical semigroups. Communications in Mathematical Physics 48 (1976), 119–130.
https://doi.org/10.1007/BF01608499.Watrous
J. Watrous, The Theory of Quantum Information. Cambridge University Press, 2018. Author's manuscript:
https://cs.uwaterloo.ca/ watrous/TQI/. Cited for finite channels, instruments, trace distance, and diamond-norm interfaces.Hoeffding
W. Hoeffding, Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association 58, no. 301 (1963), 13–30.
https://doi.org/10.1080/01621459.1963.10500830. Conditional applications fix the relevant history and preserve the stated boundedness and independence hypotheses.PyTorchArgsort
PyTorch Contributors, torch.argsort. Official PyTorch documentation.
https://docs.pytorch.org/docs/main/generated/torch.argsort.html. Thestable=Trueoption preserves input order for equal values.PyTorchRandom
PyTorch Contributors, Reproducibility. Official PyTorch documentation.
https://docs.pytorch.org/docs/main/notes/randomness.html. Environment- and version-specific software guidance, not a certificate of statistical independence or biological correspondence.