Descent at TRAINED weights (post_audit_roadmap §3) #
REDUCED CERTIFICATE MODEL — this file's concrete net is the 4×4-pooled 49-dim
MNIST family (width-8 hidden, /128–/256 rational weights), NOT the canonical
784→512→512→10 mlpVerified; chosen so every margin/norm/SOS check is exact rational
arithmetic in-kernel. Canonical surface: Proofs/MlpCanonical.lean.
binary32_linear_sgd_descends_concrete (the suite's only concrete descent
instance) holds at the degenerate W = 0 net — a satisfiability witness.
This file retires that caveat: one binary32 SGD step on a TRAINED,
/128-rationalized bias-free 49→10 pooled-MNIST linear classifier (test acc
0.874) provably decreases the real cross-entropy loss, at MNIST test
image #8 with learning rate 1/8192. The rounding model is the CONSTRUCTED
rndP 23 grid (binary32), so the whole statement is axiom-free.
The trick that closes the descent window with zero exp evaluations: the
witness sample is MISCLASSIFIED (true label 5, predicted 6), so
z_5 ≤ z_6 is an exact rational inequality (hz_lbl_le) and
exp-monotonicity alone gives softmax_5 ≤ 1/2 (sm_lbl_le_half) —
whence the two gradient sums the window needs are bracketed by rationals:
Σ|∇| ≤ 2·Σxᵢ (gradL1_le, softmax sums to 1) and Σ∇² ≥ (Σxᵢ²)/4
(gradSq_lower). The float-forward drift hδ is the proven
dense_close_fresh budget evaluated exactly per class column (norm_num
computes the exact (1+2⁻²⁴)⁵¹); the exp(2δ)−1 term inside cotErr is
bounded by the γ-form exp_sub_one_le. Every hypothesis of
linear_float_sgd_descends is discharged — nothing assumed.
Being misclassified also makes the guaranteed drop STRICTLY positive
(trained_linear_sgd_strictly_descends): the loss drops by ≥ lr·(Σxᵢ²)/8
≈ 6.93e-05. Generated by scripts/trained_linear_descent.py;
weights/input are DATA.
Trained linear weights (input×class, entries k/128), test acc 0.874.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
MNIST test image #8 (digit 5), 4×4-pooled exact pixel sums.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Σᵢ xᵢ exactly (all coordinates nonneg).
The gradient-oracle budget η = mulErr u32 1 1 0 (cotErr u32 0 δ 10),
bounded by ((81 : ℝ)/1000000) — the exp(2δ)−1 term via the γ-form.
Descent at TRAINED weights. One binary32 SGD step (lr = ((1 : ℝ)/8192)) on
the trained linear classifier, at the misclassified witness, decreases
the real cross-entropy by ≥ lr·‖∇L‖²/2 — every hypothesis of
linear_float_sgd_descends discharged, the rounding model constructed
(rndP 23), zero axioms. Retires the W = 0 degeneracy caveat of
binary32_linear_sgd_descends_concrete.
The drop is strictly positive: the witness is misclassified, so
Σ∇² ≥ ((1511461 : ℝ)/332928)/4 > 0 and the loss strictly decreases.