Skip to main content

Parallel Algorithm Ontology

Algorithm Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 09 November 2026
Audio Overview
SEMANTIC LIBRARY — PARALLEL ALGORITHM ONTOLOGY
FLOW ALGEBRA v1.0 | Algorithm Entities

AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/algorithm-entities/parallel-algorithm-ontology.html
SOURCE REVISION: 02 August 2026 (as displayed on source page)
GENERATED: 09 November 2026
STATUS: Constructed ontology-specific Flow Algebra mapping; not a verbatim transcription of hidden source specifications.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/algorithm-entities/parallel-algorithm-ontology.html

PURPOSE
Represent parallel algorithms as explicit state transitions, dependency-constrained task execution, synchronisation, and deterministic or qualified result aggregation.

STATE_MODEL
S_t = (I_t, R, B, K)
I_t = (tasks, task_states, workers, assignments, outputs, clock, errors)
R = (decompose, schedule, dispatch, execute, synchronise, merge, recover)
B = (dependency_order, resource_limits, permissions, consistency, termination)
K = (task_graph, worker_capabilities, scheduling_policy, cost_model, provenance)

ENTITY_GRAPH
ParallelAlgorithm --decomposesInto--> Task
Task --dependsOn--> Task
Task --assignedTo--> Worker
Worker --executes--> Task
Task --produces--> PartialResult
SynchronisationBarrier --waitsFor--> TaskSet
Reducer --combines--> PartialResultSet
Scheduler --observes--> ResourceAvailability
ParallelAlgorithm --returns--> AggregateResult

FLOW_ALGEBRA
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B)}
a_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, a_t)

DEPENDENCY RULE
ready(task, t) iff state(task)=pending AND all predecessors(task) are complete.
Eligible(t) = {task | ready(task,t) AND permitted(task) AND resources_available(task)}.
No task may consume a predecessor's uncommitted output.

PARALLEL EXECUTION FLOW
1. Validate input and the task dependency graph.
2. Decompose work into tasks with explicit inputs and outputs.
3. Identify independent ready tasks.
4. Assign tasks to eligible workers under resource constraints.
5. Execute ready tasks concurrently where safe.
6. Collect outcomes and detect failures or timeouts.
7. Synchronise at dependency edges or explicit barriers.
8. Combine results using a specified reduction rule.
9. Validate global postconditions and publish the aggregate result.

INFERENCE_RULES
IF two tasks have no dependency or shared-state conflict THEN they may run concurrently.
IF a task has unfinished predecessors THEN it cannot be dispatched.
IF a barrier has outstanding participants THEN its dependent phase must wait.
IF shared writes lack an ordering or conflict-resolution policy THEN mark execution unsafe.
IF reduction is order-sensitive THEN record or enforce the reduction order.
IF a worker fails THEN retry only when idempotency or compensation permits.
IF all required tasks are complete AND postconditions hold THEN execution succeeds.

MINI_RECURSION_ENGINE
function resolve(task):
    if task is complete: return its committed result
    if task is failed: propagate or recover under policy
    resolve all dependencies (concurrently only when independent)
    execute task when ready and resources are available
    validate and commit result
    return result

PERFORMANCE MODEL
T_parallel = T_serial_fraction + T_parallelisable_fraction / effective_workers + overhead
Speedup = T_single_worker / T_parallel
Overhead includes scheduling, communication, contention and synchronisation.
Performance estimates are conditional, not execution guarantees.

BOUNDARIES_AND_GUARANTEES
- Acyclic dependencies are required for this finite DAG execution model; cycles need separate iterative semantics.
- Termination is guaranteed only if the task graph is finite, each task terminates, resources eventually become available, and recovery does not loop indefinitely.
- Deterministic output requires deterministic task semantics and aggregation or explicitly enforced ordering.
- Data races, deadlocks, starvation, partial failure and non-associative floating-point reductions must be addressed by policy.
- Correctness is conditional on valid decomposition, dependency preservation, and postcondition checks.

TRI_MAPPING
Entity: ParallelAlgorithm | State: task graph and worker pool | Flow: schedule -> execute -> synchronise -> reduce
Entity: Task | State: pending/running/complete/failed | Flow: ready -> dispatch -> commit
Entity: Worker | State: idle/busy/unavailable | Flow: allocate -> execute -> release
Entity: Barrier | State: waiting/released | Flow: count arrivals -> release

EXAMPLE
Tasks A and B are independent; C depends on both.
At t0: ready={A,B}; execute A and B concurrently.
At t1: commit A and B; ready={C}.
At t2: execute C; validate output; terminate.

UPDATE_MODEL
On task completion, worker failure, dependency change or resource update: revise I_t, recompute eligible tasks, reapply boundaries B, and retain provenance of transitions.

LICENCE_AND_ATTRIBUTION
Open Research Licence: consult source site for authoritative licence terms. Citation and source backlink retained.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