Skip to main content

Numerical 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 — FLOW ALGEBRA v1.0
NUMERICAL ALGORITHM ONTOLOGY
Category: Computational Entities / Algorithm Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/algorithm-entities/numerical-algorithm-ontology.html
Generated: 09 November 2026
Status: Constructed ontology-level Flow Algebra mapping; not a transcription of the inaccessible embedded specification.
Source metadata: Original 11 October 2025; revised 02 August 2026.

1. PURPOSE
Represent numerical algorithms as constrained, auditable transformations from numerical inputs and mathematical models to approximations with explicitly bounded uncertainty, numerical error and termination criteria.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input numbers, mathematical problem, initial estimates, tolerances and observations.
R_t: mathematical operations, numerical methods, precision rules and inference relations.
B_t: admissible domain, machine precision, iteration/time budgets, stability constraints and safety limits.
K_t: method definitions, convergence results, numerical conditioning, provenance and prior iterations.

3. CORE FLOW ALGEBRA
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, observed_error_t, K_t)
Stop when acceptance criterion holds or a defined failure/limit condition is reached.
The argmax is a selection formalism, not an assertion that every numerical algorithm is probabilistic.

4. ENTITY GRAPH
NumericalAlgorithm -> implements -> NumericalMethod
NumericalAlgorithm -> consumes -> NumericalInput
NumericalAlgorithm -> evaluates -> MathematicalModel
NumericalAlgorithm -> uses -> ArithmeticOperation
NumericalAlgorithm -> produces -> NumericalApproximation
NumericalAlgorithm -> measures -> Residual / ErrorEstimate
NumericalAlgorithm -> constrainedBy -> Tolerance / Precision / Budget
NumericalAlgorithm -> records -> IterationState / Provenance
NumericalAlgorithm -> mayEncounter -> Instability / Divergence / Overflow / Underflow
NumericalMethod -> hasProperty -> ConvergenceOrder / ConditioningSensitivity

5. TYPED ENTITIES
NumericalInput: values, shape, units, domain and precision.
MathematicalModel: function, equation, matrix, objective or differential system.
NumericalMethod: solver, integration, interpolation, differentiation or optimisation procedure.
IterationState: index, estimate, residual, step size and status.
NumericalOutput: value, units, uncertainty, residual and completion status.
ErrorEstimate: absolute, relative, truncation, rounding or backward error, when estimable.

6. EXECUTION PATHWAYS
P1: Receive -> validate types, units, domains and finite values.
P2: Assess conditioning and select an appropriate numerical method.
P3: Initialise precision, tolerance, iteration budget and starting state.
P4: Evaluate numerical operation(s) and form candidate approximation.
P5: Compute residual/error estimate and check finite values and constraints.
P6: Accept, adapt step/precision/method, or terminate with explicit failure.
P7: Return numerical result with status, method, tolerance and provenance.

7. METHOD-SPECIFIC RULES
Root finding: x_(t+1) = x_t - f(x_t)/f'(x_t), only where derivative and safeguards permit.
Linear system: solve A x ≈ b; residual r = b - A x; check conditioning and rank.
Numerical integration: approximate integral by weighted evaluations with an error estimate where available.
Optimisation: minimise f(x) subject to constraints; distinguish local from global claims.
ODE integration: advance state by a selected time-step method; control local error where supported.
These are examples of numerical method families, not universal execution requirements.

8. INFERENCE RULES
IF input violates method domain THEN reject or transform only by a documented valid mapping.
IF estimate is non-finite THEN mark numerical failure; do not report success.
IF residual <= tolerance AND relevant validity checks pass THEN mark candidate acceptable.
IF residual stagnates or increases THEN assess conditioning, precision, method or step size.
IF iteration budget exhausted THEN return non-convergence status and best available diagnostics.
IF a problem is ill-conditioned THEN do not equate a small residual with a small forward error.
IF convergence assumptions are unverified THEN report convergence as empirical, not guaranteed.

9. RECURSIVE ENGINE
state_0 = initialise(problem, method, bounds, knowledge)
state_(t+1) = evaluate_and_validate(state_t)
recur while not accepted(state_t) and not failed(state_t) and t < max_iterations
Every recursion must preserve input provenance, enforce bounds and record termination reason.

10. OPERATIONAL BOUNDARIES
- Floating-point arithmetic is approximate and may be non-associative.
- Error estimates may be unavailable or unreliable outside stated assumptions.
- Iterative methods can diverge, stagnate or converge to an unintended solution.
- Numerical outputs must preserve units, dimensionality and precision metadata.
- Deterministic reproducibility can depend on hardware, libraries and operation order.
- No universal accuracy, optimality or termination guarantee is implied.

11. EXECUTION GUARANTEE (CONDITIONAL)
If each operation is defined, all preconditions hold, bounds are enforced and a finite iteration budget exists, execution returns either an accepted approximation or an explicit failure/limit status. Accuracy guarantees require separate method-specific assumptions and proofs.

12. TRI-MAPPING
Ontology: numerical method / input / result / error / constraint.
Flow: validate -> select -> compute -> estimate -> accept/adapt -> report.
Execution: typed state transition with recorded checks and explicit stop status.

13. CITATION AND PROVENANCE
Original ontology: Mark Anthony Higgins — Sky Recursive AI.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/algorithm-entities/numerical-algorithm-ontology.html
This Flow Algebra mapping is a new structured interpretation of the named ontology topic. The full embedded specification was not available in the accessible webpage text; verify against the author's original specification before treating it as authoritative.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