Skip to main content

Error Bound Ontology

Measurement and Dimensional Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 14 October 2026
Audio Overview
FLOW ALGEBRA
Ontology: Error Bound Ontology
Version: 1.0
Date: 2026-10-14
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/measurement-and-dimensional-entities/error-bound-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)

1. PURPOSE
Represent mathematically justified limits on deviations between approximations, measurements, estimates and reference quantities. Distinguish deterministic bounds from statistical uncertainty and confidence intervals.

2. TYPED ENTITIES
entity ErrorBound {id: URI; target: Quantity|Expression; reference: Quantity|Expression; bound_value: Real>=0; bound_kind: Absolute|Relative|Componentwise|Normwise|Interval|Truncation|Rounding|Discretisation|Propagation; norm: Norm?; domain: Set?; assumptions: Set[Proposition]; provenance: Source; confidence: Real[0,1]?}
entity Approximation {id: URI; value: Number|Vector|Function; method: String; precision: Integer?}
entity ReferenceValue {id: URI; value: Number|Vector|Function; status: Exact|Certified|Estimated}
entity Error {signed_difference: Number|Vector; absolute_magnitude: Real>=0}
entity Tolerance {lower: Real?; upper: Real?; unit: Unit?}
entity IntervalBound {lower: Real; upper: Real; lower_inclusive: Boolean; upper_inclusive: Boolean}
entity BoundCertificate {method: Analytic|IntervalArithmetic|Residual|Lipschitz|NumericalVerification; assumptions: Set[Proposition]; result: ErrorBound}

3. RELATIONSHIPS
Approximation --approximates--> ReferenceValue
ErrorBound --bounds_error_of--> Approximation
ErrorBound --relative_to--> ReferenceValue
ErrorBound --derived_under--> Assumptions
ErrorBound --validated_by--> BoundCertificate
ErrorBound --expressed_in--> Unit
ErrorBound --constrains--> Tolerance

4. MATHEMATICAL SEMANTICS
Let x be a reference value and x_hat an approximation.
signed_error = x_hat - x
absolute_error = |x_hat - x|
absolute_bound: |x_hat - x| <= epsilon, epsilon >= 0
relative_error = |x_hat - x| / |x|, defined only for x != 0
relative_bound: |x_hat - x| <= rho |x|, rho >= 0, x != 0
vector_bound: ||x_hat - x|| <= epsilon for a specified norm
interval_enclosure: x in [L,U] with L <= U
symmetric_enclosure: x in [x_hat - epsilon, x_hat + epsilon]
A confidence interval with a stated coverage probability is NOT automatically a guaranteed error bound.

5. INFERENCE RULES
rule ABSOLUTE_BOUND_TO_INTERVAL:
  given |x_hat - x| <= epsilon and epsilon >= 0
  infer x in [x_hat-epsilon, x_hat+epsilon]
rule SUM_PROPAGATION:
  given |x_hat-x|<=a and |y_hat-y|<=b
  infer |(x_hat+y_hat)-(x+y)|<=a+b
rule PRODUCT_PROPAGATION:
  given |x_hat-x|<=a and |y_hat-y|<=b
  infer |x_hat*y_hat-x*y| <= |x_hat|*b + |y_hat|*a + a*b
rule LIPSCHITZ_PROPAGATION:
  given f is L-Lipschitz on domain D; x,x_hat in D; |x_hat-x|<=a
  infer |f(x_hat)-f(x)|<=L*a
rule TRIANGLE_COMPOSITION:
  given |a-b|<=e1 and |b-c|<=e2
  infer |a-c|<=e1+e2
rule TOLERANCE_PASS:
  given certified_error_bound <= allowable_tolerance
  infer within_tolerance=true

6. VALIDATION CONSTRAINTS
- Bounds must be nonnegative and finite unless an explicitly extended-real bound is intended.
- Compare only compatible dimensions and units; relative bounds are dimensionless.
- Record the norm used for vector and matrix bounds.
- A reference value labelled Estimated cannot silently be treated as exact.
- State the domain and assumptions for any analytic or numerical guarantee.
- For relative error, reject a zero reference denominator.
- Distinguish guaranteed worst-case bounds, empirical maximum errors, probabilistic tail bounds, and uncertainty estimates.
- Interval lower endpoint must not exceed upper endpoint.
- Preserve significant digits and rounding direction when reporting certified bounds.

7. WORKED EXAMPLES
example A: x=10.00 m; x_hat=10.03 m; absolute_error=0.03 m; certified epsilon=0.05 m; bound satisfied.
example B: x=200; x_hat=198; relative_error=2/200=0.01=1%; rho=0.02; bound satisfied.
example C: x_hat=5.0; epsilon=0.2; inferred enclosure x in [4.8,5.2].
example D: x_hat=2, y_hat=3, a=0.1, b=0.2; product error <=2*0.2+3*0.1+0.1*0.2=0.72.

8. SEMANTIC EQUIVALENCE
Absolute error limit ~ absolute error bound (same norm, reference and assumptions).
Error margin ~ error bound ONLY when a deterministic guaranteed limit is specified.
Measurement uncertainty != deterministic error bound.
Tolerance != observed error; tolerance is an acceptance criterion.

9. CONFIDENCE
confidence records confidence in provenance or extraction, NOT a frequentist coverage probability unless explicitly typed as such.
Use 1.0 only for a formally verified claim under recorded assumptions; otherwise report a justified confidence or null.

10. FLOW_HASH
canonicalise entity IDs, sorted relationships, units, assumptions and formula identifiers; compute SHA-256 over canonical UTF-8 representation at ingestion. FLOW_HASH is a computed field, not an invented constant.

11. UPDATE_MODEL
On source revision: compare canonical records; increment ontology version; revalidate dependencies, units and derived certificates; regenerate FLOW_HASH; preserve provenance and revision history.

12. AI_CONSUMPTION
Input: approximation, reference definition, error model, units, norm, domain, assumptions and certification method.
Process: type-check -> dimensional-check -> classify bound -> verify assumptions -> derive bound -> compare tolerance -> attach provenance.
Output: typed ErrorBound with formula, numerical result, guarantee status, assumptions, certificate, confidence and FLOW_HASH.
Failure: return unresolved when reference, assumptions, units or certificate are insufficient; never claim a guaranteed bound from a mere estimate.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