Skip to main content

Semantic Vector 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 — SEMANTIC VECTOR ONTOLOGY
FLOW ALGEBRA COMPANION v1.0
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/semantic-vector-ontology.html
Status: Independently authored formalisation; source page content not verified.
Date: 2026-11-02

01. PURPOSE
Represent a semantic vector as a finite numerical embedding associated with an entity, text, image or other object, retaining model identity, dimensions, provenance and comparison constraints.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input object and embedding request.
R_t: relations between object, encoder, vector and semantic neighbours.
B_t: boundaries, including permissions, model version and valid dimensionality.
K_t: knowledge of encoder specification, normalisation and source metadata.

03. ENTITY DEFINITION
V = (id, x, d, m, n, p, t)
x in R^d; d is a positive integer.
m = embedding model and version; n = normalisation method.
p = provenance record; t = generation timestamp.
An embedding is a representation, not a complete or uniquely decodable statement of meaning.

04. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
C_t = {v in E_t | valid(v, B_t, K_t)}
v* = argmax_{v in C_t} P(v | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, v*, evidence_t)
For a deterministic encoder f_m: x = f_m(I_t).
Probability-based selection applies only when candidates are scored probabilistically; it is not required for deterministic embedding generation.

05. IMPLEMENTATION FLOW
INPUT -> VALIDATE -> PREPROCESS -> ENCODE -> CHECK_DIMENSIONS -> NORMALISE_IF_SPECIFIED -> ATTACH_PROVENANCE -> INDEX -> COMPARE/RETRIEVE -> RETURN.
Reject or quarantine invalid, untrusted or incompatible vectors.

06. HOW TO READ
An input object is encoded into a numerical vector. The resulting representation can be compared with vectors produced under compatible embedding conditions. A similarity score is a retrieval signal, not proof of factual equivalence.

07. TRI-MAPPING
Physical/computational: numeric tensor, memory layout and vector index.
Mathematical: point x in R^d, norm, inner product and distance.
Semantic: approximate representation of contextual similarity or task-relevant relationships.

08. RELATIONSHIP GRAPH
SourceObject --encodedBy--> EncoderVersion
EncoderVersion --produces--> SemanticVector
SemanticVector --hasDimension--> Dimension
SemanticVector --hasProvenance--> Provenance
SemanticVector --indexedIn--> VectorStore
SemanticVector --comparedWith--> CompatibleVector
SimilarityResult --supports--> CandidateRanking

09. MAPPING TABLE
Input object | source identity and permissions
Encoder | model/version and preprocessing
Vector | ordered finite numeric coordinates
Dimension | exact coordinate count
Metric | cosine, dot product or Euclidean distance
Neighbour | retrieved candidate and score
Provenance | source, model, time and transformations

10. MINI RECURSION ENGINE
repeat until stop_condition:
  candidates = retrieve_compatible_vectors(query_vector, index)
  ranked = rank(candidates, selected_metric)
  evidence = verify_source_links(ranked)
  if evidence_sufficient(evidence): return ranked, evidence
  query_vector = refine_query_with_authorised_context(query_vector, evidence)
return bounded_result_or_no_match
A refinement that changes the embedding model must re-encode the query and use a compatible index.

11. INFERENCE RULES
R1: comparable(a,b) requires matching dimension and compatible embedding spaces.
R2: cosine(a,b) = dot(a,b)/(norm(a)*norm(b)) only when both norms are nonzero.
R3: high_similarity(a,b) does not imply identical meaning, truth or causal relationship.
R4: any ranking claim must identify the metric and candidate set.
R5: model/version changes require compatibility validation or re-indexing.
R6: source permissions and privacy boundaries propagate to retrieval outputs.

12. EXECUTION GUARANTEES AND LIMITS
Structural guarantees (conditional on implementation): dimensions checked; finite coordinates required; model and metric recorded; provenance retained; no unauthorised retrieval.
No unconditional guarantee of semantic correctness, calibrated confidence, unbiased retrieval, reproducibility across hardware, or complete search coverage.
Failure states: empty input, encoding failure, non-finite values, zero norm for cosine, incompatible spaces, stale index and missing provenance.

13. AI SEARCH FLOW
FLOW_ID: semantic-vector-ontology-v1
ENTITY: SemanticVector
PURPOSE: Representation, comparison and retrieval of compatible semantic embeddings.
INPUTS: object, encoder_id, model_version, metric, access_context
OUTPUTS: vector, metadata, ranked_neighbours, evidence_links, validation_status
CONFIDENCE: score interpretation depends on metric and empirical calibration.
SEMANTIC_EQUIVALENCE: similarity is not logical equivalence.
UPDATE_MODEL: invalidate or migrate affected vectors when encoder, preprocessing or permissions change.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/semantic-vector-ontology.html
LICENCE_NOTE: Apply the licence published with the source project; no licence terms are inferred here.

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