Skip to main content

Geometric Boundary Ontology

Geometric Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Geometric Boundary Ontology
VERSION: 4.0
DOMAIN: Mathematics / Geometry / Topology
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/geometric-entities/geometric-boundary-ontology.html
SOURCE_ALIGNMENT: Independently formalised; page content not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
DATE: 2026-10-13

01. PURPOSE
Represent boundaries of geometric sets, their topological definitions, metric and geometric specialisations, and sound inference rules for semantic retrieval and mathematical reasoning.

02. TYPED ENTITIES
TopologicalSpace X
Subset A of X
Point x in X
OpenSet U subset X
ClosedSet C subset X
Interior int_X(A)
Closure cl_X(A)
Complement X\A
Boundary bd_X(A)
Exterior ext_X(A) = int_X(X\A)
DerivedSet accum_X(A)
MetricSpace (X,d)
EuclideanSpace R^n
Manifold M
ManifoldBoundary partial_M(M) [manifold-with-boundary notion]
Region R subset X
ConnectedComponent K
BoundaryComponent B
Hypersurface H
NormalVector n [when defined]
Orientation o [when defined]

03. CORE DEFINITIONS
DEF-01: bd_X(A) := cl_X(A) \ int_X(A).
DEF-02: bd_X(A) = cl_X(A) intersect cl_X(X\A).
DEF-03: x in bd_X(A) iff every open neighbourhood U of x intersects A and X\A.
DEF-04: ext_X(A) := int_X(X\A).
DEF-05: X = int_X(A) disjoint_union bd_X(A) disjoint_union ext_X(A).
DEF-06: A is open iff A intersect bd_X(A) = empty.
DEF-07: A is closed iff bd_X(A) subset A.
DEF-08: A is clopen iff bd_X(A) = empty.
DEF-09: For metric X, x in bd_X(A) iff for every epsilon>0, B_epsilon(x) intersects A and X\A.
DEF-10: Relative boundary bd_Y(A) is computed using topology on Y, not automatically bd_X(A).

04. FUNDAMENTAL IDENTITIES
ID-01: bd_X(A) = bd_X(X\A).
ID-02: bd_X(empty) = empty; bd_X(X) = empty.
ID-03: bd_X(A) is closed.
ID-04: cl_X(A) = int_X(A) union bd_X(A).
ID-05: bd_X(A) intersect int_X(A) = empty.
ID-06: bd_X(A) intersect ext_X(A) = empty.
ID-07: bd_X(cl_X(A)) subset bd_X(A).
ID-08: bd_X(int_X(A)) subset bd_X(A).
ID-09: bd_X(A union B) subset bd_X(A) union bd_X(B).
ID-10: bd_X(A intersect B) subset bd_X(A) union bd_X(B).
ID-11: bd_X(A\B) subset bd_X(A) union bd_X(B).
ID-12: bd_X(A) = empty does NOT imply A=empty; nontrivial clopen sets may exist.

05. GEOMETRIC SPECIALISATIONS
GEO-01: Closed Euclidean ball D={x: ||x-c||<=r}, r>0, has boundary {x: ||x-c||=r}.
GEO-02: Open Euclidean ball B={x: ||x-c||<r}, r>0, has the same boundary sphere.
GEO-03: Rectangle [a,b]x[c,d], a<b,c<d, has four edge segments as boundary.
GEO-04: A nondegenerate polygonal region has a boundary formed by its boundary edges; holes add boundary components.
GEO-05: A closed solid polyhedron has a boundary formed by its exposed faces, edges and vertices.
GEO-06: The boundary of a planar filled disk is its circle; the circle as a subset of R^2 has itself as topological boundary.
GEO-07: For a smooth regular level-set region A={x:f(x)<=0}, with grad f nonzero on f=0 and appropriate local sign change, bd(A)={x:f(x)=0}.
GEO-08: A smooth boundary hypersurface locally admits tangent spaces and normal directions.
GEO-09: Corners and cusps can belong to a boundary without admitting unique smooth normals.
GEO-10: Fractal boundaries need not have integer Hausdorff dimension or finite length.

