Skip to main content

Exact Solution Ontology

Computational Mathematical Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 14 October 2026
Audio Overview
FLOW ALGEBRA
EXACT SOLUTION ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Computational Mathematical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/computational-mathematical-entities/exact-solution-ontology.html
Version: 1.0 | Locale: en-GB | Status: Proposed formalisation; source text not independently verified
Authors: Mark Higgins — Sky (Recursive AI)

1. PURPOSE
Represent exact solutions to precisely specified mathematical or computational problems, distinguishing symbolic equality, exact arithmetic, verified satisfaction, uniqueness and optimality from numerical approximation.

2. TYPED ENTITIES
Problem := {id, domain, variables, constraints, objective?, assumptions, semantics}
ExactSolution := {id, problem_id, representation, value, certificate?, verification_status}
SolutionSet := {problem_id, members | symbolic_description}
Constraint := Predicate(Assignment) -> Boolean
Certificate := {kind, evidence, verifier, verification_result}
ExactRepresentation := Integer | Rational | AlgebraicNumber | SymbolicExpression | ExactCombinatorialObject | OtherExactObject
ApproximateSolution := {estimate, tolerance, error_bound?, precision}
VerificationStatus := UNCHECKED | VERIFIED | REJECTED | UNDECIDABLE_WITH_AVAILABLE_METHOD

3. FORMAL SEMANTICS
For a feasibility problem P with domain D and constraints C = {c_1,...,c_m}:
  Sol(P) = {x in D : for every i, c_i(x) = TRUE}.
  ExactSolution(x,P) iff x in Sol(P), under the declared interpretation.
For equation F(x)=0:
  ExactSolution(x,P) iff x in D and F(x)=0 exactly.
For minimisation with objective f:
  ExactOptimalSolution(x,P) iff x in Sol(P) and for every y in Sol(P), f(x) <= f(y).
For maximisation replace <= with >=.
Exactness does not entail uniqueness, computability in finite time, or a closed-form expression.

4. CORE INVARIANTS
I1: An exact solution must satisfy all specified constraints under the declared semantics.
I2: A symbolic expression is not automatically exact unless its denotation and equality are established.
I3: Numerical residual zero at finite precision alone does not prove exactness.
I4: Feasibility, optimality, uniqueness and completeness of the solution set are separate claims.
I5: If assumptions or domains change, previous verification may not remain valid.
I6: An exact object may have an approximate numerical display without losing its exact representation.

5. RELATIONSHIPS
ExactSolution --SOLVES--> Problem
ExactSolution --SATISFIES--> Constraint
ExactSolution --BELONGS_TO--> SolutionSet
ExactSolution --HAS_REPRESENTATION--> ExactRepresentation
Certificate --VERIFIES--> ExactSolution
ExactSolution --CONTRASTS_WITH--> ApproximateSolution
ExactOptimalSolution --SUBTYPE_OF--> ExactSolution
Problem --HAS_ASSUMPTION--> Assumption

6. EXECUTABLE FLOW: EXACT SOLUTION VALIDATION
flow "ValidateExactSolution" v1.0
input: problem:Problem, candidate:ExactSolution
preconditions:
  - candidate.problem_id == problem.id
  - problem.domain and semantics are defined
steps:
  - parse candidate representation without lossy numeric coercion
  - check membership(candidate.value, problem.domain)
  - evaluate each constraint with exact arithmetic or sound symbolic reasoning
  - if any constraint is FALSE: return REJECTED
  - if any check is UNKNOWN: return UNCHECKED
  - if all constraints are TRUE: return VERIFIED_FEASIBLE
  - if optimality is claimed: require an independently valid optimality proof
  - if uniqueness is claimed: require proof no distinct solution exists
outputs: status, checked_constraints, unresolved_obligations, certificate_reference

7. INFERENCE RULES
R1: [x in D AND all c_i(x)] => Feasible(x,P).
R2: [Feasible(x,P) AND proof(forall y in Sol(P), f(x)<=f(y))] => Optimal(x,P) for minimisation.
R3: [Feasible(x,P) AND proof(forall y in Sol(P), y=x)] => Unique(x,P).
R4: [ExactEquality(a,b)] => SubstitutionPermitted(a,b) in equality-preserving contexts.
R5: [OnlyFloatingPointEvidence(x)] => ExactnessNotEstablished(x).
R6: [ValidCertificate(c,x,P) AND SoundVerifier(c)] => Verified(x,P) for the certified claim only.

8. EXAMPLES
E1: x^2-2=0 over the real numbers: sqrt(2) and -sqrt(2) are exact solutions; 1.41421356 is an approximation.
E2: 3x=1 over rationals: x=1/3 is exact; decimal 0.3333 is not.
E3: x^2+1=0 over reals: no exact solution; over complex numbers: x=+i or -i.
E4: Minimise x^2 over real numbers: x=0 is an exact feasible and optimal solution, with uniqueness established separately.

9. SEMANTIC_EQUIVALENCE
"exact answer" ~= "exact solution" only where the answer satisfies the full problem specification.
"symbolic solution" is not always equivalent to "verified exact solution".
"analytical solution" is not universally synonymous with "closed-form solution".
"zero numerical residual" != "proof of exact satisfaction".
"feasible solution" != "optimal solution".

10. CONFIDENCE AND PROVENANCE
CONFIDENCE: {level: verified|supported|tentative, basis: proof|certificate|exact_computation|unverified_claim}
Provenance: retain source problem, domain, assumptions, derivation, verifier and verification version.
Never assign VERIFIED from model assertion alone.

11. VALIDATION
Check type integrity, domain membership, constraint satisfaction, exact representation preservation, certificate validity and claim scope. Report unresolved obligations rather than silently treating them as proved.

12. FLOW_HASH / UPDATE_MODEL
FLOW_HASH: SHA-256 of canonical UTF-8 serialisation of ontology ID, version, entity schema, invariants, relationships and rules; calculate at deployment, not pre-populated here.
UPDATE_MODEL: version changes when semantics, schema or inference rules change; invalidate affected verification caches and retain historical provenance.

13. AI_CONSUMPTION
Use for theorem assistants, symbolic solvers, constraint systems, exact optimisation and verified computational workflows. Distinguish mathematical proof from heuristic prediction. Return candidate, exact representation, assumptions, verification status, proof obligations and provenance. Do not claim that this textual specification is an executable proof checker without an implementation.

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