Original question and givens
Use complete theta labels=[a2, b2], samples=[20, 21, 22, 23], aligned exact probability rows=[[[2, 5], [1, 10], [2, 5], [1, 10]], [[1, 10], [2, 5], [1, 10], [2, 5]]] and total statistic=[0, 1, 0, 1]. Each theta law is normalized. Fibers partition the full sample carrier, retaining zero-mass cells. Give (conditional_cells, boundary).
G001 — Use complete theta labels=[a2, b2], samples=[20, 21, 22, 23], aligned exact probability rows=[[[2, 5], [1, 10], [2, 5], [1, 10]], [[1, 10], [2, 5], [1, 10], [2, 5]]] and total statistic=[0, 1, 0, 1]. Each theta law is normalized. Fibers partition the full sample carrier, retaining zero-mass cells. Give (conditional_cells, boundary).
Step-by-step derivation
S001 · implies
Before
Ω=[20, 21, 22, 23]; T=[0, 1, 0, 1]
After
fibers=[[0, [20, 22]], [1, [21, 23]]]
Conditions: none
Group the original sample labels by statistic value; distinguish a sample's position from its label.
Step identifiers and dependencies
Rule: statistic_fibers · Uses: G001
S002 · implies
Before
[[0, [20, 22]], [1, [21, 23]]]
After
disjoint union of fibers = [20, 21, 22, 23]
Conditions: none
Each sample lies in exactly one fiber, and their union covers all of Omega.
Step identifiers and dependencies
Rule: partition_audit · Uses: G001, S001
S003 · calculation
Before
P_a2(Ω) := sum(2/5, 1/10, 2/5, 1/10)
After
P_a2(Ω) = 1
Conditions: none
Verify normalization of the probability row for this parameter.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
P_a2(T=0) := sum(2/5, 2/5)
After
P_a2(T=0) = 4/5
Conditions: none
Sum only the masses in fiber [20, 22].
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
P_a2(X=20|T=0) := div(2/5, 4/5)
After
P_a2(X=20|T=0) = 1/2
Conditions: none
The numerator is the atom mass 2/5 under the same law and the denominator is the fiber mass 4/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
reconstruct P_a2(X=20) := mul(1/2, 4/5)
After
reconstruct P_a2(X=20) = 2/5
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
P_a2(X=22|T=0) := div(2/5, 4/5)
After
P_a2(X=22|T=0) = 1/2
Conditions: none
The numerator is the atom mass 2/5 under the same law and the denominator is the fiber mass 4/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
reconstruct P_a2(X=22) := mul(1/2, 4/5)
After
reconstruct P_a2(X=22) = 2/5
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
conditional total (a2,0) := sum(1/2, 1/2)
After
conditional total (a2,0) = 1
Conditions: none
The full conditional law on a positive-mass fiber must sum to 1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
P_a2(T=1) := sum(1/10, 1/10)
After
P_a2(T=1) = 1/5
Conditions: none
Sum only the masses in fiber [21, 23].
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
P_a2(X=21|T=1) := div(1/10, 1/5)
After
P_a2(X=21|T=1) = 1/2
Conditions: none
The numerator is the atom mass 1/10 under the same law and the denominator is the fiber mass 1/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
reconstruct P_a2(X=21) := mul(1/2, 1/5)
After
reconstruct P_a2(X=21) = 1/10
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
P_a2(X=23|T=1) := div(1/10, 1/5)
After
P_a2(X=23|T=1) = 1/2
Conditions: none
The numerator is the atom mass 1/10 under the same law and the denominator is the fiber mass 1/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
reconstruct P_a2(X=23) := mul(1/2, 1/5)
After
reconstruct P_a2(X=23) = 1/10
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
conditional total (a2,1) := sum(1/2, 1/2)
After
conditional total (a2,1) = 1
Conditions: none
The full conditional law on a positive-mass fiber must sum to 1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
P_b2(Ω) := sum(1/10, 2/5, 1/10, 2/5)
After
P_b2(Ω) = 1
Conditions: none
Verify normalization of the probability row for this parameter.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
P_b2(T=0) := sum(1/10, 1/10)
After
P_b2(T=0) = 1/5
Conditions: none
Sum only the masses in fiber [20, 22].
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
P_b2(X=20|T=0) := div(1/10, 1/5)
After
P_b2(X=20|T=0) = 1/2
Conditions: none
The numerator is the atom mass 1/10 under the same law and the denominator is the fiber mass 1/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
reconstruct P_b2(X=20) := mul(1/2, 1/5)
After
reconstruct P_b2(X=20) = 1/10
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
P_b2(X=22|T=0) := div(1/10, 1/5)
After
P_b2(X=22|T=0) = 1/2
Conditions: none
The numerator is the atom mass 1/10 under the same law and the denominator is the fiber mass 1/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
reconstruct P_b2(X=22) := mul(1/2, 1/5)
After
reconstruct P_b2(X=22) = 1/10
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
conditional total (b2,0) := sum(1/2, 1/2)
After
conditional total (b2,0) = 1
Conditions: none
The full conditional law on a positive-mass fiber must sum to 1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
P_b2(T=1) := sum(2/5, 2/5)
After
P_b2(T=1) = 4/5
Conditions: none
Sum only the masses in fiber [21, 23].
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
P_b2(X=21|T=1) := div(2/5, 4/5)
After
P_b2(X=21|T=1) = 1/2
Conditions: none
The numerator is the atom mass 2/5 under the same law and the denominator is the fiber mass 4/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
reconstruct P_b2(X=21) := mul(1/2, 4/5)
After
reconstruct P_b2(X=21) = 2/5
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
P_b2(X=23|T=1) := div(2/5, 4/5)
After
P_b2(X=23|T=1) = 1/2
Conditions: none
The numerator is the atom mass 2/5 under the same law and the denominator is the fiber mass 4/5.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · calculation
Before
reconstruct P_b2(X=23) := mul(1/2, 4/5)
After
reconstruct P_b2(X=23) = 2/5
Conditions: none
Multiply by the fiber mass to recover that atom's original probability.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
conditional total (b2,1) := sum(1/2, 1/2)
After
conditional total (b2,1) = 1
Conditions: none
The full conditional law on a positive-mass fiber must sum to 1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
all parameter × fiber cells audited
After
[[a2, 0, 4/5, [[20, 1/2], [22, 1/2]]], [a2, 1, 1/5, [[21, 1/2], [23, 1/2]]], [b2, 0, 1/5, [[20, 1/2], [22, 1/2]]], [b2, 1, 4/5, [[21, 1/2], [23, 1/2]]]]
Conditions: none
Return every cell in parameter order and then statistic-value order; retain the zero-mass branch rule.
Step identifiers and dependencies
Rule: complete_conditional_table · Uses: G001, S028
Result
([[a2, 0, 4/5, [[20, 1/2], [22, 1/2]]], [a2, 1, 1/5, [[21, 1/2], [23, 1/2]]], [b2, 0, 1/5, [[20, 1/2], [22, 1/2]]], [b2, 1, 4/5, [[21, 1/2], [23, 1/2]]]], zero_mass_cells_remain_undefined)
The full cellwise conditional laws are listed; zero-mass cells must retain null.