OAI/Computability/MaxCut/Games/LabelBound.lean
78 declarations, 0 contain sorry, 0 declared as axioms
Per-label diagonal lower bounds for the actual finite shared sampler. These bounds retain the output label, which is necessary for comparing the sampler's output distribution with a prescribed diagonal distribution.
- def
OAI.MaxCutGames.Foundations.CorrelatedSampling.localSampleline 18 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.localDiagonalline 22 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.goodLabelline 27 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.common_first_label_lowerline 31 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.finite_label_diagonal_boundline 63Source documentation
The finite shared-list sampler's mass on the particular diagonal output (a,a) is at least the common-first-label mass. Exhaustion uses a fixed local fallback; its contribution is nonnegative and is not counted in this bound.
theorem finite_label_diagonal_bound (w : σ → ℝ) (left right : σ → Bool) (decode : σ → α) (fallback a : α) (hw : ∀ s, 0 ≤ w s) (hw_sum : ∑ s, w s = 1) (hu : 0 < eventMass w (fun s => left s || right s)) (n : Nat) : eventMass w (goodLabel left right decode a) / eventMass w (fun s => left s || right s) * (1 - eventMass w (fun s => !(left s || right s)) ^ n) ≤ traceAverage w n (localDiagonal left right decode fallback a) := by …Mentions: OAI.MaxCutGames.Foundations.CorrelatedSampling.eventMass, OAI.MaxCutGames.Foundations.CorrelatedSampling.goodLabel, OAI.MaxCutGames.Foundations.CorrelatedSampling.traceAverage, OAI.MaxCutGames.Foundations.CorrelatedSampling.localDiagonal
- theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.rectangle_label_diagonal_boundline 79Source documentation
Concrete normalized-density instance of the per-label bound. All random proposals come from the finite rectangle constructed from
thresholds.theorem rectangle_label_diagonal_bound (thresholds : List ℝ) (p q : α → ℝ) (fallback a : α) (hpm : ∀ x, p x ∈ thresholds) (hqm : ∀ x, q x ∈ thresholds) (hp0 : ∀ x, 0 ≤ p x) (hq0 : ∀ x, 0 ≤ q x) (hp1 : ∀ x, p x ≤ 1) (hq1 : ∀ x, q x ≤ 1) (hpsum : ∑ x, p x = 1) (hqsum : ∑ x, q x = 1) (n : Nat) : min (p a) (q a) / (1 + totalVariation p q) * (1 - eventMass (rectangleWeight thresholds) (fun s => !(rectangleAccept thresholds p s || rectangleAccept thresholds q s)) ^ n) ≤ traceAverage (rectangleWeight thresholds) n (localDiagonal (rectangleAccept thresholds p) (rectangleAccept thresholds q) Prod.fst fallback a) := by …Mentions: OAI.MaxCutGames.Foundations.CorrelatedSampling.totalVariation, OAI.MaxCutGames.Foundations.CorrelatedSampling.eventMass, OAI.MaxCutGames.Foundations.CorrelatedSampling.rectangleWeight, OAI.MaxCutGames.Foundations.CorrelatedSampling.rectangleAccept, OAI.MaxCutGames.Foundations.CorrelatedSampling.traceAverage, OAI.MaxCutGames.Foundations.CorrelatedSampling.localDiagonal
- def
OAI.MaxCutGames.Foundations.CorrelatedSampling.profileThresholdsline 121 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.mem_profileThresholdsline 126 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.distribution_weight_le_oneline 131 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfileThresholdsline 140 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.left_mem_sharedProfileThresholdsline 144 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.right_mem_sharedProfileThresholdsline 149 - abbrev
OAI.MaxCutGames.Foundations.CorrelatedSampling.SharedProfileSeedline 154 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfileLeftline 158 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfileRightline 162 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfileRejectline 166 - def
OAI.MaxCutGames.Foundations.CorrelatedSampling.uniformRejectionRateline 171 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.uniformRejectionRate_nonnegativeline 174 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.uniformRejectionRate_lt_oneline 183 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfileReject_nonnegativeline 191 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfile_reject_le_rateline 197 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.nonnegative_powers_mono_inline_SharedProfilesline 229 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.sharedProfile_label_diagonal_boundline 238 - theorem
OAI.MaxCutGames.Foundations.CorrelatedSampling.exists_uniformRejectionRate_pow_ltline 272 - def
OAI.MaxCutGames.Foundations.Information.IsProbabilityline 296 - def
OAI.MaxCutGames.Foundations.Information.SupportedByline 299 - def
OAI.MaxCutGames.Foundations.Information.relativeEntropyline 301 - def
OAI.MaxCutGames.Foundations.Information.totalVariationline 304 - def
OAI.MaxCutGames.Foundations.Information.posteriorline 307 - theorem
OAI.MaxCutGames.Foundations.Information.posterior_isProbabilityline 310 - theorem
OAI.MaxCutGames.Foundations.Information.posterior_supportedByline 320 - theorem
OAI.MaxCutGames.Foundations.Information.mul_log_div_ge_subline 325 - theorem
OAI.MaxCutGames.Foundations.Information.relativeEntropy_nonnegline 333 - theorem
OAI.MaxCutGames.Foundations.Information.posterior_relativeEntropy_leline 345 - theorem
OAI.MaxCutGames.Foundations.Information.totalVariation_nonnegline 369 - theorem
OAI.MaxCutGames.Foundations.Information.totalVariation_symmline 372 - theorem
OAI.MaxCutGames.Foundations.Information.totalVariation_le_oneline 375 - theorem
OAI.MaxCutGames.Foundations.Information.le_binaryLog_of_le_logline 386 - theorem
OAI.MaxCutGames.Foundations.Information.weighted_sum_sq_leline 398Source documentation
Finite weighted Cauchy–Schwarz for probability weights. The summands need not be nonnegative.
theorem weighted_sum_sq_le (w x : α → ℝ) (hw : IsProbability w) : (∑ a, w a * x a)^2 ≤ ∑ a, w a * (x a)^2 := by …Mentions: OAI.MaxCutGames.Foundations.Information.IsProbability
- def
OAI.MaxCutGames.Foundations.Information.firstMarginalline 418 - def
OAI.MaxCutGames.Foundations.Information.secondMarginalline 420 - def
OAI.MaxCutGames.Foundations.Information.productline 422 - theorem
OAI.MaxCutGames.Foundations.Information.firstMarginal_isProbabilityline 424 - theorem
OAI.MaxCutGames.Foundations.Information.secondMarginal_isProbabilityline 431 - theorem
OAI.MaxCutGames.Foundations.Information.product_isProbabilityline 440 - theorem
OAI.MaxCutGames.Foundations.Information.point_le_firstMarginalline 447 - theorem
OAI.MaxCutGames.Foundations.Information.point_le_secondMarginalline 452 - theorem
OAI.MaxCutGames.Foundations.Information.joint_supportedBy_product_marginalsline 457 - theorem
OAI.MaxCutGames.Foundations.Information.relativeEntropy_product_referenceline 465 - theorem
OAI.MaxCutGames.Foundations.Information.marginal_relativeEntropy_sum_leline 499 - def
OAI.MaxCutGames.Foundations.Information.conditionalKernelline 516 - theorem
OAI.MaxCutGames.Foundations.Information.conditionalKernel_isProbabilityline 522 - theorem
OAI.MaxCutGames.Foundations.Information.marginal_mul_conditionalKernelline 538 - theorem
OAI.MaxCutGames.Foundations.Information.law_of_total_probabilityline 555 - theorem
OAI.MaxCutGames.Foundations.Information.kernelProduct_isProbabilityline 562 - theorem
OAI.MaxCutGames.Foundations.Information.alternativeInput_conditionalProduct_isProbabilityline 572 - def
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.totalVariationline 591 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.totalVariation_nonnegativeline 594 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.totalVariation_commline 598 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_sub_le_totalVariationline 609Source documentation
A one-sided event difference is bounded by half the total absolute mass difference. Normalization is used; the full absolute-mass sum would lose a factor of two needed in the repetition argument.
theorem probability_sub_le_totalVariation (μ ν : FiniteDistribution Ω) (event : Ω → Bool) : μ.probability event - ν.probability event ≤ μ.totalVariation ν := by …Mentions: OAI.MaxCutGames.Foundations.Games.FiniteDistribution
- theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_abs_sub_le_totalVariationline 625 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_le_add_totalVariationline 635 - def
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.conditionline 657 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_conditionline 673 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_inter_eq_mul_conditionalline 682 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_and_le_leftline 690 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_and_le_rightline 697 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_and_eq_zero_of_probability_eq_zeroline 704 - theorem
OAI.MaxCutGames.Foundations.Games.FiniteDistribution.probability_condition_givenline 711 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedWins_insertline 725 - def
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccessline 736 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_nonnegativeline 741 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_le_oneline 746 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_emptyline 751 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_univline 758 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_antitoneline 764 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_insertline 770 - theorem
OAI.MaxCutGames.Foundations.Games.Game.selectedSuccess_insert_eq_zeroline 782