Skip to main content

Subset Ontology

Set Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
SUBSET ONTOLOGY
Kireth Semantic Library | Entity Graph | Mathematical Entities | Set Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/set-entities/subset-ontology-3.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
Status: Formal mathematical synthesis; source webpage not independently verified.

01. ONTOLOGY IDENTITY
flow "SubsetOntology" v1.0
entity SubsetRelation : BinaryRelation(Set, Set)
notation: A ⊆ B
meaning: every member of A is a member of B

02. FOUNDATIONAL DEFINITION
subset(A:Set, B:Set) := forall x (member(x,A) -> member(x,B))
proper_subset(A:Set, B:Set) := subset(A,B) and A != B
strict notation: A ⊊ B (unambiguous)
not_subset(A,B) := exists x (member(x,A) and not member(x,B))

03. TYPES AND SIGNATURES
Set : collection of distinct elements
Element : entity eligible for membership
member : Element × Set -> Boolean
subset : Set × Set -> Boolean
proper_subset : Set × Set -> Boolean
power_set : Set -> SetOfSets
cardinality : Set -> Cardinal

04. CORE AXIOMS AND LAWS
reflexive: forall A subset(A,A)
transitive: subset(A,B) and subset(B,C) -> subset(A,C)
antisymmetric: subset(A,B) and subset(B,A) -> A=B
empty_minimum: forall A subset(empty_set,A)
equality_criterion: A=B iff subset(A,B) and subset(B,A)

05. PROPER SUBSET
proper_subset(A,B) iff subset(A,B) and exists x(member(x,B) and not member(x,A))
irreflexive: not proper_subset(A,A)
transitive: proper_subset(A,B) and proper_subset(B,C) -> proper_subset(A,C)
asymmetric: proper_subset(A,B) -> not proper_subset(B,A)

06. FINITE CARDINALITY
finite(A) and subset(A,B) and finite(B) -> |A| <= |B|
finite(A) and proper_subset(A,B) and finite(B) -> |A| < |B|
WARNING: infinite proper subsets can have the same cardinality as their supersets.

07. SET OPERATIONS
subset(A,B) iff union(A,B)=B
subset(A,B) iff intersection(A,B)=A
subset(A,B) iff difference(A,B)=empty_set
subset(A,B) and subset(C,D) -> subset(union(A,C),union(B,D))
subset(A,B) and subset(C,D) -> subset(intersection(A,C),intersection(B,D))

08. COMPLEMENT AND RELATIVE DOMAIN
Given A,B ⊆ U: subset(A,B) -> subset(complement_U(B),complement_U(A))
Complements require an explicit ambient universe U.

09. POWER SET
power_set(A) := {X | subset(X,A)}
subset(A,B) iff member(A,power_set(B))
subset(A,B) -> subset(power_set(A),power_set(B))
finite(A) -> |power_set(A)|=2^|A|

10. CARTESIAN PRODUCT
subset(A,B) and subset(C,D) -> subset(product(A,C),product(B,D))
product(A,empty_set)=empty_set

11. EXAMPLES
{1,2} ⊆ {1,2,3}: true
{1,2} ⊊ {1,2,3}: true
{1,2,3} ⊆ {1,2,3}: true
{1,2,3} ⊊ {1,2,3}: false
empty_set ⊆ {1}: true
{1} ∈ {{1},{2}}: true; distinguish membership from subset

12. RELATIONSHIP ONTOLOGY
SubsetRelation --is_a--> SetInclusionRelation
ProperSubsetRelation --specialises--> SubsetRelation
SubsetRelation --connects--> Set
SubsetRelation --has_property--> Reflexive
SubsetRelation --has_property--> Antisymmetric
SubsetRelation --has_property--> Transitive
SubsetRelation --related_to--> PowerSet
SubsetRelation --related_to--> SetEquality

13. KNOWLEDGE GRAPH SCHEMA
node Set {id, label, membership_model, provenance}
edge SUBSET_OF {subject_set, object_set, proof, context, confidence}
edge PROPER_SUBSET_OF {subject_set, object_set, witness_of_difference, proof}
edge MEMBER_OF {element, set}
CONSTRAINT: distinguish SUBSET_OF from MEMBER_OF.
CONSTRAINT: set identities must be stable within a specified mathematical context.

14. INFERENCE RULES
R1: SUBSET_OF(A,B), SUBSET_OF(B,C) => SUBSET_OF(A,C)
R2: SUBSET_OF(A,B), SUBSET_OF(B,A) => EQUAL_SET(A,B)
R3: PROPER_SUBSET_OF(A,B) => SUBSET_OF(A,B)
R4: SUBSET_OF(A,B), MEMBER_OF(x,A) => MEMBER_OF(x,B)
R5: MEMBER_OF(x,A), NOT_MEMBER_OF(x,B) => NOT_SUBSET_OF(A,B)
R6: SUBSET_OF(A,B) => EQUAL_SET(INTERSECTION(A,B),A)
R7: SUBSET_OF(A,B) => EQUAL_SET(UNION(A,B),B)

15. SEMANTIC EQUIVALENCE
A ⊆ B <=> forall x (x∈A => x∈B)
A ⊆ B <=> A∩B=A
A ⊆ B <=> A∪B=B
A ⊆ B <=> A\B=∅
Normalise strict subset notation carefully: some literature uses ⊂ ambiguously.

16. VALIDATION
validate_set_inputs(A,B): both operands denote sets
validate_membership_scope(x,A): x is evaluated in correct universe/context
validate_proper_subset(A,B): require strict witness or inequality proof
validate_proof(rule): premises and logical scope must be retained
reject: infer A=B solely from equal cardinalities
reject: infer A∈B from A⊆B

17. EDGE CASES
empty_set is subset of every set, including itself.
empty_set is proper subset of every nonempty set.
For infinite sets, equal cardinality does not imply equality.
In type theory, subtype relations are not automatically identical to set inclusion.
In non-classical or constructive settings, proof obligations may differ.

18. CONFIDENCE
confidence.definition = 1.0
confidence.classical_set_theory_laws = 1.0
confidence.example_claims = 1.0
confidence.source_page_alignment = unverified
confidence.inferred_graph_edges = dependent_on_proof

19. FLOW HASH
flow_hash.algorithm = SHA-256
flow_hash.input = canonical_utf8(ontology_id, version, axioms, rules, graph_schema)
flow_hash.value = compute_at_ingestion
flow_hash.note = no hash is asserted before canonicalisation and computation

20. UPDATE MODEL
update_model.version = semantic_version
update_model.track = [axioms, signatures, examples, relations, proofs]
update_model.on_change = [revalidate_rules, regenerate_graph, recompute_flow_hash]
update_model.preserve_provenance = true

21. AI CONSUMPTION
ai_consumption.mode = typed_semantic_reasoning
ai_consumption.tasks = [set_inclusion_check, theorem_proving, graph_inference, symbolic_normalisation]
ai_consumption.require_proof_for = [proper_subset, equality, inferred_membership]
ai_consumption.output = {claim, evidence, inference_rule, confidence, provenance}
ai_consumption.prevent = [membership_inclusion_conflation, infinite_cardinality_fallacy]

22. PROVENANCE AND CREDIT
publisher = Kireth Research
website = https://kirethresearch.org
co_authors = Mark Higgins — Sky (Recursive AI)
source_page = https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/set-entities/subset-ontology-3.html
source_verification = not independently retrieved
END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