Skip to main content

Software Ontology

Software Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
SOFTWARE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities / Software Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/software-entities/software-ontology.html
Source page: © Mark Anthony Higgins 11 October 2025; revised 03 August 2026.
Status: Constructed topic-level Flow Algebra mapping; the full embedded page specification was not available in retrieved text. Not a verbatim extraction.

1. PURPOSE
Represent software as a versioned, executable or interpretable computational entity, with explicit dependencies, configuration, execution context, inputs, outputs, permissions and lifecycle.

2. ENTITY MODEL
SoftwareEntity = (id, kind, version, artefacts, interfaces, dependencies, configuration, permissions, lifecycle, provenance)
Kinds: application, library, service, operating-system component, firmware, script, package.
Relations:
  DEPENDS_ON(software, dependency)
  EXECUTES_IN(software, environment)
  EXPOSES(software, interface)
  CONSUMES(software, input)
  PRODUCES(software, output)
  CONFIGURED_BY(software, configuration)
  INSTALLED_ON(software, device)
  DERIVED_FROM(software, source_artefact)

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current inputs, software artefacts, configuration, runtime state
R_t = dependency, compatibility, permission and execution relationships
B_t = resource, security, type, licensing and operational boundaries
K_t = verified version, interface contracts, deployment and provenance knowledge
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observations_t)
The argmax is a selection policy, not a guarantee of correctness.

4. FLOW ALGEBRA — INSTALLATION
INPUT: package p, target environment e, policy b
RESOLVE(p) -> dependency closure D
CHECK(D, e, b) -> compatible and authorised
VERIFY(p, D) -> integrity and provenance checks
INSTALL(p, D, e) -> installed state
POSTCONDITION: package manifest and installed artefacts recorded
FAILURE: missing dependency, version conflict, failed verification, denied permission

5. FLOW ALGEBRA — EXECUTION
INPUT: request q, installed software s, environment e
VALIDATE(q, interface(s))
CHECK(preconditions(s, e) and permissions(s, q))
ALLOCATE(resources(s, e))
EXECUTE(s, q, e) -> result r, events L
VERIFY(r, postconditions(s))
RELEASE(resources)
OUTPUT: result, execution status, audit events

6. FLOW ALGEBRA — UPDATE
DISCOVER(new_version) -> compare compatibility and changes
VERIFY(new_version) -> authenticity and integrity
SNAPSHOT(current_state) -> recovery checkpoint
APPLY(new_version) -> candidate deployment
TEST(candidate) -> acceptance evidence
IF tests_pass THEN COMMIT ELSE ROLLBACK
NOTE: rollback requires a usable checkpoint and compatible state migrations.

7. INFERENCE RULES
IF DEPENDS_ON(A,B) and DEPENDS_ON(B,C), THEN TRANSITIVELY_DEPENDS_ON(A,C).
IF required_dependency_missing(A), THEN NOT_READY(A).
IF permission_denied(A,action), THEN BLOCK(action).
IF incompatible(runtime(A), environment), THEN NOT_EXECUTABLE_IN(A,environment).
IF integrity_check_fails(artefact), THEN REJECT(artefact).
IF preconditions_hold and execution_succeeds and postconditions_hold, THEN COMPLETED(run).
A successful run does not establish global correctness for all inputs.

8. MINI RECURSION ENGINE
function RESOLVE_CLOSURE(s, visited, active):
  if s in active: report dependency cycle
  if s in visited: return
  add s to active
  for each dependency d of s: RESOLVE_CLOSURE(d, visited, active)
  remove s from active
  add s to visited
  emit s in dependency order
Termination requires a finite reachable dependency graph and cycle handling.

9. BOUNDARIES AND GUARANTEES
- Never execute unverified or unauthorised artefacts.
- Enforce least privilege and resource limits where supported.
- Preserve version and provenance records.
- Handle dependency cycles and conflicts explicitly.
- Treat probabilistic selection as fallible; verify outputs independently.
- Execution guarantees are conditional on stated preconditions, runtime assumptions and verified postconditions.

10. TRI-MAPPING
Entity: SoftwareEntity
Relationship: DEPENDS_ON / EXECUTES_IN / EXPOSES / CONSUMES / PRODUCES
Flow: resolve -> validate -> execute -> verify -> update

11. EXAMPLE
Software: image-processing application
Dependencies: runtime library and image decoder
Input: image file and requested transformation
Boundary: permitted file access and available memory
Execution: decode -> transform -> encode -> validate output
Output: transformed image and status record

12. CITATION
Mark Anthony Higgins and Sky Recursive AI, “Software Ontology — Flow Algebra v1.0”, Kireth Research Semantic Library, constructed mapping, 2026.
Source ontology URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/software-entities/software-ontology.html
Open Research Licence: consult the source website for applicable licence terms and attribution requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