Documentation

Graphon.RelRankLatents

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.

@[reducible]

Finite tagged supports of cardinality strictly below n; this includes the empty support when 0 < n.

Equations
Instances For

    The empty support, regarded as the unique rank-one latent index.

    Equations
    Instances For
      @[reducible, inline]

      The rank-n latent space: one real-valued coordinate per support of rank below n.

      Equations
      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
          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
                @[simp]
                theorem RelSignature.rankLatentIndexEquiv_apply_coe {S : RelSignature} (σ : S.FinSuppPerm) (n : ) (A : S.RankLatentIndex n) :
                ((rankLatentIndexEquiv σ n) A) = Finset.image (Sigma.map id fun (s : S.Srt) => (σ s)) A

                Relabeling of a latent assignment, by coordinate reindexing.

                Equations
                Instances For
                  @[simp]
                  theorem RelSignature.rankLatentRelabel_apply {S : RelSignature} (σ : S.FinSuppPerm) (n : ) (ω : S.RankLatentSpace n) (A : S.RankLatentIndex n) :
                  (rankLatentRelabel σ n) ω A = ω ((rankLatentIndexEquiv σ n) A)
                  @[simp]

                  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
                  Instances For

                    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.

                        noncomputable def RelSignature.rankSupportLatentRelabel {S : RelSignature} (σ : S.FinSuppPerm) (n : ) :
                        (S.RankSupport n) ≃ᵐ (S.RankSupport n)

                        Relabeling of the fresh rank-n latent layer, again by coordinate reindexing.

                        Equations
                        Instances For
                          @[simp]
                          theorem RelSignature.rankSupportLatentRelabel_apply {S : RelSignature} (σ : S.FinSuppPerm) (n : ) (ω : S.RankSupport n) (A : S.RankSupport n) :
                          (rankSupportLatentRelabel σ n) ω A = ω ((rankSupportEquiv σ n) A)

                          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.