Skip to main content

Activity Ontology

Process Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
ACTIVITY ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-04
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/process-concepts/activity-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Process Concepts
Status: Proposed formalisation; published page and grammar not independently verified.

1. CANONICAL DEFINITION
An activity is an occurrence of action, operation or engagement involving one or more participants within a specified context. It may transform a state, maintain a condition, transfer information or consume resources. An activity need not be intentional, successful or externally observable. An activity type describes a class of occurrences; an activity instance identifies a particular occurrence. A planned activity is a specification, not evidence of execution. A process may organise multiple activities through dependencies and control rules. A task specifies work to be performed; an activity records or models its performance.

2. ENTITY MODEL
ActivityInstance = (id, type, participants, roles, context, interval, inputs, outputs, preconditions, effects, resources, lifecycle, evidence, version)
ActivityType = (typeId, roleSchema, inputSchema, outputSchema, constraints, effectModel, version)
ActivityAssertion = (instanceId, predicate, value, validTime, recordedTime, evidence, status)
Status ∈ {established, rejected, unknown, disputed, not_applicable}.
Lifecycle ∈ {planned, enabled, running, suspended, completed, aborted, failed, unknown}.
Lifecycle and epistemic status are independent. Completion is not necessarily success. Participants may include human agents, machines, software, organisms and passive objects. Roles distinguish performer, recipient, instrument and affected entity. An interval may have unknown endpoints; an open endpoint does not prove continued execution.

3. CLASSIFICATION
Physical: movement, assembly or material interaction.
Computational: execution of instructions or information transformation.
Biological: metabolic or physiological activity.
Cognitive: reasoning or attention, represented through appropriate evidence rather than assumed access to internal experience.
Operational: performance of a defined function.
Communicative: transmission or interpretation of information.
Maintenance: preservation or restoration of function.
Composite: multiple related subactivities under a composition policy.
Reactive: initiated by a recognised event or condition.
Autonomous: initiated under an authorised policy without a contemporaneous external command.
These classes may overlap; classification does not establish occurrence or authorisation.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f before g. The following operators are proposed local notation, not a verified executable grammar.
F_define: Specification → ActivityType
F_instantiate: ActivityType × Context → PlannedInstance
F_bind: PlannedInstance × RoleAssignment → BoundInstance
F_enable: BoundInstance × State × Policy → GuardAssessment
F_start: BoundInstance × Authorisation × StartEvidence → ExecutionRecord
F_observe: ExecutionRecord × Observation → EvidenceRecord
F_effect: State × ActivityModel × Input → Set(State)
F_account: ExecutionRecord × ResourceLedger → ResourceAssessment
F_finish: ExecutionRecord × EndEvidence → TerminalRecord
F_evaluate: TerminalRecord × Objective → OutcomeAssessment
F_validate: CandidateGraph × ConstraintSet → ValidationReport
F_commit: CandidateGraph × AcceptedReport → VersionedGraph
All operators may return typed errors or unknown results when required information is unavailable. F_start records an evidenced start; it does not itself grant permission or cause physical execution. Predicted effects are not observations.

5. COMPOSITE FLOWS
Definition flow: Specification →[F_define] Type →[F_instantiate] Plan →[F_bind] BoundInstance.
Execution recording: BoundInstance + State + Policy →[F_enable] GuardAssessment; authorised and evidenced start →[F_start] ExecutionRecord →[F_observe] EvidenceRecord.
Completion flow: ExecutionRecord + EndEvidence →[F_finish] TerminalRecord →[F_evaluate] OutcomeAssessment.
Sequential composition: B ∘ A is defined when A's outputs satisfy B's input schema and applicable guards. A completed predecessor does not automatically enable B.
Parallel composition: A || B produces a pair of traces; merge only with a declared resource, ordering and conflict policy. Concurrent effects need not commute.
Conditional composition: if guard is established true, select the authorised branch; if false, select the alternative if defined; if unknown or disputed, defer or apply an explicitly authorised uncertainty policy.
Iteration: A^n denotes n occurrences, each with distinct identity and trace. Recursion requires a termination criterion or a declared ongoing service policy.

