Carrier-parametric observation layer (R4 converse, #107) #
The observations used by recovery and screening — local latents, blocks of raw relation
coordinates, and the rank-truncated remainder — over an arbitrary sortwise carrier. The
Vinfinite-indexed originals become compatibility aliases, and the pooled statements instantiate
this core rather than introducing parallel pooled definitions.
The transport boundary #
The three observations do not transport equally well, and the difference is a matter of truth, not of proof effort:
localLatentsOverandblockMapOverare local — they read only coordinates supported inside a given finite set — so they admit naturality along an arbitrary sortwise embedding of carriers: an embedding restricts to a bijection between the supports insideAand those inside its image.restObservationOveris global: its remainder ranges over every rank-≤ ncoordinate of the ambient carrier other than the one atA. Along an embedding into a larger carrier the target remainder sees coordinates outside the image, which the source remainder cannot, so an embedding-level commuting law would be false. It transports only along a carrier equivalence.
Screening therefore transports along the canonical poolVertexEquiv, which the pooled uniqueness
identity makes available; recovery, being local, is free to use embeddings.
Local latents #
The latent coordinates visible at A: supports contained in A.
Equations
- RelSignature.LocalLatentIndexOver V A n = { B : S.LatentIndexOver V n // ↑B ⊆ A }
Instances For
The local latent space at A.
Equations
- RelSignature.LocalLatentSpaceOver V A n = (RelSignature.LocalLatentIndexOver V A n → ℝ)
Instances For
Restriction of the latent array to the coordinates visible at A.
Equations
- RelSignature.localLatentsOver A n ω B = ω ↑B
Instances For
Blocks of raw relation coordinates #
The block of the structure at A.
Equations
- RelSignature.BlockSpaceOver V A = (RelSignature.BlockIndexOver V A → Bool)
Instances For
Read the block at A off a structure.
Equations
- RelSignature.blockMapOver A X c = X ↑c
Instances For
The rank-truncated remainder #
Global, hence transportable only along carrier equivalences — see the module header.
Coordinates of rank at most n other than those at A.
Equations
Instances For
The remaining rank-≤ n structure.
Equations
- RelSignature.RestSpaceOver V n A = (RelSignature.RestIndexOver V n A → Bool)
Instances For
The rank-truncated remainder observation over a carrier: the other blocks of rank at most
n, together with the whole latent array.
Equations
- RelSignature.restObservationOver n A p = (fun (c : RelSignature.RestIndexOver V n A) => p.1 ↑c, p.2)
Instances For
Reindexing does not move the conditioning algebra #
Screening conditions on a σ-algebra generated by an observation map. Transporting the observation through a measurable equivalence of codomains leaves that σ-algebra unchanged — measurability in both directions is exactly what makes the comap survive. Named here so the screening assembly can straighten a transported conditioning map without a further probabilistic lemma.
Postcomposition with a measurable equivalence does not change the generated σ-algebra.
Coordinate transport along a carrier equivalence #
The coordinate mirror of RelStructure.congrCarrier, bundled once here: the remainder index is
global, so its transport needs a genuine equivalence of coordinates rather than an embedding.
Transport of relation coordinates along a sortwise equivalence of carriers, bundled.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Support and index transport #
Equivalences first, with pointwise _apply lemmas; the function-level naturality laws are derived
from these. Keeping the bijections primitive is what limits coercion and DecidableEq friction.
The image of a support under a sortwise embedding of carriers.
Equations
- RelSignature.supportImage e A = Finset.image (Sigma.map id fun (s : S.Srt) => ⇑(e s)) A
Instances For
Membership in a support image, stated without an image in the type so that no DecidableEq
instance appears in it. Over a carrier with a natural instance — PoolVertex, whose Sum gives
one — that instance is not definitionally the classical one used to form the image, which makes
image-shaped rewriting unusable there; this form is not.
The image of a coordinate's support is the support of the transported coordinate.
A support lies inside A exactly when its image lies inside the image of A. This is the
bijection underlying local naturality: an embedding restricts to a bijection between the supports
inside A and those inside its image.
Transporting a coordinate carries its support to the image of that support.
Local latents transport along an embedding #
Index equivalence, then the space-level measurable equivalence, then the pointwise lemma, then the
exact naturality theorem against localLatentsOver. The inverse needs no Finset.preimage:
a support inside the image of A is the image of the sub-support of A that lands in it.
A support inside supportImage e A is the image of the part of A that lands in it.
The local latent index transports along an embedding.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The local latent space equivalence induced by an embedding, as a measurable equivalence.
Equations
- RelSignature.localLatentSpaceCongr e A n = { toEquiv := (RelSignature.localLatentIndexCongr e A n).symm.arrowCongr (Equiv.refl ℝ), measurable_toFun := ⋯, measurable_invFun := ⋯ }
Instances For
Exact naturality of the local latents against an embedding. Reading the latents visible at
A after restricting along e is reading those visible at the image of A and transporting.
Transporting a support along a carrier equivalence and back is the identity.
The transported support has the same cardinality.
Blocks transport along an embedding #
The inverse is the delicate point and is kept local to the exact-support subtype: a coordinate
whose support is exactly supportImage e A has every argument in the image of e, which supplies
the range witness for each argument. Nothing pretends e is globally surjective.
Every argument of a coordinate with support exactly supportImage e A lies in the range of the
embedding — the range witness the inverse needs, available only on this subtype.
The chosen preimage of an argument.
Equations
- RelSignature.blockPreimage e c i = ⋯.choose
Instances For
The block index transports along an embedding.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The block space equivalence induced by an embedding, as a measurable equivalence.
Equations
- RelSignature.blockSpaceCongr e A = { toEquiv := (RelSignature.blockIndexCongr e A).symm.arrowCongr (Equiv.refl Bool), measurable_toFun := ⋯, measurable_invFun := ⋯ }
Instances For
Exact naturality of the block against an embedding.
The remainder transports along a carrier equivalence #
Bundled as a measurable equivalence, not merely an index bijection, so that the screening assembly can straighten the transported remainder codomain directly.
The remainder index transports along a carrier equivalence. An equivalence is required:
the remainder ranges over every rank-≤ n coordinate of the ambient carrier, so an embedding into
a larger carrier would leave coordinates outside its image unmatched.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The remainder space equivalence induced by a carrier equivalence, as a measurable equivalence.
Equations
- RelSignature.restSpaceCongr e n A = { toEquiv := (RelSignature.restIndexCongr e n A).symm.arrowCongr (Equiv.refl Bool), measurable_toFun := ⋯, measurable_invFun := ⋯ }
Instances For
Exact naturality of the remainder against a carrier equivalence. Observing after
transporting the whole joint object from W back to V is observing on W and reindexing both
remainder outputs. An equivalence throughout — the remainder is global.