Skip to main content

Order 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
ORDER RELATION ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Relation Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/relation-entities/order-relation-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
Source status: Formal mathematical synthesis; webpage content not independently verified.

01. PURPOSE
flow "OrderRelationOntology" v1.0
  domain: set_theory / order_theory / mathematical_relations
  intent: represent, classify, validate and reason over order relations
  semantics: typed, domain-scoped, proof-aware

02. CORE ENTITIES
entity Set { id: URI; elements: Set[Entity] }
entity OrderRelation { id: URI; carrier: Set; pairs: Set[Tuple[Entity,Entity]]; kind: OrderKind }
entity OrderedPair { first: Entity; second: Entity }
entity Chain { carrier: Set; order: OrderRelation }
entity Antichain { carrier: Set; order: OrderRelation }
entity Bound { value: Entity; subset: Set; kind: upper|lower }
entity Extremum { value: Entity; subset: Set; kind: minimum|maximum|minimal|maximal }
entity OrderEmbedding { source: OrderRelation; target: OrderRelation; mapping: Function }
entity Proof { proposition: Formula; premises: List[Formula]; method: String }

03. TYPES
OrderKind = preorder | partial_order | total_order | strict_partial_order | strict_total_order | well_order
TruthStatus = proven | disproven | unknown | conditional
Notation: x <=_R y iff (x,y) in R
Notation: x <_R y iff x <=_R y and x != y (for partial orders)

04. DOMAIN CONSTRAINTS
R subseteq A x A
forall (x,y) in R: x in A and y in A
Comparisons are meaningful only within declared carrier A.
No assumption that a relation is an order until axioms are validated.

05. AXIOMS
reflexive(R,A) := forall x in A: R(x,x)
irreflexive(R,A) := forall x in A: not R(x,x)
transitive(R,A) := forall x,y,z in A: (R(x,y) and R(y,z)) => R(x,z)
antisymmetric(R,A) := forall x,y in A: (R(x,y) and R(y,x)) => x=y
asymmetric(R,A) := forall x,y in A: R(x,y) => not R(y,x)
total(R,A) := forall x,y in A: R(x,y) or R(y,x)
preorder := reflexive and transitive
partial_order := preorder and antisymmetric
total_order := partial_order and total
strict_partial_order := irreflexive and transitive
strict_total_order := strict_partial_order and forall x!=y: R(x,y) or R(y,x)
well_order := total_order and every nonempty subset has a least element

06. STRICT / NON-STRICT CONVERSION
strict_part(R)(x,y) := R(x,y) and x!=y, if R is a partial order
reflexive_closure(S)(x,y) := S(x,y) or x=y, if S is a strict partial order
These conversions preserve the associated partial-order structure.

07. ORDER OPERATIONS
inverse(R) := {(y,x) | (x,y) in R}
restriction(R,B) := R intersect (B x B), where B subseteq A
composition(R,S) := {(x,z) | exists y: R(x,y) and S(y,z)}
transitive_closure(R) := least transitive relation containing R
reflexive_transitive_closure(R) := least reflexive transitive relation containing R
Dual order: R^op(x,y) iff R(y,x)

08. COMPARABILITY AND STRUCTURE
comparable(x,y) := R(x,y) or R(y,x)
chain(C) := forall x,y in C: comparable(x,y)
antichain(C) := forall distinct x,y in C: not comparable(x,y)
linear_extension(T,R) := T is total_order and R subseteq T on same carrier

09. BOUNDS AND EXTREMA
upper_bound(u,B) := forall b in B: R(b,u)
lower_bound(l,B) := forall b in B: R(l,b)
maximum(m,B) := m in B and forall b in B: R(b,m)
minimum(m,B) := m in B and forall b in B: R(m,b)
maximal(m,B) := m in B and not exists b in B: m!=b and R(m,b)
minimal(m,B) := m in B and not exists b in B: m!=b and R(b,m)
least_upper_bound(s,B) := upper_bound(s,B) and forall u: upper_bound(u,B) => R(s,u)
greatest_lower_bound(i,B) := lower_bound(i,B) and forall l: lower_bound(l,B) => R(l,i)
Note: maximal is not generally equivalent to maximum.

10. WELL-FOUNDEDNESS
well_founded(S,A) := every nonempty B subseteq A has an S-minimal element
For strict relations, well-foundedness supports well-founded induction.
For total orders, a well-order is a total order whose strict part is well-founded.
Avoid equating well-foundedness with absence of infinite descending sequences without appropriate choice assumptions.

