OAI/Computability/MaxCut/Encoding/ActualAdviceSampling.lean
22 declarations, 0 contain sorry, 0 declared as axioms
The stochastic clean upper bound applies to the literal agreement of the two actual local decoders. The equality below retains every sampled mask, all occurrence/position draws, and both independently uniform target maps.
- theorem
OAI.MaxCutGames.Decoder.ActualAdviceSampling.product_probabilityline 25 - theorem
OAI.MaxCutGames.Decoder.ActualAdviceSampling.fixedMapSuccess_eq_productline 34 - theorem
OAI.MaxCutGames.Decoder.ActualAdviceSampling.fixedMapSuccess_eq_observedline 55 - def
OAI.MaxCutGames.Decoder.ActualAdviceSampling.sampledAgreementline 79Source documentation
The actual experiment, before identifying its visible-map marginal with the clean-coordinate law. The two private answer draws are already averaged inside
observedAgreement.def sampledAgreement (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (μ : FiniteDistribution (Fin S.occurrences × Fin 3)) (A : Alphabet s →ₗ[F2] Vector rs) (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) : ℝ := …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness
- theorem
OAI.MaxCutGames.Decoder.ActualAdviceSampling.actualSuccess_eq_sampledAgreementline 95 - theorem
OAI.MaxCutGames.Decoder.ActualAdviceSampling.sampledAgreement_average_boundline 113Source documentation
The dimension bound for the true average of the actual observation-local decoders, including all ranks of the uniformly sampled public row map.
theorem sampledAgreement_average_bound (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) (distinct : ∀ o i j, (sourceIncidence S).name o i = (sourceIncidence S).name o j → i = j) (hopt : Clean.IncidenceGap.parityValue (sourceIncidence S) (FiniteDistribution.uniform (Fin S.occurrences)) ≤ (4 : ℝ) / 5) : (FiniteDistribution.uniform (Alphabet s →ₗ[F2] Vector rs)).expectation (fun A => sampledAgreement S labeling good (Clean.IncidenceGap.slotLaw (FiniteDistribution.uniform (Fin S.occurrences))) …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Clean.IncidenceGap.parityValue, OAI.MaxCutGames.Decoder.ActualAdviceSampling.sampledAgreement, OAI.MaxCutGames.Clean.IncidenceGap.slotLaw
- theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.rawProjection_congr_slotsline 153 - theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.supported_congr_slotsline 173 - theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.observedAgreement_changePositionsline 188Source documentation
This applies to every hidden draw, with all its other data fixed.
theorem observedAgreement_changePositions (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (draw : AdviceExperiment.Draw k (Fin S.occurrences) (Alphabet s) (Vector d) (Vector rs)) (slot : Fin k → PartnerProjection.Slot) (hslot : ∀ j, j ∈ draw.singletons → draw.positions j = slot j) : VisiblePolicies.observedAgreement S labeling good draw = VisiblePolicies.observedAgreement S labeling good { draw with positions := slot } := by …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Decoder.AdviceExperiment.Draw, OAI.MaxCutGames.Decoder.VisiblePolicies.observedAgreement
- theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.seedAgreement_pointwiseline 208Source documentation
Seed and actual-draw agreement before averaging any sampled map.
theorem seedAgreement_pointwise (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (occ : Fin k → Fin S.occurrences) (A : Alphabet s →ₗ[F2] Vector rs) (choices : Fin k → PaddedLaw.ProjectionChoice) (slot : Fin k → PartnerProjection.Slot) (hslot : ∀ j, j ∈ PaddedLaw.choiceMask choices → PaddedLaw.choiceSlots choices j = slot j) (Y : RawPartnerTarget.RawPoint (PaddedLaw.choiceMask choices) →ₗ[F2] (Alphabet s × Vector d)) : VisiblePolicies.observedAgreement S labeling good …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoice, OAI.MaxCutGames.Decoder.PaddedLaw.choiceMask, OAI.MaxCutGames.Decoder.PaddedLaw.choiceSlots, OAI.MaxCutGames.Decoder.VisiblePolicies.observedAgreement
- theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.seedAgreement_repack_at_inline_ActualSeedPointwiseline 228 - theorem
OAI.MaxCutGames.Decoder.ActualSeedPointwise.seedAgreement_repackline 257Source documentation
Exact uniform-law identification with Bernoulli-mask and iid-slot sampling. All dependent mask transport is confined to this theorem.
theorem seedAgreement_repack (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (occ : Fin k → Fin S.occurrences) (A : Alphabet s →ₗ[F2] Vector rs) (mask : Fin k → Bool) (slots : Fin k → Fin 3) : (FiniteDistribution.uniform (RawPartnerTarget.RawPoint (PaddedLaw.choiceMask (AdviceLaw.choicesOfMaskSlots mask slots)) →ₗ[F2] (Alphabet s × Vector d))).expectation (fun Y => VisiblePolicies.observedAgreement S labeling good (AdviceLaw.seedToActualDraw occ A …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Decoder.PaddedLaw.choiceMask, OAI.MaxCutGames.Decoder.AdviceLaw.choicesOfMaskSlots, OAI.MaxCutGames.Decoder.VisiblePolicies.observedAgreement, OAI.MaxCutGames.Decoder.AdviceLaw.seedToActualDraw
- theorem
OAI.MaxCutGames.Decoder.ActualSeedSampling.uniform_occurrence_slotsline 310 - def
OAI.MaxCutGames.Decoder.ActualSeedSampling.drawAgreementline 324Source documentation
A named pointwise observable makes the finite expectation permutations explicit without changing the actual sampled draw.
def drawAgreement (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (A : Alphabet s →ₗ[F2] Vector rs) (mask : Fin k → Bool) (occ : Fin k → Fin S.occurrences) (slots : Fin k → Fin 3) (TM : (RawPartnerTarget.RawPoint (Clean.NativeExperiment.maskSet mask) →ₗ[F2] Vector d) × (RawPartnerTarget.RawPoint (Clean.NativeExperiment.maskSet mask) →ₗ[F2] Alphabet s)) : ℝ := …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Clean.NativeExperiment.maskSet
- theorem
OAI.MaxCutGames.Decoder.ActualSeedSampling.sampledAgreement_eq_separatedline 337 - theorem
OAI.MaxCutGames.Decoder.ActualSeedSampling.fullSeedLaw_eq_sampledAgreementline 375Source documentation
Exact sampler join: the complete hidden seed used by conditioning has the same success as the genuine local-policy experiment used by the upper bound, with no extra hidden-data conditioning on either side.
theorem fullSeedLaw_eq_sampledAgreement (S : Source) (labeling : Fin (TableKeysGame.vertexCount S k s d) → Fin (2 ^ s)) (good : VisiblePolicies.LeftInput S k s d (Vector rs) → VisiblePolicies.ResponseWitness k → Prop) (β : ℝ) (hβ₀ : 0 ≤ β) (hβ₁ : β ≤ 1) : (AdviceLaw.fullSeedLaw (V := Alphabet s × Vector d) …Mentions: OAI.MaxCutGames.Decoder.TableKeysGame.vertexCount, OAI.MaxCutGames.Decoder.VisiblePolicies.LeftInput, OAI.MaxCutGames.Decoder.VisiblePolicies.ResponseWitness, OAI.MaxCutGames.Decoder.AdviceLaw.fullSeedLaw
- theorem
OAI.MaxCutGames.Decoder.ActualSeedSampling.fullSeedLaw_upperline 413 - theorem
OAI.MaxCutGames.Decoder.ActualMatrixContradiction.univ_fintype_eq_inline_ActualMatrixContradictionline 450 - def
OAI.MaxCutGames.Decoder.ActualMatrixContradiction.expectationOf_inline_ActualMatrixContradictionline 454 - theorem
OAI.MaxCutGames.Decoder.ActualMatrixContradiction.card_to_natCard_inline_ActualMatrixContradictionline 458 - theorem
OAI.MaxCutGames.Decoder.ActualMatrixContradiction.law_expectation_eqline 462 - theorem
OAI.MaxCutGames.Decoder.ActualMatrixContradiction.contradictionline 471