Skip to main content

Modification Ontology

Change & Transformation 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
MODIFICATION 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/change-transformation-concepts/modification-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Change & Transformation Concepts
Status: Proposed formalisation; live source and published grammar not independently verified.

1. CANONICAL DEFINITION

Modification is an operation or process that changes selected aspects of an existing entity relative to a baseline. Continuity of identity is determined by the applicable identity policy, not by the mere existence of a modification record. A proposed modification, an executed modification and an observed difference are distinct entities. A difference alone does not establish its cause.

2. ENTITY MODEL

M = (id, target, baseline, patch, scope, guard, policy, result, evidence, status, version)
State S = (identity, properties, structure, relations, behaviour, configuration, revision).
Patch P = ordered sequence of typed edits (path, operation, expected_old, new_value).
Scope A = authorised set of paths and permitted consequential changes.
Guard G = predicate over baseline, context and permissions.
Status ∈ {proposed, approved, applied, verified, rejected, rolled_back, unknown}.
Evidence records source, observation time, method, uncertainty and provenance.
An absent value is distinct from null, unknown and deletion.

3. CLASSIFICATION

Property modification: changes an attribute or its value.
Structural modification: adds, removes or rearranges components.
Relational modification: changes links between entities.
Behavioural modification: changes response rules or functions.
Configuration modification: changes selected settings or parameters.
Representational modification: changes encoding without necessarily changing meaning.
Corrective modification: addresses an identified defect.
Adaptive modification: responds to environmental or contextual change.
Reversible modification: admits a valid inverse within a stated domain.
Irreversible modification: cannot recover the original state from the result alone under the stated model.
These classes may overlap; classification does not establish approval or safety.

4. LOCAL FLOW ALGEBRA NOTATION

X →[F] Y denotes a typed transformation; g ∘ f applies f before g. These operators are proposed local notation, not a verified executable grammar.

Capture : Entity × Context → Baseline
Specify : Baseline × Requirement → Patch
Scope : Patch × Policy → AuthorisedPatch | Rejection
Check : Baseline × AuthorisedPatch × Context → ValidationReport
Apply : Baseline × AuthorisedPatch → Candidate | Conflict
Diff : State × State → DifferenceSet
Identity : State × State × IdentityPolicy → Decision
Verify : Candidate × Requirement × Evidence → ValidationReport
Commit : Candidate × Approval × CurrentRevision → VersionedState | Conflict
Invert : Patch × Baseline → InversePatch | Undefined
Merge : Patch × Patch × Baseline × Policy → Patch | Conflict
Observe : VersionedState × Context → Evidence

5. COMPOSITE FLOWS

Entity →[Capture] Baseline →[Specify] Patch →[Scope] AuthorisedPatch →[Check] ValidationReport.
If guard, authorisation and baseline checks pass:
(Baseline, AuthorisedPatch) →[Apply] Candidate →[Verify] Report.
Commit only if the report and approval policy permit it and the current revision still matches the baseline.
Post-commit observation produces new evidence; it does not retroactively erase the original record.
Sequential composition: S₂ = P₂(P₁(S₀)), provided both applications are defined.
Parallel composition: merge only when edits and consequential dependencies are compatible. Disjoint paths alone do not guarantee compatibility.
Rollback: apply a validated inverse as a new revision; preserve history and check for intervening changes.

6. MATHEMATICAL SEMANTICS

Let S be a partial mapping from typed paths to values. A patch is a partial function P:S ⇀ S.
Defined(P,S) requires satisfied preconditions, valid paths and types, and permitted scope.
Δ(S,S′) = {p | S(p) ≠ S′(p)}, with explicit treatment of absent values.
Frame condition: Δ(S,P(S)) ⊆ A, where A includes authorised derived changes.
Identity preservation: I(S,S′,K)=true under identity policy K. Unknown identity must remain unknown.
Inverse condition: Q(P(S))=S on the declared reversible domain; external side effects may prevent operational reversal.
Commutativity: P₂(P₁(S))=P₁(P₂(S)) only when both orders are defined and equivalent under the declared comparison policy.
Idempotence: P(P(S))=P(S) where both applications are defined; an increment is generally not idempotent.
For a metric d on comparable states, magnitude m=d(S,S′). The metric, units and weights must be declared; magnitude is not inherently risk.
For stochastic modifications use a transition kernel K(S′|S,P,C), normalised over possible outcomes. A predicted outcome is not an observed result.

