Skip to main content

Distance Concept Ontology

Space Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
DISTANCE CONCEPT ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-03
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/space-concepts/distance-concept-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Space Concepts
Status: Proposed formalisation; not a verified transcription of the live page.

1. CANONICAL DEFINITION
Distance quantifies separation between two specified operands under a declared measurement model. It is not an intrinsic property of either operand alone. A distance assertion must identify its operands, metric or cost function, domain, units, reference framework and applicable context. Distinguish displacement (a vector), distance (a scalar), path length (dependent on a trajectory), and proximity (a contextual classification). Equal distance does not establish identity or semantic equivalence. Spatial distance is a special case of the more general mathematical concept.

2. ENTITY MODEL
DistanceRecord = (id, A, B, domain, metric_id, metric_version, frame, epoch,
                  value, unit, uncertainty, method, evidence, status, version)
A and B: typed references to points, objects, regions, states or representations.
Domain: set of admissible operands and associated geometry or topology.
Frame: coordinate reference system, datum, axes and transformation conventions.
Epoch: observation time or validity interval, where applicable.
Value: non-negative scalar, extended infinity if explicitly permitted, or unknown.
Uncertainty: interval, distribution or covariance-derived estimate, with assumptions.
Status: established | rejected | unknown | disputed | not_applicable.
A missing value is not zero. An unreachable destination is not necessarily an unknown destination. Record both the measurement method and its applicability limits.

3. CLASSIFICATION
Metric distance: satisfies non-negativity, identity of indiscernibles, symmetry and triangle inequality.
Pseudometric: permits zero separation between distinct operands.
Directed cost: may be asymmetric; do not label it a metric without proof.
Euclidean: straight-line separation in a Cartesian Euclidean space.
Manhattan: sum of absolute coordinate differences.
Minkowski: p-norm separation for p >= 1.
Geodesic: infimum of admissible curve lengths in a specified geometry.
Network: shortest admissible route cost under declared edge weights and direction.
Region separation: infimum of pairwise point distances; not generally a metric on regions.
Hausdorff: metric on non-empty compact subsets of a metric space.
Semantic: distance between representations; metric properties depend on the function.
Dynamic: distance evaluated at a specified epoch or along time-indexed trajectories.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f first, then g.
The following operators are proposed local notation, not verified executable grammar.
Resolve : EntityRef × Context → SpatialRepresentation | Unknown
Align : RepresentationPair × Frame → AlignedPair | Error
SelectMetric : Domain × Purpose → MetricSpec | Error
Measure : AlignedPair × MetricSpec → DistanceRecord | Unknown
Convert : DistanceRecord × Unit → DistanceRecord | Error
Compare : DistanceRecord × DistanceRecord → Ordering | Incomparable
Threshold : DistanceRecord × Limit → Near | Far | Indeterminate
PathLength : Curve × Geometry → DistanceRecord
ShortestPath : Graph × Source × Target → RouteResult
RegionGap : RegionPair × MetricSpec → DistanceRecord
Propagate : MeasurementModel × InputUncertainty → OutputUncertainty
Validate : DistanceRecord × Policy → ValidationReport
Commit : ValidatedRecord × GraphVersion → GraphVersion | Conflict

5. COMPOSITE FLOWS
MeasurementFlow = Validate ∘ Measure ∘ Align, with the metric and policy supplied explicitly at their respective stages.
EntityPair →[Resolve] RepresentationPair →[Align] AlignedPair
           →[Measure(metric)] DistanceRecord →[Validate(policy)] Report
UnitFlow: record →[Convert(unit)] converted_record →[Validate] report.
ProximityFlow: record →[Threshold(limit)] contextual_classification.
NetworkFlow: graph →[ValidateWeights] admissible_graph →[ShortestPath] route_result.
Parallel measurements may be merged only after checking metric, frame, epoch, units, correlation and provenance. Disagreement is retained rather than silently averaged. A route cost cannot be substituted for straight-line distance.

6. MATHEMATICAL SEMANTICS
For metric d on X, for all x,y,z in X:
 d(x,y) >= 0; d(x,y)=0 iff x=y;
 d(x,y)=d(y,x); d(x,z)<=d(x,y)+d(y,z).
Euclidean: d(x,y)=sqrt(sum_i (x_i-y_i)^2).
Minkowski: d_p(x,y)=(sum_i |x_i-y_i|^p)^(1/p), p>=1.
For p=infinity use max_i |x_i-y_i|.
For a differentiable Euclidean curve gamma on [a,b], L=integral_a^b ||gamma'(t)|| dt. L >= d(gamma(a),gamma(b)). Equality requires a shortest traversal, not merely matching endpoints.
Geodesic distance is infimum of admissible curve lengths; disconnected components may have infinite extended distance. A minimising curve need not exist in arbitrary spaces.
Network cost: d_G(u,v)=inf over admissible paths P of sum_{e in P} w(e), with non-negative weights. Directed graphs need not yield symmetry. Zero-weight paths may violate identity of indiscernibles.
Region gap: g(A,B)=inf_{a in A,b in B} d(a,b), for non-empty sets. Zero gap need not imply intersection (e.g. adjacent open intervals).
Hausdorff: H(A,B)=max(sup_{a in A} inf_{b in B} d(a,b), sup_{b in B} inf_{a in A} d(a,b)). On non-empty compact subsets it is a finite metric.
Rigid Euclidean transformation T(x)=Rx+b, R^T R=I, preserves distance. Uniform scaling by s multiplies distance by |s|. General coordinate changes require transformation of the metric, not merely coordinate subtraction.
For differentiable measurement f with input covariance Sigma, first-order variance is J Sigma J^T, J the Jacobian. This approximation can fail near coincident points or for large uncertainty; use suitable bounds or sampling instead.
For independent scalar distance bounds [l,u] and threshold r: near if u<=r; far if l>r; otherwise indeterminate. The threshold is inclusive by convention.

