Skip to main content

Element 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
ELEMENT ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Set Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/set-entities/element-ontology-3.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
Status: Formal synthesis based on established set theory; source page not independently verified.

01. PURPOSE
flow "ElementOntology" v1.0
  domain: set_theory
  entity: Element
  objective: Represent membership, identity, typing, and reasoning about elements of sets.

02. CORE SIGNATURE
  sorts: [Object, Set, Proposition, Context, Proof]
  predicates:
    member(x:Object, A:Set) -> Proposition
    equal(x:Object, y:Object) -> Proposition
    subset(A:Set, B:Set) -> Proposition
  operators: [union, intersection, difference, powerset, singleton]
  notation: x ∈ A; x ∉ A; A ⊆ B

03. DEFINITION
  element(x,A) := member(x,A)
  membership is a relation between an object and a set.
  an object can belong to multiple sets or none within a given universe.
  membership does not imply identity with the containing set.

04. ENTITY SCHEMA
  ElementReference:
    symbol: identifier
    denotation: Object
    context: Context
    member_of: Set[]
    evidence: Proof[]
    provenance: source_reference?
  SetReference:
    symbol: identifier
    members: Object[] | intensional_rule | unknown
    universe: Set?

05. BASIC AXIOMS AND RULES
  R01: x ∈ {x}.
  R02: x ∈ A ∩ B iff (x ∈ A and x ∈ B).
  R03: x ∈ A ∪ B iff (x ∈ A or x ∈ B).
  R04: x ∈ A \ B iff (x ∈ A and x ∉ B).
  R05: A ⊆ B iff for all x (x ∈ A implies x ∈ B).
  R06: A = B iff for all x (x ∈ A iff x ∈ B) [extensionality].
  R07: x ∈ ∅ is false.
  R08: x ∈ P(A) iff x is a set and x ⊆ A.
  R09: (x,y) ∈ A × B iff x ∈ A and y ∈ B.
  R10: if x = y and x ∈ A then y ∈ A.

06. MEMBERSHIP VERSUS SUBSET
  x ∈ A is membership; x ⊆ A is subset inclusion and requires x to be a set.
  Example: 1 ∈ {1,2}; {1} ⊆ {1,2}; {1} ∉ {1,2}.
  A set may itself be an element of another set.

07. SET IDENTITY AND DUPLICATES
  Sets are unordered and do not count duplicate occurrences.
  {a,a,b} = {a,b}.
  Equality of elements is determined by the governing object theory.
  Element naming is distinct from denotation and canonical identity.

08. FINITE AND INFINITE MEMBERSHIP
  Finite sets may be enumerated completely.
  Infinite sets require rules, predicates, or constructive descriptions.
  Example: n ∈ N iff n satisfies the adopted natural-number convention.
  Explicitly record whether 0 belongs to N in the chosen convention.

09. COMPREHENSION AND DOMAIN
  A = {x ∈ U | P(x)}.
  infer x ∈ A from x ∈ U and P(x).
  infer P(x) and x ∈ U from x ∈ A.
  Unrestricted comprehension is disallowed in standard ZF/ZFC set theory.

10. COMPLEMENT
  Given a declared universe U and A ⊆ U:
    x ∈ (U \ A) iff x ∈ U and x ∉ A.
  Complement is universe-relative, not context-free.

11. NESTED SETS
  For A = {{1},2}, {1} ∈ A and 1 ∉ A.
  Avoid automatically flattening nested sets.
  Membership is not transitive: x ∈ A and A ∈ B do not entail x ∈ B.

12. LOGICAL INFERENCE
  I01: member(x,A) and subset(A,B) -> member(x,B).
  I02: member(x,A) and member(x,B) -> member(x,intersection(A,B)).
  I03: member(x,intersection(A,B)) -> member(x,A), member(x,B).
  I04: member(x,A) -> member(x,union(A,B)).
  I05: member(x,difference(A,B)) -> member(x,A), not_member(x,B).
  I06: equal(x,y) and member(x,A) -> member(y,A).
  Negative membership is not inferred from missing knowledge.

