Skip to main content

Embedding Dimension Ontology

Embedding Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — EMBEDDING DIMENSION ONTOLOGY
FLOW ALGEBRA COMPANION v1.0
Date: 2026-11-02
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/embedding-dimension-ontology.html
Status: Independently authored formalisation; source-page content not verified.

01. PURPOSE
Represent the dimensional structure of embedding vectors, validate compatibility between vector spaces, and preserve model and provenance constraints during similarity, retrieval and transformation.

02. ENTITY DEFINITION
EmbeddingDimension := (dimension_id, index, space_id, model_id, coordinate_type, provenance)
EmbeddingSpace := (space_id, d, metric, normalisation, model_version)
EmbeddingVector := (vector_id, space_id, coordinates, source_id)
For x in R^d, d is a positive integer and len(x)=d.
A coordinate index i satisfies 1 <= i <= d.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input vector, requested operation, and metadata.
R_t: dimension, space, and transformation relationships.
B_t: validity, permission, numerical and compatibility boundaries.
K_t: known model versions, metrics, normalisation rules, and provenance.

04. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t : valid(x, B_t, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, K_t)
Embedding: z = f_theta(input), z in R^d.
Dimensional validation: valid_dim(z, space) := len(z) = space.d.
Comparable(z_a,z_b) requires compatible space, metric, model and normalisation metadata; equal d alone is insufficient.

05. IMPLEMENTATION FLOW
INPUT -> IDENTIFY MODEL -> RESOLVE SPACE -> READ d -> VALIDATE VECTOR -> CHECK COMPATIBILITY -> COMPUTE/TRANSFORM -> RECORD PROVENANCE -> OUTPUT
Reject malformed vectors and non-finite coordinates unless an explicit handling policy applies.

06. HOW TO READ
The algebra first expands available candidates, then filters invalid or incompatible dimensional representations, then selects an admissible operation or result. Probability-based selection is a framework abstraction, not a claim that all vector operations require probabilistic ranking.

07. TRI-MAPPING
Semantic: dimension is one coordinate axis of a defined embedding space.
Mathematical: z=(z_1,...,z_d) in R^d; dimensionality d=|z|.
Computational: model configuration, vector schema, array shape, and index compatibility.

08. RELATIONSHIP GRAPH
Model --produces--> EmbeddingVector
EmbeddingVector --belongs_to--> EmbeddingSpace
EmbeddingSpace --has_dimension_count--> d
EmbeddingDimension --indexed_by--> i
EmbeddingSpace --uses_metric--> SimilarityMetric
EmbeddingVector --derived_from--> SourceEntity
Transformation --maps--> SourceSpace -> TargetSpace

09. MAPPING TABLE
ENTITY | INPUT | CONSTRAINT | OUTPUT
Dimension | space, index | 1<=i<=d | valid coordinate axis
Vector | coordinate array | length=d, finite values | validated vector
Space | model and metric | positive integer d | embedding schema
Similarity | vector pair | compatible spaces | similarity score
Projection | vector, mapping | specified source/target shapes | transformed vector

10. MINI RECURSION ENGINE
function dimension_flow(state):
    candidates = expand(state.input, state.relationships)
    valid = filter(candidates, state.boundaries, state.knowledge)
    if valid is empty: return error('NO_VALID_DIMENSIONAL_OPERATION')
    result = select(valid, state.knowledge)
    return update(state, result)
Termination: bounded recursion depth, finite candidate sets, or explicit stopping condition.

11. INFERENCE RULES
R1: len(z) != d -> INVALID_DIMENSION.
R2: d <= 0 -> INVALID_SPACE_DIMENSION.
R3: same_dimension(z_a,z_b) does not imply same_semantics(z_a,z_b).
R4: compatible_spaces(z_a,z_b) and defined_metric -> similarity permitted.
R5: projection R^d -> R^k requires a specified mapping and k>0.
R6: changing model version may invalidate previously comparable vectors.
R7: absent provenance -> mark provenance unknown, never invent source lineage.

12. EXECUTION GUARANTEES AND LIMITATIONS
Guarantees are conditional on implementation and supplied metadata: shape checks, index bounds, finite-value validation, and explicit errors can be enforced. Semantic alignment, meaningful similarity, retrieval accuracy and model interoperability are not guaranteed by dimension checks alone. Deterministic operations may be reproducible when inputs, algorithms, versions and numerical settings are fixed.

13. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/embedding-dimension-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/
PURPOSE: Resolve and validate embedding dimensions for semantic search and graph reasoning.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: EmbeddingDimension, EmbeddingSpace, EmbeddingVector, Model, SimilarityMetric, Projection.
PATHWAYS: parse -> validate -> check compatibility -> operate -> trace.
MINI_RECURSION_ENGINE: bounded expand/filter/select/update.
INFERENCE_RULES: R1-R7 above.
CONFIDENCE: derive from evidence and calibration; never equate cosine similarity with calibrated probability.
SEMANTIC_EQUIVALENCE: requires validated model-space alignment, not dimensional equality.
FLOW_HASH: compute from canonical file bytes on publication; not preassigned.
UPDATE_MODEL: revise when model, dimensionality, metric or transformation rules change.

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