Documentation

LeanPool.BeyondBethe.BeyondBethe.CycleTransfer

Cycle Transfer #

noncomputable def BeyondBethe.coreOutside {ι : Type u_1} [Fintype ι] [DecidableEq ι] (a b : ι) :

Columns outside the two core edges at a row.

Equations
Instances For
    theorem BeyondBethe.massOn_coreOutside_of_ne {n : ℕ} {p : Fin n → ℝ} (hp : IsProbabilityVector p) {a b : Fin n} (hab : a ≠ b) :
    massOn (coreOutside a b) p = 1 - p a - p b
    theorem BeyondBethe.massOn_coreOutside_same {n : ℕ} {p : Fin n → ℝ} (hp : IsProbabilityVector p) (a : Fin n) :
    massOn (coreOutside a a) p = 1 - p a
    theorem BeyondBethe.coreOutside_comm {ι : Type u_1} [Fintype ι] [DecidableEq ι] (a b : ι) :
    theorem BeyondBethe.coreOutside_eq_of_pair_membership {ι : Type u_1} [Fintype ι] [DecidableEq ι] {a b c d : ι} (hab : a ≠ b) (ha : a = c ∨ a = d) (hb : b = c ∨ b = d) :

    If two distinct coordinates both belong to another two-element core, then the two cores, and hence their complements, agree.

    theorem BeyondBethe.sum_negMulLog_coreOutside {n : ℕ} (p : Fin n → ℝ) (a b : Fin n) :
    ∑ j ∈ coreOutside a b, (p j).negMulLog = ∑ j : Fin n, if a ≠ j ∧ b ≠ j then (p j).negMulLog else 0

    The row coordinate of the cycle encoding is exactly the coarsening used in the excursion-transfer argument.

    theorem BeyondBethe.coordinateEncoding_entropy_eq_coarsenedRowEntropy {n : ℕ} {μ : Equiv.Perm (Fin n) → ℝ} {P : Matrix (Fin n) (Fin n) ℝ} (hmarg : HasAssignmentMarginals μ P) (hP : ∀ (i : Fin n), IsStrictProbabilityVector (P i)) (f g : Equiv.Perm (Fin n)) (i : Fin n) :

    Rowwise form of the preceding bridge for the actual completed graph.

    theorem BeyondBethe.twoMatching_entropy_le_halfBits_add_coarsenedRows {n : ℕ} {μ : Equiv.Perm (Fin n) → ℝ} {P : Matrix (Fin n) (Fin n) ℝ} (hμ : IsProbabilityVector μ) (hmarg : HasAssignmentMarginals μ P) (hP : ∀ (i : Fin n), IsStrictProbabilityVector (P i)) (f g : Equiv.Perm (Fin n)) :
    shannonEntropy μ ≤ ↑n * (Real.log 2 / 2) + ∑ i : Fin n, coarsenedRowEntropy (coreOutside (f i) (g i)) (P i)

    Paper Lemma 10 in the exact coarsened-row form needed for the displayed identity.

    theorem BeyondBethe.twoMatching_coreTransferCost_normalized_le {n : ℕ} (hn : 0 < n) {μ : Equiv.Perm (Fin n) → ℝ} {P X : Matrix (Fin n) (Fin n) ℝ} (hμ : IsProbabilityVector μ) (hmarg : HasAssignmentMarginals μ P) (hP : ∀ (i : Fin n), IsStrictProbabilityVector (P i)) {τ B η : ℝ} (hτ : 0 ≤ τ) (hXint : ∀ (i : Fin n), IsInteriorProbabilityVector (X i)) (hη : η ∈ Set.Icc 0 2⁻¹) (f g : Equiv.Perm (Fin n)) (hheavy : ∀ (i j : Fin n), j ∈ heavyCoordinates η (P i) → j = f i ∨ j = g i) (hglobal : (matrixTransferCost P fun (i j : Fin n) => transferU τ (X i) j) ≤ B + shannonEntropy μ - ↑n * (Real.log 2 / 2)) :
    (coreTransferCost (fun (i : Fin n) => coreOutside (f i) (g i)) P fun (i j : Fin n) => transferU τ (X i) j) / ↑n ≤ B / ↑n + binaryEntropy η + η + (1 + Real.log 2) * ↑(badRows η P).card / ↑n

    End-to-end form of the excursion-transfer estimate for a completed two-matching graph. This theorem closes the informal identification of a good row's two heavy coordinates with its two graph edges: consequently the mass outside the encoded core is at most η.

    theorem BeyondBethe.gibbs_twoMatching_coreTransferCost_normalized_le {n : ℕ} (hn : 0 < n) (A : Matrix (Fin n) (Fin n) ℝ) (hA : Matrix.Positive A) {τ ξ η : ℝ} (hτ : 0 ≤ τ) (hbudget : τ * (↑n * Real.log ↑n) ≤ ξ * ↑n) (hη : η ∈ Set.Icc 0 2⁻¹) (f g : Equiv.Perm (Fin n)) (hheavy : ∀ (i j : Fin n), j ∈ heavyCoordinates η (assignmentMarginal A i) → j = f i ∨ j = g i) {X : Matrix (Fin n) (Fin n) ℝ} (hX : IsDoublyStochastic X) (hXint : ∀ (i : Fin n), IsInteriorProbabilityVector (X i)) {r c : Fin n → ℝ} (hKKT : HasLogKKT τ A X r c) :
    (coreTransferCost (fun (i : Fin n) => coreOutside (f i) (g i)) (assignmentMarginal A) fun (i j : Fin n) => transferU τ (X i) j) / ↑n ≤ betheSlack n (betheLogValue A) (Real.log A.permanent) / ↑n + 2 * ξ + binaryEntropy η + η + (1 + Real.log 2) * ↑(badRows η (assignmentMarginal A)).card / ↑n

    The preceding transfer estimate with every probabilistic, slack, and optimization quantity instantiated for the Gibbs distribution of a positive matrix. Apart from the logarithmic KKT equations, all inputs to paper Lemmas 17 and 18 are discharged here.