OAI/Analysis/Nonexpansive/OrderedGroupConcat.lean
31 declarations, 0 contain sorry, 0 declared as axioms
Concatenation of ordered finite groups
Each parent contributes a finite group. The global index is the sum of the sizes of earlier groups plus the local index. This arithmetic construction gives both the monotone parent map and the order embedding induced by retaining an increasing subsequence within each group.
- def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.totalline 25Source documentation
The number of entries after concatenating all groups.
def total (c : Fin n → ℕ) : ℕ := ∑ p, c p
- def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offsetline 28Source documentation
The number of entries in groups preceding
p.def offset (c : Fin n → ℕ) (p : Fin n) : ℕ := …
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset_zeroline 31 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset_succline 35Source documentation
Appending one parent group advances the prefix counter by its size.
theorem offset_succ (c : Fin (n + 1) → ℕ) (p : Fin n) : offset c p.succ = offset c p.castSucc + c p.castSucc := by …Mentions: OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset
- abbrev
OAI.ReflexiveFixedPoints.OrderedGroupConcat.Indexline 57Source documentation
A group and an index in that group.
abbrev Index (c : Fin n → ℕ) := Σ p : Fin n, Fin (c p)
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset_add_le_totalline 59 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset_add_le_offsetline 66 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.offset_monoline 79 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.encodeline 88Source documentation
The actual concatenation ordinal, with its bound proved from the sum.
def encode (c : Fin n → ℕ) (s : Index c) : Fin (total c) := …
Mentions: OAI.ReflexiveFixedPoints.OrderedGroupConcat.Index, OAI.ReflexiveFixedPoints.OrderedGroupConcat.total
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.encode_valline 94 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.encode_lt_of_parent_ltline 97 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.encode_injectiveline 105 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.equivline 119Source documentation
The concatenation is exhaustive: injectivity and the exact finite cardinality prove that every global ordinal has a group and a local index.
noncomputable def equiv (c : Fin n → ℕ) : Index c ≃ Fin (total c) := …
Mentions: OAI.ReflexiveFixedPoints.OrderedGroupConcat.Index, OAI.ReflexiveFixedPoints.OrderedGroupConcat.total
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.equiv_applyline 126 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.equiv_valline 129 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.groupline 133Source documentation
Each individual group is an increasing interval in the concatenation.
def group (c : Fin n → ℕ) (p : Fin n) : Fin (c p) ↪o Fin (total c) := …
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.group_applyline 139 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.group_valline 142 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.parentline 146Source documentation
The parent of a global index.
noncomputable def parent (c : Fin n → ℕ) (i : Fin (total c)) : Fin n := …
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.parent_groupline 149 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.parent_monotoneline 154 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.parent_surjectiveline 165 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.sum_parent_fiberline 171Source documentation
Reindex a sum over the actual parent fiber by the local group indices.
theorem sum_parent_fiber (c : Fin n → ℕ) (p : Fin n) {A : Type*} [AddCommMonoid A] (f : Fin (total c) → A) : (∑ i ∈ Finset.univ.filter (fun i => parent c i = p), f i) = ∑ j : Fin (c p), f (group c p j) := by …Mentions: OAI.ReflexiveFixedPoints.OrderedGroupConcat.total, OAI.ReflexiveFixedPoints.OrderedGroupConcat.parent, OAI.ReflexiveFixedPoints.OrderedGroupConcat.group
- theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.total_posline 193 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retainFunline 203Source documentation
Retaining the prescribed ordered subsequence inside each parent group.
noncomputable def retainFun (r : ∀ p, Fin (c p) ↪o Fin (d p)) (i : Fin (total c)) : Fin (total d) := … - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retainFun_groupline 208 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retainFun_strictMonoline 215 - def
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retainline 234Source documentation
The global increasing retained subsequence.
noncomputable def retain (r : ∀ p, Fin (c p) ↪o Fin (d p)) : Fin (total c) ↪o Fin (total d) := … - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retain_groupline 238 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.parent_retainline 242 - theorem
OAI.ReflexiveFixedPoints.OrderedGroupConcat.retain_group_valline 248