BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Lean module · OFUL

BanditRLProof.OFULScalarRegularizationBias

This module discharges the deterministic ridge-bias contract in the compiled finite-horizon confidence ellipsoid when the base matrix is lambda I.

Module map

Declarations
6
Placeholders
0

Imports

BanditRLProof.OFULConfidenceEllipsoid

Imported by

BanditRLProof, BanditRLProof.OFULFiniteActionOptimism, BanditRLProof.OFULUniformTimeConfidence

Declarations

Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.

def BanditRLProof.OFUL.euclideanLength Compiled

The Euclidean length written on the same finite-coordinate surface as `dotProduct`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.euclideanLength

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def euclideanLength [Fintype Feature] (theta : Feature -> Real) : Real
theorem BanditRLProof.OFUL.scalarIdentity_posDef Compiled

A positive scalar multiple of the identity is positive definite.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.scalarIdentity_posDef

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem scalarIdentity_posDef [Fintype Feature] [DecidableEq Feature] (lambda : Real) (hlambda : 0 < lambda) : (Matrix.scalar Feature lambda : Matrix Feature Feature Real).PosDef
theorem BanditRLProof.OFUL.matrixNorm_nonsingInv_scalar_mulVec_le_sqrt_mul_euclideanLength Compiled

For `V = lambda I + G` with `G` positive semidefinite, the `V`-norm of the ridge bias `V⁻¹ (lambda theta)` is at most `sqrt lambda * ‖theta‖₂`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.matrixNorm_nonsingInv_scalar_mulVec_le_sqrt_mul_euclideanLength

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem matrixNorm_nonsingInv_scalar_mulVec_le_sqrt_mul_euclideanLength [Fintype Feature] [DecidableEq Feature] (lambda : Real) (hlambda : 0 < lambda) (G : Matrix Feature Feature Real) (hG : G.PosSemidef) (theta : Feature -> Real) : matrixNorm (Matrix.scalar Feature lambda + G) ((Matrix.scalar Feature lambda + G)⁻¹.mulVec ((Matrix.scalar Feature lambda).mulVec theta)) <= Real.sqrt lambda * euclideanLength theta
def BanditRLProof.OFUL.finiteHorizonScalarConfidenceRadius Compiled

The standard scalar-regularized OFUL radius `noise radius + sqrt lambda * S`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.finiteHorizonScalarConfidenceRadius

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def finiteHorizonScalarConfidenceRadius [Fintype Feature] [DecidableEq Feature] (feature : Nat -> Omega -> Feature -> Real) (R delta lambda S : Real) (n : Nat) (omega : Omega) : Real
theorem BanditRLProof.OFUL.finiteHorizon_scalarRegularizationBias_le Compiled

The scalar regularization bias is uniformly bounded by `sqrt lambda * S` whenever the true parameter has Euclidean length at most `S`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.finiteHorizon_scalarRegularizationBias_le

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem finiteHorizon_scalarRegularizationBias_le [Fintype Feature] [DecidableEq Feature] (lambda : Real) (hlambda : 0 < lambda) (thetaStar : Feature -> Real) (S : Real) (htheta : euclideanLength thetaStar <= S) (feature : Nat -> Omega -> Feature -> Real) (n : Nat) (omega : Omega) : matrixNorm (Matrix.scalar Feature lambda + finiteHorizonFeatureGram feature n omega) ((Matrix.scalar Feature lambda + finiteHorizonFeatureGram feature n omega)⁻¹.mulVec ((Matrix.scalar Feature lambda).mulVec thetaStar)) <= Real.sqrt lambda * S
theorem BanditRLProof.OFUL.measure_finiteHorizonScalarRidgeEstimate_error_matrixNorm_gt_confidenceRadius_le Compiled

Finite-horizon OFUL confidence ellipsoid with scalar ridge regularization. The explicit bias premise of the general theorem is discharged from `euclideanLength thetaStar <= S`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.OFUL.measure_finiteHorizonScalarRidgeEstimate_error_matrixNorm_gt_confidenceRadius_le

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem measure_finiteHorizonScalarRidgeEstimate_error_matrixNorm_gt_confidenceRadius_le [mOmega : MeasurableSpace Omega] [StandardBorelSpace Omega] [Fintype Feature] [DecidableEq Feature] [Nonempty Feature] (mu : Measure Omega) [IsProbabilityMeasure mu] (lambda : Real) (hlambda : 0 < lambda) (thetaStar : Feature -> Real) (S : Real) (htheta : euclideanLength thetaStar <= S) (F : Filtration Nat mOmega) (feature : Nat -> Omega -> Feature -> Real) (response noise : Nat -> Omega -> Real) (R : Real) (hR : 0 < R) (projectionBound : EuclideanSpace Real Feature -> Nat -> Real) (hfeature : forall i j, StronglyMeasurable[F i] (fun omega => feature i omega j)) (hnoise : StronglyAdapted F (fun t omega => match t with | 0 => 0 | i + 1 => noise i omega)) (hprojectionBound_nonneg : forall theta i, 0 <= projectionBound theta i) (hprojectionBound : forall theta i omega, |dotProduct (WithLp.ofLp theta) (feature i omega)| <= projectionBound theta i) (n : Nat) (hsubGaussian : forall i, i < n -> HasCondSubgaussianMGF (F i) (F.le i) (noise i) (constantSquaredVarianceProxy R i) mu) (delta : Real) (hdelta : 0 < delta) (hdelta_one : delta <= 1) (hresponse : forall omega i, i < n -> response i omega = dotProduct thetaStar (feature i omega) + noise i omega) : mu {omega | matrixNorm (Matrix.scalar Feature lambda + finiteHorizonFeatureGram feature n omega) (finiteHorizonRidgeEstimate (Matrix.scalar Feature lambda) feature response n omega - thetaStar) > finiteHorizonScalarConfidenceRadius feature R delta lambda S n omega} <= ENNReal.ofReal delta