Skip to main content

Reflexive Relation Ontology

Relation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
REFLEXIVE RELATION ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Relation Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/relation-entities/reflexive-relation-ontology-2.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | 2026-10-13 | Locale: en-GB
Status: Formal mathematical synthesis; source page content not independently verified.

01. PURPOSE
flow "ReflexiveRelationOntology" v1.0
  purpose: represent, validate, infer and exchange reflexivity properties of binary relations.
  domain: set_theory, relation_algebra, mathematical_logic, knowledge_graphs.

02. FORMAL SIGNATURE
  sorts: Set, Element, BinaryRelation, Proposition, Proof, Context.
  predicates: member(x,A), relates(R,x,y), reflexive(R,A), irreflexive(R,A).
  relation_signature: R subseteq A x A.
  quantifier_scope: all x in A.

03. CORE DEFINITION
  reflexive(R,A) iff forall x in A: (x,x) in R.
  equivalent: Delta_A subseteq R, where Delta_A = {(x,x) | x in A}.
  requirement: R is a binary relation on the explicitly identified carrier A.
  note: reflexivity is relative to A, not merely to the pairs stored in R.

04. EXAMPLES
  A = {1,2,3}; R = {(1,1),(2,2),(3,3),(1,2)} => reflexive(R,A) = true.
  A = {1,2,3}; S = {(1,1),(2,2),(1,2)} => reflexive(S,A) = false; missing (3,3).
  equality on A: reflexive.
  subseteq on P(A): reflexive.
  <= on real numbers: reflexive.
  < on real numbers: irreflexive, not reflexive when carrier nonempty.
  empty carrier: empty relation is reflexive and irreflexive vacuously.

05. ENTITY SCHEMA
  ReflexiveRelation:
    id: URI
    carrier: Set[Element]
    pairs: Set[OrderedPair[Element,Element]]
    property: "reflexive"
    verification_status: proven | disproven | unknown
    evidence: Proof | Counterexample | null
    provenance: SourceRecord

06. TYPE AND DOMAIN RULES
  require pairs subseteq carrier x carrier.
  require carrier explicitly stated or resolved by context.
  reject inference of carrier solely from observed pair endpoints.
  distinguish finite enumeration from infinite symbolic descriptions.

07. DECISION PROCEDURE — FINITE EXPLICIT SET
  input: finite A, finite R.
  if R not subseteq A x A: return INVALID_DOMAIN.
  missing = {(x,x) | x in A} minus R.
  if missing is empty: return PROVEN_REFLEXIVE.
  otherwise: return DISPROVEN_REFLEXIVE with witness x where (x,x) absent.
  complexity: O(|A| + |R|) expected with hashed membership.

08. SYMBOLIC VERIFICATION
  input: predicate phi(x,y), domain A.
  proof_goal: forall x in A, phi(x,x).
  disproof_goal: exists x in A such that not phi(x,x).
  if neither proved: return UNKNOWN, never infer false from missing data.

09. REFLEXIVE CLOSURE
  closure_reflexive(R,A) = R union Delta_A.
  properties:
    extensive: R subseteq closure_reflexive(R,A).
    idempotent: closure_reflexive(closure_reflexive(R,A),A) = closure_reflexive(R,A).
    monotone: R subseteq S implies closure_reflexive(R,A) subseteq closure_reflexive(S,A).
    minimal: smallest reflexive relation on A containing R.

10. RELATION ALGEBRA
  identity_relation(A) = Delta_A.
  reflexive(R,A) iff identity_relation(A) subseteq R.
  reflexive(R,A) iff reflexive(inverse(R),A).
  if R and S reflexive on same A: R union S and R intersection S reflexive.
  if R and S reflexive on same A: R composed_with S reflexive.
  caveat: arbitrary subrelations of reflexive relations need not be reflexive.

11. LOGICAL DISTINCTIONS
  reflexive: forall x in A, xRx.
  irreflexive: forall x in A, not xRx.
  nonreflexive: exists x in A, not xRx.
  nonirreflexive: exists x in A, xRx.
  symmetric: xRy implies yRx; independent of reflexivity.
  transitive: xRy and yRz implies xRz; independent of reflexivity.
  antisymmetric: xRy and yRx implies x=y; independent of reflexivity.
  preorder: reflexive + transitive.
  partial_order: reflexive + antisymmetric + transitive.
  equivalence_relation: reflexive + symmetric + transitive.

