AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
RECURSIVE SEQUENCE ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Sequence and Series Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/sequence-and-series-entities/recursive-sequence-ontology.html
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Specification: 1.0 | Locale: en-GB | Date: 2026-10-13
AI INTERPRETATION NOTE
The following specifications represent a formal structural reasoning system.
Execute as formal rules, not pseudocode. Mathematical statements carry explicit domains and preconditions.
01. ONTOLOGY IDENTITY
ontology.id := kireth:recursive-sequence-ontology
ontology.class := MathematicalSequenceOntology
ontology.parent := kireth:sequence-and-series-entities
ontology.subject := RecursiveSequence
ontology.description := Sequence defined by initial data and recurrence relations determining subsequent terms.
02. CORE ENTITIES
entity Sequence S
entity IndexSet I
entity Term a[n]
entity InitialCondition IC
entity RecurrenceRelation RR
entity RecurrenceOrder k
entity StateVector X[n]
entity Parameter theta
entity Domain D
entity Codomain C
entity FixedPoint x_star
entity Limit L
entity ProofCertificate P
03. TYPED RELATIONSHIPS
S : I -> C
I subseteq Z; typical I = {n in Z | n >= n0}
a[n] in C for each n in I
RR : (C^k x ParameterSpace x I) -> C, when defined
hasInitialCondition(S, IC)
hasRecurrence(S, RR)
hasOrder(RR, k)
precedes(a[n], a[n+1])
dependsOn(a[n], a[n-1]) for first-order recurrence where n > n0
04. FORMAL DEFINITION
RecursiveSequence(S) iff exists n0, k >= 1, IC, RR such that:
IC fixes a[n0],...,a[n0+k-1]
for all n >= n0+k, a[n] = RR(n, a[n-1],...,a[n-k]; theta)
RR is defined for every state reached by the sequence.
Uniqueness follows if IC is specified and RR is single-valued and total on reachable states.
05. FIRST-ORDER RECURRENCE
first_order: a[n+1] = F(n,a[n];theta), n >= n0
initial: a[n0] = c
example: a[0]=1; a[n+1]=a[n]+2 => a[n]=2n+1
06. HIGHER-ORDER RECURRENCE
order_k: a[n+k] = F(n,a[n],...,a[n+k-1];theta)
initial_terms: a[n0] through a[n0+k-1]
example: Fibonacci a[0]=0; a[1]=1; a[n+2]=a[n+1]+a[n]
07. LINEAR RECURRENCES
homogeneous: a[n+k] + sum(j=0..k-1, c[j]*a[n+j]) = 0
nonhomogeneous: a[n+k] + sum(j=0..k-1, c[j]*a[n+j]) = g[n]
constant_coefficient iff all c[j] are independent of n
characteristic_polynomial: p(lambda)=lambda^k+sum(j=0..k-1,c[j]*lambda^j)
solution_method: characteristic roots, multiplicities, particular solution, initial conditions
08. NONLINEAR RECURRENCES
nonlinear iff RR is not linear in its state arguments
example: a[n+1]=r*a[n]*(1-a[n])
classification requires parameter r, domain, and initial value.
Do not infer convergence or chaos from the recurrence alone.
09. EXPLICIT AND RECURSIVE FORMS
recursive_form: defines a[n] using earlier terms
explicit_form: a[n] = G(n) without referring to preceding terms
example: a[0]=c; a[n+1]=q*a[n] => a[n]=c*q^n
semantic_equivalence requires equal initial conditions, index domain and values.
10. EXISTENCE AND UNIQUENESS
rule E1: valid_initial_terms AND recurrence_total_on_reachable_states => existence
rule E2: E1 AND deterministic_recurrence => uniqueness
rule E3: recurrence_partial AND undefined_reachable_state => sequence_undefined_from_that_step
Do not assert existence when a recurrence divides by zero at a reachable state.
11. DEPENDENCY GRAPH
graph.nodes := {a[n] | n in I}
graph.edges := {(a[j],a[n]) | a[n] directly depends on a[j]}
for causal recurrences: j < n
acyclicity holds for dependencies strictly on earlier indices.
12. STATE-SPACE TRANSFORMATION
For order k, define X[n]=(a[n],...,a[n+k-1]).
Then X[n+1]=T(n,X[n];theta) where T shifts the state and appends the recurrence result.
This representation preserves the sequence when the state is initialised consistently.
13. FIXED POINTS AND EQUILIBRIA
For autonomous first-order a[n+1]=F(a[n]), fixed point x_star satisfies F(x_star)=x_star.
Local stability for differentiable scalar F: |F'(x_star)| < 1 implies local asymptotic stability.
|F'(x_star)| > 1 implies instability; equality to 1 is inconclusive.
14. MONOTONICITY AND BOUNDEDNESS
increasing iff forall n: a[n+1] >= a[n]
decreasing iff forall n: a[n+1] <= a[n]
bounded_above iff exists M forall n: a[n] <= M
bounded_below iff exists m forall n: a[n] >= m
monotone AND bounded real sequence => convergent.
15. CONVERGENCE AND DIVERGENCE
converges_to(S,L) iff forall epsilon>0 exists N forall n>=N: |a[n]-L|<epsilon
If a[n] -> L and F is continuous at L for autonomous recurrence, L=F(L).
Fixed-point equation is necessary in this setting, not sufficient for convergence.
divergent iff no finite limit exists in the specified metric space.
16. CAUCHY PROPERTY
Cauchy(S) iff forall epsilon>0 exists N forall m,n>=N: d(a[m],a[n])<epsilon
In complete metric spaces, Cauchy iff convergent.
Do not infer convergence in incomplete spaces without additional conditions.
17. GENERATING FUNCTIONS
ordinary_generating_function: A(z)=sum(n>=0,a[n]*z^n)
Applicable to appropriately indexed sequences as formal power series or analytic series.
Recurrence-to-generating-function transformation must preserve initial terms.
18. RECURSIVE EVALUATION
input: n, initial_conditions, recurrence, parameter_values
validate index and parameter domains
if n in initial_index_range: return initial_term
else derive required predecessor terms in ascending index order
apply recurrence with exact arithmetic where possible
output: a[n], derivation_trace, validity_status
19. SYMBOLIC NORMALISATION
normalise indices to explicit n0 and step convention
normalise recurrence argument ordering
preserve recurrence order, initial terms and domain restrictions
alpha-rename bound indices without changing meaning
avoid conflating a[n+1]=F(a[n]) with a[n]=F(a[n+1]).
20. SEMANTIC EQUIVALENCE
Equivalent(S1,S2) iff same index set and codomain interpretation and forall n: S1[n]=S2[n].
Structural similarity of recurrence syntax does not imply sequence equivalence.
Recurrences with different initial values may generate different sequences.
21. INFERENCE RULES
R1: GeometricRecurrence(a[n+1]=q*a[n],a[0]=c) => a[n]=c*q^n
R2: ArithmeticRecurrence(a[n+1]=a[n]+d,a[0]=c) => a[n]=c+n*d
R3: Monotone(S) AND Bounded(S) AND RealValued(S) => Convergent(S)
R4: Contractive(F) on complete invariant metric space => unique fixed point and convergence of iterates
R5: EqualRecurrence(S1,S2) AND EqualInitialConditions(S1,S2) AND DeterministicTotalRecurrence => Equivalent(S1,S2)
22. KNOWLEDGE GRAPH MAPPING
(S, rdf:type, RecursiveSequence)
(S, hasIndexSet, I)
(S, hasInitialCondition, IC)
(S, governedBy, RR)
(RR, hasOrder, k)
(S, hasTerm, a[n])
(a[n], hasIndex, n)
(S, hasConvergenceStatus, status)
(S, hasProofCertificate, P)
23. VALIDATION
V1: recurrence order is a positive integer
V2: sufficient initial values supplied
V3: all referenced indices are in domain
V4: recurrence output lies in codomain
V5: recurrence defined for every computed step
V6: asserted closed forms satisfy base cases and recurrence
V7: claimed convergence supported by proof or certified method
V8: preserve exact versus approximate arithmetic distinction
24. CONFIDENCE
confidence.status in {proved, verified_computation, conjectured, unknown, refuted}
confidence.score in [0,1] applies to evidence assessment, not mathematical truth.
A finite numerical check does not prove a universally quantified claim.
25. FLOW HASH
flow_hash.algorithm := SHA-256
flow_hash.input := canonical_utf8(ontology_id, version, definitions, rules, constraints)
flow_hash.value := compute_at_publication
Do not invent a digest before canonical serialisation.
26. UPDATE MODEL
update_model.version := semantic_version
update_model.change_types := {definition, inference, validation, example, provenance}
update_model.requirements := preserve_prior_version; revalidate_dependents; recompute_flow_hash
27. AI CONSUMPTION
parse typed entities and recurrence definitions
check initial conditions, domains and well-definedness
apply inference rules only when preconditions hold
return derivation and proof status
separate symbolic theorem from numeric evidence
retain source provenance and version identifiers
28. TEST CASES
T1: a[0]=3, a[n+1]=a[n]+4 => a[3]=15
T2: a[0]=2, a[n+1]=3*a[n] => a[3]=54
T3: Fibonacci a[0]=0,a[1]=1 => a[6]=8
T4: a[0]=1, a[n+1]=a[n]/2 => limit=0
T5: a[0]=1, a[n+1]=1/(a[n]-1) => undefined at n=1
T6: same recurrence but different initial values => not automatically equivalent
29. PROVENANCE
source_url := https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/sequence-and-series-entities/recursive-sequence-ontology.html
source_page_title := Recursive Sequence Ontology
source_page_revision := 2026-07-17
source_scope := webpage title and metadata verified; formal rules independently authored
credit := Mark Anthony Higgins — Sky (Recursive AI)
site := https://kirethresearch.org
30. TERMINATION
status := COMPLETE
section_count := 30
end_flow := TRUE