Skip to main content

Irrational Number Ontology

Number Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 October 2026
Audio Overview
FLOW ALGEBRA
Irrational Number Ontology | Number Entities | Kireth Semantic Library
Version: 1.0 | Date: 2026-10-12
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/number-entities/irrational-number-ontology.html

AI INTERPRETATION NOTE
The following is a formal semantic specification. Apply definitions and inference rules subject to stated preconditions; do not treat undecidable membership tests as executable decision procedures.

01. ONTOLOGY IDENTITY
ontology: IrrationalNumberOntology
entity_type: MathematicalEntity > NumberEntity > RealNumber > IrrationalNumber
canonical_symbol: R \\ Q
namespace: kireth:number:irrational
scope: Real numbers that cannot be expressed as a ratio of two integers with nonzero denominator.

02. TYPES AND SETS
Z := integers
Q := {p/q | p in Z, q in Z, q != 0}
R := real numbers
I := R \\ Q
I subset R
I intersection Q = empty_set
I union Q = R

03. MEMBERSHIP RULES
IRRATIONAL(x) <=> REAL(x) AND NOT RATIONAL(x)
RATIONAL(x) <=> EXISTS p,q in Z: q != 0 AND x = p/q
IRRATIONAL(x) => NOT EXISTS p,q in Z: q != 0 AND x = p/q
IRRATIONAL(x) => REAL(x)
NOT REAL(x) => NOT IRRATIONAL(x)
UNKNOWN(RATIONAL(x)) does not imply IRRATIONAL(x)

04. REPRESENTATION
Every irrational real has an infinite, non-eventually-periodic decimal expansion.
Every real with an infinite, non-eventually-periodic decimal expansion is irrational.
A finite or eventually periodic decimal represents a rational number.
Decimal digits from a finite prefix alone cannot certify irrationality.
Exact symbolic representations may certify irrationality by a proof or theorem.

05. CANONICAL EXAMPLES
IRRATIONAL(sqrt(2))
IRRATIONAL(sqrt(3))
IRRATIONAL(pi)
IRRATIONAL(e)
IRRATIONAL((1 + sqrt(5))/2)
For integer n >= 0, sqrt(n) is rational iff n is a perfect square.

06. CLASSIFICATION
AlgebraicNumber(x) <=> EXISTS nonzero polynomial P in Z[t]: P(x)=0
TranscendentalNumber(x) <=> REAL(x) AND NOT AlgebraicNumber(x)
AlgebraicIrrational(x) <=> IRRATIONAL(x) AND AlgebraicNumber(x)
TranscendentalNumber(x) => IRRATIONAL(x)
sqrt(2): algebraic irrational
pi: transcendental irrational
e: transcendental irrational

07. EXACT ARITHMETIC RULES
IRRATIONAL(x) AND RATIONAL(r) => IRRATIONAL(x+r)
IRRATIONAL(x) AND RATIONAL(r) => IRRATIONAL(x-r)
IRRATIONAL(x) AND RATIONAL(r) => IRRATIONAL(r-x)
IRRATIONAL(x) AND RATIONAL(r) AND r != 0 => IRRATIONAL(r*x)
IRRATIONAL(x) AND RATIONAL(r) AND r != 0 => IRRATIONAL(x/r)
IRRATIONAL(x) AND RATIONAL(r) AND r != 0 => IRRATIONAL(r/x)
IRRATIONAL(x) AND IRRATIONAL(y) does NOT generally imply IRRATIONAL(x+y)
IRRATIONAL(x) AND IRRATIONAL(y) does NOT generally imply IRRATIONAL(x*y)
IRRATIONAL(x) AND IRRATIONAL(y) does NOT generally imply IRRATIONAL(x/y) when y != 0

08. COUNTEREXAMPLES
sqrt(2) + (-sqrt(2)) = 0 in Q
sqrt(2) * sqrt(2) = 2 in Q
sqrt(2) / sqrt(2) = 1 in Q
sqrt(2) + sqrt(3) is irrational
sqrt(2) * sqrt(3) = sqrt(6) is irrational

