OAI/Computability/UniqueGames/Soundness/PartnerLinearLemmas.lean
60 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.SourceCoordinatesline 19 - abbrev
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.Activeline 20 - abbrev
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.Inactiveline 21 - abbrev
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.PartnerCoordinatesline 22 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceCoordinatesline 24 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceFromCoordinatesline 27 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceEquivline 33 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerCoordinatesline 51 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerFromCoordinatesline 56 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerEquivline 67 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceAddCommGroupline 96 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceModuleline 99 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerAddCommGroupline 102 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerModuleline 105 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceLinearEquivline 108 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerLinearEquivline 111 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceFintypeline 114 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerFintypeline 118 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.source_addline 122 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.source_zeroline 131 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partner_addline 137 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partner_zeroline 150 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projectionline 156 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection_applyline 165 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection_surjectiveline 168 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.mem_projection_kerline 171 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceFiniteDimensionalline 177 - instance
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerFiniteDimensionalline 181 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.kernelEquivline 186Source documentation
Identifies the actual linear kernel with the previously counted concrete kernel.
noncomputable def kernelEquiv : (projection rhs active slot).ker ≃ KernelCardinality.Kernel rhs active slot where …Mentions: OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection, OAI.UniqueGamesTheorem.Soundness.KernelCardinality.Kernel
- theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection_ker_cardline 193 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection_ker_finrankline 198 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection_ker_finrank_of_cardline 205 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.source_finrankline 210 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.disjoint_projection_kernelsline 216Source documentation
Distinct coordinate blocks make disjoint active-set kernels have trivial intersection.
theorem disjoint_projection_kernels (active' : P → Bool) (slot' : P → Slot) (hdisjoint : ∀ j, active j = true → active' j = false) : (projection rhs active slot).ker ⊓ (projection rhs active' slot').ker = ⊥ := by …Mentions: OAI.UniqueGamesTheorem.Soundness.PartnerLinear.projection
- def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceTauline 229 - def
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerTauline 232 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.sourceTau_applyline 236 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.partnerTau_applyline 237 - theorem
OAI.UniqueGamesTheorem.Soundness.PartnerLinear.tau_comp_projectionline 240 - def
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverageline 255Source documentation
Expectation of
fevaluated at the number of successes innindependent Bernoulli trials. The recursion itself specifies the product distribution.def bernoulliAverage (p : Rat) : Nat → (Nat → Rat) → Rat | 0, f => f 0 | n + 1, f => (1 - p) * bernoulliAverage p n f + p * bernoulliAverage p n (fun k => f (k + 1)) - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage_scaleline 261 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage_geometricline 270Source documentation
The exact binomial generating-function identity used in (6.25).
theorem bernoulliAverage_geometric (p a : Rat) (n : Nat) : bernoulliAverage p n (fun k => a ^ k) = (1 - p * (1 - a)) ^ n := by …Mentions: OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage
- theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage_monoline 282 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.success_le_geometricline 299Source documentation
The repeated-game bound is the explicitly supplied premise
conditional. The premiseaveragedis the separate law-of-total-probability obligation.theorem success_le_geometric (p a success : Rat) (n : Nat) (conditionalSuccess : Nat → Rat) (hp : 0 ≤ p) (hp' : p ≤ 1) (conditional : ∀ k, conditionalSuccess k ≤ a ^ k) (averaged : success ≤ bernoulliAverage p n conditionalSuccess) : success ≤ (1 - p * (1 - a)) ^ n := by …Mentions: OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage
- theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.pow_mono_nonnegline 310 - def
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbabilityline 324Source documentation
A uniformly sampled vector in a
d-dimensional binary space is zero with probability2^(-d). The counting justification is a separate obligation.def zeroProbability (d : Nat) : Rat := (1 / 2 : Rat) ^ d
- theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability_nonnegline 326 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability_le_oneline 329 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability_antitoneline 337 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.geometric_le_dimension_boundline 357Source documentation
The last inequality in (6.25), including the sign obligations.
theorem geometric_le_dimension_bound (d L n : Nat) (hd : d ≤ L) (a : Rat) (ha : 0 ≤ a) (ha' : a ≤ 1) : (1 - zeroProbability d * (1 - a)) ^ n ≤ (1 - zeroProbability L * (1 - a)) ^ n := by …Mentions: OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability
- theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.projection_upper_boundline 374Source documentation
Lemma 6.8's numerical conclusion, conditional on the repeated-game and averaging premises. In particular these hypotheses must be proved for the same augmented strategy, including its fixed advice.
theorem projection_upper_bound (d L n : Nat) (hd : d ≤ L) (a success : Rat) (ha : 0 ≤ a) (ha' : a ≤ 1) (conditionalSuccess : Nat → Rat) (conditional : ∀ k, conditionalSuccess k ≤ a ^ k) (averaged : success ≤ bernoulliAverage (zeroProbability d) n conditionalSuccess) : success ≤ (1 - zeroProbability L * (1 - a)) ^ n := by …Mentions: OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage, OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability
- def
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.decoderThresholdline 385 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.decoderThreshold_posline 387 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.exists_pos_nat_gtline 397Source documentation
An elementary Archimedean bound for rational parameters.
theorem exists_pos_nat_gt (x : Rat) : ∃ n : Nat, 0 < n ∧ x < (n : Rat) := by …
- theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.power_mul_growth_le_oneline 407Source documentation
The estimate
b^n ≤ 1 / (1+n(1-b))without division.theorem power_mul_growth_le_one (b : Rat) (hb : 0 ≤ b) (hb' : b ≤ 1) (n : Nat) : b ^ n * (1 + (n : Rat) * (1 - b)) ≤ 1 := by … - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.exists_power_ltline 425Source documentation
Positive powers of a rational base below one eventually fall below every positive rational threshold; this supplies the search target in (4.4).
theorem exists_power_lt (b threshold : Rat) (hb : 0 ≤ b) (hb' : b < 1) (ht : 0 < threshold) : ∃ n : Nat, 0 < n ∧ b ^ n < threshold := by … - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability_posline 442 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.exists_repetition_lengthline 445 - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.soundness_of_boundsline 462Source documentation
Proposition 6.9's contradiction, with its dependency boundary visible.
extractionis the entire lower-bound implication;uppermust bound every strategy of the same type, with all allowed advice;gapis (4.4).theorem soundness_of_bounds {Labeling Strategy : Type} (acceptance : Labeling → Rat) (success : Strategy → Rat) (delta lower upperBound : Rat) (extraction : ∀ labeling, delta < acceptance labeling → ∃ strategy, lower ≤ success strategy) (upper : ∀ strategy, success strategy ≤ upperBound) (gap : upperBound < lower) : ∀ labeling, acceptance labeling ≤ delta := by … - theorem
OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.soundness_from_repetitionline 480Source documentation
Proposition 6.9 specialized to (6.25) and (4.4). Every occurrence of
strategyis the same object, so fixed advice cannot silently change between the lower and upper bounds.theorem soundness_from_repetition {Labeling Strategy : Type} (acceptance : Labeling → Rat) (success : Strategy → Rat) (dimension : Strategy → Nat) (conditionalSuccess : Strategy → Nat → Rat) (delta a theta : Rat) (q L t : Nat) (ha : 0 ≤ a) (ha' : a ≤ 1) (dimension_le : ∀ strategy, dimension strategy ≤ L) (conditional : ∀ strategy k, conditionalSuccess strategy k ≤ a ^ k) (averaged : ∀ strategy, success strategy ≤ bernoulliAverage (zeroProbability (dimension strategy)) t (conditionalSuccess strategy)) (extraction : ∀ labeling, delta < acceptance labeling → ∃ strategy, decoderThreshold theta q ≤ success strategy) …Mentions: OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.bernoulliAverage, OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.zeroProbability, OAI.UniqueGamesTheorem.Soundness.RepetitionUpper.decoderThreshold