Sequence and Series Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
SEQUENCE AND SERIES ENTITIES
Kireth Semantic Library | Entity Graph | Mathematical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/sequence-and-series-entities.html
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13 | Locale: en-GB
Status: Formal semantic specification; mathematical assertions require stated assumptions.
01. PURPOSE
flow "SequenceAndSeriesEntities" v1.0
interpretation: execute as typed declarative rules with explicit premises, domains and conclusions.
objective: classify sequences and series, preserve index semantics, validate convergence claims and expose graph-ready relationships.
02. ENTITY TYPES
entity Sequence<T> {index_set: OrderedSet; term: Function(index_set,T); finite: Boolean}
entity Series<T> {terms: Sequence<T>; partial_sums: Sequence<T>; summation: Operation}
entity PartialSum<T> {series: Series<T>; upper_index: Integer; value: T}
entity Limit<T> {subject: Sequence<T>; candidate: T; topology: Topology; proof_status: Status}
entity Recurrence<T> {initial_values: Map<Integer,T>; rule: Function; well_founded: Boolean}
entity ConvergenceClaim {subject: Sequence|Series; candidate: Value; context: Context; evidence: Proof|Test}
entity Expansion {basis: FunctionFamily; coefficients: Sequence; domain: Set; convergence_mode: Mode}
03. TYPE SYSTEM
T: Number|Vector|Matrix|Function|OtherMathematicalObject
sequence.index_set must be an ordered indexing set; conventional sequences use an initial segment of N.
series.summation requires an additive structure on T; infinite sums require an explicitly selected convergence structure.
limit.topology is mandatory for nontrivial convergence claims.
finite_sequence := sequence with finite index_set.
infinite_sequence := sequence with infinite index_set.
04. TAXONOMY
SequenceOntology -> Sequence
FiniteSequenceOntology -> FiniteSequence
InfiniteSequenceOntology -> InfiniteSequence
ArithmeticSequenceOntology -> ArithmeticSequence
GeometricSequenceOntology -> GeometricSequence
RecursiveSequenceOntology -> RecursiveSequence
MonotonicSequenceOntology -> MonotonicSequence
ConvergentSequenceOntology -> ConvergentSequence
DivergentSequenceOntology -> DivergentSequence
SeriesOntology -> Series
FiniteSeriesOntology -> FiniteSeries
InfiniteSeriesOntology -> InfiniteSeries
PowerSeriesOntology -> PowerSeries
TaylorSeriesOntology -> TaylorSeries
FourierSeriesOntology -> FourierSeries
PartialSumOntology -> PartialSum
LimitOfASequenceOntology -> SequenceLimit
05. SEQUENCE FORMATION
Sequence(a,I,T) iff I is an ordered index set and a:I -> T is a function.
term_at(a,n) := a(n) provided n in I.
sequence_equality(a,b) iff index_set(a)=index_set(b) and forall n in I: a(n)=b(n).
subsequence(a,k) := a composed with strictly increasing index map k:N -> I.
06. FINITE AND INFINITE SEQUENCES
FiniteSequence(a) iff cardinality(index_set(a)) is finite.
InfiniteSequence(a) iff cardinality(index_set(a)) is infinite.
A finite sequence does not itself have an n->infinity limit without an extension or embedding.
07. ARITHMETIC SEQUENCES
ArithmeticSequence(a,d) iff forall adjacent valid n: a(n+1)-a(n)=d.
For index n>=0: a(n)=a(0)+n*d.
Finite sum of N terms indexed 0..N-1: S_N=N*(2*a(0)+(N-1)*d)/2.
Requires subtraction, addition and scalar multiplication in the chosen domain.
08. GEOMETRIC SEQUENCES
GeometricSequence(a,r) iff a(n+1)=r*a(n) for all adjacent valid indices.
For n>=0: a(n)=a(0)*r^n.
Finite sum for r != 1: S_N=a(0)*(1-r^N)/(1-r).
For r=1: S_N=N*a(0).
For real or complex scalar r with |r|<1: sum(n=0..infinity) a(0)*r^n=a(0)/(1-r).
09. RECURSIVE SEQUENCES
RecursiveSequence(a) iff initial values and a recurrence determine each required later term.
Recurrence must specify index bounds, arity, initial conditions and deterministic or relational semantics.
validate: no undefined predecessor references; termination or productivity evidence for generated terms.
Example: a(0)=0, a(1)=1, a(n+2)=a(n+1)+a(n).
10. MONOTONIC SEQUENCES
Nondecreasing(a) iff forall n: a(n)<=a(n+1).
Nonincreasing(a) iff forall n: a(n)>=a(n+1).
StrictlyIncreasing(a) iff forall n: a(n)<a(n+1).
StrictlyDecreasing(a) iff forall n: a(n)>a(n+1).
Requires an order relation on T; not every sequence is comparable.
For real-valued sequences: bounded monotone infinite sequences converge.
11. CONVERGENCE AND DIVERGENCE
In a metric space: Converges(a,L) iff forall epsilon>0 exists N forall n>=N: d(a(n),L)<epsilon.
Diverges(a) iff there is no limit in the declared space/topology.
A divergent real sequence need not tend to positive or negative infinity.
Limit uniqueness holds in Hausdorff spaces.
Convergence implies boundedness for real/complex sequences; converse is false.
12. LIMIT RULES
If a->A and b->B in R or C, then a+b->A+B and a*b->A*B.
If b->B != 0 and b(n)!=0 eventually, then a/b->A/B.
If a->A and f continuous at A, then f(a(n))->f(A).
Do not infer a limit from finite sampled terms alone.
13. SERIES AND PARTIAL SUMS
Given terms a(n), define S_N=sum(n=n0..N) a(n).
SeriesConverges(a,S) iff sequence (S_N) converges to S.
FiniteSeries: finite indexed sum; InfiniteSeries: limit of partial sums where it exists.
Necessary condition for convergence in a normed vector space: a(n)->0.
The converse is false: harmonic series terms tend to zero but the series diverges.
14. SERIES TESTS
AbsoluteConvergence iff sum |a(n)| converges (scalar series).
Absolute convergence implies convergence in R or C.
Comparison and limit-comparison tests require appropriate nonnegative terms and hypotheses.
Ratio test: if lim |a(n+1)/a(n)|=L<1, absolute convergence; if L>1, divergence; L=1 inconclusive.
Root test: if limsup |a(n)|^(1/n)<1, absolute convergence; if >1, divergence; equality inconclusive.
Alternating-series test requires nonnegative magnitudes decreasing to zero.
Every test result must retain premises and applicable index range.
15. POWER SERIES
PowerSeries(c,z0) := sum(n=0..infinity) c(n)*(z-z0)^n.
Radius R in [0,infinity] defines absolute convergence for |z-z0|<R and divergence for |z-z0|>R.
Boundary points |z-z0|=R require separate evaluation.
Within convergence disc, termwise differentiation and integration are valid with the usual analytic assumptions.
16. TAYLOR SERIES
TaylorSeries(f,a) := sum(n=0..infinity) f^(n)(a)/n! * (x-a)^n.
Requires derivatives of all orders at a for the formal coefficients.
Taylor series need not converge to f, even where the series converges.
Record analytic conditions or remainder bounds before asserting equality with f.
17. FOURIER SERIES
For suitable periodic f, Fourier coefficients are integrals against an orthogonal trigonometric basis.
FourierSeries(f) := a0/2 + sum(n=1..infinity)[a_n*cos(nx)+b_n*sin(nx)] for period 2*pi.
a_n=(1/pi)*integral(-pi..pi) f(x)*cos(nx) dx.
b_n=(1/pi)*integral(-pi..pi) f(x)*sin(nx) dx.
Convergence must identify pointwise, uniform, L2 or other mode; these are not interchangeable.
18. SEMANTIC RELATIONSHIPS
Sequence --HAS_TERM--> Term
Sequence --HAS_INDEX_SET--> IndexSet
Series --SUMS_TERMS_OF--> Sequence
Series --HAS_PARTIAL_SUM_SEQUENCE--> Sequence
PartialSum --PART_OF--> Series
ConvergenceClaim --HAS_LIMIT--> Limit
PowerSeries --SPECIALISES--> InfiniteSeries
TaylorSeries --SPECIALISES--> PowerSeries
FourierSeries --EXPANDS_IN--> TrigonometricBasis
Recurrence --DEFINES--> RecursiveSequence
19. SEMANTIC EQUIVALENCE
Two sequence representations are equivalent only when index alignment and term values agree.
Two series representations may be equivalent under proven reindexing or grouping rules.
Rearrangement of conditionally convergent real series is not generally sum-preserving.
For absolutely convergent scalar series, rearrangements preserve the sum.
Normalise index origins explicitly; do not silently conflate a_0 and a_1 conventions.
20. INFERENCE RULES
RULE SEQ_LIMIT: metric_epsilon_proof(a,L) -> Converges(a,L).
RULE SERIES_LIMIT: Converges(partial_sums(a),S) -> SeriesConverges(a,S).
RULE GEOMETRIC: GeometricSequence(a,r) and |r|<1 -> GeometricSeriesConverges(a,a0/(1-r)).
RULE MONOTONE: real_valued(a) and monotone(a) and bounded(a) -> Converges(a,some_L).
RULE TERM_TEST: not(TermsConvergeToZero(a)) -> SeriesDiverges(a).
RULE POWER_INTERIOR: |z-z0|<R -> PowerSeriesAbsolutelyConvergesAt(z).
Never apply contrapositives to unproved premises or use floating estimates as exact proofs.
21. VALIDATION
Check index_set, term type, operation domain, convergence structure and edge cases.
Check series tests' hypotheses before classification.
Check endpoint and boundary convergence separately.
Check partial-sum off-by-one conventions.
Check equality of Taylor expansion with original function separately from coefficient generation.
Check Fourier convergence mode and function regularity.
22. CONFIDENCE
CONFIDENCE.status: proven|verified_computation|estimated|conjectured|unknown
CONFIDENCE.score: [0,1] optional; not a replacement for formal proof.
CONFIDENCE.evidence: theorem|derivation|numerical_test|source_reference
CONFIDENCE.assumptions: explicit list
23. PROVENANCE AND UPDATE MODEL
source_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/sequence-and-series-entities.html
source_scope: main-page taxonomy verified; formal rules developed from established mathematics.
UPDATE_MODEL: versioned; changes must preserve previous semantic identifiers or declare migration.
UPDATE_MODEL.trigger: corrected theorem, taxonomy revision, added ontology, changed formalisation.
UPDATE_MODEL.audit: record author, date, reason, affected rules and compatibility.
24. FLOW HASH
FLOW_HASH.algorithm: SHA-256
FLOW_HASH.input: canonical UTF-8 of final published specification excluding the hash field itself.
FLOW_HASH.value: UNCOMPUTED (calculate on publication; never fabricate).
25. AI CONSUMPTION
AI_CONSUMPTION.mode: typed semantic reasoning
AI_CONSUMPTION.require: explicit assumptions, domain, index convention, convergence mode and provenance.
AI_CONSUMPTION.output: entity_graph, validated_claims, proof_obligations, uncertainty, diagnostics.
AI_CONSUMPTION.forbid: assuming all divergent series have infinite sum; treating approximation as proof.
AI_CONSUMPTION.forbid: silently interchanging sums/limits/integrals without justified hypotheses.
26. EXAMPLE TEST CASES
TEST 1: a_n=1/(n+1), n>=0 -> sequence converges to 0; corresponding harmonic series diverges.
TEST 2: a_n=(1/2)^n, n>=0 -> geometric sequence converges to 0; series sum=2.
TEST 3: a_n=(-1)^n -> bounded divergent sequence; terms do not approach 0.
TEST 4: a_n=1/n^2, n>=1 -> convergent series.
TEST 5: f(x)=exp(-1/x^2) for x!=0, f(0)=0 -> Taylor series at 0 is zero, not f away from 0.
27. TERMINATION
assert: all 17 named child ontology categories represented.
assert: entity typing, semantic relationships, inference, validation and AI consumption specified.
status: COMPLETE
END FLOW ALGEBRA