OAI/Computability/UniqueGames/Decoding/ActualAdviceStochasticBridgeLemmas.lean
85 declarations, 0 contain sorry, 0 declared as axioms
Actual randomized point policies are transported locally into Boolean answer kernels. Complete response tables are selected only after public advice is fixed and before the remaining questions. No global deterministic policy independent of public advice is asserted or needed for this upper bound.
- instance
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.sourceAnswerNonemptyline 34 - instance
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.targetAnswerNonemptyline 35 - structure
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.Policiesline 38 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.extendTargetKernelline 45 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.extendTargetKernel_applyline 55 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.firstResponseline 64 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.secondResponseline 72 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.decodeFirstMap_actualline 82 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.decodeSecondMap_actualline 102 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.firstResponse_actualline 113 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.secondResponse_actualline 125 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.fixedMapSuccessline 138Source documentation
Two private finite answer draws, after receiving the respective actual question and linear row map. Acceptance is equality under the real projection.
def fixedMapSuccess (μ : FiniteDistribution (O × Fin 3)) (g : IncidenceExtraction.Incidence O N) (policy : Policies k g D) (J : Finset (Fin k)) (Y : RawPoint J →ₗ[F2] D) : ℝ := …Mentions: OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.Policies
- theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.fixedMapSuccess_leline 147 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.responsesline 191 - def
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.successline 199 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.success_le_native_stochasticline 206 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.success_le_some_nativeline 230 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceBound.deterministic_success_le_dimensionline 256 - theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceBound.stochastic_success_le_dimensionline 274Source documentation
Arbitrary local randomized point policies obey the same bound. Complete deterministic response tables may be chosen after the public mask/advice is fixed, but before the remaining question pair is drawn.
theorem stochastic_success_le_dimension (coordinates : D ≃ₗ[F2] (Q → F2)) (g : IncidenceExtraction.Incidence O N) (ω : FiniteDistribution O) (policy : ActualAdviceStochasticBridge.Policies k g D) (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) (distinct : ∀ o i j, g.name o i = g.name o j → i = j) (hopt : IncidenceGap.parityValue g ω ≤ (4 : ℝ) / 5) (dimW rs : ℕ) (hcard : Fintype.card D ≤ 2 ^ (dimW + rs)) : ActualAdviceStochasticBridge.success (IncidenceGap.slotLaw ω) g policy β hβ₀ hβ₁ ≤ (1 - (β / (2 : ℝ) ^ (dimW + rs)) / 3600) ^ k := by …Mentions: OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.Policies, OAI.UniqueGamesTheorem.Clean.IncidenceGap.parityValue, OAI.UniqueGamesTheorem.Clean.ActualAdviceStochasticBridge.success, OAI.UniqueGamesTheorem.Clean.IncidenceGap.slotLaw
- theorem
OAI.UniqueGamesTheorem.Clean.ActualAdviceBound.stochastic_success_le_dimension_finiteline 290 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.visibleMapline 331Source documentation
The precise visible table
(T,A M), with the second component in its actual attainable range. The argument order is complement, hidden matrix.def visibleMap (A : K →ₗ[F2] R) {J : Finset (Fin k)} (T : RawPoint J →ₗ[F2] W) (M : RawPoint J →ₗ[F2] K) : RawPoint J →ₗ[F2] (W × A.range) := … - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.visibleMap_applyline 337 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.rawMapPairCoefficientsEquivline 341 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.visibleMap_rawline 348 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.uniform_visible_mapsline 355Source documentation
Equality for every observable proves the whole joint visible-map law.
theorem uniform_visible_maps (A : K →ₗ[F2] R) (J : Finset (Fin k)) (H : (RawPoint J →ₗ[F2] (W × A.range)) → ℝ) : (𝔼 TM : (RawPoint J →ₗ[F2] W) × (RawPoint J →ₗ[F2] K), H (visibleMap A TM.1 TM.2)) = 𝔼 Y : RawPoint J →ₗ[F2] (W × A.range), H Y := by …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.visibleMap
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.uniform_visible_maps_expectationline 371 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.actualSuccessline 385Source documentation
Actual success starts with genuinely sampled hidden and complement maps. The iid incidence law includes every slot choice, including unused choices at full positions. Policies receive only their respective visible table.
def actualSuccess (μ : FiniteDistribution (O × Fin 3)) (g : IncidenceExtraction.Incidence O N) (A : K →ₗ[F2] R) (policy : ActualAdviceStochasticBridge.Policies k g (W × A.range)) (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) : ℝ := … - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.actualSuccess_eq_cleanSuccessline 397 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.drawDistributionline 416 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistributionline 430 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistribution_totalVariation_eq_slopeline 437Source documentation
Padding adds an independent uniform affine intercept. The full map's variation is therefore exactly the sparse slope variation used in constants.
theorem paddedDistribution_totalVariation_eq_slope (rhs : Fin k → Bool) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) : (paddedDistribution (V := V) rhs β hβ hβ').totalVariation …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistribution
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistribution_totalVariationline 446 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.withKernelline 460Source documentation
Keep the common outer datum while sampling its conditional table law.
def withKernel (μ : FiniteDistribution Ω) (p : Ω → FiniteDistribution Y) : FiniteDistribution (Ω × Y) where … - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.withKernel_totalVariationline 469 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.withKernel_totalVariation_leline 485 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.wholeAdvice_totalVariationline 501Source documentation
Whole
(occurrences, public advice, Mπ,Tπ)comparison. The product codomain represents the two genuine sampled maps; occurrence weights are arbitrary and remain in both laws. The public law can in particular be uniform on all row maps. Projection choices are averaged out before this comparison.theorem wholeAdvice_totalVariation {k : ℕ} {Id A V : Type} [Fintype Id] [Fintype A] [AddCommGroup V] [Module F2 V] [Fintype V] [Fintype (ActualHomogeneous.E k →ₗ[F2] V)] (occurrences : FiniteDistribution (Fin k → Id)) (publicLaw : FiniteDistribution A) (rhs : Id → Bool) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) : (withKernel (occurrences.product publicLaw) (fun ua => paddedDistribution (V := V) (fun j => rhs (ua.1 j)) β hβ hβ')).totalVariation …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.withKernel, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistribution
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.wholeAdvice_totalVariation_eq_slopeline 516Source documentation
Common occurrence/public randomness preserves the exact slope variation.
theorem wholeAdvice_totalVariation_eq_slope {k : ℕ} {Id A V : Type} [Fintype Id] [Fintype A] [AddCommGroup V] [Module F2 V] [Fintype V] [Fintype (ActualHomogeneous.E k →ₗ[F2] V)] (occurrences : FiniteDistribution (Fin k → Id)) (publicLaw : FiniteDistribution A) (rhs : Id → Bool) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) : (withKernel (occurrences.product publicLaw) (fun ua => paddedDistribution (V := V) (fun j => rhs (ua.1 j)) β hβ hβ')).totalVariation …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.withKernel, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.paddedDistribution
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.wholeAdvice_totalVariation_le_slopeline 532 - instance
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.observedRowsFintypeline 552 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.observed_hidden_independentline 558Source documentation
After fixing the mask, public map and complement table, the uniform hidden matrix has independent uniform attainable rows and private kernel coordinates. The observation fixes only
A M, notMor a chosen witness.theorem observed_hidden_independent (J : Finset (Fin k)) (A : K →ₗ[F2] R) (f : AdviceFibers.ObservedRow (E := RawPoint J) A → ℝ) …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceFibers.ObservedRow
- abbrev
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.ProjectionSeedline 575Source documentation
The actual two-stage sampler retains both its projection choices and its uniform map on that projected target. Thus target advice is not forgotten.
abbrev ProjectionSeed (k : ℕ) (V : Type) [AddCommGroup V] [Module F2 V] := …
- def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectionSeedDistributionline 579 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectSeedMapline 590 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectionSeed_expectationline 596 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectionSeed_pushforwardline 620 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.seedToActualDrawline 640Source documentation
Convert the actual two-stage seed into the full hidden experiment. The second summand of the seed remains available for the target-side observation.
def seedToActualDraw (occ : Fin k → Id) (A : K →ₗ[F2] R) (s : ProjectionSeed k (K × W)) : AdviceExperiment.Draw k Id K W R where …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.ProjectionSeed, OAI.UniqueGamesTheorem.Decoder.AdviceExperiment.Draw
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.seed_projectionline 649 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.seed_padded_pairline 655 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.seed_left_observationline 662 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.seed_right_observationline 671 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choiceDistributionline 684 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.maskSlotChoiceline 691Source documentation
Full positions discard their auxiliary slot; singleton positions retain it.
def maskSlotChoice (p : Bool × Fin 3) : PaddedLaw.ProjectionChoice := …
Mentions: OAI.UniqueGamesTheorem.Decoder.PaddedLaw.ProjectionChoice
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.maskSlotChoice_pushforwardline 694 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choicesOfMaskSlotsline 705 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choices_expectationline 712Source documentation
The Option sampler is exactly the Bernoulli-mask sampler with independent uniform slots at every position, including the full positions. This identity allows arbitrary functions of the retained choices.
theorem choices_expectation {k : ℕ} (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) (H : (Fin k → PaddedLaw.ProjectionChoice) → ℝ) : ((choiceDistribution β hβ hβ').iid k).expectation H = ((bernoulli β hβ hβ').iid k).expectation (fun mask => (FiniteDistribution.uniform (Fin k → Fin 3)).expectation (fun slots => H (choicesOfMaskSlots mask slots))) := by …Mentions: OAI.UniqueGamesTheorem.Decoder.PaddedLaw.ProjectionChoice, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choiceDistribution, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choicesOfMaskSlots
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choices_maskline 723 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choices_active_slotline 731 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectionSeed_mask_slots_expectationline 738Source documentation
The same identity with the entire original target map retained. This is the full two-stage seed law, not merely the law of its padded marginal.
theorem projectionSeed_mask_slots_expectation {k : ℕ} {V : Type} [AddCommGroup V] [Module F2 V] [Fintype V] (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) (H : ProjectionSeed k V → ℝ) : (projectionSeedDistribution β hβ hβ').expectation H = ((bernoulli β hβ hβ').iid k).expectation (fun mask => (FiniteDistribution.uniform (Fin k → Fin 3)).expectation (fun slots => (FiniteDistribution.uniform (RawPoint (PaddedLaw.choiceMask (choicesOfMaskSlots mask slots)) →ₗ[F2] V)).expectation (fun Y => H ⟨choicesOfMaskSlots mask slots, Y⟩))) := by …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.ProjectionSeed, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.projectionSeedDistribution, OAI.UniqueGamesTheorem.Decoder.PaddedLaw.choiceMask, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.choicesOfMaskSlots
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.product_pushforward_withKernelline 769 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeedLawline 795Source documentation
A finite hidden sample whose actual Draw is
seedToActualDraw.def fullSeedLaw {k : ℕ} {Id A V : Type} [Fintype Id] [Fintype A] [AddCommGroup V] [Module F2 V] [Fintype V] (occurrences : FiniteDistribution (Fin k → Id)) (publicLaw : FiniteDistribution A) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) := … - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeedPadline 801 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_pad_lawline 806 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_totalVariationline 822 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_totalVariation_eq_slopeline 835 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_totalVariation_le_slopeline 850 - abbrev
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.FullSeedline 868 - abbrev
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.CompleteDataline 875Source documentation
Complete visible conditioning data: occurrences, public map, projection choices, the entire complement map, and precisely the attainable rows.
abbrev CompleteData (k : ℕ) (Id K W R : Type) [AddCommGroup K] [Module F2 K] [AddCommGroup W] [Module F2 W] [AddCommGroup R] [Module F2 R] := … - abbrev
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.PrivateMapline 883 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.targetObservationEquivline 886 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeedCoordinatesEquivline 897Source documentation
A global bijection retains all actual visible data, with exactly one uniform kernel-valued matrix left after conditioning.
def fullSeedCoordinatesEquiv : FullSeed k Id K W R ≃ Σ d : CompleteData k Id K W R, PrivateMap d := …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.FullSeed, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.CompleteData, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.PrivateMap
- def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeObserveline 908 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeAssembleline 911 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeObserve_eqline 915 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeAssemble_eqline 920 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeObserve_assembleline 925 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeFiberEquivline 931Source documentation
Exact equivalence for a fiber of the complete observation, not just the marginal row observation. This is the input for finite conditioning.
def completeFiberEquiv (d : CompleteData k Id K W R) : PrivateMap d ≃ {s : FullSeed k Id K W R // completeObserve s = d} := …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.CompleteData, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.PrivateMap, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.FullSeed, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeObserve
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeFiberEquiv_valline 936 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeDrawline 940Source documentation
The actual Draw obtained from the complete-data fiber coordinates.
def completeDraw (d : CompleteData k Id K W R) (N : PrivateMap d) : AdviceExperiment.Draw k Id K W R where …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.CompleteData, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.PrivateMap, OAI.UniqueGamesTheorem.Decoder.AdviceExperiment.Draw
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeDraw_seedline 949 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeDraw_rowsline 953 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeDraw_leftline 958 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeDraw_rightline 969 - def
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.completeWeightline 981 - theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_weight_observedline 991Source documentation
The actual law has exactly constant point weights on every fiber of all observed data, even for arbitrary occurrence and public-map laws.
theorem fullSeed_weight_observed (occurrences : FiniteDistribution (Fin k → Id)) (publicLaw : FiniteDistribution (K →ₗ[F2] R)) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) (s : FullSeed k Id K W R) : (fullSeedLaw (V := K × W) occurrences publicLaw β hβ hβ').weight s = …Mentions: OAI.UniqueGamesTheorem.Decoder.AdviceLaw.FullSeed, OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeedLaw
- theorem
OAI.UniqueGamesTheorem.Decoder.AdviceLaw.fullSeed_weight_fiberline 998