OAI/Analysis/KadisonKastler/ThroughLabel.lean
14 declarations, 0 contain sorry, 0 declared as axioms
Counting projection words containing one prescribed label
The labels form actual finite multisets (Sym). Distinct multisets containing
one label are counted by a binomial coefficient. Repeated multisets admit a
uniform bound of twice the appropriate power of the alphabet size.
- abbrev
OAI.KadisonKastler.ThroughLabelline 23Source documentation
Multisets containing a prescribed label.
abbrev ThroughLabel (a : α) (r : ℕ) := {s : Sym α r // a ∈ s} - abbrev
OAI.KadisonKastler.DistinctThroughLabelline 26Source documentation
Multisets containing a prescribed label, with no repeated label.
abbrev DistinctThroughLabel (a : α) (r : ℕ) := …
- abbrev
OAI.KadisonKastler.RepeatedThroughLabelline 30Source documentation
Multisets containing a prescribed label and at least one repetition.
abbrev RepeatedThroughLabel (a : α) (r : ℕ) := …
- def
OAI.KadisonKastler.throughLabelEquivline 34Source documentation
Erasing one occurrence of the prescribed label.
def throughLabelEquiv (a : α) (r : ℕ) : ThroughLabel a (r + 1) ≃ Sym α r where …
Mentions: OAI.KadisonKastler.ThroughLabel
- theorem
OAI.KadisonKastler.card_throughLabelline 40 - def
OAI.KadisonKastler.distinctThroughLabelEquivline 45Source documentation
Distinct multisets are exactly finite subsets with the same cardinality.
def distinctThroughLabelEquiv (a : α) (r : ℕ) : DistinctThroughLabel a r ≃ {s : Finset α // a ∈ s ∧ s.card = r} where …Mentions: OAI.KadisonKastler.DistinctThroughLabel
- theorem
OAI.KadisonKastler.card_distinctThroughLabelline 58 - theorem
OAI.KadisonKastler.card_sym_le_powline 74Source documentation
Stars-and-bars is bounded by the count of all ordered words.
theorem card_sym_le_pow [Nonempty α] (r : ℕ) : Fintype.card (Sym α r) ≤ Fintype.card α ^ r := by … - theorem
OAI.KadisonKastler.exists_repeated_pairline 83Source documentation
A repeated multiset can be written with a repeated pair at its front.
theorem exists_repeated_pair {r : ℕ} (s : Sym α (r + 2)) (hs : ¬ (s : Multiset α).Nodup) : ∃ b : α, ∃ t : Sym α r, s = Sym.cons b (Sym.cons b t) := by … - def
OAI.KadisonKastler.repeatedThroughCodeline 102Source documentation
Every repeated multiset through
ais eitheraafollowed by a remainder, orabbfollowed by a remainder.def repeatedThroughCode (a : α) (r : ℕ) : Sym α (r + 1) ⊕ (α × Sym α r) → RepeatedThroughLabel a (r + 3) | Sum.inl t => ⟨Sym.cons a (Sym.cons a t), by simp [Sym.coe_cons, Multiset.nodup_cons]⟩ | Sum.inr (b, t) => ⟨Sym.cons a (Sym.cons b (Sym.cons b t)), by simp [Sym.coe_cons, Multiset.nodup_cons]⟩Mentions: OAI.KadisonKastler.RepeatedThroughLabel
- theorem
OAI.KadisonKastler.repeatedThroughCode_surjectiveline 109 - theorem
OAI.KadisonKastler.card_repeatedThroughLabel_add_threeline 132Source documentation
The repeated contribution loses one degree compared with all words.
theorem card_repeatedThroughLabel_add_three (a : α) (r : ℕ) : Fintype.card (RepeatedThroughLabel a (r + 3)) ≤ 2 * Fintype.card α ^ (r + 1) := by …Mentions: OAI.KadisonKastler.RepeatedThroughLabel
- theorem
OAI.KadisonKastler.card_repeatedThroughLabel_twoline 145Source documentation
There is exactly one repeated two-letter multiset through
a.theorem card_repeatedThroughLabel_two (a : α) : Fintype.card (RepeatedThroughLabel a 2) = 1 := by …Mentions: OAI.KadisonKastler.RepeatedThroughLabel
- theorem
OAI.KadisonKastler.card_repeatedThroughLabelline 166Source documentation
A uniform repeated-label bound, including the length-two endpoint.
theorem card_repeatedThroughLabel (a : α) (r : ℕ) (hr : 2 ≤ r) : Fintype.card (RepeatedThroughLabel a r) ≤ 2 * Fintype.card α ^ (r - 2) := by …Mentions: OAI.KadisonKastler.RepeatedThroughLabel