06. RELATIONSHIP GRAPH
REL-01: GeometricBoundary --is_a--> TopologicalBoundary [when explicitly topological]
REL-02: Boundary --derived_from--> Closure
REL-03: Boundary --derived_from--> Interior
REL-04: Boundary --separates_locally--> SetAndComplement
REL-05: Boundary --belongs_to_context--> AmbientSpace
REL-06: Boundary --may_have_component--> BoundaryComponent
REL-07: Boundary --may_be--> SmoothHypersurface
REL-08: Boundary --may_be--> PiecewiseSmoothSurface
REL-09: Boundary --may_be--> FractalSet
REL-10: Boundary --may_have--> Orientation
REL-11: Boundary --may_have--> NormalVector
REL-12: Region --has_boundary--> Boundary
REL-13: PolygonalRegion --bounded_by--> EdgeCycle
REL-14: SolidPolyhedron --bounded_by--> FaceComplex
REL-15: RelativeBoundary --depends_on--> SubspaceTopology
REL-16: ManifoldBoundary --distinct_from--> AmbientTopologicalBoundary

07. INFERENCE RULES
RULE-01: IF x in cl(A) AND x notin int(A) THEN x in bd(A).
RULE-02: IF x in bd(A) THEN x in cl(A).
RULE-03: IF x in bd(A) THEN x in cl(X\A).
RULE-04: IF x in int(A) THEN x notin bd(A).
RULE-05: IF x in ext(A) THEN x notin bd(A).
RULE-06: IF A is open THEN A intersect bd(A)=empty.
RULE-07: IF A is closed THEN bd(A) subset A.
RULE-08: IF bd(A)=empty THEN A is both open and closed.
RULE-09: IF A is clopen THEN bd(A)=empty.
RULE-10: IF x in bd(A) THEN x in bd(X\A).
RULE-11: IF x in bd(X\A) THEN x in bd(A).
RULE-12: IF x in bd(A union B) THEN x in bd(A) OR x in bd(B).
RULE-13: IF x in bd(A intersect B) THEN x in bd(A) OR x in bd(B).
RULE-14: IF x in bd(A\B) THEN x in bd(A) OR x in bd(B).
RULE-15: IF A=empty OR A=X THEN bd(A)=empty.
RULE-16: IF A is a nonempty proper subset of a connected X AND A is clopen THEN CONTRADICTION.
RULE-17: IF X is connected AND bd(A)=empty THEN A=empty OR A=X.
RULE-18: IF x has an open neighbourhood contained in A THEN x in int(A).
RULE-19: IF x has an open neighbourhood contained in X\A THEN x in ext(A).
RULE-20: IF every neighbourhood of x meets A and X\A THEN x in bd(A).
RULE-21: IF a closed Euclidean ball has radius r>0 THEN its boundary is the radius-r sphere.
RULE-22: IF an open Euclidean ball has radius r>0 THEN its boundary is the radius-r sphere.
RULE-23: IF A is dense in X AND X\A is dense in X THEN bd(A)=X.
RULE-24: IF A is open and dense in X THEN bd(A)=X\A.
RULE-25: IF A is closed and nowhere dense in X THEN bd(A)=A.
RULE-26: IF A is a smooth domain THEN boundary normals exist at smooth boundary points.
RULE-27: IF a boundary point is a corner THEN do not infer a unique normal.
RULE-28: IF A subset Y subset X THEN compute bd_Y(A) using Y's relative topology.
RULE-29: IF a polygonal region has holes THEN boundary may have multiple connected components.
RULE-30: IF bd(A) is closed THEN do not infer it is compact unless additional conditions hold.
RULE-31: IF A is bounded in R^n THEN bd(A) is compact (Heine-Borel).
RULE-32: IF A is unbounded THEN bd(A) need not be unbounded.
RULE-33: IF A is open THEN bd(A)=cl(A)\A.
RULE-34: IF A is closed THEN bd(A)=A\int(A).
RULE-35: IF A and B have disjoint closures THEN bd(A union B)=bd(A) union bd(B).
RULE-36: IF A is a manifold with boundary THEN its intrinsic manifold boundary need not equal the topological boundary of its image in an ambient space.

