AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
ONTOLOGY: Geometric Region Ontology
VERSION: 4.0
DOMAIN: Mathematical Entities / Geometric Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/geometric-entities/geometric-region-ontology.html
SOURCE_ALIGNMENT: Independently constructed; source page content not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
01. PURPOSE
Represent geometric regions as typed subsets of ambient geometric spaces, with explicit topology, metric, dimension, boundary, measure, operations and reasoning constraints. Distinguish region from its boundary and from a geometric solid.
02. TYPE SYSTEM
TYPE AmbientSpace := EuclideanSpace(n) | MetricSpace | TopologicalSpace | Manifold
TYPE Region[S] := Subset(S)
TYPE Point[S] := Element(S)
TYPE Boundary[S] := Subset(S)
TYPE Dimension := NonNegativeInteger
TYPE Predicate := True | False | Unknown
TYPE MeasureValue := NonNegativeReal | Infinity | Undefined
TYPE GeometryEvidence := ExactProof | SymbolicDerivation | NumericalEstimate | ExternalAssertion
TYPE Confidence := Real in [0,1]
03. CORE ENTITIES
ENTITY GeometricRegion: {id, ambient_space, defining_predicate?, representation?, dimension?, topology?, boundary?, measure?, provenance}
ENTITY Interior: interior(R)
ENTITY Closure: closure(R)
ENTITY Exterior: S \ closure(R)
ENTITY Boundary: closure(R) \ interior(R)
ENTITY ConnectedComponent: maximal_connected_subset(R)
ENTITY Hole: context_dependent_topological_feature(R)
ENTITY OpenRegion: region satisfying openness
ENTITY ClosedRegion: region satisfying closedness
ENTITY BoundedRegion: region contained in some finite-radius ball
ENTITY ConvexRegion: region closed under straight-line interpolation
ENTITY PolygonalRegion: planar region defined by polygonal constraints
ENTITY PolyhedralRegion: Euclidean region defined by finite half-space constraints
ENTITY MeasurableRegion: region belonging to a specified sigma-algebra
04. SEMANTIC RELATIONSHIPS
RELATION is_subset_of(Region, Region)
RELATION contains_point(Region, Point)
RELATION has_boundary(Region, Boundary)
RELATION has_interior(Region, Region)
RELATION has_closure(Region, Region)
RELATION intersects(Region, Region)
RELATION is_disjoint_from(Region, Region)
RELATION is_connected(Region)
RELATION is_convex(Region)
RELATION is_bounded(Region)
RELATION is_open(Region)
RELATION is_closed(Region)
RELATION is_measurable(Region, Measure)
RELATION transformed_by(Region, Transformation)
RELATION partitioned_into(Region, Collection[Region])
RELATION has_dimension(Region, Dimension)
RELATION embedded_in(Region, AmbientSpace)
05. MATHEMATICAL DEFINITIONS
DEFINE membership: x in R iff predicate_R(x) = true
DEFINE union: R union Q := {x | x in R or x in Q}
DEFINE intersection: R intersect Q := {x | x in R and x in Q}
DEFINE difference: R \ Q := {x | x in R and x not in Q}
DEFINE complement: S \ R (relative to specified S)
DEFINE symmetric_difference: (R \ Q) union (Q \ R)
DEFINE interior: int(R) := union of all open subsets of R
DEFINE closure: cl(R) := intersection of all closed supersets of R
DEFINE boundary: bd(R) := cl(R) \ int(R)
DEFINE exterior: ext(R) := int(S \ R) = S \ cl(R)
DEFINE open: R = int(R)
DEFINE closed: R = cl(R)
DEFINE bounded_metric: exists x0,r>0: R subset Ball(x0,r)
DEFINE convex_Euclidean: forall x,y in R, forall t in [0,1], (1-t)x+ty in R
DEFINE connected: no separation into two nonempty disjoint relatively open subsets
DEFINE path_connected: any two points joined by continuous path lying in R
DEFINE regular_open: R = int(cl(R))
DEFINE regular_closed: R = cl(int(R))
06. DIMENSION AND MEASURE
RULE dimension_requires_convention: topological, affine, manifold and Hausdorff dimensions are distinct concepts.
RULE area: planar Lebesgue-measurable region R -> area(R) = measure_2(R)
RULE volume: 3D Lebesgue-measurable region R -> volume(R) = measure_3(R)
RULE nonnegative_measure: measurable(R) -> measure(R) >= 0
RULE finite_additivity: disjoint measurable R,Q -> measure(R union Q)=measure(R)+measure(Q)
RULE inclusion_exclusion: measurable R,Q with valid finite terms -> measure(R union Q)=measure(R)+measure(Q)-measure(R intersect Q)
RULE monotonicity: measurable R subset Q -> measure(R)<=measure(Q)
RULE boundary_measure_not_always_zero: do not assume measure(bd(R))=0 without regularity hypotheses.
RULE empty_region_measure: measure(empty)=0
07. FORMAL INFERENCE RULES
R01: x in R and R subset Q -> x in Q
R02: R subset Q and Q subset T -> R subset T
R03: R subset Q and Q subset R -> R = Q
R04: x in R intersect Q <-> x in R and x in Q
R05: x in R union Q <-> x in R or x in Q
R06: x in R \ Q <-> x in R and x not in Q
R07: R intersect Q = empty -> disjoint(R,Q)
R08: R subset Q -> int(R) subset int(Q)
R09: R subset Q -> cl(R) subset cl(Q)
R10: int(R) subset R subset cl(R)
R11: bd(R) = cl(R) intersect cl(S \ R)
R12: int(R) intersect bd(R) = empty
R13: int(R) union bd(R) = cl(R)
R14: R open -> bd(R) intersect R = empty
R15: R closed -> bd(R) subset R
R16: R open and R closed is possible (e.g. empty and whole space)
R17: R convex and Q convex -> R intersect Q convex
R18: R convex -> R path_connected (Euclidean ambient space)
R19: R path_connected -> R connected
R20: R connected does not imply path_connected in arbitrary topological spaces
R21: R convex does not imply R closed
R22: R bounded does not imply R compact without closure and suitable ambient assumptions
R23: R closed and bounded in R^n -> R compact (Heine-Borel)
R24: continuous image of connected R -> connected image
R25: continuous image of compact R -> compact image
R26: homeomorphism preserves openness relative to spaces and connectedness
R27: isometry preserves distances and boundedness
R28: rigid Euclidean motion preserves Lebesgue measure
R29: invertible linear map A on R^n -> volume(A(R))=abs(det(A))*volume(R) for measurable R
R30: R union empty = R
R31: R intersect empty = empty
R32: R union (S \ R) = S
R33: R intersect (S \ R) = empty
R34: bd(empty) = empty
R35: bd(S) = empty
R36: bd(R) = bd(S \ R)
R37: cl(R union Q) = cl(R) union cl(Q)
R38: int(R intersect Q) = int(R) intersect int(Q)
R39: int(R union Q) contains int(R) union int(Q); equality not universal
R40: cl(R intersect Q) subset cl(R) intersect cl(Q); equality not universal
08. VALIDATION CONSTRAINTS
V01: ambient space is mandatory for complements and topological operations.
V02: points and regions compared by membership must share compatible ambient spaces.
V03: boundary must be computed using the declared topology.
V04: distance, radius and boundedness require a metric or equivalent structure.
V05: convexity requires affine structure, not just topology.
V06: area/volume require dimension and a specified measure.
V07: region may be empty; do not infer nonemptiness from its type.
V08: connectedness and convexity are distinct predicates.
V09: open and closed are not mutually exclusive.
V10: boundary need not be smooth or have measure zero.
V11: geometric solid may mean closure of interior in CAD; do not equate with arbitrary region.
V12: do not equate topological boundary with a computational polygon outline without verification.
V13: finite precision intersection requires error and tolerance metadata.
V14: coordinate reference system and units must be declared when relevant.
V15: unbounded regions can have finite measure; do not infer infinite measure.
V16: nonmeasurable subsets exist; never assume all regions have defined area.
09. EXAMPLES
E01: Open disk D={(x,y):x^2+y^2<1}; open, bounded, convex, connected; bd(D)=unit circle.
E02: Closed disk C={(x,y):x^2+y^2<=1}; closed, bounded, convex, compact; bd(C)=unit circle.
E03: Annulus A={(x,y):1<x^2+y^2<4}; open, bounded, connected, not convex.
E04: Half-plane H={(x,y):y>=0}; closed, convex, unbounded; boundary y=0.
E05: Rectangle [0,2]x[0,3]; area=6; perimeter=10; closed, bounded, convex.
E06: Union of disjoint disks; may be disconnected and nonconvex.
E07: R^2 \ {(0,0)}; open, connected, path-connected, not convex.
E08: Empty set; both open and closed, bounded, convex by vacuous definition.
E09: Sphere surface S^2 in R^3; 2D manifold, not a 3D solid ball.
E10: Closed unit ball B^3; 3D region with 2D sphere boundary.
E11: Open interval (0,1) in R; boundary={0,1}.
E12: Rational points Q subset R; int(Q)=empty, cl(Q)=R, bd(Q)=R.
E13: Polygonal region with a hole; connected can coexist with non-simply-connected.
E14: Infinite strip {(x,y):0<y<1}; unbounded and infinite area.
E15: Region under y=x^2 over x in [0,1]; measurable planar region with area=1/3.
E16: Finite disjoint union of measurable shapes; area equals sum of component areas.
10. SEMANTIC EQUIVALENCE AND DISAMBIGUATION
SEMANTIC_EQUIVALENCE: geometric region ~ spatial subset (when ambient geometric structure is specified)
SEMANTIC_EQUIVALENCE: region interior ~ topological interior
SEMANTIC_EQUIVALENCE: region boundary ~ topological boundary
DISTINGUISH: region != its boundary
DISTINGUISH: circle (circumference) != disk (filled region)
DISTINGUISH: sphere (surface) != ball (solid region)
DISTINGUISH: open != unbounded
DISTINGUISH: closed != bounded
DISTINGUISH: convex != connected
DISTINGUISH: geometric region != geographical administrative region
DISTINGUISH: geometric region != region of interest in imaging unless explicitly mapped
11. KNOWLEDGE GRAPH TRIPLES
(GeometricRegion, is_a, SubsetOfAmbientSpace)
(GeometricRegion, may_have, Boundary)
(GeometricRegion, may_have, Interior)
(GeometricRegion, may_have, Measure)
(OpenDisk, is_a, OpenRegion)
(ClosedDisk, is_a, ClosedRegion)
(ClosedDisk, is_a, ConvexRegion)
(Annulus, is_a, GeometricRegion)
(PolygonalRegion, is_a, GeometricRegion)
(PolyhedralRegion, is_a, GeometricRegion)
(RegionUnion, operates_on, GeometricRegion)
(RegionIntersection, operates_on, GeometricRegion)
(RegionComplement, depends_on, AmbientSpace)
(Boundary, depends_on, Topology)
(Area, depends_on, MeasureAndDimension)
12. FLOW EXECUTION
FLOW INPUT: region definitions, ambient space, optional topology/metric/measure, requested predicate
FLOW NORMALISE: resolve coordinates, units, geometry types and aliases
FLOW TYPECHECK: verify operations compatible with ambient structures
FLOW DERIVE: apply exact definitions and sound rules
FLOW VALIDATE: detect degeneracy, boundary ambiguity, missing hypotheses
FLOW ESTIMATE: if numerical, attach method, tolerance and error bound where available
FLOW OUTPUT: typed entities, relationships, proof obligations, results, uncertainty, provenance
FLOW FAILURE: Unknown or Undefined when required hypotheses or measures are absent
13. CONFIDENCE
CONFIDENCE exact theorem with verified hypotheses: 1.00
CONFIDENCE symbolic result: contingent on algebraic verification
CONFIDENCE numerical geometry: report numerical error and conditioning; never imply exact proof
CONFIDENCE external classification: source-specific, not automatically 1.00
CONFIDENCE must not be substituted for mathematical validity.
14. FLOW_HASH
FLOW_HASH algorithm: SHA-256
FLOW_HASH input: canonical UTF-8 representation of ontology id, version, entities, definitions, rules and constraints
FLOW_HASH value: GENERATED_AT_DEPLOYMENT (not fabricated)
FLOW_HASH use: reproducibility, integrity checks and change detection
15. UPDATE_MODEL
UPDATE_MODEL version: 4.0
UPDATE_MODEL policy: semantic versioning and provenance-preserving revisions
UPDATE_MODEL trigger: corrected definition, additional theorem, new geometry representation, validated source-page change
UPDATE_MODEL procedure: validate mathematics -> check compatibility -> regenerate canonical flow -> recompute hash -> archive previous version
UPDATE_MODEL backward_compatibility: preserve stable entity IDs where semantics unchanged
16. AI_CONSUMPTION
AI_CONSUMPTION intent: classification, geometric reasoning, knowledge graph alignment, theorem retrieval and structured inference
AI_CONSUMPTION instructions: honour ambient space; distinguish mathematical theorem from heuristic; retain assumptions; report counterexamples; preserve type and provenance
AI_CONSUMPTION output_schema: {entity_id, ontology_version, ambient_space, predicates, relations, derivations, constraints, confidence, provenance, flow_hash}
AI_CONSUMPTION safety: reject unsupported geometric inferences and ambiguous measurements
17. REFERENCES AND CREDIT
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/geometric-entities/geometric-region-ontology.html
SITE: https://kirethresearch.org
AUTHORS: Mark Higgins — Sky (Recursive AI)
NOTE: Independent mathematical formalisation; exact source-page alignment not verified.
END FLOW ALGEBRA