OAI/Computability/UniqueGames/Analysis/SubspaceCountingLemmas.lean
77 declarations, 0 contain sorry, 0 declared as axioms
Finite-field subspace cardinality bounds used in Appendix A.4. The objects counted here are actual mathlib submodules, not encoded cardinality assumptions.
- def
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.generatorsline 30 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.span_generatorsline 34 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_subspaces_rank_leline 42Source documentation
A k-subspace is determined by a chosen ordered k-tuple of spanning vectors.
theorem card_subspaces_rank_le [Finite V] (k : ℕ) : Nat.card {S : Submodule K V // finrank K S = k} ≤ Nat.card V ^ k := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_subspaces_rank_le_field_powerline 58Source documentation
General finite-field form of the image-choice estimate in A.4.
theorem card_subspaces_rank_le_field_power [Finite K] (k : ℕ) : Nat.card {S : Submodule K V // finrank K S = k} ≤ Nat.card K ^ (finrank K V * k) := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_binary_subspaces_rank_leline 68Source documentation
Binary specialization: the ambient dimension is the dimension of Y's image, not the potentially much larger original vector space.
theorem card_binary_subspaces_rank_le {V : Type*} [AddCommGroup V] [Module (ZMod 2) V] [Module.Finite (ZMod 2) V] (d k : ℕ) (hd : finrank (ZMod 2) V ≤ d) : Nat.card {S : Submodule (ZMod 2) V // finrank (ZMod 2) S = k} ≤ 2 ^ (d * k) := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_linearMaps_leline 84Source documentation
Evaluating on a basis bounds the number of linear maps without counting arbitrary functions on every vector.
theorem card_linearMaps_le [Finite V] : Nat.card (U →ₗ[K] V) ≤ Nat.card V ^ finrank K U := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.exists_rank_factorizationline 96Source documentation
Every rank-k map factors through the actual coordinate vector space K^k.
theorem exists_rank_factorization (f : U →ₗ[K] V) (k : ℕ) (hk : finrank K (LinearMap.range f) = k) : ∃ (a : (Fin k → K) →ₗ[K] V) (b : U →ₗ[K] (Fin k → K)), a.comp b = f := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_rank_maps_leline 108Source documentation
Rank-k maps between r- and s-dimensional spaces number at most |K|^((r+s)k). This is a general finite-field bound, proved by selecting the preceding factorization and injecting into the pair of factor maps.
theorem card_rank_maps_le [Finite K] (k : ℕ) : Nat.card {f : U →ₗ[K] V // finrank K (LinearMap.range f) = k} ≤ Nat.card K ^ ((finrank K U + finrank K V) * k) := by … - def
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.quotientImageMapline 148Source documentation
Factor a map whose kernel contains
ker Yand whose image lies inrange Ythrough the effective domain and codomain.def quotientImageMap (Y X : U →ₗ[K] V) (hker : LinearMap.ker Y ≤ LinearMap.ker X) (himage : LinearMap.range X ≤ LinearMap.range Y) : (U ⧸ LinearMap.ker Y) →ₗ[K] LinearMap.range Y := … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.quotientImageMap_mkline 158 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.rank_quotientImageMapline 164 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_constrained_maps_leline 177Source documentation
General ambient-independent rank-k bound for maps constrained by the image and kernel of Y. This counts actual linear maps; neither cardinality nor rank-additive predecessor estimates are supplied as hypotheses.
theorem card_constrained_maps_le [Finite K] (Y : U →ₗ[K] V) (k : ℕ) : Nat.card {X : U →ₗ[K] V // finrank K (LinearMap.range X) = k ∧ LinearMap.ker Y ≤ LinearMap.ker X ∧ LinearMap.range X ≤ LinearMap.range Y} ≤ Nat.card K ^ (2 * finrank K (LinearMap.range Y) * k) := by … - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.binary_add_cancelline 223 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceCounting.card_binary_predecessors_leline 231 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.horizontalline 293 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.hKernelline 294 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.scalarMapline 296 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.extensionline 301 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.extension_memline 305 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mkQ_eq_smul_iffline 310 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.hKernel_horizontalline 317 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.hKernel_extensionline 322 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.exists_one_extensionline 329 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.eq_extension_of_one_memline 333 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.eq_horizontal_of_no_oneline 347 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.horizontal_ne_extensionline 366 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.extension_injectiveline 373 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.encodeline 381 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.encode_injectiveline 385 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.encode_surjectiveline 409 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.splitEquivline 416 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.horizontalEquivline 419 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.extensionEquivline 432 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.finrank_horizontalline 472 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.finrank_extensionline 475 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.weightedTotalline 489 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.card_eq_pow_finrankline 491 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.quotient_card_mul_powline 499 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.weightedTotal_prodline 506 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusWeightline 532 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusTotalline 536 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusTotal_prodline 539 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.map_inverseline 562 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.subspaceEquivline 567 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.subspaceMapEquivline 573 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.finrank_map_equivline 584 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.weightedTotal_equivline 587 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusTotal_equivline 600 - def
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.coordinateSplitline 604 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusTotal_subsingletonline 618 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.coordinate_total_succline 635 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusTotal_eq_ifline 644 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.mobiusWeight_closedline 651 - theorem
OAI.UniqueGamesTheorem.Appendix.SubspaceExtensions.binary_subspace_mobiusline 660 - def
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.lowerIntervalEquivline 681 - def
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.lowerIntervalSpaceEquivline 710 - theorem
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.lowerInterval_finrankline 720 - theorem
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.sum_lowerIntervalline 728 - def
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.lowerWeightedTotalline 740 - theorem
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.lowerWeightedTotal_eqline 745 - theorem
OAI.UniqueGamesTheorem.Appendix.SubmoduleInterval.binary_lower_interval_mobiusline 756 - def
OAI.UniqueGamesTheorem.Fourier.Deletion.trueCountline 774Source documentation
The number of entries on which a Boolean function is true.
def trueCount {Ω : Type u} (f : Ω → Bool) : List Ω → Nat | [] => 0 | x :: xs => (if f x then 1 else 0) + trueCount f xs - theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.trueCount_monoline 778 - theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.trueCount_eq_zeroline 790 - structure
OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystemline 802Source documentation
A family of admissible restrictions and their containing rows. Rows may overlap, and there is no requirement that different restrictions share the same ancillary data.
structure RestrictionSystem (Ω : Type u) (Row : Type v) (Witness : Type w) where …
- def
OAI.UniqueGamesTheorem.Fourier.Deletion.Denseline 813Source documentation
Strict density above the rational threshold
p / qwhenq > 0.def Dense (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (t : Witness) : Prop := …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- def
OAI.UniqueGamesTheorem.Fourier.Deletion.BadRowline 818Source documentation
A row is bad when it contains a dense admissible restriction.
def BadRow (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (r : Row) : Prop := …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- def
OAI.UniqueGamesTheorem.Fourier.Deletion.DeletedSetline 823Source documentation
All points of every bad row are removed.
def DeletedSet (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (x : Ω) : Prop := …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- def
OAI.UniqueGamesTheorem.Fourier.Deletion.remainderline 828Source documentation
The Boolean remainder after deleting the union of bad rows.
noncomputable def remainder (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (x : Ω) : Bool := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- def
OAI.UniqueGamesTheorem.Fourier.Deletion.removedline 834Source documentation
The Boolean part removed from the original function.
noncomputable def removed (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (x : Ω) : Bool := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.remainder_le_originalline 839 - theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.dense_deletes_whole_rowline 850Source documentation
A dense restriction makes its whole row bad, including points that were not sampled by the restriction.
theorem dense_deletes_whole_row (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (t : Witness) (ha : S.admissible t) (hd : Dense S H p q t) (x : Ω) (hx : S.row (S.containingRow t) x) : remainder S H p q x = false := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem, OAI.UniqueGamesTheorem.Fourier.Deletion.Dense, OAI.UniqueGamesTheorem.Fourier.Deletion.remainder
- theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.dense_restriction_remainder_zeroline 860 - def
OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionGloballine 869Source documentation
Rational restriction globality of a Boolean function.
def RestrictionGlobal (S : RestrictionSystem Ω Row Witness) (G : Ω → Bool) (p q : Nat) : Prop := …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem
- theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.remainder_restrictionGloballine 875Source documentation
Whole-row deletion establishes every admissible restriction bound. This is the first assertion of Lemma 5.2, before applying Fourier estimates.
theorem remainder_restrictionGlobal (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) : RestrictionGlobal S (remainder S H p q) p q := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem, OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionGlobal, OAI.UniqueGamesTheorem.Fourier.Deletion.remainder
- theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.boolean_partitionline 891Source documentation
Retained and removed contributions form a disjoint Boolean partition.
theorem boolean_partition (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (x : Ω) : (remainder S H p q x || removed S H p q x) = H x ∧ (remainder S H p q x && removed S H p q x) = false := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem, OAI.UniqueGamesTheorem.Fourier.Deletion.remainder, OAI.UniqueGamesTheorem.Fourier.Deletion.removed
- theorem
OAI.UniqueGamesTheorem.Fourier.Deletion.trueCount_partitionline 899Source documentation
Exact conservation of retained and removed mass on any sampling list.
theorem trueCount_partition (S : RestrictionSystem Ω Row Witness) (H : Ω → Bool) (p q : Nat) (xs : List Ω) : trueCount H xs = trueCount (remainder S H p q) xs + trueCount (removed S H p q) xs := by …Mentions: OAI.UniqueGamesTheorem.Fourier.Deletion.RestrictionSystem, OAI.UniqueGamesTheorem.Fourier.Deletion.trueCount, OAI.UniqueGamesTheorem.Fourier.Deletion.remainder, OAI.UniqueGamesTheorem.Fourier.Deletion.removed