AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
MAPPING ONTOLOGY
Standard Flow Algebra | Version 1.0 | 2026-12-02 | UTF-8
Authors: Mark Anthony Higgins — Sky Recursive AI
Publisher attribution: Kireth Research
Licence attribution: Open Research Licence; citation required; consult published terms.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/relationship-concepts/mapping-ontology-2.html
Integration: Semantic Library / AI Core / Entity Graph / Abstract Concepts / Relationship Concepts / Mapping Ontology
Status: Proposed formalisation; live source, exact licence terms and published grammar not independently verified.
1. DEFINITION AND SCOPE
A mapping specifies a correspondence from a source domain to a target domain under declared rules, context and constraints. It may relate entities, concepts, properties, structures, states or representations. A mapping can preserve selected properties while changing or discarding others. Correspondence does not by itself establish identity, equivalence or causation. A mapping specification is distinct from an individual application of that specification and from the resulting target representation.
2. CANONICAL REPRESENTATION
EntityRef = (namespace, identifier, revision)
Domain = (id, type, membershipCriteria, schemaRevision)
Context = (purpose, assumptions, interval, referenceFrame, policyRevision)
Mapping = (id, sourceDomain, targetDomain, ruleRef, context, cardinality, coverage, preservationClaims, evidenceRefs, status, revision)
Rule = (id, inputType, outputType, precondition, transformation, postcondition, revision)
Application = (id, mappingRef, sourceRefs, targetRefs, outcome, timestamp, evidenceRefs)
Assessment = (claimRef, applicability, supportStatus, uncertainty, evidenceRefs)
Outcome = {success, undefined, ambiguous, conflict, invalid}
TruthValue = {true, false, unknown}
A domain may be abstract or concrete. Its representation must not be confused with the entities represented. Mapping revisions retain the source and target schema revisions needed for reproducibility.
3. MAPPING FAMILIES
Functional: each admissible input has at most one output; totality is a separate claim.
Relational: an input may correspond to several outputs, or none.
Identity: each element maps to itself within a declared domain.
Injective: distinct inputs have distinct outputs.
Surjective: every target element has a preimage.
Bijective: total, injective and surjective; an inverse function exists.
Semantic: meanings or concepts are aligned under explicit interpretation criteria.
Structural: selected relationships or operations are preserved.
Projection: selected dimensions are retained, potentially losing information.
Aggregation: multiple inputs contribute to a summary or composite output.
Temporal: states or representations are aligned across specified intervals.
Approximate: correspondence is assessed against a declared error metric and tolerance.
4. TYPED FLOW OPERATORS
Resolve: EntityRef × Context -> ResolutionResult
Define: Domain × Domain × Rule × Context -> CandidateMapping
CheckDomain: CandidateMapping × EntityRef -> TruthValue
Apply: CandidateMapping × EntityRef -> Application
Compose: Mapping × Mapping × CompatibilityPolicy -> CandidateMapping or Conflict
Invert: Mapping × InversionPolicy -> CandidateMapping or Undefined
Restrict: Mapping × Subdomain -> CandidateMapping
Project: Mapping × ProjectionPolicy -> CandidateMapping
Compare: Mapping × Mapping × ComparisonPolicy -> Assessment
AssessLoss: Application × PreservationPolicy -> LossReport
Validate: CandidateMapping × EvidenceSet × Policy -> ValidationReport
Refine: Mapping × EvidenceSet × ValidationReport -> CandidateMapping
Commit: CandidateMapping × Approval × ExpectedRevision -> Mapping or Conflict
These operators describe proposed knowledge transformations. They do not imply authority to modify an external system. Undefined is not an empty value, and unknown is not false.
5. COMPOSITE FLOWS
Definition: Resolve domains -> Define rule -> Check types and constraints -> Validate -> Commit if approved.
Application: Resolve source -> CheckDomain -> Apply -> AssessLoss -> Validate result -> Record provenance.
Composition: Align intermediate domains -> Check compatibility -> Compose -> Validate preservation claims -> Record lineage.
Inversion: Determine cardinality and coverage -> Check injectivity and surjectivity -> Invert if justified -> Validate round trip.
Alignment: Identify candidate correspondences -> Assess semantic context -> Resolve ambiguity -> Validate -> Commit or retain disputed candidates.
Revision: Detect schema or evidence change -> Refine -> Validate -> Approve -> Commit -> Reassess dependent applications.
6. ALGEBRAIC AND LOGICAL RULES
Let f:A -> B be a total function and g:B -> C a total function. Their composition is (g ∘ f)(a)=g(f(a)). Composition is associative for compatible functions; it is not generally commutative. Identity maps satisfy id_B ∘ f=f=f ∘ id_A.
For a partial function, dom(g ∘ f)={a in dom(f): f(a) in dom(g)}. Missing outputs must not be invented to make a map total.
For relations R subset A×B and S subset B×C, S ∘ R={(a,c): there exists b with (a,b) in R and (b,c) in S}. The converse relation always exists, but need not be a function.
A total bijection has inverse f^-1 satisfying f^-1 ∘ f=id_A and f ∘ f^-1=id_B. A non-injective map cannot have a left inverse on its entire source domain. A non-surjective map cannot have a right inverse on its entire target domain.
A mapping preserves a binary relation P when P_A(a,b) implies P_B(f(a),f(b)). Reflection requires the converse implication. Preservation alone is weaker than isomorphism.
For algebraic structures with compatible operations, a homomorphism satisfies f(a * b)=f(a) ⋄ f(b). This is a declared constraint, not a property of every mapping.
For a numerical mapping y=f(x), first-order covariance propagation is Sigma_y approximately J Sigma_x J^T, with J the Jacobian at the stated operating point. This approximation requires suitable differentiability and small uncertainties; model and parameter uncertainty must be accounted for separately where relevant.
Approximate equality d(f(a),b) <= epsilon requires a defined metric, units and tolerance. Threshold similarity is not generally transitive.
7. STRUCTURAL INVARIANTS
I01: Every mapping has a persistent identifier and revision.
I02: Source and target domains are explicitly identified and versioned.
I03: Rules have declared input and output types.
I04: Context, assumptions and validity conditions are retained.
I05: Cardinality and coverage claims are supported independently.
I06: Undefined, ambiguous and invalid results remain distinguishable.
I07: Composition requires compatible intermediate domains.
I08: Inverse-function claims require the relevant bijection conditions.
I09: Information loss is not concealed by a successful application.
I10: Semantic correspondence does not imply numerical identity.
I11: Recursive traversal has a visited set or justified termination bound.
I12: Revisions and derived mappings preserve provenance and prior approved records.
8. RECURSIVE VALIDATION
K_0 = initial mapping graph with rules, domains and evidence.
K_(n+1) = CommitValidated(Refine(K_n,E_n), policy, expectedRevision).
At each iteration resolve references, check domain compatibility, assess preservation claims, detect conflicts and validate proposed changes before commitment. Preserve alternative candidates where evidence is insufficient. Re-evaluate dependent applications when a rule or domain changes.
For a finite graph, traversal using a visited set of (mappingId, revision, context) terminates when all reachable keys have been visited. For expanding graphs impose a depth, time or iteration budget and report incomplete results. A fixed point K*=F(K*) is not guaranteed; monotone inflationary updates on a finite lattice converge, whereas unrestricted revisions may oscillate. Detect repeated states and escalate unresolved conflicts.
9. EVIDENCE AND PROVENANCE
Record source and target identifiers, rule version, context, transformation parameters, evidence references, author or agent, application time and validation outcome. Distinguish asserted, inferred, observed, disputed and refuted correspondences. Confidence is claim-specific and must not be treated as a probability unless calibrated. Shared evidence must not be counted as independent corroboration. A successful syntactic conversion is not proof of semantic correctness.
10. EXAMPLES
Mathematical: f(x)=2x from real numbers to real numbers is bijective, with inverse x/2. The same formula from integers to integers is injective but not surjective.
Engineering: converting metres to millimetres by multiplying by 1000 preserves physical length when units are retained. Dropping the unit can invalidate downstream interpretation.
Computational: projecting a customer record onto a postcode field loses information; identical postcodes do not establish identical customers.
Semantic: mapping a broad category to a narrower category requires an explicit restriction. A shared label alone does not establish equivalence.
Structural: a graph homomorphism preserves declared adjacency but may merge distinct vertices. It is not necessarily a graph isomorphism.
Temporal: mapping a sensor observation to a time bucket aggregates temporal detail; the original timestamp must be retained if precise reconstruction is required.
11. CROSS-ONTOLOGY INTEGRATION
Relationship Concept: parent semantic vocabulary.
Association, Connection and Link: contextual correspondence and endpoint references.
Dependency and Interdependency: rule prerequisites and propagation of changes.
Correlation and Interaction: evidence and dynamic relationships, not automatic mapping equivalence.
Coupling: modelled cross-domain influence, distinct from representation mapping.
Identity, Equivalence and Similarity: distinguish strict identity, justified equivalence and approximate correspondence.
Structure, Configuration and Network Structure: structural preservation and graph projections.
Physical, Mathematical, Computational, Biological and AI Engineering Entity Mapping: domain-specific specialisations requiring explicit validation.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: Mapping records with identical endpoints but distinct rules retain distinct identities.
T02: An unresolved domain blocks approval rather than fabricating a reference.
T03: A partial mapping returns undefined outside its declared domain.
T04: Incompatible intermediate domains reject composition.
T05: Compatible total functions satisfy associativity under composition.
T06: A bijective mapping passes both inverse round-trip checks.
T07: A many-to-one mapping cannot claim a unique inverse without additional information.
T08: A projection records discarded fields and does not claim lossless reconstruction.
T09: Unit conversion retains dimensional meaning.
T10: Shared labels alone do not validate semantic equivalence.
T11: Cyclic mapping traversal terminates within the declared budget.
T12: A rule revision preserves previous applications and triggers dependent review.
13. CITATION AND REUSE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Mapping Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library. Canonical source URL as listed above.
Open Research Licence attribution follows the project convention; exact published terms must be consulted before reuse. This document is an original proposed formalisation, not a verified transcription or executable implementation of the published Flow Algebra grammar.
END OF SPECIFICATION