Rank-indexed latent sources (R4 converse piece 3, #107) #
The latent-side infrastructure for the coupled rank induction. At rank n the source has one
independent uniform coordinate for every finite tagged support of cardinality strictly below n
(so the empty support appears exactly when 0 < n).
This is deliberately separate from CoherentBasis.LowerFactorSpace: the latent space is an
ℝ-valued cube indexed by tagged supports, whereas the factor space is a Bool-valued cube
indexed by basis expressions. A rank coding is the later map relating the two.
The nesting maps and their cocycle are definitional. Sortwise relabelings act through genuine
index equivalences and preserve the i.i.d. source. Rank one is identified measurably and
measure-preservingly with a single uniform. Finally, the successor source splits into the old
latents and the fresh rank-n layer; this split is included here so the coherent-randomization
step does not have to rediscover the latent-side decomposition.
Finite tagged supports of cardinality strictly below n; this includes the empty support
when 0 < n.
Equations
- S.RankLatentIndex n = S.LatentIndexOver S.Vinfinite n
Instances For
The empty support, regarded as the unique rank-one latent index.
Instances For
Equations
- RelSignature.instUniqueRankLatentIndexOfNatNat = { default := RelSignature.rankLatentEmpty, uniq := ⋯ }
The rank-n latent space: one real-valued coordinate per support of rank below n.
Equations
- S.RankLatentSpace n = (S.RankLatentIndex n → ℝ)
Instances For
The rank-n latent source: independent uniform01 coordinates on all supports below n.
Equations
Instances For
Rank nesting #
Inclusion of the supports below rank n among those below rank m.
Equations
- RelSignature.rankLatentIndexEmbedding h A = ⟨↑A, ⋯⟩
Instances For
Restriction of a rank-m latent assignment to ranks below n.
Equations
Instances For
Rank restriction reads the same coordinates on the source.
The rank projections form a strict cocycle.
Relabeling action #
A finitely supported sortwise relabeling permutes the supports below each rank.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Relabeling of a latent assignment, by coordinate reindexing.
Equations
- RelSignature.rankLatentRelabel σ n = { toEquiv := (RelSignature.rankLatentIndexEquiv σ n).symm.arrowCongr (Equiv.refl ℝ), measurable_toFun := ⋯, measurable_invFun := ⋯ }
Instances For
At rank one every latent relabeling is the identity. RankLatentIndex S 1 is the single
support ∅, so any permutation of it is trivial — which is why the rank-one equivariance clause
says only that the factor equivalence fixes the coding map almost everywhere.
Rank projection commutes definitionally with relabeling.
The i.i.d. latent source is invariant under sortwise relabeling.
Rank one #
Evaluation at the unique empty-support coordinate.
Equations
- RelSignature.rankLatentOneEquiv = MeasurableEquiv.piUnique fun (x : S.RankLatentIndex 1) => ℝ
Instances For
The rank-one latent source is exactly one uniform01 random variable.
Successor split #
Rank below n+1 means rank below n or rank exactly n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The successor split of the latent space into old and fresh coordinates.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The first component of the successor split is the existing rank projection.
The successor split also splits the source: the old lower-rank latents and the fresh
rank-n latents are independent i.i.d. uniform families.
Relabeling of the fresh rank-n latent layer, again by coordinate reindexing.
Equations
- RelSignature.rankSupportLatentRelabel σ n = { toEquiv := (RelSignature.rankSupportEquiv σ n).symm.arrowCongr (Equiv.refl ℝ), measurable_toFun := ⋯, measurable_invFun := ⋯ }
Instances For
The successor index split is natural under relabeling.
The successor latent split is equivariant. As on the factor side, the space-level square is definitional even though the forward index split branches on a cardinality test.
Bridge to the carrier-parametric core #
The rank-indexed operations were built before the carrier-parametric core and choose their own
Decidable instances; they agree with the generic ones extensionally but not by rfl.
Bridge: the rank-indexed relabeling is the carrier-parametric action at Vinfinite S.