Prerequisites. Direct starred prerequisites: chapter 174. No later core chapter depends on this route.
Fix a two-point base 𝑍 ={0,1} and a family over it: 𝐵(0) ={ ∗} and 𝐵(1) ={𝐿,𝑅}. Put a probability measure on each fibre: 𝜇0( ∗) =1 and 𝜇1(𝐿) =𝜇1(𝑅) =1/2. Substituting into the base is composing with a function into 𝑍: with 𝑢 :{𝑎,𝑏,𝑐} →𝑍 given by 𝑢(𝑎) =0, 𝑢(𝑏) =1, 𝑢(𝑐) =0, the family 𝑢∗𝐵 has (𝑢∗𝐵)(𝑎) ={ ∗}, (𝑢∗𝐵)(𝑏) ={𝐿,𝑅}, (𝑢∗𝐵)(𝑐) ={ ∗}, and the reindexed measure 𝑢∗𝜇 assigns to each index the measure of its image. Substituting again along 𝑣 :{𝑝,𝑞} →{𝑎,𝑏,𝑐} with 𝑣(𝑝) =𝑏 and 𝑣(𝑞) =𝑐 gives (𝑢∘𝑣)∗𝜇:𝑝↦{𝐿:12, 𝑅:12},𝑞↦{∗:1},𝑣∗(𝑢∗𝜇):𝑝↦{𝐿:12, 𝑅:12},𝑞↦{∗:1}. The two printed maps are equal, entry by entry.
That they are equal is not a general fact about probability monads; it is a fact about this presentation of families. A family of spaces indexed by a base is usually presented by a display map 𝑑 :𝐴 →Γ, and substitution along 𝜃 :Δ →Γ is a chosen pullback. Pullbacks are determined only up to isomorphism, so two ways of substituting twice agree up to a canonical isomorphism and not on the nose, and the isomorphisms must then be carried through every construction that follows — including the measures, which would agree only after transport. The equality displayed above would become an isomorphism, and the practical checker printing the two maps would have to compare them modulo a coercion.
The obstruction is therefore strictness, and the object that removes it is a presentation of families in which reindexing is defined by composition and is strictly functorial by construction. This chapter builds that presentation over quasi-Borel spaces, lifts measures and probability measures into it, proves the reindexing laws as commuting squares, and states the conditional expectation results whose hypotheses the fibred setting makes visible.
Reindexing, computed before it is abstracted
Let Γ be a set. A family of measure spaces over Γ is an assignment 𝛾 ↦𝐴𝛾 of a measurable space to each index, together with a measure 𝜇𝛾 on 𝐴𝛾. For 𝜃 :Δ →Γ, the reindexed family is (𝜃∗𝐴)𝛿 =𝐴𝜃(𝛿) with (𝜃∗𝜇)𝛿 =𝜇𝜃(𝛿).
Referenced from 3 locations
For 𝜑 :Ξ →Δ and 𝜃 :Δ →Γ, 𝜑∗(𝜃∗𝐴)=(𝜃∘𝜑)∗𝐴,𝜑∗(𝜃∗𝜇)=(𝜃∘𝜑)∗𝜇,id∗𝐴=𝐴,id∗𝜇=𝜇, as equalities of families, not merely as isomorphisms.
Referenced from 9 locations
Proof of Proposition 180.3 — Strict functoriality
Proof. Evaluate at an index: (𝜑∗(𝜃∗𝐴))𝜉 =(𝜃∗𝐴)𝜑(𝜉) =𝐴𝜃(𝜑(𝜉)) =((𝜃 ∘𝜑)∗𝐴)𝜉, and the same computation with 𝜇 in place of 𝐴. The identity laws are immediate. ◻
Take Γ =𝑍, 𝐴 and 𝜇 as in the chapter opening, and 𝑢,𝑣 as displayed. Proposition 180.3 gives (𝑢 ∘𝑣)∗𝜇 =𝑣∗(𝑢∗𝜇) directly, and evaluating at 𝑝 and 𝑞: ((𝑢∘𝑣)∗𝜇)𝑝=𝜇𝑢(𝑣(𝑝))=𝜇𝑢(𝑏)=𝜇1={𝐿:12,𝑅:12},((𝑢∘𝑣)∗𝜇)𝑞=𝜇𝑢(𝑐)=𝜇0={∗:1}. No transport and no coercion appears. The equality is the one the practical checker of exercise 180.8 compares, and the general statement it instantiates is proposition 180.3.
Referenced from 4 locations
Quasi-Borel families
Let Γ be a quasi-Borel space with random elements 𝑀Γ. A quasi-Borel family over Γ, written Γ ⊢𝐴, is a family (𝐴𝛾)𝛾∈Γ of sets together with, for each 𝜐 ∈𝑀Γ, a set 𝑅𝜐𝐴 ⊆∏𝑟∈ℝ𝐴𝜐(𝑟) of fibred random elements, subject to three axioms mirroring definition 174.6:
constants: for a constant 𝜐 =𝜆𝑟. 𝛾, every constant function 𝜆𝑟. 𝑎 with 𝑎 ∈𝐴𝛾 lies in 𝑅𝜐𝐴;
precomposition: if 𝛼 ∈𝑅𝜐𝐴 and 𝑓 :ℝ →ℝ is measurable, then 𝛼 ∘𝑓 ∈𝑅𝜐∘𝑓𝐴;
recombination: if ℝ =⨄𝑖𝑆𝑖 is a countable Borel partition, 𝛼𝑖 ∈𝑅𝜐𝑖𝐴, and 𝜐 is the corresponding gluing of the 𝜐𝑖, then the gluing of the 𝛼𝑖 lies in 𝑅𝜐𝐴.
A map of families (𝜃 ⊢𝑓) :(Γ ⊢𝐴) →(Δ ⊢𝐵) consists of a function 𝜃 :Γ →Δ with 𝜃 ∘𝜐 ∈𝑀Δ for every 𝜐 ∈𝑀Γ, and a family of functions 𝑓𝛾 :𝐴𝛾 →𝐵𝜃(𝛾) such that 𝑓 ∘𝛼 ∈𝑅𝜃∘𝜐𝐵 for every 𝛼 ∈𝑅𝜐𝐴.
Referenced from 4 locations
A quasi-Borel space 𝑋 gives the constant family 𝐴𝛾 =𝑋 with 𝑅𝜐𝐴 =𝑀𝑋; the axioms are those of definition 174.6. A morphism 𝑑 :𝐴 →Γ gives the preimage family 𝑑−1[𝛾] ={𝑎 ∣𝑑(𝑎) =𝛾} with 𝑅𝜐𝑑−1[−] the random elements 𝛽 ∈𝑀𝐴 with 𝑑 ∘𝛽 =𝜐, read as functions into the fibres. The first is how a closed type enters a dependent context; the second is how an ordinary display map is presented as a family.
Referenced from 3 locations
For 𝜃 :Γ →Δ a morphism of quasi-Borel spaces and Δ ⊢𝐵, define Γ ⊢𝐵[𝜃] by 𝐵[𝜃]𝛾=𝐵𝜃(𝛾),𝑅𝜐𝐵[𝜃]=𝑅𝜃∘𝜐𝐵. For Γ ⊢𝐴, define the comprehension Γ.𝐴 =∐𝛾∈Γ𝐴𝛾 with random elements 𝑀Γ.𝐴={𝜆𝑟.⟨𝜐(𝑟),𝛼(𝑟)⟩∣𝜐∈𝑀Γ, 𝛼∈𝑅𝜐𝐴}, and let disp𝐴 :Γ.𝐴 →Γ be the first projection.
Referenced from 2 locations
𝐵[𝜃] is a quasi-Borel family; reindexing is strictly functorial, 𝐵[𝜃][𝜑] =𝐵[𝜃 ∘𝜑] and 𝐵[id] =𝐵; Γ.𝐴 is a quasi-Borel space; and disp𝐴 is a morphism.
Referenced from 5 locations
Proof of Proposition 180.9 — The family fibration is split, and comprehension is a morphism
Proof. 𝐵[𝜃] is a family. Constants: a constant 𝜐 =𝜆𝑟. 𝛾 has 𝜃 ∘𝜐 constant at 𝜃(𝛾), so the constant functions into 𝐵𝜃(𝛾) =𝐵[𝜃]𝛾 lie in 𝑅𝜃∘𝜐𝐵 =𝑅𝜐𝐵[𝜃]. Precomposition: 𝑅𝜐∘𝑓𝐵[𝜃] =𝑅𝜃∘𝜐∘𝑓𝐵, which contains 𝛼 ∘𝑓 for 𝛼 ∈𝑅𝜃∘𝜐𝐵. Recombination: the gluing of 𝜃 ∘𝜐𝑖 is 𝜃 ∘(gluing of 𝜐𝑖), so the axiom for 𝐵 applies verbatim.
Strictness. 𝐵[𝜃][𝜑]𝜉 =𝐵[𝜃]𝜑(𝜉) =𝐵𝜃(𝜑(𝜉)) =𝐵[𝜃 ∘𝜑]𝜉, and 𝑅𝜐𝐵[𝜃][𝜑] =𝑅𝜃∘𝜑∘𝜐𝐵 =𝑅𝜐𝐵[𝜃∘𝜑]. Both components are equal, so the families are equal; the identity case is the same computation.
Comprehension. The three axioms for 𝑀Γ.𝐴 follow from the corresponding axioms for 𝑀Γ and for 𝑅𝐴, taken in pairs: a constant pair is a pair of constants; precomposition acts on both components; and a countable Borel gluing of pairs is the pair of gluings, which is where axiom (iii) of definition 180.6 is used. Finally disp𝐴 ∘𝜆𝑟. ⟨𝜐(𝑟),𝛼(𝑟)⟩ =𝜐 ∈𝑀Γ, so the display map is a morphism. ◻
Fibred measures
For Γ ⊢𝐴 define Γ ⊢𝐷𝐴 by (𝐷𝐴)𝛾 =𝐷(𝐴𝛾), the measures on the fibre in the sense of definition 174.12, with 𝑅𝜐𝐷𝐴={𝛼∣∃𝛽∈𝑅𝜐𝐴. 𝛼=𝑞𝐷∘𝛽}, where 𝑞𝐷 sends a fibred random element to the measure it presents. Define Γ ⊢𝑃𝐴 in the same way with probability measures. The unit and Kleisli extension are those of theorem 174.16 applied fibrewise: 𝜂𝛾(𝑎) =𝛿𝑎 and (𝜇 ≫ =𝑓)𝛾 =𝜇𝛾 ≫ =𝑓𝛾.
Referenced from 2 locations
For 𝜃 :Γ →Δ and Δ ⊢𝐵, 𝐷(𝐵[𝜃])=(𝐷𝐵)[𝜃],𝑃(𝐵[𝜃])=(𝑃𝐵)[𝜃], as equalities of families, and the unit and Kleisli extension are preserved: 𝜂𝐵[𝜃] =𝜂𝐵[𝜃] and (𝜇 ≫ =𝑓)[𝜃] =𝜇[𝜃] ≫ =𝑓[𝜃].
Referenced from 5 locations
Proof of Proposition 180.12 — Reindexing commutes with the fibred monads
Proof. On fibres, 𝐷(𝐵[𝜃])𝛾 =𝐷(𝐵𝜃(𝛾)) =(𝐷𝐵)𝜃(𝛾) =(𝐷𝐵)[𝜃]𝛾. On fibred random elements, 𝑅𝜐𝐷(𝐵[𝜃]) ={𝑞𝐷 ∘𝛽 ∣𝛽 ∈𝑅𝜐𝐵[𝜃]} ={𝑞𝐷 ∘𝛽 ∣𝛽 ∈𝑅𝜃∘𝜐𝐵} =𝑅𝜃∘𝜐𝐷𝐵 =𝑅𝜐(𝐷𝐵)[𝜃]. Both components agree, so the families are equal. The unit and Kleisli extension are defined fibrewise, and reindexing only renames fibres, so the two displayed equations hold at every index; the square index 𝛾 ⟼ 𝜃(𝛾)commutes with𝜇− ⟼ 𝜇−≫=𝑓− because both operations act on the index and on the fibre independently. ◻
Discrete spaces are quasi-Borel spaces with all functions random, so the opening data is a quasi-Borel family with a fibred probability measure 𝑍 ⊢𝜇 :𝑃𝐵. Proposition 180.12 gives 𝑃(𝐵[𝑢 ∘𝑣]) =(𝑃𝐵)[𝑢 ∘𝑣] =((𝑃𝐵)[𝑢])[𝑣] by proposition 180.9, and evaluating the fibred measure at the two indices reproduces example 180.4. The general finite statement proved in proposition 180.3 is thus an instance of the fibred one, and the checker’s structural equality of printed maps is legitimate exactly because the two sides are equal rather than isomorphic.
Referenced from 2 locations
Theorem 33 of Ahman, Kammar and Møgelberg is imported at exactly this signature: 𝐷 and 𝑃 define commutative fibred monads on the category of quasi-Borel families, and the fibres of the distribution monad satisfy Kock’s axioms for synthetic measure theory, that is, for every countable set 𝐼 there are canonical isomorphisms Γ⊢𝐷(∐𝑖∈𝐼𝐴𝑖)≅∏𝑖∈𝐼𝐷(𝐴𝑖). Proposition 180.12 proves the reindexing half locally; commutativity in each fibre is proposition 174.17; what the import supplies is that these fit together as fibred monads and that the countable coproduct isomorphisms exist at the fibred signature. The synthetic axioms are therefore consequences of the construction rather than postulates: the coproduct isomorphism is countable additivity, and commutativity is Tonelli’s theorem, as remark 174.24 recorded.
Referenced from 3 locations
Conditional expectation in the fibration
The fibred setting makes an observation map into a term Γ ⊢𝐻 :Ω ⟶Θ between two families, and a conditional expectation into a term of a function type. Two statements are imported at their exact signatures; both are recorded with every hypothesis they carry.
Their Proposition 40: let Γ ⊢Ω and Γ ⊢Θ be quasi-Borel families, Γ ⊢𝜇 :𝑃Ω a fibred probability measure, and Γ ⊢𝐻 :Ω ⟶Θ a fibred observation map. For each index 𝛾, let BΩ𝛾 and BΘ𝛾 be the 𝜎-algebras of the free measurable spaces on the fibres and let G𝛾 =𝐻−1𝛾BΘ𝛾 ⊆BΩ𝛾. Then for integrable fibred random variables Γ ⊢𝑓 :𝐿1(Ω,𝜇) and Γ ⊢𝑔 :𝐿1(Θ,𝜇𝐻), (∀𝛾. 𝑔𝛾=𝔼𝜇𝛾[𝑓∣𝐻])⟺(∀𝛾. 𝑔𝛾∘𝐻𝛾=𝔼𝜇𝛾[𝑓𝛾∣G𝛾]), so the fibred notion and the classical sub-𝜎-algebra notion agree index by index. What the import supplies is the passage between the two notions; the classical properties — almost sure uniqueness, linearity — then transfer through it. Almost sure uniqueness at a fixed index is the following argument, recorded here so that the chapter does not depend on it from elsewhere: if 𝑔 and 𝑔′ both satisfy ∫𝐻−1(𝐴)𝑓 𝑑𝜇 =∫𝐴𝑔 𝑑𝜇𝐻 for every measurable 𝐴, then ∫𝐴(𝑔 −𝑔′) 𝑑𝜇𝐻 =0 for every 𝐴; taking 𝐴 ={𝑔 >𝑔′} and then 𝐴 ={𝑔′ >𝑔} makes both sets 𝜇𝐻-null.
Referenced from 4 locations
Their Theorem 41: if the observation family Θ is separable, then conditional expectation is a dependent function in the fibration, Γ⊢𝔼−[−∣−]: (𝜇:𝑃Ω)⟶(𝐻:Ω⟶Θ)⟶Separable(Θ,𝜇𝐻)⟶(𝑓:𝐿1(Ω,𝜇))⟶Σ𝑔:𝐿1(Θ,𝜇𝐻). 𝑔=𝔼𝜇[𝑓∣𝐻], and in particular, when Θ is a standard Borel space, the separability argument may be omitted. The hypotheses are exactly: separability of the observation family with respect to the pushforward measure 𝜇𝐻, and integrability of 𝑓 with respect to 𝜇. Their proof constructs the conditional expectation first for square-integrable variables, using a measurable Schauder basis of 𝐿2(Θ,𝜇𝐻) and the projection ∑𝑖<𝑘⟨𝑓,𝜑𝑖 ∘𝐻⟩ ⋅𝜑𝑖, and then takes limits of 𝔼𝜇[𝑓± ∧𝑛 ∣𝐻] for integrable variables; every stage is a term in context, which is what makes the result a dependent function rather than a family of choices.
Referenced from 3 locations
★☆☆ Verify proposition 180.3 on the opening data with a third substitution 𝑤 :{𝑠} →{𝑝,𝑞}, 𝑤(𝑠) =𝑝, by computing both ((𝑢 ∘𝑣) ∘𝑤)∗𝜇 and 𝑤∗(𝑣∗(𝑢∗𝜇)).
Referenced from 2 locations
★★☆ For the display map 𝑑 :{(0, ∗),(1,𝐿),(1,𝑅)} →{0,1} of the opening example, write out the preimage family of example 180.7 and check that its fibred random elements satisfy the three axioms of definition 180.6.
Referenced from 2 locations
★★☆ Compute Γ.𝐴 and disp𝐴 for the opening family, and exhibit a random element of Γ.𝐴 whose two components are a constant and a nonconstant map.
Referenced from 2 locations
Suggested first pass.
None of these problems is a prerequisite for a later chapter. Begin with exercise 180.4, then exercise 180.5, then the practical project exercise 180.8.
★☆☆ Prove proposition 180.3 for arbitrary finite index sets, displaying the evaluation at a generic index, and state where the proof would break if reindexing were defined by a chosen pullback.
Referenced from 3 locations
★★☆ Write out the proof of proposition 180.12 for the two substitutions of the chapter opening, displaying the fibred random elements on both sides at the index 𝑝.
Referenced from 3 locations
★★☆ Give two families that are isomorphic but not equal, arising from two different choices of pullback along the same substitution, and exhibit the coercion that a non-split presentation would require in example 180.4.
Referenced from 2 locations
★★☆ For the opening family with Θ𝛾 ={ ∗} and 𝐻 the unique map, compute the fibred conditional expectation of a bounded 𝑓 and check the equivalence of convention 180.15 at both indices.
Referenced from 2 locations
★★★ Practical project.fibred-reindexing-checker Build a checker for finite fibred reindexing. Its inputs are a finite base set with a finite family of finite fibres, an exact rational probability measure on each fibre, and a chain of substitutions given as explicit finite maps. Its outputs are the two normalized finite maps obtained by reindexing once along the composite and twice along the factors, printed as sorted association lists from index to fibre measure with reduced rational masses.
The invariant to maintain is that every printed fibre measure sums to exactly 1, that reindexing never renames fibre elements, and that the two printed maps are compared by structural equality of the normalized representation, not by numerical tolerance.
The concrete result is the pair of printed maps for the chapter’s fixture: base 𝑍 ={0,1} with 𝐵(0) ={ ∗}, 𝐵(1) ={𝐿,𝑅}, 𝜇0( ∗) =1, 𝜇1(𝐿) =𝜇1(𝑅) =1/2; the substitutions 𝑢 :{𝑎,𝑏,𝑐} →𝑍 with 𝑢(𝑎) =0,𝑢(𝑏) =1,𝑢(𝑐) =0 and 𝑣 :{𝑝,𝑞} →{𝑎,𝑏,𝑐} with 𝑣(𝑝) =𝑏,𝑣(𝑞) =𝑐. The acceptance test is decidable and exact: both (𝑢 ∘𝑣)∗𝜇 and 𝑣∗(𝑢∗𝜇) must print exactly 𝑝 ↦{𝐿 :1/2, 𝑅 :1/2}; 𝑞 ↦{ ∗ :1}, and the checker must report structural equality; it must additionally reject an input whose fibre masses sum to 3/4, naming the defective index, and reject a substitution whose codomain does not match the base, naming the offending point. The written solution proves the general finite functoriality of proposition 180.3 before appealing to the quasi-Borel construction of proposition 180.9, and the checker establishes neither convention 180.14 nor convention 180.16.
Referenced from 4 locations