6. MATHEMATICAL SEMANTICS
Let S be a state space, U an input domain and C a context. An activity model is a relation R_A ⊆ S × U × C × S. Deterministic models may use s' = f_A(s,u,c). Nondeterministic models return a set of possible successors. Stochastic models use a normalised transition kernel P_A(ds'|s,u,c). Do not infer a unique successor from a nondeterministic relation.
For observed start t0 and end t1 on a common clock, elapsed duration D = t1 − t0 ≥ 0. Active duration is the measure of the union of running intervals, excluding suspended intervals. For overlapping subactivities, elapsed duration is not generally the sum of durations.
Resource consumption for a nonnegative integrable rate r(t): Q = ∫ r(t) dt over the specified accounting interval. Discrete accounting uses uniquely identified transactions; avoid double counting shared resources.
For a window W of positive duration, duty fraction = measure(running intervals ∩ W)/measure(W), in [0,1]. Missing coverage must be reported separately rather than treated as inactivity.
Precondition G(s,c) and authorisation A(s,c) are distinct predicates. A transition may be observed even if either predicate fails; preserve the violation record.
Outcome success is assessed by objective predicate O(s',c), independent of lifecycle completion. For multiple objectives, report the vector of outcomes; aggregate only with declared weights and compatible scales.
For a finite dependency DAG, a topological ordering is a permissible precedence ordering, not proof of resource feasibility. Cycles require explicit loop semantics. Under unlimited resources and deterministic durations, critical-path length gives the earliest possible makespan subject to precedence alone.

7. STRUCTURAL INVARIANTS
I01: Each occurrence has a stable identifier distinct from its type identifier.
I02: Every assertion identifies its context and relevant time scope.
I03: Known start and end times satisfy start ≤ end on a common time basis.
I04: Planned execution must not be represented as observed execution.
I05: Role assignments conform to the applicable versioned role schema.
I06: Resource quantities retain units and accounting boundaries.
I07: Missing observations do not establish inactivity or failure.
I08: Completion and objective fulfilment remain separate assertions.
I09: Observed unauthorised activity is preserved and flagged, not erased.
I10: Composite traces preserve constituent identities and causal dependencies.
I11: Model predictions remain distinguishable from measured effects.
I12: Corrections preserve provenance, prior versions and unresolved disputes.

8. RECURSIVE VALIDATION
Let K_n be the accepted knowledge graph and ΔE_n a new evidence batch. Construct candidate K* = Update(K_n, ΔE_n). Evaluate type, temporal, resource, lifecycle, role and policy constraints. Commit K* only when the declared validation policy accepts it; otherwise retain K_n and record the rejected candidate or unresolved conflict. Observed violations may be accepted as factual records without approving the underlying activity.
K_(n+1) = Commit(K*) if Accept(Validate(K*)); otherwise K_n.
A fixed point K* = T(K*) under unchanged evidence and policy indicates no further change by that operator, not factual truth. Stop on a fixed point, iteration budget, unresolved conflict or detected cycle. Use canonical graph hashes to detect repeated states. A monotone update on a finite-height lattice terminates if each nonterminal step strictly increases the lattice order; arbitrary repair operators have no such guarantee.

9. EVIDENCE AND PROVENANCE
EvidenceRecord = (id, source, method, observedTime, recordedTime, subject, claim, uncertainty, integrityReference, accessPolicy).
Distinguish direct observation, reported observation, model inference and planned intent. Record clock uncertainty, sampling coverage, sensor limitations and source dependencies. Confidence scores are not probabilities unless calibrated for the stated population and task. Preserve competing accounts and their scope. Do not infer causal effects from temporal succession alone. Restrict access to sensitive participant records according to applicable policy.

10. WORKED EXAMPLES
A. Manufacturing: a machining activity begins at 09:00 and ends at 09:12, with a two-minute pause. Elapsed duration is 12 minutes; active duration is 10 minutes. Dimensional inspection separately determines success.
B. Computing: a batch job exits normally but produces an incomplete output. Record completed lifecycle and failed objective assessment independently.
C. Maintenance: a pump inspection consumes 0.5 technician-hours. A simultaneous sensor test shares the same technician; account for actual allocations rather than blindly adding elapsed times.
D. Biology: a measured metabolic rate supports a physiological activity assertion during the sampling window, not an unbounded claim about activity.
E. Communication: message transmission and recipient acknowledgement are separate activities; successful sending does not prove comprehension.
F. AI reasoning: a tool execution trace supports an observed computational activity. A generated plan alone supports only planned activity.
G. Engineering control: a motor starts despite a failed interlock. Preserve the observed start, failed guard and unauthorised status; do not classify the event as permitted merely because it occurred.

11. CROSS-ONTOLOGY INTEGRATION
Process Concept: activities form process constituents and execution traces.
State Concept / State Transition Concept: activities may cause or maintain states; causal attribution requires evidence or a declared model.
Active State / Inactive State: activity occurrence may support scoped operational state assertions.
Initial / Current / Future State: identify input, observed and projected states without conflating them.
Valid / Invalid State: evaluate preconditions and effects against versioned constraints.
Time Concepts: represent interval ordering, duration and temporal uncertainty.
Causality Concepts: distinguish causal models from mere temporal associations.
Engineering Project Task / Workflow / Recursive Engineering Process: map planned work, execution evidence and recursive refinement through explicit typed relationships.
Quality Concepts: evaluate effectiveness, efficiency and reliability using separately defined measures.
These mappings are proposed integration points, not verified equivalences with published entity identifiers.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: Two executions of the same type → distinct instance identifiers.
T02: Plan with no execution evidence → planned, not observed running.
T03: End precedes start on common clock → temporal violation.
T04: Twelve-minute elapsed interval with two-minute suspension → ten active minutes.
T05: Normal completion with unmet objective → completed and unsuccessful.
T06: Missing telemetry → unknown activity status, not automatically inactive.
T07: Concurrent overlapping intervals → union duration, not naive sum.
T08: Failed guard with observed start → preserve observation and flag violation.
T09: Incompatible sequential schemas → composition rejected or explicit adapter required.
T10: Unknown conditional guard → defer unless authorised uncertainty policy exists.
T11: Repeated recursive graph hash → detect cycle and stop or escalate.
T12: Corrected observation → new version with original evidence retained.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Activity Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/process-concepts/activity-ontology.html
Original proposed formalisation, not a verified transcription of the published page. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published grammar compatibility, source content and exact licence terms 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