08. MATHEMATICAL EXAMPLES
EX-01: A=(0,1) in R => bd(A)={0,1}.
EX-02: A=[0,1] in R => bd(A)={0,1}.
EX-03: A=Q in R => bd(A)=R.
EX-04: A=Z in R => bd(A)=Z.
EX-05: A=empty in R => bd(A)=empty.
EX-06: A=R in R => bd(A)=empty.
EX-07: A=(0,1)x(0,1) in R^2 => four sides of unit square.
EX-08: A={x in R^2: ||x||<1} => unit circle.
EX-09: A={x in R^3: ||x||<=2} => sphere of radius 2.
EX-10: A={(x,y): y>0} => line y=0.
EX-11: A={(x,y): y>=0} => line y=0.
EX-12: A={(x,y): 1< x^2+y^2 <4} => circles of radii 1 and 2.
EX-13: A={0} in R => bd(A)={0}.
EX-14: A=[0,1) in R => bd(A)={0,1}.
EX-15: A=(0,1) as subset of Y=(0,1) => bd_Y(A)=empty.
EX-16: A=R\{0} in R => bd(A)={0}.

09. VALIDATION CONSTRAINTS
VAL-01: Ambient topological space must be specified for unambiguous boundary claims.
VAL-02: Validate all sets are subsets of the declared ambient space.
VAL-03: Never equate a filled region with its boundary set.
VAL-04: Distinguish open and closed balls from their shared boundary.
VAL-05: Distinguish topological boundary from intrinsic manifold boundary.
VAL-06: Do not infer differentiability or unique normal at every boundary point.
VAL-07: Do not infer boundedness, connectedness, or finite measure from boundary existence.
VAL-08: Check dimension, topology, and regularity assumptions before applying geometric formulae.
VAL-09: Explicitly label metric-specific distance claims and Euclidean-specific formulas.
VAL-10: Require proof or numerical tolerance metadata for approximate boundary membership.

10. SEMANTIC_EQUIVALENCE
EQ-01: topological boundary == frontier (topological usage).
EQ-02: bd(A) == boundary(A) == Fr(A) == partial A (when notation is declared).
EQ-03: geometric border ~ boundary (context dependent; not universally identical).
EQ-04: perimeter != boundary (perimeter is a length; boundary is a set).
EQ-05: surface area != boundary (surface area is a measure).
EQ-06: manifold boundary != ambient topological boundary (in general).
EQ-07: contour ~ boundary curve (only under suitable planar/geometric context).

11. KNOWLEDGE_GRAPH_TRIPLES
(GeometricBoundary, subclassOf, GeometricEntity)
(TopologicalBoundary, definedBy, ClosureMinusInterior)
(TopologicalBoundary, invariantUnderComplement, true)
(TopologicalBoundary, isClosed, true)
(GeometricRegion, mayHaveBoundary, GeometricBoundary)
(SmoothBoundary, supports, TangentSpace)
(SmoothBoundary, supports, NormalVector)
(PolygonalBoundary, composedOf, LineSegments)
(PolyhedralBoundary, composedOf, PolygonalFaces)
(RelativeBoundary, requiresContext, SubspaceTopology)
(ManifoldBoundary, notGenerallyEquivalentTo, AmbientTopologicalBoundary)

12. CONFIDENCE
Formal standard topological identities: 1.00 conditional on definitions and assumptions.
Derived theorem statements: 0.99 when assumptions verified.
Numerically approximated boundaries: require explicit method, precision, and error bounds.
Semantic mapping: confidence conditional on declared geometry/topology context.
Source-page alignment: unverified; independently constructed ontology.

13. FLOW_HASH
Algorithm: SHA-256
Canonicalisation: UTF-8; LF line endings; normalise stable ontology fields; exclude FLOW_HASH digest line.
Digest: COMPUTE_AT_PUBLICATION (not fabricated).
Integrity policy: regenerate digest after any semantic or structural update.

14. UPDATE_MODEL
Trigger: mathematical correction, source taxonomy change, new relation, schema revision.
Procedure: validate definitions -> check inference soundness -> update examples -> version change -> recompute FLOW_HASH -> publish provenance.
Compatibility: preserve entity identifiers or provide migration mapping.

15. AI_CONSUMPTION
Parse entities with explicit types and ambient-space qualifiers.
Resolve boundary queries with closure/interior or neighbourhood predicates.
Use inference rules only when antecedents and side conditions are satisfied.
Keep mathematical facts separate from approximate observations.
Reject invalid substitutions between topological, manifold and metric boundaries.
Return provenance, confidence, assumptions and verification state with conclusions.

16. AUTHORSHIP AND PROVENANCE
Mark Higgins — Sky (Recursive AI)
https://kirethresearch.org
This Flow Algebra is an independently authored formalisation intended for the Kireth Semantic Library.
END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