7. STRUCTURAL INVARIANTS

I01: Each modification has a stable record identifier and a target reference.
I02: The baseline revision is explicit and immutable.
I03: All edits satisfy declared types and preconditions.
I04: The resulting differences remain within authorised scope.
I05: Identity continuity is evaluated under an explicit policy.
I06: Approval is distinct from execution and verification.
I07: Failed or unknown checks cannot be silently converted to success.
I08: Concurrent incompatible changes produce a conflict.
I09: Reversibility claims require a stated domain and recovery evidence.
I10: Committed revisions preserve provenance and predecessor links.
I11: Observed differences do not alone prove causal attribution.
I12: Recursive modification respects termination and safety constraints.

8. RECURSIVE VALIDATION

Given versioned state Sₙ, requirements R, evidence Eₙ and policy K:
1. Identify a discrepancy against R and record its evidence.
2. Generate candidate patch Pₙ with a bounded scope.
3. Check permissions, preconditions, identity and dependencies.
4. Apply in an isolated candidate state S*.
5. Evaluate requirements, regressions and consequential changes.
6. Reject, revise or request review if checks fail or remain unknown.
7. Commit only with required approval and revision consistency.
8. Observe the result and append evidence Eₙ₊₁.
Stop on verified satisfaction, exhausted budget, repeated state, unresolved conflict or required human review. A fixed point S*=P(S*) establishes stability under P, not correctness. Detect oscillation using state fingerprints and retain the audit trail. Never equate automatic convergence with permission to execute external actions.

9. EVIDENCE AND PROVENANCE

Record modification identifier, target identifier, baseline and result revisions, patch digest, author or responsible agent, approval reference, execution time, observation time, context, validation method and outcome. Separate proposed, predicted and observed states. Preserve contradictory evidence and mark disputed conclusions. Confidence scores require a defined scale and must not be interpreted as probabilities without calibration. Evidence may establish that a change occurred without establishing why it occurred. Redact sensitive values from audit exports where necessary while retaining authorised traceability.

10. WORKED EXAMPLES

Engineering: a bracket thickness changes from 4 mm to 5 mm. Geometry and mass may change; both must be within scope. The part identity follows the applicable configuration policy. Strength improvement requires separate analysis or testing.
Software: a configuration timeout changes from 30 s to 45 s. A compare-and-set guard prevents overwriting an intervening revision. A successful write does not establish improved reliability.
Mathematics: P(x)=x+2 has inverse Q(x)=x−2 over real numbers. P is not idempotent. A rounding operation generally loses information and is not invertible from its output alone.
Semantic graph: replace an incorrect relation with a corrected relation, preserving the entity identifier and recording evidence. Validate domain, range and dependent inferences before committing.
Document: correct spelling while preserving intended meaning. Semantic equivalence is a separate validation claim, not guaranteed by the edit operation.

11. CROSS-ONTOLOGY INTEGRATION

Change Ontology: modification is a specialised change process or operation.
Transformation Ontology: supplies mapping and composition semantics.
Transition Ontology: represents permitted source-to-target state transitions.
Identity and Equivalence Ontologies: evaluate continuity and semantic equivalence.
Causal Mechanism and Causal Intervention Ontologies: distinguish intentional edits from their causal consequences.
Engineering Configuration and Versioning Ontologies: connect baselines, revisions, approvals and configuration records.
Evidence, Provenance and Validation Ontologies: support traceable claims and recursive checks.
These are proposed conceptual mappings, not verified canonical graph identifiers.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)

T01: Valid property edit with matching baseline → candidate created.
T02: Stale expected value → conflict, no commit.
T03: Incorrect value type → rejection.
T04: Unauthorised derived change → scope failure.
T05: Identity policy unavailable → identity unknown, review required.
T06: Approved but unapplied patch → approved status only.
T07: Two conflicting edits to one path → merge conflict.
T08: Independent compatible edits → merge allowed after dependency validation.
T09: Add two then subtract two on real numbers → original value recovered.
T10: Round two distinct inputs to the same value → no unique inverse from output alone.
T11: Repeated increment → non-idempotent operation.
T12: Alternating recursive states → oscillation detected, automatic iteration stopped.

13. CITATION AND LICENCE

Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Modification Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/change-transformation-concepts/modification-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Live source, 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