11. SEMANTIC RELATIONSHIPS
OrderRelation --is_a--> BinaryRelation
PartialOrder --subtype_of--> Preorder
TotalOrder --subtype_of--> PartialOrder
WellOrder --subtype_of--> TotalOrder
OrderRelation --has_carrier--> Set
OrderRelation --contains_pair--> OrderedPair
OrderRelation --has_dual--> OrderRelation
OrderedSet --has_order--> OrderRelation
Chain --subset_of--> Set
Antichain --subset_of--> Set

12. KNOWLEDGE GRAPH TRIPLES
(:Relation {id:'leqZ'})-[:ON_SET]->(:Set {id:'integers'})
(:Relation {id:'leqZ'})-[:HAS_PROPERTY]->(:Property {name:'reflexive'})
(:Relation {id:'leqZ'})-[:HAS_PROPERTY]->(:Property {name:'antisymmetric'})
(:Relation {id:'leqZ'})-[:HAS_PROPERTY]->(:Property {name:'transitive'})
(:Relation {id:'leqZ'})-[:HAS_PROPERTY]->(:Property {name:'total'})

13. INFERENCE RULES
R(x,y) and R(y,z) and transitive(R) => R(x,z)
R(x,y) and R(y,x) and antisymmetric(R) => x=y
R(x,y) and asymmetric(R) => not R(y,x)
partial_order(R) and total(R) => total_order(R)
total_order(R) and every_nonempty_subset_has_least(R) => well_order(R)
maximum(m,B) => maximal(m,B)
minimum(m,B) => minimal(m,B)

14. SEMANTIC EQUIVALENCE
Equivalent notation: <=, preceq, sqsubseteq only when carrier and intended relation agree.
Do not identify numeric <= with subset inclusion: both are orders but distinct relations.
Order isomorphism: bijection f with R(x,y) iff S(f(x),f(y)).
Alpha-renaming of bound variables preserves formulas where capture is avoided.
Canonicalise typed identifiers, carrier, relation orientation and axioms before comparison.

15. EXAMPLES
E1: (Z, <=) is a total order, not a well-order.
E2: (N, <=) is a well-order under the usual natural-number ordering.
E3: (P(A), subseteq) is a partial order; generally not total when |A| >= 2.
E4: Divisibility on positive integers is a partial order; on all integers it is a preorder but not antisymmetric.
E5: Strict < on real numbers is a strict total order, not reflexive.

16. VALIDATION
validate_carrier: all ordered pairs use elements in A
validate_axioms: check claimed order kind against defining properties
validate_bounds: bound candidate belongs to A; extrema belong to subset
validate_derived: proof obligations attached to inferred properties
finite_sets: exhaustive pair/triple tests permitted
infinite_sets: symbolic proof or trusted theorem required; sampling is insufficient

17. COUNTEREXAMPLES
R={(1,1),(2,2),(1,2),(2,1)} on {1,2}: preorder but not partial order.
R={(1,1),(2,2)} on {1,2}: partial order but not total order.
Real numbers under <=: total order but not well-order.

18. CONFIDENCE
confidence: 1.0 for mechanically verified finite axioms or accepted formal proofs
confidence: qualified for theorem-backed claims with explicit assumptions
confidence: unknown for unproved or context-ambiguous assertions
Never substitute model confidence for mathematical proof.

19. FLOW_HASH
hash_input: canonical(ontology_id, version, carrier_type, axioms, rules, relations)
algorithm: SHA-256
FLOW_HASH: computed_at_ingestion; no fabricated static digest

20. UPDATE_MODEL
on_new_definition: revalidate kind and derived statements
on_carrier_change: recheck domain, reflexivity, totality and bounds
on_pair_change: recompute affected axiom checks and graph edges
versioning: immutable prior versions, provenance-preserving changes

21. AI_CONSUMPTION
input: {carrier, relation_pairs_or_predicate, asserted_properties, assumptions}
output: {classification, validated_properties, derived_facts, counterexamples, proof_status}
requirements: typed edges, explicit quantifiers, assumption tracking, uncertainty separation
avoid: conflating strict and non-strict order; assuming totality; treating minimal as minimum

22. PROVENANCE
source_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/relation-entities/order-relation-ontology.html
formal_basis: standard set theory and order theory
source_page_verified: false
credit: Mark Higgins — Sky (Recursive AI)
site: https://kirethresearch.org

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