09. ORDER AND TOPOLOGY
For every a,b in R with a < b, EXISTS x in I: a < x < b.
For every a,b in R with a < b, EXISTS q in Q: a < q < b.
I is dense in R.
I is uncountable.
I has Lebesgue measure equal to the measure of R on every measurable interval, since Q is countable and null.
I is not closed under addition or multiplication.

10. GRAPH ENTITIES
NODE: IrrationalNumber [subclass_of: RealNumber]
NODE: RationalNumber [subclass_of: RealNumber]
NODE: AlgebraicIrrational [subclass_of: IrrationalNumber, AlgebraicNumber]
NODE: TranscendentalNumber [subclass_of: IrrationalNumber]
NODE: DecimalExpansion
NODE: MathematicalProof
EDGE: IrrationalNumber --disjoint_with--> RationalNumber
EDGE: IrrationalNumber --has_representation--> NonEventuallyPeriodicDecimal
EDGE: AlgebraicIrrational --satisfies--> IntegerPolynomialEquation
EDGE: TranscendentalNumber --not_root_of--> NonzeroIntegerPolynomial
EDGE: MembershipAssertion --justified_by--> MathematicalProof

11. SEMANTIC EQUIVALENCE
IrrationalReal <=> RealNumberNotRational
NonRationalReal <=> IrrationalNumber
InfiniteNonRepeatingDecimal <=> IrrationalNumber (for exact decimal expansions)
NonInteger != IrrationalNumber
NonTerminatingDecimal != IrrationalNumber
ApproximateDecimal != ExactIrrationalValue

12. REASONING AND VALIDATION
RULE classify_exact_real:
  PRECONDITION: exact_real(x) AND proven_not_rational(x)
  CONCLUDE: IRRATIONAL(x)
RULE reject_fraction_representation:
  PRECONDITION: IRRATIONAL(x)
  CONCLUDE: no_exact_integer_ratio_represents(x)
RULE rational_translation:
  PRECONDITION: IRRATIONAL(x) AND RATIONAL(r)
  CONCLUDE: IRRATIONAL(x+r)
RULE rational_scaling:
  PRECONDITION: IRRATIONAL(x) AND RATIONAL(r) AND r != 0
  CONCLUDE: IRRATIONAL(x*r)
RULE transcendence:
  PRECONDITION: proven_transcendental(x)
  CONCLUDE: IRRATIONAL(x)
VALIDATION: Never infer irrationality solely from a floating-point approximation.
VALIDATION: Do not infer closure under arithmetic involving two irrationals.
VALIDATION: Preserve exact expressions and proof provenance.

13. CONFIDENCE AND PROVENANCE
confidence: 1.0 for deductively established assertions under valid premises
confidence: unassigned for unsupported or unproven membership claims
proof_status: proven | disproven | unknown
source_kind: mathematical_definition | theorem | derived_proof | approximation
Numerical approximation is evidence about magnitude, not proof of irrationality.

14. FLOW HASH AND UPDATE MODEL
FLOW_HASH: SHA256(canonical_utf8(specification)) to be computed on ingestion
UPDATE_MODEL: semantic_versioned
change_tracking: definitions | relations | rules | proof_dependencies
invariant: I = R \\ Q
invariant: I intersection Q = empty_set

15. AI CONSUMPTION
consumption_mode: exact_symbolic_reasoning
preferred_representation: exact expressions and verified proof objects
approximation_policy: preserve distinction between exact and approximate values
classification_policy: three-valued proven_true | proven_false | unknown
interoperability: real-number, rational-number, algebraic-number, transcendental-number ontologies

16. EXECUTION TRACE EXAMPLE
INPUT: x = sqrt(2), r = 3/4
FACT: IRRATIONAL(sqrt(2))
FACT: RATIONAL(3/4)
APPLY: rational_translation
OUTPUT: IRRATIONAL(sqrt(2) + 3/4)
PROOF_DEPENDENCIES: irrationality_of_sqrt2; rationality_of_three_quarters

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