AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
APPROXIMATION ONTOLOGY
Kireth Semantic Library | Computational Mathematical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/computational-mathematical-entities/approximation-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Proposed mathematical formalisation; source page text not independently verified.
Version: 1.0 | Date: 2026-10-14
1. PURPOSE
Represent an approximation as a typed relationship between a target mathematical entity and a surrogate, together with its domain, method, error criterion, assumptions and provenance. Never equate an approximation with exact equality without proof.
2. TYPED ENTITIES
Target<T>; Approximation<T>; ApproximationMethod; Domain; Metric; Norm; ErrorBound; Tolerance; Precision; NumericalRepresentation; Iteration; ConvergenceCriterion; Provenance; ValidationResult.
3. CORE RELATIONSHIPS
approximates(approximation,target)
generated_by(approximation,method)
valid_on(approximation,domain)
measured_by(error,metric)
bounded_by(error,bound)
satisfies(error,tolerance)
refines(next,previous)
converges_to(sequence,target)
derived_from(approximation,source)
4. MATHEMATICAL SEMANTICS
For exact target x and approximation x_hat in a normed space:
absolute_error = ||x_hat - x||.
For scalar x != 0:
relative_error = |x_hat - x| / |x|.
For scalar-valued f and surrogate f_hat on D:
uniform_error = sup_{t in D} |f_hat(t) - f(t)|, when finite.
For a problem F(x)=0:
residual = ||F(x_hat)||; a small residual alone does not guarantee small solution error without stability assumptions.
An error bound B is certified only when the stated assumptions establish error <= B.
5. APPROXIMATION CATEGORIES
Numerical: rounded, truncated, iterative and discretised representations.
Analytical: asymptotic expansions, local linearisation and series truncation.
Statistical: estimated quantities with uncertainty, distinguished from deterministic numerical error.
Geometric: discretised curves, meshes and spatial surrogates.
Symbolic: simplified expressions valid under explicitly stated conditions.
6. AXIOMS AND INVARIANTS
A1: Every approximation has an identified target and comparison context.
A2: Error values are nonnegative for metric- or norm-based error.
A3: Error claims specify their metric, domain and assumptions.
A4: Approximate equivalence is not generally transitive under a fixed tolerance.
A5: Finite-precision computation must distinguish representation error from mathematical approximation error.
A6: A convergence claim specifies its mode (pointwise, uniform, norm, probability, etc.).
A7: A tolerance pass is not automatically a proof of correctness.
7. EXECUTABLE FLOW RULES (PSEUDOCODE)
flow ApproximationValidation(target, candidate, metric, tolerance, assumptions):
require type_compatible(target,candidate)
require tolerance >= 0
require assumptions_verified_or_mark_unverified()
error := metric(candidate,target) if target_is_available else UNKNOWN
if error == UNKNOWN: return INDETERMINATE
if error <= tolerance: return PASS_WITH_ASSUMPTIONS
return FAIL
flow CertifiedError(candidate, bound, proof):
require bound >= 0
if verify(proof, error(candidate) <= bound): return CERTIFIED
return UNVERIFIED
flow IterativeApproximation(x_0, update, stopping_rule, max_steps):
x := x_0
for k in 0..max_steps-1:
if stopping_rule(x): return (x, STOPPED, k)
x := update(x)
return (x, LIMIT_REACHED, max_steps)
8. INFERENCE RULES
R1: error(candidate,target) <= tolerance => within_tolerance(candidate,target), subject to metric and domain.
R2: certified_bound(candidate,B) and B <= tolerance => certified_within_tolerance(candidate,target).
R3: converges_to(sequence,target) does not imply a finite iterate meets a requested tolerance without a rate or verified error estimate.
R4: if metric obeys the triangle inequality, error(a,c) <= error(a,b)+error(b,c).
R5: residual_to_error conversion requires a documented conditioning or stability bound.
9. SEMANTIC DISTINCTIONS
approximation != exact_solution
error_bound != observed_error
residual != forward_error
precision != accuracy
convergence != finite-step certification
confidence_interval != deterministic_error_bound
rounding_error != truncation_error
10. VALIDATION
Check target identity; type compatibility; units; valid domain; tolerance sign; metric properties; assumption provenance; finite versus infinite bounds; reproducibility; numerical overflow/underflow; and whether the certificate is independently verifiable.
11. CONFIDENCE
confidence.status: VERIFIED | ASSUMPTION_DEPENDENT | ESTIMATED | UNKNOWN
confidence.evidence: proof | numerical_test | statistical_model | assertion
confidence must not be fabricated from an arbitrary numerical score.
12. SEMANTIC_EQUIVALENCE
Canonical aliases: approximation, approximate representation, surrogate estimate (context dependent).
Non-equivalent: exact value, proof of equality, certified solution.
Equivalence requires preservation of target, error model, domain and assumptions.
13. FLOW_HASH
Canonicalise ontology version, entity types, relationships, rules and assumption schemas as UTF-8 with stable key ordering; compute SHA-256 over canonical bytes. Store the computed digest at publication time; no digest is asserted here.
14. UPDATE_MODEL
On revision: increment version; record changed definitions, assumptions and rules; invalidate dependent certificates if assumptions change; recompute FLOW_HASH; retain provenance and change history.
15. AI_CONSUMPTION
Expose machine-readable target, candidate, approximation method, metric, domain, assumptions, tolerance, bound, verification status and provenance. AI consumers must distinguish heuristic results from certified results, and must not infer exactness from proximity alone.
END FLOW ALGEBRA