MindFormal v1.0.0One Mind

MindFormal.Tools.A617Judgment.SupportQueryWriterBounds

theorem MindFormal.A617Judgment.SupportLearning.query_relation_bound {I : Type u_1} [Fintype I] [DecidableEq I] {β m X K E : ℝ} (hβ : 0 ≤ β) (hβ1 : β ≤ 1) (hm : 0 ≤ m) (hX : 0 ≤ X) (_hK : 0 ≤ K) (_hE : 0 ≤ E) (u x r : I → ℝ) (w : I → I → ℝ) (hu : ∀ (i : I), |u i| ≤ E) (hx : ∀ (i : I), |x i| ≤ X) (hr : ∀ (i : I), |r i| ≤ X) (hw : ∀ (i j : I), |w i j| ≤ K) (i j : I) :
|relationWriter β m u x r w i j| ≤ m * (X * ((1 - β) * E + β * X) + (↑(Fintype.card I) * (1 - β) * X ^ 2 + β * X) * K)