7. STRUCTURAL INVARIANTS
I01 Operands have valid typed references.
I02 Metric domain admits both operands.
I03 Coordinate frame, datum and epoch are compatible or explicitly transformed.
I04 Units are dimensionally compatible; abstract scores need not have length units.
I05 Metric values are non-negative; unknown is distinct from zero.
I06 Identity of indiscernibles is enforced only for declared metrics.
I07 Symmetry is enforced only when required by the declared model.
I08 Triangle inequality is enforced for metrics, not arbitrary dissimilarities.
I09 Path length and endpoint separation remain distinct.
I10 Uncertainty and measurement resolution are retained through conversion.
I11 Every assertion retains evidence and model version.
I12 Updates preserve historical records and cannot silently promote an estimate to established fact.

8. RECURSIVE VALIDATION
Let G_k be the accepted versioned graph and E_k new evidence.
Candidate_k = Refine(G_k,E_k,metric_version,context).
Report_k = Validate(Candidate_k,policy).
G_(k+1) = Commit(Candidate_k) only if required checks pass; otherwise retain G_k and record the conflict or missing evidence.
Recompute dependent distances after changes to operands, coordinate transforms, network weights or metric definitions. Invalidate cached values when their dependency versions differ. Use bounded iteration, explicit tolerance, a maximum iteration count and repeated-state detection. Stop on stable accepted records, unresolved conflict, resource limit or absence of new evidence. Convergence is not proof of physical accuracy. Never infer a new metric axiom from a finite set of passing examples.

9. EVIDENCE AND PROVENANCE
Retain source identifier, observation timestamp, ingestion timestamp, instrument or algorithm, calibration, coordinate datum, unit, precision, metric parameters, transformation history and evidence dependencies. Separate measured, calculated, simulated and inferred distances. Report uncertainty in the same units as the result where appropriate. Do not interpret confidence scores as probabilities without calibration. For geographic measurements distinguish ellipsoidal geodesics, spherical approximations, projected distances and route lengths. Do not calculate metres directly from latitude/longitude differences in degrees.

10. WORKED EXAMPLES
E01 Geometry: A=(0,0), B=(3,4) metres. Euclidean distance=5 m; Manhattan distance=7 m. Both are valid under different metric specifications.
E02 Engineering: a rigid translation of both endpoints by (10,2) m leaves their Euclidean separation unchanged. Scaling both by 2 doubles it.
E03 Networks: edges A→B cost 2, B→C cost 3, A→C cost 8. Shortest A→C cost=5. Reverse reachability is unknown until the graph is examined; in this complete directed example no reverse path exists.
E04 Regions: A=(0,1), B=(1,2) on the real line. Gap=0 but intersection is empty. Boundary contact and region overlap are separate predicates.
E05 AI representations: cosine dissimilarity 1-cos(theta) is not generally a metric. Angular distance on non-zero normalised vectors is a metric on the unit sphere. Record the representation model and version.
E06 Uncertainty: separation estimated within [9,11] m, proximity limit 10 m. Classification is indeterminate under the stated threshold policy.
E07 Dynamic systems: positions x(t)=t m and y(t)=2t m with t expressed numerically in seconds. At t=3 s separation is 3 m. Comparing positions at different epochs requires an explicit cross-time interpretation.

11. CROSS-ONTOLOGY INTEGRATION
Space Concept supplies the domain and geometry.
Spatial Entity supplies typed operands and identity.
Location and Position supply spatial representations.
Region, Boundary, Interior and Exterior supply set membership and extent.
Direction and Orientation supply vector and rotational reference semantics.
Transformation supplies frame mappings and metric-preservation conditions.
Temporal Context supplies epoch and validity intervals.
Measurement and Evidence supply uncertainty and provenance.
Equivalence and Similarity supply comparison semantics without conflating distance with identity.
Engineering Entity Graph consumes validated distance records for clearance, dimensional inspection and configuration analysis.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Euclidean (0,0),(3,4) → 5.
T02 Manhattan same points → 7; metric identifiers differ.
T03 Identical point in a metric → 0.
T04 Unknown position → unknown, never zero.
T05 Swap operands of Euclidean distance → unchanged.
T06 Directed graph without reverse path → reverse cost infinite if extended-cost convention applies.
T07 Euclidean points 0,1,3 → triangle inequality holds with equality.
T08 Convert 1000 m to km → 1 km, provenance retained.
T09 Rigidly translate both points → unchanged Euclidean distance.
T10 Open intervals (0,1),(1,2) → zero gap, empty intersection.
T11 Uncertainty [9,11] m, threshold 10 m → indeterminate.
T12 Incompatible frame without transformation → reject or defer measurement.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Distance Concept Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/space-concepts/distance-concept-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Live page, exact licence terms and compatibility with the published Flow Algebra grammar have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