Lemma 6: conditional Ahlswede–Csiszar sum identity (attributed prior result)
OpenQAlgorithms.Papers.Independent.Intakethird100.P76.conditional_sum_identityLet be arbitrary finite random variables on one normalized finite probability space. All information is in bits. Then
The case has empty sum and zero on both sides. The Lean masks store exactly the prefix before and suffix after , with fixed none entries elsewhere.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P76
namespace QAlgorithms.Papers.Independent.Intakethird100.P76
noncomputable section
open scoped BigOperators
open Filter Set
attribute [local instance] Classical.propDecidable
-- Exact pinned primitives, inspected at their definitions before reuse.
open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)
open QAlgorithms.Papers.Independent.Frontier30.P12 (IsStochastic)
variable {S X Y Z : Type} [Fintype S] [Fintype X] [Fintype Y] [Fintype Z]
[Nonempty S] [Nonempty X] [Nonempty Y] [Nonempty Z]
variable {n u w : ℕ}
/-- PDF p.11, Lemma 6, explicitly attributed there to Ahlswede--Csiszar
[3, Lemma 4.1]. Arbitrary finite random variables on one normalized sample law.
The Option masks encode exactly Y before i and Z after i; all other entries
are fixed None and carry no information. For n=0 both sides are zero. -/
theorem conditional_sum_identity {O K P A B : Type*}
[Fintype O] [Fintype K] [Fintype P] [Fintype A] [Fintype B]
(p : O → ℝ) (hp : IsLaw p) (k : O → K) (phi : O → P)
(n : ℕ) (y : O → Fin n → A) (z : O → Fin n → B) :
condInfo p k y phi - condInfo p k z phi =
∑ i : Fin n,
(condInfo p k (fun o => y o i)
(fun o => ((fun j : Fin n => if j < i then some (y o j) else none),
(fun j : Fin n => if i < j then some (z o j) else none), phi o)) -
condInfo p k (fun o => z o i)
(fun o => ((fun j : Fin n => if j < i then some (y o j) else none),
(fun j : Fin n => if i < j then some (z o j) else none), phi o))) := by sorry
end
end QAlgorithms.Papers.Independent.Intakethird100.P76
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite types, let satisfy for every and , let and , let be a natural number, and let and . For any observation on , define
using the total real logarithm, so . For each , define the conditioning observation to be the triple consisting of the length- array whose -th entry is marked as present when and is absent otherwise, the length- array whose -th entry is marked as present when and is absent otherwise, and . Then
Here and on the left are the entire tuple-valued observations, and the coordinate itself is excluded from both arrays in . The case is included: the sum is empty and equals , while both tuple observations are constant. The probability hypothesis cannot hold when is empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.