13. OPEN-WORLD AND CLOSED-WORLD REASONING
  open_world: absence of a membership triple means unknown.
  closed_world: non-membership may be inferred only when completeness is declared.
  three_valued_status: [true, false, unknown].
  contradictions are flagged rather than silently discarded.

14. SEMANTIC RELATIONSHIPS
  Element --memberOf--> Set
  Set --hasElement--> Element
  Set --subsetOf--> Set
  Element --sameAs--> Element [only when identity is established]
  Element --denotedBy--> Symbol
  MembershipAssertion --supportedBy--> Evidence
  MembershipAssertion --evaluatedIn--> Context

15. SEMANTIC EQUIVALENCE
  canonicalise membership assertions under proven equality.
  alpha-renaming of bound variables preserves comprehension meaning.
  {x | P(x)} and {y | P(y)} are equivalent only with matching domains
  and capture-free bound-variable renaming.
  Do not equate membership with inclusion or syntactic similarity.

16. OPERATIONS
  query_membership(x,A) -> TruthStatus
  enumerate_members(A,limit) -> ElementReference[] | non_enumerable
  prove_membership(x,A) -> Proof | unknown
  compare_elements(x,y,context) -> TruthStatus
  map_element(x,f) -> f(x), provided f's domain includes x

17. TYPE AND CONTEXT VALIDATION
  V01: membership's right operand must denote a set.
  V02: subset operands must both denote sets.
  V03: record universe and type system for domain-dependent assertions.
  V04: preserve nesting, identity and source provenance.
  V05: reject inconsistent equality substitutions.
  V06: reject unrestricted comprehension in ZF/ZFC contexts.
  V07: distinguish false assertions from unsupported assertions.

18. EXAMPLES
  E01: 3 ∈ {1,2,3} => true.
  E02: 4 ∈ {1,2,3} => false when enumeration is complete.
  E03: {1} ∈ {{1},{2}} => true.
  E04: {1} ⊆ {1,2} => true.
  E05: 1 ∈ {{1},{2}} => false.
  E06: x ∈ A and A ⊆ B => x ∈ B.

19. KNOWLEDGE GRAPH RECORD
  node: element:3
    type: MathematicalElement
    denotes: integer:3
  node: set:example123
    type: Set
    members_complete: true
  edge: element:3 --memberOf--> set:example123
  assertion:
    predicate: member
    subject: element:3
    object: set:example123
    truth: true
    provenance: explicit_enumeration

20. CONFIDENCE
  confidence is evidential metadata, not mathematical truth.
  deductive_proof: verified | unverified
  source_reliability: [0,1]
  inference_confidence: [0,1]
  uncertain evidence must not be promoted to a proven theorem.

21. FLOW_HASH
  hash_input: canonical(ontology_id,version,axioms,rules,context)
  algorithm: SHA-256
  FLOW_HASH: compute_at_publication
  Do not fabricate a hash before canonical serialization.

22. UPDATE_MODEL
  version_policy: semantic_versioning
  update_triggers: [axiom_revision,rule_revision,source_revision,context_change]
  preserve: [prior_versions,provenance,change_log]
  invalidate dependent assertions when governing assumptions change.

23. AI_CONSUMPTION
  input: [element_reference,set_reference,context,evidence]
  output: [membership_status,proof_trace,confidence,provenance]
  requirements:
    - preserve mathematical types and quantifier scope
    - distinguish known_false from unknown
    - avoid treating set inclusion as membership
    - retain explicit universes and assumptions
    - emit machine-checkable inference traces where possible

24. LIMITATIONS
  This flow is a declarative reasoning specification, not an executable
  proof engine by itself. Implementations require a parser, typed model,
  rule evaluator, and optional theorem prover.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