AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — AI SEMANTIC LIBRARY
PROCESS CONCEPT 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/process-concept-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Process Concepts
Status: Proposed formalisation; source content and published grammar not independently verified.
1. CANONICAL DEFINITION
A process is a temporally situated organisation of activities or transformations relating inputs, states, resources and outcomes under specified rules and conditions. A process definition describes possible execution; a process instance records a particular execution. A process need not succeed, terminate, be deterministic or produce a material output. A state describes a configuration; a transition relates configurations; a process organises transitions and activities. A workflow specifies coordination; an execution is an occurrence of that specification. These distinctions are context dependent and must be preserved in the entity graph.
2. ENTITY MODEL
ProcessDefinition := (id, version, purpose, inputType, outputType, stateSpace, activities, dependencies, guards, resources, constraints, terminationPolicy, context)
ProcessInstance := (id, definitionRef, input, initialState, trace, currentState, outputs, resourceLedger, startTime, endTime, status, evidence)
Activity := (id, inputType, outputType, precondition, transformation, postcondition, effects)
Transition := (sourceState, trigger, guard, targetState, duration, evidence)
Assessment := (subjectRef, criterionRef, context, result, uncertainty, provenance)
Execution status: proposed, ready, running, suspended, completed, failed, cancelled, unknown.
Assessment status: established, rejected, unknown, disputed, not_applicable.
Completion is distinct from successful fulfilment of purpose. A process definition may have many instances. A revised definition must not silently alter historical instances.
3. CLASSIFICATION
Sequential: activities execute in a specified dependency order.
Parallel: independent or synchronised branches may overlap in time.
Conditional: branch selection depends on evaluated predicates.
Iterative: a body repeats under a continuation condition.
Recursive: a process invokes itself or a mutually dependent process definition.
Continuous: evolution is represented by continuous-time dynamics.
Discrete: evolution proceeds through distinguishable events or steps.
Hybrid: continuous evolution and discrete events interact.
Stochastic: transition outcomes follow a specified probability model.
Reactive: execution responds to external events.
Adaptive: execution policy or parameters change in response to evidence.
Open-ended: no finite completion is required by the definition.
These classifications are non-exclusive; recursive execution is not synonymous with feedback or iteration.
4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation from X to Y. g ∘ f applies f first and g second. Operators below are proposed local semantic notation, not a verified executable grammar.
F_define: Requirements × Context → ProcessDefinition
F_bind: ProcessDefinition × Input × InitialState → CandidateInstance
F_check: CandidateInstance × Constraints → Assessment
F_enable: Instance × Event × Evidence → GuardAssessment
F_step: Instance × EnabledActivity → CandidateTransition
F_apply: Instance × CandidateTransition × Authorisation → Instance
F_observe: Instance × Observation → EvidenceRecord
F_merge: BranchResults × MergePolicy → CandidateResult
F_evaluate: Instance × Criteria → Assessment
F_revise: ProcessDefinition × Evidence × RevisionPolicy → CandidateDefinition
F_commit: CandidateDefinition × Validation × Authorisation → VersionedDefinition
F_close: Instance × TerminationEvidence → TerminalRecord
A failed guard does not authorise execution. Unknown guard status must be handled explicitly by the applicable policy. Observations of unauthorised transitions remain recordable without endorsing them.
5. COMPOSITE FLOWS
Definition: Requirements →[F_define] Definition → validation → authorised version.
Initialisation: (Definition, Input, InitialState) →[F_bind] Candidate →[F_check] Assessment → authorised instance.
Execution: Instance → guard evaluation → enabled activity → candidate transition → authorised application → observation → assessment.
Sequential composition: P2 ∘ P1 is defined only when P1 output is compatible with P2 input and required effects and constraints are satisfied.
Parallel composition: P1 ∥ P2 yields branch results with separate provenance. Merge requires explicit synchronisation, resource allocation and conflict policy. Concurrent writes are not assumed commutative.
Conditional composition: if G is established execute P1; if rejected execute P2; otherwise follow the unknown-guard policy.
Iteration: while G holds, execute P; check resource and termination policy each cycle. Recursive invocation records parent instance, depth and argument binding.
Feedback: observation → evaluation → candidate adjustment → validation → authorised update. Feedback must not bypass mandatory constraints.
6. MATHEMATICAL SEMANTICS
Let S be a state space, A an activity set, U an input space and R a resource domain. A discrete process may be represented by x_(k+1) = f(x_k,a_k,u_k), where each step is admissible under its guard and transition relation T ⊆ S × A × S.
Reachability: Reach_0 = {x_0}; Reach_(k+1) = Reach_k ∪ {y : exists x in Reach_k, a in A, (x,a,y) in T}. This is model-relative possibility, not evidence of actual execution.
Continuous process: dx/dt = f(x,u,t), subject to initial and boundary conditions. Existence and uniqueness require suitable assumptions on f. Hybrid models additionally define event guards and reset maps.
Stochastic process: K(y|x,a) ≥ 0 and sum_y K(y|x,a)=1 for a discrete complete outcome space. A distribution evolves as p_(k+1)(y)=sum_x p_k(x) K(y|x,a) for a fixed action. History dependence requires an augmented state or a different model.
Resource accounting: r_(k+1)=r_k+inflow_k-outflow_k for conserved ledger quantities; non-conserved resources require domain-specific rules. Units and time intervals must match.
For a finite acyclic activity graph with deterministic durations and unlimited resources, earliest completion E(v)=d(v)+max_{u predecessor of v} E(u), with empty maximum zero. Resource constraints can increase actual completion time.
Process effectiveness may be evaluated as satisfaction of explicit objectives; efficiency requires a separate resource denominator. Neither follows from completion alone.
Termination: a well-founded ranking function decreasing on every recursive call establishes termination under the stated assumptions. A fixed point F(x*)=x* does not by itself establish convergence. For a contraction on a complete metric space, repeated application converges to the unique fixed point. These are conditional mathematical results, not universal process properties.
7. STRUCTURAL INVARIANTS
I01 Every instance references an identifiable definition version.
I02 Every activity has typed inputs and outputs or explicit absence thereof.
I03 Every observed transition retains source and target state identifiers.
I04 Authorised transitions satisfy applicable mandatory guards.
I05 Unknown evidence is not interpreted as successful execution.
I06 Dependency ordering is respected unless an authorised exception is recorded.
I07 Resource quantities retain units, boundaries and accounting rules.
I08 Parallel merges retain branch provenance and resolve conflicts explicitly.
I09 Terminal status requires evidence under the termination policy.
I10 Historical execution records are not silently rewritten by definition revisions.
I11 Recursive invocation preserves parent-child identity and stopping policy.
I12 Validity, completion, effectiveness and efficiency remain separate assessments.
8. RECURSIVE VALIDATION
Given versioned graph G_n and evidence delta D_n, construct candidate graph H_n = Update(G_n,D_n). Evaluate schema, typing, guards, dependencies, resources, temporal order and evidence consistency. Commit H_n only when mandatory validation and authorisation succeed; otherwise retain G_n and record the rejected candidate and reasons. Record conflicting observations rather than deleting them to obtain apparent coherence.
For a bounded refinement run, stop on validated acceptance, no admissible improvement, repeated canonical graph hash, resource exhaustion or iteration limit. Report the reason. A repeated hash indicates possible cycling or a fixed representation, not truth or operational success. Continuous monitoring may deliberately remain open-ended. Distinguish recursive definition refinement from recursive execution of a process instance.
9. EVIDENCE AND PROVENANCE
Each evidence record contains source identifier, observation time, recording time, subject and definition version, method, context, units where applicable, uncertainty and derivation links. Distinguish observed events from planned and predicted events. Preserve missing intervals and contradictory observations. Confidence scores are not probabilities unless calibrated. A process trace is incomplete when relevant observations are missing; do not infer absence of execution from absence of logs alone. Authorisation records identify the applicable policy and responsible authority. Preserve original evidence when a derived assessment is revised.
10. WORKED EXAMPLES
A. Manufacturing: raw material → machining → inspection → accepted or rejected part. Inspection failure may trigger authorised rework; completion of machining alone does not establish conformity.
B. Software: source → build → test → deployment. A failed mandatory test blocks authorised deployment; an observed unauthorised deployment remains an incident record.
C. Engineering maintenance: isolate → inspect → repair → verify → return to service. Guard evaluation and competent authorisation precede hazardous operations; this abstract model is not a safety procedure.
D. Physical dynamics: a cooling body evolves under dx/dt=-k(x-T_env), k>0. The state approaches ambient temperature asymptotically; finite completion requires a specified tolerance.
E. Logistics: picking and document preparation may proceed concurrently; dispatch requires both results and a valid release decision.
F. AI reasoning: evidence → candidate inference → consistency check → approved graph update. Unsupported conclusions remain candidates, not established facts.
G. Stochastic service: arrivals and service completions change queue state. A transition kernel describes possible outcomes; an individual trace records actual events. Resource and waiting-time metrics require a specified observation window.
11. CROSS-ONTOLOGY INTEGRATION
State Concept: describes configurations before, during and after execution.
State Space Concept: defines representable and admissible state domains.
State Transition Concept: represents individual changes organised by a process.
Initial, Current, Previous, Future and Desired State: distinguish temporal and goal-relative roles.
Valid and Invalid State: assess admissibility independently of execution status.
Causality Concepts: distinguish dependency, temporal precedence and causal influence.
Quality Concepts: evaluate effectiveness, efficiency, reliability and robustness.
Recursive Engineering Process and Workflow: map process definitions and execution instances into engineering contexts.
Engineering Entity Execution and Evidence: connect observed activities with provenance and validation.
Mappings are proposed semantic integration points; equivalence requires matching scope and constraints.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Two instances reference the same definition: retain distinct instance identities.
T02 Incompatible sequential output and input types: reject composition unless an explicit valid conversion exists.
T03 Mandatory guard rejected: deny authorised transition.
T04 Guard evidence absent: report unknown and apply explicit policy, not automatic success.
T05 Concurrent branches write conflicting values: require conflict resolution before merge.
T06 Completed process misses its objective: record completed status and failed effectiveness separately.
T07 Resource ledger mixes incompatible units: reject arithmetic aggregation.
T08 Stochastic transition row sums to 1.2: reject probability model.
T09 Definition revised after historical execution: retain original version reference.
T10 Recursive refinement alternates between two graph hashes: detect cycle and report stopping reason.
T11 Observed unauthorised transition: retain evidence and mark policy violation.
T12 Open-ended monitoring reaches assessment interval: record interval result without falsely declaring process completion.
13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Process Concept Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source identifier: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/process-concepts/process-concept-ontology.html
Open Research Licence attribution follows the project convention; consult the publisher for authoritative terms. This document is an original proposed formalisation, not a verified transcription. Published page content, grammar compatibility and exact licence terms have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION