MindFormal v1.0.0One Mind

MindFormal.Tools.SharedSupportRepresentation.Binary

theorem MindFormal.SharedSupportRepresentation.binary_bounds {u v : ℝ} (hu : 0 ≤ u) (hv : 0 ≤ v) (hs : 0 < u + v) :
theorem MindFormal.SharedSupportRepresentation.binary_loss {L u v : ℝ} (hL : 0 ≤ L) (hu : 0 ≤ u) (hv : 0 ≤ v) (hs : 0 < u + v) :
binaryRatio u v - binaryShare L u v = binaryRatio u v * relativeLoad L u v / (1 + relativeLoad L u v) ∧ |binaryShare L u v - binaryRatio u v| ≤ relativeLoad L u v ∧ (u = 0 → binaryShare L u v = 0 ∧ binaryRatio u v = 0) ∧ (v = 0 → binaryRatio u v = 1)

The exact loss includes zeros: it vanishes at u=0 and is the full relative-load fraction at v=0. Positive total displayed support is retained.

theorem MindFormal.SharedSupportRepresentation.binary_limit {A : Type u_1} {f : Filter A} {L u v : A → ℝ} {p : ℝ} (hs : ∀ (a : A), 0 < u a + v a) (hr : Filter.Tendsto (fun (a : A) => relativeLoad (L a) (u a) (v a)) f (nhds 0)) (hp : Filter.Tendsto (fun (a : A) => binaryRatio (u a) (v a)) f (nhds p)) :
Filter.Tendsto (fun (a : A) => binaryShare (L a) (u a) (v a)) f (nhds p)

The floor is positive at every compared instance. Only its ratio to the displayed support vanishes; u and v may also vary, provided their ratio converges.