OAI/Computability/MaxCut/Games/RowErasureSelection.lean
72 declarations, 0 contain sorry, 0 declared as axioms
Visible selection of a row-erasure witness. The selected description depends only on the fixed table function, the row map, and the observed row value. The full sampled matrix enters only the later event testing its membership in the already selected slice. Classical choice fixes one witness once and for all; proof irrelevance makes the choice independent of the goodness proof.
- def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.chosenDescriptionline 21 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.chosenDescription_specline 26 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.chosenDescription_congrline 35 - def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedDescriptionline 46Source documentation
A total visible selector. Bad advice has no selected witness.
def SliceFamily.selectedDescription (F : SliceFamily X Y A S D) (f : X → Y) (α : ℝ) (a : A) (s : S) : Option D := by … - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedDescription_of_goodline 52 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.good_of_selectedDescriptionline 58 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedDescription_specline 67 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedDescription_congrline 78 - def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedEventline 88Source documentation
Good visible advice and the selected column restrictions on the hidden matrix. The selector receives only its observed row value.
def SliceFamily.selectedEvent (F : SliceFamily X Y A S D) (f : X → Y) (α : ℝ) (a : A) (x : X) : Prop := … - def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedMatchline 92 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedEvent_iff_of_adviceline 97 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedMatch_iff_of_adviceline 110 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedEvent_goodline 125 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedMatch_eventline 131 - def
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.fiberline 151 - def
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.eventline 154 - def
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.matchEventline 158 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.expect_le_expect_of_fiber_sum_leline 164Source documentation
Arbitrary real summands can be compared fiber by fiber. No uniformity of the induced observation distribution is asserted or required.
theorem expect_le_expect_of_fiber_sum_le (observe : X → S) (f g : X → ℝ) (hle : ∀ s, (∑ x ∈ fiber observe s, f x) ≤ ∑ x ∈ fiber observe s, g x) : Finset.univ.expect f ≤ Finset.univ.expect g := by …Mentions: OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.fiber
- theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.sum_event_mul_fiberline 176Source documentation
On good visible data, the selected event sums exactly over the selected points, including for arbitrary real weights on the hidden sample.
theorem sum_event_mul_fiber (observe : X → S) (good : S → Prop) (chosen : S → Finset X) (support : ∀ s x, x ∈ chosen s → observe x = s) (s : S) (hgood : good s) (w : X → ℝ) : (∑ x ∈ fiber observe s, indicator (event observe good chosen x) * w x) = ∑ x ∈ chosen s, w x := by …Mentions: OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.fiber, OAI.MaxCutGames.Inverse.RowErasure.indicator, OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.event
- theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.sum_event_fiberline 199 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.sum_match_fiberline 208 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.mass_event_geline 228Source documentation
A lower fraction inside every good fiber gives the same lower fraction of the actual good-advice mass. Empty fibers and empty sample spaces are valid.
theorem mass_event_ge (observe : X → S) (good : S → Prop) (chosen : S → Finset X) (support : ∀ s x, x ∈ chosen s → observe x = s) (c : ℝ) (hsize : ∀ s, good s → c * ((fiber observe s).card : ℝ) ≤ ((chosen s).card : ℝ)) : c * uniformMass (fun x => good (observe x)) ≤ uniformMass (event observe good chosen) := by …Mentions: OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.fiber, OAI.MaxCutGames.Inverse.RowErasure.uniformMass, OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.event
- theorem
OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.mass_match_geline 267Source documentation
A matching fraction in every selected good fiber survives averaging over the hidden sample space, without any equiprobability assumption on fibers.
theorem mass_match_ge (observe : X → S) (good : S → Prop) (chosen : S → Finset X) (support : ∀ s x, x ∈ chosen s → observe x = s) (hit : S → X → Prop) (β : ℝ) (hmatch : ∀ s, good s → β * ((chosen s).card : ℝ) ≤ ∑ x ∈ chosen s, indicator (hit s x)) : β * uniformMass (event observe good chosen) ≤ uniformMass (matchEvent observe good chosen hit) := by …Mentions: OAI.MaxCutGames.Inverse.RowErasure.indicator, OAI.MaxCutGames.Inverse.RowErasure.uniformMass, OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.event, OAI.MaxCutGames.Inverse.RowErasure.SelectionPartition.matchEvent
- theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.card_affineSliceline 315 - theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.card_rowFiberline 323 - theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.card_rowFiber_eq_mulline 332Source documentation
The exact number of row-fiber points for each compatible specification on the column span. Dependent column equations cost only their actual rank.
theorem card_rowFiber_eq_mul (A : K →ₗ[F2] R) (Q : Submodule F2 E) (M₀ : E →ₗ[F2] K) : Nat.card (RowFiber A (A.comp M₀)) = Nat.card (AffineSlice A Q M₀) * 2 ^ (Module.finrank F2 Q * Module.finrank F2 A.ker) := by … - theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.card_rowFiber_le_mulline 341Source documentation
A denominator-free bound by the listed column count and ambient output dimension, with no independence or full-rank hypothesis.
theorem card_rowFiber_le_mul (A : K →ₗ[F2] R) (Q : Submodule F2 E) (M₀ : E →ₗ[F2] K) (ell r : ℕ) (hQ : Module.finrank F2 Q ≤ r) (hK : Module.finrank F2 K ≤ ell) : Nat.card (RowFiber A (A.comp M₀)) ≤ Nat.card (AffineSlice A Q M₀) * 2 ^ (ell * r) := by … - theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.column_fraction_eqline 354Source documentation
The exact uniform fraction of the row fiber occupied by its compatible affine column slice.
theorem column_fraction_eq (A : K →ₗ[F2] R) (Q : Submodule F2 E) (M₀ : E →ₗ[F2] K) : (Nat.card (AffineSlice A Q M₀) : ℝ) / (Nat.card (RowFiber A (A.comp M₀)) : ℝ) = 1 / (2 : ℝ) ^ (Module.finrank F2 Q * Module.finrank F2 A.ker) := by … - theorem
OAI.MaxCutGames.Inverse.RowErasureColumnMass.column_fraction_geline 368Source documentation
At most
rindependent column constraints retain at least the fraction2^(-ell*r)of any nonempty row-advice fiber.theorem column_fraction_ge (A : K →ₗ[F2] R) (Q : Submodule F2 E) (M₀ : E →ₗ[F2] K) (ell r : ℕ) (hQ : Module.finrank F2 Q ≤ r) (hK : Module.finrank F2 K ≤ ell) : 1 / (2 : ℝ) ^ (ell * r) ≤ (Nat.card (AffineSlice A Q M₀) : ℝ) / (Nat.card (RowFiber A (A.comp M₀)) : ℝ) := by … - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.difference_row_zeroline 395 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.difference_range_leline 408 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.difference_vanishes_columnsline 415 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.directionEmbedding_surjectiveline 428Source documentation
Every actual slice point differs from the base by a unique quotient map.
theorem directionEmbedding_surjective (S : Slice ell m) (M₀ : Mat ell m) (h₀ : S.Contains M₀) : Function.Surjective (S.directionEmbedding M₀ h₀) := by …Mentions: OAI.MaxCutGames.Inverse.Shortcode.Slice, OAI.MaxCutGames.Inverse.Shortcode.Mat
- def
OAI.MaxCutGames.Inverse.Shortcode.Slice.directionEquivline 450Source documentation
The concrete simultaneous slice is exactly an affine copy of
Hom(domain / columnSpan, commonRowKernel).def directionEquiv (S : Slice ell m) (M₀ : Mat ell m) (h₀ : S.Contains M₀) : S.Directions ≃ S.points := …Mentions: OAI.MaxCutGames.Inverse.Shortcode.Slice, OAI.MaxCutGames.Inverse.Shortcode.Mat
- theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.directionEquiv_valline 455 - instance
OAI.MaxCutGames.Inverse.Shortcode.Slice.directionsFintypeline 459 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.card_points_eq_directionsline 467 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.points_expect_eq_directionsline 473Source documentation
Uniform quotient parameters give precisely the uniform measure on the actual finite slice, including all its inhomogeneous row/column equations.
theorem points_expect_eq_directions (S : Slice ell m) (M₀ : Mat ell m) (h₀ : S.Contains M₀) (f : Mat ell m → ℝ) : S.points.expect f = 𝔼 N : S.Directions, f (M₀ + S.directionMatrix N) := by …Mentions: OAI.MaxCutGames.Inverse.Shortcode.Slice, OAI.MaxCutGames.Inverse.Shortcode.Mat
- theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.directionMatrix_evaluateline 481 - theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.direction_affine_targetline 489Source documentation
The decoder's affine offset is the original intercept plus the base matrix evaluated at the target; it is not silently replaced by zero.
theorem direction_affine_target (S : Slice ell m) (M₀ : Mat ell m) (N : S.Directions) (z : Vector m) (u : Vector ell) : evaluate (M₀ + S.directionMatrix N) z + u = (N (S.columnSpan.mkQ z) : Vector ell) + (evaluate M₀ z + u) := by …Mentions: OAI.MaxCutGames.Inverse.Shortcode.Slice, OAI.MaxCutGames.Inverse.Shortcode.Mat, OAI.MaxCutGames.Inverse.Shortcode.Vector, OAI.MaxCutGames.Inverse.Shortcode.evaluate
- theorem
OAI.MaxCutGames.Inverse.Shortcode.Slice.affineAgreement_eq_directionsline 500 - def
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowFiberline 526 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.mem_rowFiberline 530 - def
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowOnlyline 535Source documentation
Forget only the column equations of a slice.
def rowOnly {ell m : ℕ} (S : Slice ell m) : Slice ell m where … - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowOnly_contains_iffline 543 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowOnly_pointsline 556 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.contains_rowOnlyline 562 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowOnly_columnSpanline 566 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowOnly_quotient_finrankline 572 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowFiber_cardline 584Source documentation
The size of an actual nonempty row fiber, in the same coordinates used by the selector's uniform matrix sample.
theorem rowFiber_card {ell m : ℕ} (S : Slice ell m) (M₀ : Mat ell m) (h₀ : S.Contains M₀) : (rowFiber S.rowCoefficient S.rowValue).card = 2 ^ (m * Module.finrank F2 S.rowMap.ker) := by …Mentions: OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowFiber
- theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowFiber_nonemptyline 593 - theorem
OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.column_fraction_geline 603Source documentation
The chosen nonempty column event has the required mass inside its actual row-advice fiber. The target coefficient and intercept do not affect its size.
theorem column_fraction_ge {ell m r : ℕ} (d : Description ell m r) (hne : d.toSlice.points.Nonempty) : 1 / (2 : ℝ) ^ (ell * r) ≤ (d.toSlice.points.card : ℝ) / ((rowFiber d.1 d.2.1).card : ℝ) := by …Mentions: OAI.MaxCutGames.Inverse.RowErasureDescriptionColumnMass.rowFiber
- def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedPointsline 640 - def
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedHitline 646 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedPoints_of_goodline 650 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedHit_of_goodline 657 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedPoints_supportline 670 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedEvent_iff_pointsline 684 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedMatch_iff_pointsline 700 - theorem
OAI.MaxCutGames.Inverse.RowErasure.SliceFamily.selectedPoints_match_sumline 718 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedPoints_column_massline 745 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selected_event_mass_geline 762 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selected_match_mass_geline 789 - def
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMassline 813 - def
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedMatchMassline 816 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMass_geline 819 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedMatchMass_geline 832 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMass_weighted_geline 841Source documentation
Context weights may be the pushforward of verifier seeds and need not be uniform on distinct questions. Normalization is not needed for this inequality.
theorem selectedEventMass_weighted_ge {Q : Type*} [Fintype Q] (w : Q → ℝ) (hw : ∀ q, 0 ≤ w q) (f : Q → Mat ell m → Vector ell) (α g₀ : ℝ) (hgood : g₀ ≤ ∑ q, w q * adviceMass ((family ell m r).goodAt (f q) α)) : (1 / (2 : ℝ) ^ (ell * r)) * g₀ ≤ ∑ q, w q * selectedEventMass r (f q) α := by …Mentions: OAI.MaxCutGames.Inverse.RowErasureMatrix.family, OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMass
- theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedMatchMass_weighted_geline 859 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedMatchMass_conditional_geline 873 - theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMass_contextual_geline 881Source documentation
The same bound for a uniform finite seed space, allowing repeated contexts.
theorem selectedEventMass_contextual_ge {Q : Type*} [Fintype Q] (f : Q → Mat ell m → Vector ell) (α g₀ : ℝ) (hgood : g₀ ≤ 𝔼 q, adviceMass ((family ell m r).goodAt (f q) α)) : (1 / (2 : ℝ) ^ (ell * r)) * g₀ ≤ 𝔼 q, selectedEventMass r (f q) α := by …Mentions: OAI.MaxCutGames.Inverse.RowErasureMatrix.family, OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedEventMass
- theorem
OAI.MaxCutGames.Inverse.RowErasureMatrix.selectedMatchMass_contextual_geline 890