theoremallocatedAmbientFactorCap_one_le (Rσ : Fin m →ℝ) (L : ℕ) (V : Fin m →ℝ≥0) :
1≤ allocatedAmbientFactorCap (G:=G) BR σ LV:= le_add_of_nonneg_right (by positivity)
theoremallocatedLayerMixedInterpolation_bounds (hR : ∀ j, 0 < R j) (hσ : ∀ j, 0 < σ j)
(j : Fin m) (d) :
(∀ x, 0≤ mixedDensityInterpolation (fun i => allocatedLayerCenters BU b S j i d)
(fun i => allocatedLayerWidths BU b S j i d) (fun i => allocatedLayerIntegerInterpolation BU b S j i d) x ∧
mixedDensityInterpolation (fun i => allocatedLayerCenters BU b S j i d)
(fun i => allocatedLayerWidths BU b S j i d) (fun i => allocatedLayerIntegerInterpolation BU b S j i d) x ≤
allocatedLayerMixedCap (G:=G) BR σ S.value j) ∧LipschitzWith (allocatedLayerMixedLip (G:=G) BR σ S.value j)
(mixedDensityInterpolation (fun i => allocatedLayerCenters BU b S j i d)
(fun i => allocatedLayerWidths BU b S j i d) (fun i => allocatedLayerIntegerInterpolation BU b S j i d)) :=by
proof · 10
lines
have h := mixedDensityInterpolation_bounds
(fun i => allocatedLayerCenters BU b S j i d) (fun i => allocatedLayerWidths BU b S j i d)
(fun i => allocatedLayerIntegerInterpolation BU b S j i d)
(allocatedLayerWidthFloor_pos (G:=G) B hR hσ S.positive j)
(fun i => allocatedLayerWidths_floor BU b S hR hσ j i d)
(allocatedLayerCommonCap_one_le (G:=G) BR σ S.value j)
(fun i => (allocatedLayerInterpolation_common_bounds BU b S hR hσ j i d).2)
(fun i x => (allocatedLayerInterpolation_common_bounds BU b S hR hσ j i d).1 x)
simpa only [allocatedLayerMixedCap, allocatedLayerMixedLip, NNReal.coe_mul, NNReal.coe_pow,
NNReal.coe_inv, Fintype.card_fin] using h
theoremallocatedAmbientFactor_bounds (hR : ∀ j, 0 < R j) (hσ : ∀ j, 0 < σ j)
(s : CoefficientSlot (LayerSamplerVariablesGI n B) m) :
(∀ x, 0≤ coefficientAmbientFactor U b o (allocatedLayerCenters BU b S) (allocatedLayerWidths BU b S)
(allocatedLayerIntegerInterpolation BU b S) s x ∧
coefficientAmbientFactor U b o (allocatedLayerCenters BU b S) (allocatedLayerWidths BU b S)
(allocatedLayerIntegerInterpolation BU b S) s x ≤
allocatedAmbientFactorCap (G:=G) BR σ S.value V) ∧LipschitzWith (allocatedAmbientFactorLip (G:=G) BR σ S.value (fun j =>Fintype.card (J j)) CV)
(coefficientAmbientFactor U b o (allocatedLayerCenters BU b S) (allocatedLayerWidths BU b S)
(allocatedLayerIntegerInterpolation BU b S) s) :=by
obtain ⟨hc, hl⟩ := allocatedLayerCommonInterpolation_exp_bounds BR σ L j
hP hR hσ hRP hσP hcount hn hAP hLP
have hw := allocatedLayerWidthFloor_inv_exp BR σ L hL j hP hR hσ hRP hσP hcount hLP
have h := mixedInterpolation_constants_exp_bounds (I:=I j) (n j)
hP (allocatedWidthLog_nonneg m hP) (allocatedCommonLog_nonneg m hP) hI hn hw hc hl hAP
refine ⟨h.1.trans (Real.exp_le_exp.mpr ?_), h.2⟩
have hw0 := allocatedWidthLog_nonneg m hP
have hc0 := allocatedCommonLog_nonneg m hP
have hp := mul_nonneg hP (add_nonneg hw0 hc0)
unfold allocatedMixedLog
nlinarith