OAI/Computability/MaxCut/Encoding/PaddedLaw.lean
80 declarations, 0 contain sorry, 0 declared as axioms
Actual linear-map realization of the sparse padded-table experiment. The finite sample has one independent full pair or singleton coefficient at each occurrence position and one independent homogeneous intercept. Its map is formed by composing a genuine map on the raw projected target with the actual parity projection. The third position contributes its parity-dependent intercept; it is not treated as a homogeneous two-coordinate projection.
- def
OAI.MaxCutGames.Decoder.PaddedLaw.pushforwardWeightline 33 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.pushforwardWeight_piline 36 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.pushforwardWeight_joint_uniform_interceptline 48 - abbrev
OAI.MaxCutGames.Decoder.PaddedLaw.BlockDrawline 75 - def
OAI.MaxCutGames.Decoder.PaddedLaw.decodeSlotline 77 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.slotIndex_decodeSlotline 80 - def
OAI.MaxCutGames.Decoder.PaddedLaw.blockAmbientline 83 - def
OAI.MaxCutGames.Decoder.PaddedLaw.blockSlopesline 87 - def
OAI.MaxCutGames.Decoder.PaddedLaw.blockThirdline 90 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockSlopes_fullline 93 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockSlopes_firstline 97 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockSlopes_secondline 102 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockSlopes_thirdline 107 - def
OAI.MaxCutGames.Decoder.PaddedLaw.singletonPositionsline 111 - def
OAI.MaxCutGames.Decoder.PaddedLaw.drawSlotsline 114 - def
OAI.MaxCutGames.Decoder.PaddedLaw.drawCoefficientsline 119 - def
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMapline 131 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.ambientCoefficients_drawline 137 - def
OAI.MaxCutGames.Decoder.PaddedLaw.interceptShiftline 149 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMap_toCoefficientsline 152 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniform_rawMapsline 171Source documentation
Uniform raw coefficients are exactly uniform genuine maps on the actual projected target, for each fixed mask and projection choice.
theorem uniform_rawMaps [Fintype V] (J : Finset (Fin k)) (H : (RawPoint J →ₗ[F2] V) → ℝ) : (𝔼 gamma : RawCoefficients J V, H (rawMap J V gamma)) = 𝔼 Y, H Y := by … - abbrev
OAI.MaxCutGames.Decoder.PaddedLaw.RawTupleline 178Source documentation
The conditional coefficient sample, with full pairs and singleton values kept at their occurrence-local positions.
abbrev RawTuple (J : Finset (Fin k)) (V : Type) := …
- def
OAI.MaxCutGames.Decoder.PaddedLaw.rawTupleEquivline 181 - def
OAI.MaxCutGames.Decoder.PaddedLaw.tupleDrawline 202 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.tupleDraw_ambientline 208 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMap_tupleDrawline 218 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniform_fixed_projection_tupleline 236Source documentation
Conditional on every fixed mask and position choice, independently uniform full pairs/singletons and intercept give the uniform law on genuine projected-target maps followed by the actual projection.
theorem uniform_fixed_projection_tuple [Fintype V] (rhs : Fin k → Bool) (J : Finset (Fin k)) (slot : Fin k → Slot) (H : (ActualHomogeneous.E k →ₗ[F2] V) → ℝ) : (𝔼 a : RawTuple J V, H (paddedMap rhs (tupleDraw J slot a) a.1)) = 𝔼 Y : RawPoint J →ₗ[F2] V, H (Y.comp (rawProjection rhs J slot)) := by …Mentions: OAI.MaxCutGames.Decoder.PaddedLaw.RawTuple, OAI.MaxCutGames.Decoder.PaddedLaw.paddedMap, OAI.MaxCutGames.Decoder.PaddedLaw.tupleDraw
- def
OAI.MaxCutGames.Decoder.PaddedLaw.blockWeightsline 248Source documentation
Retain a full pair with probability
1-beta, or choose one of three singleton positions with probabilitybeta/3and its uniform slope.def blockWeights (β : ℝ) : BlockDraw V → ℝ | .inl ab => (1 - β) * uniformWeights (V × V) ab | .inr ia => (β / 3) * uniformWeights V ia.2 omit [Module F2 V] in
- theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockWeights_isProbabilityline 253 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockWeights_slopesline 267 - def
OAI.MaxCutGames.Decoder.PaddedLaw.drawWeightsline 295 - def
OAI.MaxCutGames.Decoder.PaddedLaw.paddedWeightsline 298 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedWeights_eqline 302 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniformWeights_prodline 325 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.totalVariation_uniform_frontline 329 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedWeights_totalVariation_eq_slopeline 340 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedWeights_totalVariationline 358Source documentation
Full-table bound on the coordinates of the genuine composed maps. It includes the affine intercept and averages all projection choices.
theorem paddedWeights_totalVariation (rhs : Fin k → Bool) (β : ℝ) (hβ : 0 ≤ β) (hβ' : β ≤ 1) : MaxCutGames.Foundations.Information.totalVariation (paddedWeights (V := V) rhs β) …Mentions: OAI.MaxCutGames.Foundations.Information.totalVariation, OAI.MaxCutGames.Decoder.PaddedLaw.paddedWeights
- abbrev
OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoiceline 366 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceWeightline 368 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.choiceWeight_isProbabilityline 372 - def
OAI.MaxCutGames.Decoder.PaddedLaw.blockKernelline 383 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceTupleWeightline 388 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.choiceTupleWeight_isProbabilityline 391 - def
OAI.MaxCutGames.Decoder.PaddedLaw.kernelTupleWeightline 396 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockWeights_choice_mixtureline 400 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.independent_blockWeights_mixtureline 406 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.drawWeights_choice_mixtureline 417 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.draw_expectation_choice_mixtureline 428Source documentation
This is the unconditioned law identity before replacing the coefficient kernel by uniform projected-target maps. No division by a mask probability.
theorem draw_expectation_choice_mixture (β : ℝ) (H : ((Fin k → BlockDraw V) × V) → ℝ) : (∑ dz, drawWeights β k dz * H dz) = ∑ c : Fin k → ProjectionChoice, choiceTupleWeight β c * ∑ dz, (kernelTupleWeight c dz.1 * uniformWeights V dz.2) * H dz := by …Mentions: OAI.MaxCutGames.Decoder.PaddedLaw.BlockDraw, OAI.MaxCutGames.Decoder.PaddedLaw.drawWeights, OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoice, OAI.MaxCutGames.Decoder.PaddedLaw.choiceTupleWeight, OAI.MaxCutGames.Decoder.PaddedLaw.kernelTupleWeight
- def
OAI.MaxCutGames.Decoder.PaddedLaw.ChoiceValueline 443Source documentation
The actual coefficient type after a choice has been fixed.
def ChoiceValue (V : Type) : ProjectionChoice → Type | none => V × V | some _ => V
Mentions: OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoice
- instance
OAI.MaxCutGames.Decoder.PaddedLaw.choiceValueFintypeline 447 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceEmbedline 450 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.blockKernel_uniform_pushforwardline 455 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.pushforwardWeight_pi_depline 472 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniformWeights_piline 485 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.kernelTuple_uniform_pushforwardline 492 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.sum_pushforwardWeight_mulline 509 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.sum_uniformWeights_mulline 519 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceMaskline 525 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceSlotline 528 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceSlotsline 532 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.not_mem_choiceMaskline 535 - def
OAI.MaxCutGames.Decoder.PaddedLaw.fullChoiceValueline 539 - def
OAI.MaxCutGames.Decoder.PaddedLaw.singleChoiceValueline 543 - def
OAI.MaxCutGames.Decoder.PaddedLaw.readChoiceValueline 547 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.readChoiceValue_roundtripline 554 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.readChoiceValue_fullline 560 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.readChoiceValue_singleline 567 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceValuesToRawTupleline 574 - def
OAI.MaxCutGames.Decoder.PaddedLaw.rawTupleToChoiceValuesline 580 - def
OAI.MaxCutGames.Decoder.PaddedLaw.choiceValuesRawTupleEquivline 588Source documentation
Choice fibers and the already-verified RawTuple model contain exactly the same coefficients, with no unused coordinate and no multiplicity.
def choiceValuesRawTupleEquiv (c : Fin k → ProjectionChoice) : ((∀ j, ChoiceValue V (c j)) × V) ≃ RawTuple (choiceMask c) V where …Mentions: OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoice, OAI.MaxCutGames.Decoder.PaddedLaw.ChoiceValue, OAI.MaxCutGames.Decoder.PaddedLaw.RawTuple, OAI.MaxCutGames.Decoder.PaddedLaw.choiceMask
- theorem
OAI.MaxCutGames.Decoder.PaddedLaw.restoreChoiceDrawline 610 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.tupleDraw_choiceValuesline 619 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.fixed_choice_kernel_map_expectationline 634Source documentation
The whole fixed-choice kernel is precisely the uniform actual-map law. This lemma closes the gap between an arbitrary fixed-mask sampling experiment and the conditioning kernel that actually occurs in drawWeights.
theorem fixed_choice_kernel_map_expectation (rhs : Fin k → Bool) (c : Fin k → ProjectionChoice) (H : (ActualHomogeneous.E k →ₗ[F2] V) → ℝ) : (∑ dz : (Fin k → BlockDraw V) × V, (kernelTupleWeight c dz.1 * uniformWeights V dz.2) * H (paddedMap rhs dz.1 dz.2)) = 𝔼 Y : RawPoint (choiceMask c) →ₗ[F2] V, H (Y.comp (rawProjection rhs (choiceMask c) (choiceSlots c))) := by …Mentions: OAI.MaxCutGames.Decoder.PaddedLaw.ProjectionChoice, OAI.MaxCutGames.Decoder.PaddedLaw.BlockDraw, OAI.MaxCutGames.Decoder.PaddedLaw.kernelTupleWeight, OAI.MaxCutGames.Decoder.PaddedLaw.paddedMap, OAI.MaxCutGames.Decoder.PaddedLaw.choiceMask, OAI.MaxCutGames.Decoder.PaddedLaw.choiceSlots
- theorem
OAI.MaxCutGames.Decoder.PaddedLaw.actual_projection_mixture_expectationline 675 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniform_rawMap_pairline 690Source documentation
Combining independently uniform
MandTinto a map with product codomain is exactly uniform; the preceding law may takeV = K × W.theorem uniform_rawMap_pair {K W : Type} [AddCommGroup K] [Module F2 K] [Fintype K] [AddCommGroup W] [Module F2 W] [Fintype W] (J : Finset (Fin k)) (H : (RawPoint J →ₗ[F2] K × W) → ℝ) : (𝔼 MT : (RawPoint J →ₗ[F2] K) × (RawPoint J →ₗ[F2] W), H (MT.1.prod MT.2)) = 𝔼 Y : RawPoint J →ₗ[F2] K × W, H Y := by … - def
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMapWeightsline 700 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMapWeights_eqline 705 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.uniform_sourceMap_coordinatesline 719 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMapWeights_totalVariation_eq_slopeline 726 - theorem
OAI.MaxCutGames.Decoder.PaddedLaw.paddedMapWeights_totalVariationline 753