Documentation

Graphon.RelKernelSampler

The evaluated exchangeable law of a kernel family (R4 sampler layer, #107) #

The third R4 layer, on the merged evaluator (Graphon.RelKernelEvaluator): the i.i.d. uniform latent source over the global subset-latent indices, and the pushforward of that source through the RelKernelFamily evaluator — an exchangeable infinite relational law. The representation theorem (the converse: every dissociated exchangeable law arises this way) is deliberately not here; see issue #107 for its campaign plan.

The evaluator over an arbitrary carrier #

noncomputable def RelSignature.RelCoord.latentWindow {S : RelSignature} {V : S.SrtType u_1} (c : S.RelCoord V) (η : S.LatentIndex V) :

The local latent window over an arbitrary carrier: the latent source read through the coordinate's pattern-local indices — the arbitrary-carrier form of RelCoord.localLatents (definitionally equal to it on Vinfinite).

Equations
Instances For

    On the infinite carrier the general window is the evaluator layer's localLatents.

    noncomputable def RelSignature.RelKernelFamily.eval {S : RelSignature} {V : S.SrtType u_1} (F : S.RelKernelFamily) (η : S.LatentIndex V) :

    The evaluated structure over an arbitrary carrier: each coordinate is its kernel applied to its local latent window.

    Equations
    Instances For

      On the infinite carrier the general evaluator is evalStructure (definitional).

      The general evaluator is measurable in the latent source.

      theorem RelSignature.RelCoord.latentWindow_map {S : RelSignature} {V : S.SrtType u_1} {W : S.SrtType u_2} {f : (s : S.Srt) → V sW s} (hf : ∀ (s : S.Srt), Function.Injective (f s)) (c : S.RelCoord V) (η : S.LatentIndex W) (A' : PatternLatentIndex (map f c).equalityPattern) :
      (map f c).latentWindow η A' = c.latentWindow (fun (A : S.LatentIndex V) => η (LatentIndex.map f A)) ((PatternLatentIndex.congr ) A')

      The local latent window transports along sortwise injections: the window of the mapped coordinate is the window of the original coordinate, read off the source precomposed with the global latent-index action, at the transported block-set — the arbitrary-carrier generalization of RelCoord.localLatents_map.

      theorem RelSignature.RelKernelFamily.eval_comap {S : RelSignature} {V : S.SrtType u_1} {W : S.SrtType u_2} {f : (s : S.Srt) → V sW s} (hf : ∀ (s : S.Srt), Function.Injective (f s)) (F : S.RelKernelFamily) (η : S.LatentIndex W) :
      RelStructure.comap f (F.eval η) = F.eval fun (A : S.LatentIndex V) => η (LatentIndex.map f A)

      Pullback commutes with evaluation: pulling the evaluated structure back along a sortwise injective family is evaluating at the source precomposed with the latent-index action — the arbitrary-carrier generalization of evalStructure_relabel, covering both relabelings and finite restrictions.

      The latent source and the evaluated law #

      The global latent source: one i.i.d. [0,1]-uniform per nonempty finite set of sort-tagged vertices — the randomness the dissociated functional representation consumes.

      Equations
      Instances For
        theorem RelSignature.latentSource_map_relabel {S : RelSignature} (σ : S.SrtEquiv.Perm ) :
        MeasureTheory.Measure.map (fun (ω : S.LatentIndex S.Vinfinite) (A : S.LatentIndex fun (s : S.Srt) => ) => ω (LatentIndex.map (fun (s : S.Srt) => (σ s)) A)) S.latentSource = S.latentSource

        Relabeling invariance of the latent source: precomposition with the latent-index action of a sortwise permutation family preserves the i.i.d. source — the action is a bijection of the index set (LatentIndex.relabelEquiv), and i.i.d. products are invariant under index bijections.

        The evaluated measure of a kernel family: the latent source pushed through the evaluator.

        Equations
        Instances For

          Exchangeability of the evaluated measure: relabeling the evaluated structure is precomposing the latent source with the latent-index action (evalStructure_relabel), and the source is invariant under that action (latentSource_map_relabel).

          The evaluated exchangeable law of a kernel family — the forward half of the dissociated functional Aldous–Hoover–Kallenberg representation.

          Equations
          Instances For

            Dissociation of the evaluated law #

            @[implicit_reducible]

            Latent indices over a finite carrier form a finite type — the two blocks of the dissociation pair each read a finite latent window.

            Equations

            Every finite sortwise-injective restriction of the evaluated measure is the same finite-block pushforward — independently of the injection: restriction commutes with evaluation (eval_comap), and the precomposed source projects to the i.i.d. finite latent block (Measure.infinitePi_map_comp_of_injective).

            The joint block law of the evaluated measure factorizes: the two vertex windows are disjoint, so the nonempty subset-latent collections they read are disjoint (LatentIndex.map_ne_map_of_disjoint), and the i.i.d. source splits into a product across them (Measure.infinitePi_map_prodMk_of_disjoint).

            The evaluated law is dissociated — disjoint vertex windows read disjoint collections of nonempty subset-latent indices, and the i.i.d. latent source factorizes across them. With exchangeability (evalLaw), this completes the forward half of the dissociated functional Aldous–Hoover–Kallenberg representation.