OAI/Combinatorics/ExpectationThreshold/SelectorProfile.lean
15 declarations, 0 contain sorry, 0 declared as axioms
Exact counts in a selector profile
The full profile records each strict downward move by its final and original
colors. These counting identities hold even without a global Earlier
hypothesis: every point counted by a crossing already moves downward.
- theorem
OAI.TalagrandThreshold.Selector.profile_eq_card_filter_movedRowline 23Source documentation
A profile entry is the original-color fiber within its moved row.
theorem profile_eq_card_filter_movedRow (a z : Coloring α s) (i : Fin s) (h : Color s) : profile a z i h = ((movedRow a z i).filter fun x => a x = h).card := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Color, OAI.TalagrandThreshold.Selector.profile, OAI.TalagrandThreshold.Selector.movedRow
- theorem
OAI.TalagrandThreshold.Selector.rowCount_profileline 38Source documentation
All original colors partition the moved row.
theorem rowCount_profile (a z : Coloring α s) (i : Fin s) : rowCount (profile a z) i = (movedRow a z i).card := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Selector.rowCount, OAI.TalagrandThreshold.Selector.profile, OAI.TalagrandThreshold.Selector.movedRow
- theorem
OAI.TalagrandThreshold.Selector.movedRow_card_eq_rowCountline 46 - theorem
OAI.TalagrandThreshold.Selector.movedRow_subset_changesline 51 - theorem
OAI.TalagrandThreshold.Selector.changes_filter_lastline 60Source documentation
The last color cannot be the final color of a strict downward move.
theorem changes_filter_last (a z : Coloring α s) : (changes a z).filter (fun x => z x = Fin.last s) = ∅ := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Selector.changes
- theorem
OAI.TalagrandThreshold.Selector.changes_filter_castSuccline 73Source documentation
The nonterminal final-color fibers are exactly the moved rows.
theorem changes_filter_castSucc (a z : Coloring α s) (i : Fin s) : (changes a z).filter (fun x => z x = i.castSucc) = movedRow a z i := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Selector.changes, OAI.TalagrandThreshold.Selector.movedRow
- theorem
OAI.TalagrandThreshold.Selector.profileSize_profileline 85Source documentation
Every changed point has exactly one nonterminal final color.
theorem profileSize_profile (a z : Coloring α s) : profileSize (profile a z) = (changes a z).card := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Selector.profileSize, OAI.TalagrandThreshold.Selector.profile, OAI.TalagrandThreshold.Selector.changes
- theorem
OAI.TalagrandThreshold.Selector.profileSize_profile_eq_card_changesline 98 - theorem
OAI.TalagrandThreshold.Selector.profile_eq_zero_of_leline 104Source documentation
Entries on or below the diagonal vanish in every actual profile.
theorem profile_eq_zero_of_le (a z : Coloring α s) (i : Fin s) (h : Color s) (hhi : h.val ≤ i.val) : profile a z i h = 0 := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Color, OAI.TalagrandThreshold.Selector.profile
- theorem
OAI.TalagrandThreshold.Selector.crossings_eq_profileCrossingsline 109Source documentation
The full profile determines every actual crossing count.
theorem crossings_eq_profileCrossings (a z : Coloring α s) (i : Fin s) : crossings a z i = profileCrossings (profile a z) i := by …Mentions: OAI.TalagrandThreshold.Coloring, OAI.TalagrandThreshold.Selector.crossings, OAI.TalagrandThreshold.Selector.profileCrossings, OAI.TalagrandThreshold.Selector.profile
- theorem
OAI.TalagrandThreshold.Selector.crossings_eq_of_profile_eqline 176 - theorem
OAI.TalagrandThreshold.Selector.rowCount_le_profileSizeline 182Source documentation
A row is bounded by the total size of any natural-valued profile.
theorem rowCount_le_profileSize (n : Profile s) (i : Fin s) : rowCount n i ≤ profileSize n := by …Mentions: OAI.TalagrandThreshold.Selector.Profile, OAI.TalagrandThreshold.Selector.rowCount, OAI.TalagrandThreshold.Selector.profileSize
- theorem
OAI.TalagrandThreshold.Selector.profileCrossings_le_profileSizeline 188Source documentation
Restricting to entries crossing one level cannot increase total size.
theorem profileCrossings_le_profileSize (n : Profile s) (i : Fin s) : profileCrossings n i ≤ profileSize n := by …Mentions: OAI.TalagrandThreshold.Selector.Profile, OAI.TalagrandThreshold.Selector.profileCrossings, OAI.TalagrandThreshold.Selector.profileSize
- theorem
OAI.TalagrandThreshold.Selector.crossings_le_card_changesline 197 - theorem
OAI.TalagrandThreshold.Selector.mem_groupOriginalsline 202