AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
PROBABILITY MEASURE ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Probability Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/probability-entities/probability-measure-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
1. PURPOSE
Represent probability measures as typed mathematical entities with verifiable axioms, operations, relationships, and inference constraints. This specification is a formal companion to the linked ontology page, not a verbatim transcription.
2. TYPED ENTITIES
entity SampleSpace Ω : Set
entity SigmaAlgebra F : Collection[Subset[Ω]]
entity MeasurableSpace (Ω,F) : Tuple
entity ProbabilityMeasure P : Function[F, Real]
entity ProbabilitySpace (Ω,F,P) : Tuple
entity Event A : Element[F]
entity Outcome ω : Element[Ω]
entity NullEvent N : Event where P(N)=0
entity AlmostSureProperty Q : Predicate[Ω] where P({ω: not Q(ω)})=0
entity ConditionalProbability P(A|B) : Real where P(B)>0
entity RandomVariable X : MeasurableFunction[(Ω,F),(S,Σ)]
entity PushforwardMeasure X_*P : ProbabilityMeasure[S,Σ]
3. FOUNDATIONAL AXIOMS
AXIOM M1: Ω is nonempty.
AXIOM M2: F contains Ω, is closed under complements, and under countable unions.
AXIOM P1 [NONNEGATIVITY]: for every A in F, P(A) >= 0.
AXIOM P2 [NORMALISATION]: P(Ω) = 1.
AXIOM P3 [COUNTABLE ADDITIVITY]: if (A_n) are pairwise disjoint events, P(union_n A_n) = sum_n P(A_n).
TYPE_RULE: P is defined on measurable events A in F, not on arbitrary subsets of Ω unless F is the power set.
4. DERIVED THEOREMS
THEOREM T1: P(empty_set) = 0.
THEOREM T2: 0 <= P(A) <= 1.
THEOREM T3: P(complement(A)) = 1 - P(A).
THEOREM T4: if A subset B, then P(A) <= P(B).
THEOREM T5: P(A union B) = P(A) + P(B) - P(A intersection B).
THEOREM T6: P(union_n A_n) <= sum_n P(A_n) [countable subadditivity].
THEOREM T7: if A_n increases to A, P(A_n) increases to P(A).
THEOREM T8: if A_n decreases to A, P(A_n) decreases to P(A) [finite total measure].
5. OPERATIONS
operation complement : Event -> Event
operation union : Event x Event -> Event
operation intersection : Event x Event -> Event
operation measure : ProbabilityMeasure x Event -> [0,1]
operation condition : (P,A,B) -> P(A intersection B)/P(B), requires P(B)>0
operation pushforward : (P,X) -> (X_*P), with (X_*P)(B)=P(X^{-1}(B)) for B in Σ
operation expectation : (P,X) -> Integral_Ω X dP, when X is integrable
6. RELATIONSHIPS
ProbabilityMeasure --defined_on--> SigmaAlgebra
SigmaAlgebra --over--> SampleSpace
ProbabilitySpace --contains--> ProbabilityMeasure
Event --member_of--> SigmaAlgebra
Outcome --member_of--> SampleSpace
ProbabilityMeasure --assigns_probability_to--> Event
RandomVariable --induces--> PushforwardMeasure
ConditionalProbability --derived_from--> ProbabilityMeasure
ProbabilityMeasure --supports--> Expectation
ProbabilityMeasure --supports--> AlmostSureProperty
7. INFERENCE RULES
RULE R1: measurable(A) AND P(A)=1 => almost_sure(A).
RULE R2: measurable(A) AND P(A)=0 => null_event(A).
RULE R3: disjoint(A,B) => P(A union B)=P(A)+P(B).
RULE R4: independent(A,B) => P(A intersection B)=P(A)*P(B).
RULE R5: P(B)>0 => P(A|B)=P(A intersection B)/P(B).
RULE R6: P(B)>0 AND P(A)>0 => P(A|B)=P(B|A)*P(A)/P(B).
RULE R7: A subset B => P(A)<=P(B).
GUARD G1: disjointness must not be inferred from independence.
GUARD G2: P(A)=0 does not imply A is empty.
GUARD G3: P(A)=1 does not imply A=Ω.
GUARD G4: conditional probability on a zero-probability event requires a separately specified conditional construction, not division by zero.
8. SEMANTIC DISTINCTIONS
Probability measure != probability density function: a density, when it exists relative to a reference measure, represents a measure by integration.
Probability measure != cumulative distribution function: a CDF characterises the distribution of a real-valued random variable.
Probability measure != sample space: Ω contains outcomes; P assigns values to measurable sets.
Probability measure != empirical frequency: observed frequencies may estimate probabilities but are not the axiomatic measure itself.
Countable additivity != finite additivity: the former is stronger and is required here.
9. VALIDATION
CHECK V1: Ω nonempty and F a valid sigma-algebra.
CHECK V2: domain(P)=F and codomain(P) subset [0,1].
CHECK V3: P(Ω)=1 and P(empty_set)=0.
CHECK V4: P respects countable additivity on pairwise disjoint sequences.
CHECK V5: derived claims carry applicable measurability and denominator guards.
CHECK V6: independence, disjointness and almost-sure equality remain distinct predicates.
CHECK V7: continuous examples use measurable sets and well-defined integrals.
10. EXAMPLES
EXAMPLE E1 [FAIR DIE]: Ω={1,2,3,4,5,6}; F=power_set(Ω); P(A)=|A|/6.
EXAMPLE E2 [FINITE WEIGHTS]: Ω={a,b,c}; weights=(0.2,0.3,0.5); P(A)=sum_{ω in A} weight(ω).
EXAMPLE E3 [UNIFORM UNIT INTERVAL]: Ω=[0,1]; F=Borel([0,1]); P(A)=Lebesgue_measure(A) for Borel A.
11. SEMANTIC EQUIVALENCE
EQUIVALENCE E1: probability_measure <=> normalised_countably_additive_nonnegative_measure.
EQUIVALENCE E2: P(A)=1 <=> complement(A) is a null event.
EQUIVALENCE E3: P(A|B)=P(A intersection B)/P(B) only when P(B)>0.
CONFIDENCE: axiomatic claims=deductive under stated assumptions; empirical probability assignments require separately recorded evidence.
12. FLOW HASH AND UPDATE MODEL
FLOW_HASH: SHA-256 of canonical UTF-8 representation of this specification after normalising line endings; compute at ingestion, never fabricate a digest.
UPDATE_MODEL: preserve stable entity IDs; increment version for changed axioms, rules or semantics; revalidate dependent inferences and regenerate FLOW_HASH.
13. AI CONSUMPTION
AI_CONSUMPTION:
representation: typed_entity_relationship_graph
reasoning: axiom_guarded_deduction
validation: mathematical_consistency_and_measurability
provenance: source_url_and_version
uncertainty: distinguish_formal_certainty_from_empirical_estimation
safety: reject_unjustified_conditioning_or_nonmeasurable_event_probability
END FLOW ALGEBRA