Conditional entropy witnesses compose on correlated product alphabets
ProvedThreeSumFuture.conditional_witness_tensorizationLet the first input have nonnegative masses , and let be the conditional probability distribution of the second input given the first. The first channel has row , and the second channel has row . All channel rows are normalized. Write for finite natural-log entropy, for input-weighted conditional output entropy, and for input-weighted branching cost.
Suppose the inequalities and hold for the first channel and for the second channel conditional on every first input. Then the two inequalities also hold for the joint input masses , the product channel , and the sum of the two branching costs.
The conditional second channel may depend on the first input, so this statement covers correlated input blocks. It supplies the entropy composition step for extending the 3SUM weighted-cache barrier to product alphabets.
import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog import Mathlib.Analysis.Convex.Jensen import Mathlib.Algebra.BigOperators.Field import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Linarith import Mathlib.Tactic.Ring set_option autoImplicit false open scoped BigOperators open Finset
theorem ThreeSumFuture.conditional_witness_tensorization
{I J A B : Type*} [Fintype I] [Fintype J] [Fintype A] [Fintype B]
(γ : ℝ) (p : I → ℝ) (q : I → J → ℝ) (K : I → A → ℝ)
(L : I → J → B → ℝ) (g : I → ℝ) (h : J → ℝ)
(hp : ∀ i, 0 ≤ p i)
(hq : ∀ i j, 0 ≤ q i j) (hqtotal : ∀ i, ∑ j, q i j = 1)
(hK : ∀ i a, 0 ≤ K i a) (hKtotal : ∀ i, ∑ a, K i a = 1)
(hL : ∀ i j b, 0 ≤ L i j b) (hLtotal : ∀ i j, ∑ b, L i j b = 1)
(hbank₁ : γ * (∑ i, Real.negMulLog (p i)) ≤
2 * ∑ a, Real.negMulLog (∑ i, p i * K i a))
(hbank₂ : ∀ i, γ * (∑ j, Real.negMulLog (q i j)) ≤
2 * ∑ b, Real.negMulLog (∑ j, q i j * L i j b))
(hquery₁ : 0 ≤ (2 - γ) * (∑ i, Real.negMulLog (p i)) - (∑ i, p i * g i) +
2 * ∑ i, p i * ∑ a, Real.negMulLog (K i a))
(hquery₂ : ∀ i, 0 ≤ (2 - γ) * (∑ j, Real.negMulLog (q i j)) -
(∑ j, q i j * h j) + 2 * ∑ j, q i j * ∑ b, Real.negMulLog (L i j b)) :
let input := fun i j => p i * q i j
let kernel := fun i j a b => K i a * L i j b
let H := ∑ i, ∑ j, Real.negMulLog (input i j)
let Hout := ∑ a, ∑ b, Real.negMulLog (∑ i, ∑ j, input i j * kernel i j a b)
let G := ∑ i, ∑ j, input i j * (g i + h j)
let C := ∑ i, ∑ j, input i j * ∑ a, ∑ b, Real.negMulLog (kernel i j a b)
γ * H ≤ 2 * Hout ∧ 0 ≤ (2 - γ) * H - G + 2 * C := by sorry