OAI/Computability/UniqueGames/Foundations/PinskerLemmas.lean
40 declarations, 0 contain sorry, 0 declared as axioms
A finite Pinsker inequality with a nonoptimal constant, sufficient for the information bound used by Holenstein: TV(p,q)^2 ≤ D_nat(p || q). The proof factors the L1 distance through square roots and uses log t ≤ t-1.
- def
OAI.UniqueGamesTheorem.Foundations.Information.hellingerSquaredline 23 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.sqrt_distance_le_relativeEntropy_termline 26 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.hellingerSquared_le_relativeEntropyline 51 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.totalVariation_sq_le_hellingerSquaredline 59 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.totalVariation_sq_le_relativeEntropyline 84 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.posterior_totalVariation_sq_le_logline 90 - def
OAI.UniqueGamesTheorem.Foundations.Information.coordinateMarginalline 112 - def
OAI.UniqueGamesTheorem.Foundations.Information.independentProductline 116 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.coordinateMarginal_isProbabilityline 118 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.point_le_coordinateMarginalline 132 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.marginal_expectationline 140 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.independentProduct_isProbabilityline 149 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.joint_supportedBy_product_coordinateMarginalsline 157 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.relativeEntropy_independent_referenceline 165 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.coordinate_relativeEntropy_sum_leline 208 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.coordinate_totalVariation_sq_sum_leline 218 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.posterior_coordinate_supportedByline 227 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.posterior_coordinate_totalVariation_sq_sum_le_logline 245Source documentation
The finite independent-coordinate conditioning inequality underlying Holenstein Lemma 4.1, with natural logarithms.
w xis the conditional probability of the event given the coordinate tuplex.theorem posterior_coordinate_totalVariation_sq_sum_le_log (q : ι → α → ℝ) (hq : ∀ i, IsProbability (q i)) (w : (ι → α) → ℝ) (hw : ∀ x, 0 ≤ w x) (hw_one : ∀ x, w x ≤ 1) {z : ℝ} (hz : 0 < z) (hmass : ∑ x, independentProduct q x * w x = z) : (∑ i, totalVariation (coordinateMarginal (posterior (independentProduct q) w z) i) (q i) ^ 2) ≤ Real.log (1 / z) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Information.IsProbability, OAI.UniqueGamesTheorem.Foundations.Information.independentProduct, OAI.UniqueGamesTheorem.Foundations.Information.totalVariation, OAI.UniqueGamesTheorem.Foundations.Information.coordinateMarginal, OAI.UniqueGamesTheorem.Foundations.Information.posterior
- theorem
OAI.UniqueGamesTheorem.Foundations.Information.posterior_coordinate_totalVariation_sum_le_sqrtline 259Source documentation
The summed-distance form (4.2), with natural logarithms.
theorem posterior_coordinate_totalVariation_sum_le_sqrt (q : ι → α → ℝ) (hq : ∀ i, IsProbability (q i)) (w : (ι → α) → ℝ) (hw : ∀ x, 0 ≤ w x) (hw_one : ∀ x, w x ≤ 1) {z : ℝ} (hz : 0 < z) (hmass : ∑ x, independentProduct q x * w x = z) : (∑ i, totalVariation (coordinateMarginal (posterior (independentProduct q) w z) i) (q i)) ≤ Real.sqrt ((Fintype.card ι : ℝ) * Real.log (1 / z)) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Information.IsProbability, OAI.UniqueGamesTheorem.Foundations.Information.independentProduct, OAI.UniqueGamesTheorem.Foundations.Information.totalVariation, OAI.UniqueGamesTheorem.Foundations.Information.coordinateMarginal, OAI.UniqueGamesTheorem.Foundations.Information.posterior
- theorem
OAI.UniqueGamesTheorem.Foundations.Information.posterior_coordinate_totalVariation_sq_sum_le_binaryLogline 286Source documentation
The base-two-logarithm normalization of the squared-distance bound.
theorem posterior_coordinate_totalVariation_sq_sum_le_binaryLog (q : ι → α → ℝ) (hq : ∀ i, IsProbability (q i)) (w : (ι → α) → ℝ) (hw : ∀ x, 0 ≤ w x) (hw_one : ∀ x, w x ≤ 1) {z : ℝ} (hz : 0 < z) (hmass : ∑ x, independentProduct q x * w x = z) : (∑ i, totalVariation (coordinateMarginal (posterior (independentProduct q) w z) i) (q i) ^ 2) ≤ Real.log (1 / z) / Real.log 2 := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Information.IsProbability, OAI.UniqueGamesTheorem.Foundations.Information.independentProduct, OAI.UniqueGamesTheorem.Foundations.Information.totalVariation, OAI.UniqueGamesTheorem.Foundations.Information.coordinateMarginal, OAI.UniqueGamesTheorem.Foundations.Information.posterior
- def
OAI.UniqueGamesTheorem.Foundations.Information.posteriorOrOriginalline 307 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.posteriorOrOriginal_isProbabilityline 312 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.mass_mul_posteriorOrOriginalline 323 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.weighted_coordinate_posterior_recombineline 343 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.side_information_boundline 365 - theorem
OAI.UniqueGamesTheorem.Foundations.Information.finite_side_information_boundline 435Source documentation
Finite Corollary 4.3 in natural-log normalization, for actual likelihood profiles of the event jointly with the finite side label.
theorem finite_side_information_bound (pT : T → ℝ) (q : T → I → A → ℝ) (e : T × V → (I → A) → ℝ) (c w : T × V → ℝ) (hpT : IsProbability pT) (hq : ∀ t i, IsProbability (q t i)) (he : ∀ tv x, 0 ≤ e tv x) (he_sum : ∀ t x, (∑ v, e (t, v) x) ≤ 1) (hc : ∀ tv, ∑ x, independentProduct (q tv.1) x * e tv x = c tv) {z : ℝ} (hz : 0 < z) (hZ : ∑ tv, pT tv.1 * c tv = z) (hweight : ∀ tv, w tv = pT tv.1 * c tv / z) : (∑ i, totalVariation …Mentions: OAI.UniqueGamesTheorem.Foundations.Information.IsProbability, OAI.UniqueGamesTheorem.Foundations.Information.independentProduct, OAI.UniqueGamesTheorem.Foundations.Information.totalVariation
- structure
OAI.UniqueGamesTheorem.Foundations.Target.Literalline 492 - def
OAI.UniqueGamesTheorem.Foundations.Target.Literal.evalline 497 - abbrev
OAI.UniqueGamesTheorem.Foundations.Target.Clauseline 500 - def
OAI.UniqueGamesTheorem.Foundations.Target.Clause.evalline 502 - structure
OAI.UniqueGamesTheorem.Foundations.Target.Formulaline 507Source documentation
A finite conjunction of clauses with exactly three literal slots each. Repeated variables and repeated literals are allowed.
structure Formula where …
- def
OAI.UniqueGamesTheorem.Foundations.Target.Formula.Satisfiableline 511 - theorem
OAI.UniqueGamesTheorem.Foundations.Target.PermutationTable.images_injectiveline 518Source documentation
Finite forward and inverse tables make totality and invertibility explicit. An eventual external encoding only needs to serialize the forward table.
theorem PermutationTable.images_injective {q : Nat} (table : PermutationTable q) {x y : Fin q} (h : table.images[x] = table.images[y]) : x = y := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Target.PermutationTable
- theorem
OAI.UniqueGamesTheorem.Foundations.Target.PermutationTable.images_surjectiveline 523 - theorem
OAI.UniqueGamesTheorem.Foundations.Target.countSatisfied_le_lengthline 530Source documentation
Constraint occurrences are list entries, so repeated parallel edges retain their multiplicity. No weights are hidden in this representation.
theorem countSatisfied_le_length {n q : Nat} (labeling : Fin n → Fin q) (constraints : List (Constraint n q)) : countSatisfied labeling constraints ≤ constraints.length := by …Mentions: OAI.UniqueGamesTheorem.Foundations.Target.Constraint, OAI.UniqueGamesTheorem.Foundations.Target.countSatisfied
- theorem
OAI.UniqueGamesTheorem.Foundations.Target.Instance.constraintCount_positiveline 539 - structure
OAI.UniqueGamesTheorem.Foundations.Target.RationalErrorline 547Source documentation
The rational number
numerator / denominatorlies strictly between 0 and 1/2. No normalization to lowest terms is needed for the gap predicates.structure RationalError where …
- def
OAI.UniqueGamesTheorem.Foundations.Target.CompleteAtline 555Source documentation
At least one labeling satisfies a fraction at least
1 - error.def CompleteAt {q : Nat} (error : RationalError) (game : Instance q) : Prop := …Mentions: OAI.UniqueGamesTheorem.Foundations.Target.RationalError, OAI.UniqueGamesTheorem.Foundations.Target.Instance
- def
OAI.UniqueGamesTheorem.Foundations.Target.SoundAtline 562Source documentation
Every labeling satisfies a fraction at most
error.def SoundAt {q : Nat} (error : RationalError) (game : Instance q) : Prop := …Mentions: OAI.UniqueGamesTheorem.Foundations.Target.RationalError, OAI.UniqueGamesTheorem.Foundations.Target.Instance
- structure
OAI.UniqueGamesTheorem.Foundations.Target.SemanticGapReductionline 569Source documentation
Only the semantic part of a reduction. This is not a definition of an efficient reduction or an NP-hardness certificate.
structure SemanticGapReduction (completenessError soundnessError : RationalError) where …
Mentions: OAI.UniqueGamesTheorem.Foundations.Target.RationalError