thet-logos

ThermalPreCompensation — the thermal instance of the pre-compensation question

Verdict: STANDS WHOLE (T1). The named surviving remainder of PreCompensation (28 T1, 2026-10-18) is discharged: Jeff’s pre-deformed-gears question for a thermal channel, where each coherence is damped by a factor depending on the spectral gap — thermalization acting through the clock’s flow, not the constant factor of a Schur family with one level. The density theorem carries its kernel positive-semidefiniteness hypothesis on its face, as chartered (a fence, pre-named K1 — not a hidden gap); the corpus-supported cosine instance is unconditional; the reachability criterion and the sharp obstruction are unconditional. Compiled green 2026-10-21 (lake build ThetLogos.ThermalPreCompensation, 3,368 jobs, 0 errors), parent-verified on the exact shipped text: .olean present, strict recount 24, incompleteness census 0 on comment-stripped source, axioms on the six checked headline theorems standard only (propext, Classical.choice, Quot.sound). K3 (narrowing the iff) did not trigger.

Module: lean/ThetLogos/ThermalPreCompensation.lean — 24 strict theorems/lemmas, 6 defs, 0 @[simp] declarations. Program totals move 3,384 → 3,408 strict (3,424 → 3,448 attribute-inclusive), 121 → 122 counted modules.

What is proved

Named remainders (on the module’s header)

Verification record and repairs (in the open)

Drafted and compiled 2026-10-21. Green at 3,368 jobs; header flipped only after the parent re-ran the targeted build on the exact shipped text (3,368/3,368; warnings only). Repairs, none changing a statement: the bridge lemma posSemidef_of_isDensityMatrix stands exactly as drafted (the playbook’s extra-hypothesis fallback was not used — its self-conjugacy chain was repaired in the proof body); rewrite orderings and pin-accurate lemma names (notably Matrix.diagonal_conjTranspose; Complex.exp_conj direction); thermAmplify marked noncomputable (marker only, body identical — the same repair class as NoCloning’s hadamard); open scoped ComplexOrder added — the ℂ-valued PosSemidef statements cannot elaborate in this pin without the scoped order instance Mathlib itself uses for them; no statement text altered and the kernel hypothesis remains precisely as drafted, undischarged and unhidden. Warnings on record (unused variables, deprecated if_neg/if_pos names in the obstruction proof).

Axiom audit (#print axioms): thermPrecompensable_iff_pos, isDensityMatrix_thermDamp, isDensityMatrix_thermDamp_cos, not_thermPrecompensable_pairPlus_widest, thermDamp_preimage_apply_of_lam_eq, thermDamp_expDamp_comp — each exactly [propext, Classical.choice, Quot.sound]. No sorryAx.

Fences

Finite level, finite index type, diagonal generator spectrum lam (general Hermitian via HermitianReduction’s eigenvalue substitution). A Schur multiplier family is not a thermalization dynamics: no Lindblad generator, no detailed balance, no approach to equilibrium is claimed. Fluctuations admit no exact pre-image trick, here as in the gears: the criterion prices exact pre-compensation of the systematic deformation only.