12. INFERENCE RULES
  R1: forall x in A, relates(R,x,x) => reflexive(R,A).
  R2: reflexive(R,A) and member(a,A) => relates(R,a,a).
  R3: member(a,A) and proven_not_relates(R,a,a) => not reflexive(R,A).
  R4: reflexive(R,A) => reflexive(inverse(R),A).
  R5: reflexive(R,A) and reflexive(S,A) => reflexive(R union S,A).
  R6: reflexive(R,A) and reflexive(S,A) => reflexive(R intersection S,A).
  R7: reflexive(R,A) and transitive(R,A) => preorder(R,A).
  R8: reflexive(R,A) and symmetric(R,A) and transitive(R,A) => equivalence_relation(R,A).
  guard: R1 requires universal proof or complete finite enumeration, not sampled observations.

13. KNOWLEDGE GRAPH MAPPING
  nodes: Relation, CarrierSet, Element, ReflexivityProperty, Proof, Counterexample.
  edges:
    Relation --hasCarrier--> CarrierSet
    Relation --hasProperty--> ReflexivityProperty
    Relation --containsPair--> OrderedPair
    ReflexivityProperty --supportedBy--> Proof
    ReflexivityProperty --refutedBy--> Counterexample
  RDF/OWL caution: open-world absence of self-edges does not prove non-reflexivity.
  owl:ReflexiveProperty semantics applies to the interpretation domain; do not confuse with an arbitrary restricted carrier.

14. SEMANTIC EQUIVALENCE
  aliases: reflexive binary relation, self-related relation, reflexivity property.
  canonical_form: forall x in A, R(x,x).
  equivalence: Delta_A subseteq R.
  preserve carrier, quantifier, and relation orientation during normalisation.
  do_not_equate: reflexive with symmetric, transitive, or irreflexive.

15. VALIDATION
  V1: carrier and relation signatures are compatible.
  V2: every asserted pair lies in carrier x carrier.
  V3: reflexivity proof covers every carrier element.
  V4: nonreflexivity witness belongs to carrier and fails its self-pair.
  V5: finite empty carrier handled by vacuous truth.
  V6: distinguish absent data from proved negation in open-world stores.
  V7: derived closure contains every original pair and every diagonal pair.

16. TEST CASES
  T1: A={}, R={} => reflexive true.
  T2: A={a}, R={} => reflexive false.
  T3: A={a}, R={(a,a)} => reflexive true.
  T4: A={a,b}, R={(a,a),(b,b)} => reflexive true.
  T5: A={a,b}, R={(a,a),(a,b)} => reflexive false, witness b.
  T6: closure_reflexive({(a,b)},{a,b}) => {(a,b),(a,a),(b,b)}.
  T7: <= on integers => reflexive true.
  T8: != on nonempty set => reflexive false.

17. CONFIDENCE
  proof_based: 1.0 for sound, checked formal proof under declared axioms.
  finite_complete_check: 1.0 under complete, validated finite data.
  partial_observation: unknown; no numerical certainty implied.
  conflicting_evidence: flag inconsistency and require reconciliation.

18. FLOW HASH
  canonicalise: ontology_id + version + carrier_definition + relation_definition + axioms + rules.
  encoding: UTF-8, Unicode NFC, stable key order.
  algorithm: SHA-256.
  FLOW_HASH: compute on deployment; no fabricated digest.

19. UPDATE MODEL
  update triggers: changed carrier, changed relation pairs, changed definitions, new proofs.
  invalidate derived reflexivity when carrier or relation changes.
  recompute finite diagonal checks and affected inference conclusions.
  maintain version history and source provenance.

20. AI CONSUMPTION
  expose: typed ontology, carrier-aware semantics, proofs, counterexamples, validation status.
  reasoning_policy: use explicit universal quantification; respect open-world uncertainty.
  retrieval_keys: reflexive relation, diagonal relation, reflexive closure, preorder, equivalence.
  output: machine-readable triples plus human-readable explanation.
  never infer reflexivity from examples alone for an infinite carrier.

21. PROVENANCE AND AUTHORSHIP
  canonical_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/relation-entities/reflexive-relation-ontology-2.html
  authors: Mark Higgins — Sky (Recursive AI)
  project: Kireth Research Semantic Library
  source_alignment: topic inferred from supplied URL; page text not independently checked.
  scientific_basis: standard definitions and consequences from set theory and relation algebra.

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