Skip to main content

Object Instance Ontology

Programming Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA v1.0
OBJECT INSTANCE ONTOLOGY
Category: Computational Entities / Programming Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/programming-entities/object-instance-ontology.html
Status: Constructed topic-level mapping; not a transcription of the page's inaccessible embedded specification.

PURPOSE
Represent a runtime object instance as an identifiable entity with class membership, state, methods, identity, references, lifecycle, and controlled state transitions.

HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed instance identity, class, fields, references and runtime status
R_t = class membership, inheritance, composition, ownership, aliasing and method relationships
B_t = visibility, type, memory, authorisation, and lifecycle boundaries
K_t = definitions, invariants, method contracts, runtime semantics and provenance

ENTITY SET
ObjectInstance, Class, Type, Field, Value, Method, Constructor, Reference, HeapAllocation, Identity, Interface, Runtime, Event, Exception.

RELATIONSHIPS
instanceOf(ObjectInstance, Class)
hasIdentity(ObjectInstance, Identity)
hasField(ObjectInstance, Field)
fieldValue(ObjectInstance, Field, Value)
references(Reference, ObjectInstance)
implements(Class, Interface)
invokes(ObjectInstance, Method)
allocatedIn(ObjectInstance, HeapAllocation)

FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | respects(x, B_t) and satisfies(x, K_t)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, a_t, observation_t)

CONSTRUCTION FLOW
ClassDefinition -> ValidateConstructorArguments -> AllocateInstance -> InitialiseFields -> EstablishIdentity -> EnforceInvariants -> PublishReference

METHOD INVOCATION FLOW
Reference -> ResolveInstance -> ResolveMethod -> CheckAccessAndTypes -> BindArguments -> ExecuteMethod -> ValidatePostconditions -> UpdateState -> ReturnOrRaise

STATE TRANSITION
state(o,t+1) = transition(state(o,t), operation, arguments)
ValidTransition iff precondition(operation,state(o,t)) and invariant(state(o,t+1)).
On failure: preserve defined rollback semantics or record a partial effect explicitly; do not assume atomicity.

IDENTITY AND EQUALITY
Identity equality and value equality are distinct predicates.
sameIdentity(a,b) does not imply all observed field values remain unchanged over time.
Aliased references may observe shared mutable state.

INFERENCE RULES
IF instanceOf(o,c) AND declares(c,m) AND accessible(m,context) THEN methodCandidate(o,m).
IF reference(r,o) AND live(o) THEN dereferenceCandidate(r,o).
IF invariantViolation(o) THEN rejectTransition(o).
IF unreachable(o) AND managedRuntime(o) THEN eligibleForCollection(o), subject to runtime semantics.
IF stateMutated(o) AND aliases(r,o) THEN aliasMayObserveChange(r).

MINI RECURSION ENGINE
1. Observe the instance and its requested operation.
2. Expand reachable class, method, field and reference relations.
3. Filter candidates using typing, permissions, invariants and lifecycle constraints.
4. Select an admissible operation using explicit task criteria.
5. Execute or simulate the operation, capture result and update state.
6. Repeat only while progress is measurable and within resource limits.

TERMINATION AND GUARANTEES
Finite traversal requires visited-identity tracking for cyclic object graphs.
Termination is conditional on bounded recursion, finite candidate expansion or a decreasing progress measure.
Correctness claims depend on valid class contracts, runtime assumptions and tested implementations.

EXAMPLE
Class: Counter
Instance: counter_01
Initial field: count = 0
Operation: increment()
Precondition: count is an integer within supported range
Transition: count := count + 1
Postcondition: count = 1
Identity: counter_01 remains unchanged

PROVENANCE AND CITATION
Source page: Object Instance Ontology, Kireth Research.
Original page authorship: Mark Anthony Higgins — Sky Recursive AI.
Mapping date: 11 November 2026.
Note: The public page exposes the title and AI interpretation note but not the complete underlying ontology. This Flow Algebra file is an independently constructed topic-level mapping and must not be represented as a verbatim reproduction.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