AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
EXACT VALUE ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Numeric Value Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/numeric-value-entities/exact-value-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-12 | Language: en-GB
Source status: mathematical synthesis; source page not independently verified.
01. FLOW IDENTITY
flow "ExactValueOntology" v1.0
namespace: kireth.semantic_library.mathematical_entities.numeric_value_entities
entity_type: ExactValue
parent: NumericValue
purpose: Represent numbers or quantities whose mathematical value is specified without approximation.
02. CORE DEFINITION
ExactValue(x) := x is denoted by a representation that identifies a unique mathematical value without an approximation convention.
Exactness concerns representation and intended semantics, not necessarily empirical measurement accuracy.
Examples: 7; -3/4; sqrt(2); pi; 1/10; 0.125.
Non-example: 3.14 used as an approximation to pi.
03. TYPED ENTITY MODEL
entity ExactValue {
id: IRI
expression: symbolic_expression
numeric_domain: Integer | Rational | Real | Complex | Other
canonical_form: symbolic_expression?
unit: Unit?
provenance: SourceReference?
assumptions: Set[Constraint]
exact: true
}
constraint: -expression must have a defined, unambiguous denotation in the specified domain.
constraint: unit-bearing values require a declared unit and quantity semantics.
04. VALUE AND REPRESENTATION
value(1/2) = value(2/4) = value(0.5).
representation(1/2) != representation(2/4).
ExactValue does not imply a unique textual representation.
Exact decimal 0.1 is rational 1/10; its binary floating-point approximation is not generally equal to 1/10.
05. CLASSIFICATION
ExactInteger: integer literal or exact integer expression.
ExactRational: a/b, with integers a,b and b != 0.
ExactAlgebraic: uniquely specified root of a non-zero polynomial with integer coefficients.
ExactTranscendental: precisely denoted transcendental constant such as pi or e.
ExactComplex: real and imaginary components both defined exactly.
ExactQuantity: exact number combined with an explicitly defined unit.
06. FORMAL SEMANTICS
Denote(expression, context) -> mathematical_value | Undefined.
Exact(expression, context) iff Denote returns a unique value and no rounding or approximation is implied.
Equality(x,y) iff Denote(x)=Denote(y), subject to compatible domains and units.
Mathematical exactness is distinct from numerical storage fidelity.
07. EXACT ARITHMETIC
For exact a,b in a domain supporting an operation:
add(a,b) = a+b, exactly.
subtract(a,b) = a-b, exactly.
multiply(a,b) = a*b, exactly.
divide(a,b) = a/b, exactly, provided b != 0.
power(a,n) = a^n when defined in the declared domain.
Operation output stays exact when symbolic or exact arithmetic is used; fixed-precision machine arithmetic may not preserve exactness.
08. DOMAIN RULES
Integer + Integer -> Integer.
Rational + Rational -> Rational.
Rational * Rational -> Rational.
Rational / nonzero Rational -> Rational.
ExactReal + ExactReal -> ExactReal when expressions remain exact.
Square root of a nonnegative rational may be irrational but can remain exact symbolically.
Division by zero -> Undefined, never ExactValue.
09. NORMALISATION
normalise(a/b): require b != 0; divide numerator and denominator by gcd(|a|,|b|); choose positive denominator.
normalise(2/4) -> 1/2.
normalise(sqrt(8)) -> 2*sqrt(2) under principal real-root convention.
Normalisation preserves denoted value and must respect domain assumptions.
10. EXACT VERSUS APPROXIMATE
Exact(1/3) = true.
Approximate(0.333333 used for 1/3) = true.
Exact(0.333333 as the terminating decimal 333333/1000000) = true.
Approximate(pi, 3.14159) = true when 3.14159 is offered as a numerical estimate.
A decimal string is not inherently approximate: interpretation determines exactness.
11. PRECISION AND UNCERTAINTY
exactness != infinite measurement accuracy.
Significant figures alone do not establish exactness.
MeasuredValue may carry uncertainty, calibration and confidence intervals.
Defined conversion factors and counted quantities may be exact under declared conventions.
An exact symbolic value may still be evaluated numerically to limited precision.
12. SEMANTIC RELATIONSHIPS
ExactValue --is_a--> NumericValue.
ExactValue --contrasts_with--> ApproximateValue.
ExactValue --has_representation--> NumericExpression.
ExactValue --belongs_to--> NumericDomain.
ExactValue --may_have_unit--> Unit.
ExactValue --may_be_equivalent_to--> ExactValue.
ExactValue --may_be_approximated_by--> ApproximateValue.
ExactValue --derived_by--> ExactOperation.
13. KNOWLEDGE GRAPH TRIPLES
:one_half rdf:type :ExactValue .
:one_half :hasExpression "1/2" .
:one_half :hasNumericDomain :RationalNumber .
:two_quarters :semanticallyEquivalentTo :one_half .
:pi rdf:type :ExactValue .
:pi :hasNumericDomain :TranscendentalRealNumber .
:pi_estimate :approximates :pi .
14. INFERENCE RULES
R1: IntegerLiteral(n) and valid(n) => ExactValue(n).
R2: RationalPair(a,b) and Integer(a) and Integer(b) and b!=0 => ExactValue(a/b).
R3: ExactValue(a) and ExactValue(b) and ExactOperation(op,a,b) and Defined(op,a,b) => ExactValue(op(a,b)).
R4: EqualDenotation(a,b) and ExactValue(a) => ExactValue(b), if b denotes the same value without approximation semantics.
R5: ApproximationOf(a,b) does not imply EqualDenotation(a,b).
R6: RoundedResult(x) does not imply ExactValue(x) relative to its original unrounded source.
15. VALIDATION
check unique_denotation.
check declared_numeric_domain.
check division_denominator_nonzero.
check symbolic_assumptions_consistent.
check unit_compatibility.
check no_unlabelled_rounding.
check provenance_when_claimed.
check equality_by_value_not_string.
16. ERROR CONDITIONS
UndefinedExpression: invalid operation or missing assumptions.
AmbiguousRepresentation: -expression lacks sufficient context.
LossOfExactness: implicit floating-point conversion or rounding.
DomainMismatch: -expression evaluated outside declared domain.
UnitMismatch: incompatible dimensions or unit interpretations.
FalseEquivalence: approximate value incorrectly asserted equal to exact value.
17. CONFIDENCE
confidence.mathematical_definition: 1.0 for formal identities under stated axioms.
confidence.parsed_expression: derived from parsing and assumption checks.
confidence.empirical_claim: separate from exact mathematical representation.
Never infer mathematical exactness solely from high model confidence.
18. SEMANTIC EQUIVALENCE
semantic_equivalence(a,b) := same denotation in compatible context.
Examples: 0.25 == 1/4; sqrt(4) == 2 (principal square root).
Counterexample: 3.14 != pi.
Representation aliases must not override units, branch conventions or assumptions.
19. FLOW HASH
flow_hash.input: canonicalised ontology identifier, version, axioms, rules and relationships.
flow_hash.algorithm: SHA-256.
flow_hash.output: compute during publication; no fabricated digest.
flow_hash.purpose: detect changes to formal content.
20. UPDATE MODEL
update_model: versioned_semantic_revision.
on_change: revalidate dependent expressions, inferences, mappings and examples.
backwards_compatibility: preserve stable identifiers where meanings are unchanged.
provenance: retain revision date, author, rationale and source links.
21. AI CONSUMPTION
ai_consumption:
retrieval_key: ExactValueOntology
entity_resolution: distinguish exact value from its textual representation
reasoning: use symbolic arithmetic where exactness is required
numeric_output: annotate rounded approximations explicitly
uncertainty: keep empirical uncertainty separate from symbolic exactness
validation: enforce domain and unit constraints
graph_integration: link to NumericValue, ApproximateValue, RationalNumber, RealNumber and Measurement ontologies
22. EXECUTION EXAMPLES
input: {expression: "6/8", domain: Rational}
output: {canonical: "3/4", exact: true}
input: {expression: "sqrt(2)", domain: Real}
output: {canonical: "sqrt(2)", exact: true}
input: {expression: "1.41421356", intended_as: "approximation of sqrt(2)"}
output: {exact_relative_to_target: false, approximate: true}
input: {expression: "1/0", domain: Rational}
output: {error: UndefinedExpression}
23. INTEGRITY CONDITIONS
All asserted exactness must be contextualised by expression semantics.
Exactness is preserved by valid symbolic transformation, not guaranteed by floating-point evaluation.
Exact and approximate representations must remain distinguishable in graph edges.
All operations must obey mathematical domain restrictions.
END FLOW ALGEBRA