AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — AI SEMANTIC LIBRARY
CYCLE ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-04
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/process-concepts/cycle-ontology-3.html
Integration: AI Core / Entity Graph / Abstract Concepts / Process Concepts
Status: Proposed formalisation; published source and grammar not independently verified.
1. CANONICAL DEFINITION
A cycle is an ordered, non-empty sequence of transitions whose terminal state returns to its initial state or to a state equivalent under an explicitly declared observation or equivalence relation. A cycle may be a structural possibility in a transition graph or an observed occurrence in an execution history. These are distinct claims. Recurrence need not imply constant period, perpetual repetition, reversibility, stability or conservation of every resource. A feedback loop is a causal structure and need not produce periodic behaviour. A lifecycle described as cyclic may involve successive instances rather than restoration of the same individual.
2. ENTITY MODEL
Cycle = (id, subject, model, context, initial, transitions, terminal, equivalence, clock, interval, guards, resources, evidence, version, status).
CycleType defines admissible paths and closure criteria; CycleInstance identifies a particular execution. CycleOccurrence links an instance to an interval and trace. CyclePhase records a segment and its membership criteria. CycleBoundary defines a reference event for counting complete occurrences. CyclePeriod records elapsed time and uncertainty; CycleCount records completed occurrences under a specified counting convention.
Status ∈ {established, rejected, unknown, disputed, not_applicable}. Keep proposed, permitted and observed cycles separate. Identity of subject and model version must be explicit. Equivalence may be exact, quotient-based or tolerance-based; tolerance proximity must not be assumed transitive.
3. CLASSIFICATION
Structural: closed walk in a directed graph; simple cycle has no repeated interior vertices.
Temporal: repeated sequence with measured duration; periodic only if a declared repetition condition holds.
Physical: oscillation, thermodynamic cycle or rotating machinery.
Computational: control-flow loop, recurrent state trajectory or dependency cycle.
Biological: circadian rhythm or lifecycle recurrence; individual and population levels differ.
Operational: recurring workflow, maintenance or production cycle.
Feedback: closed causal path; dynamics may converge, oscillate or diverge.
Stochastic: return to a state or region under a probabilistic transition model.
Semantic: recurrence of a defined knowledge configuration or equivalence class.
Nested: cycles inside larger cycles, with separate boundary and counting rules.
4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f first, then g. These are proposed local specification operators, not a verified executable grammar.
F_scope: Subject × Context → Model
F_trace: Model × Evidence → Trace
F_path: Model × State × GuardSet → CandidatePaths
F_close: Trace × ClosurePolicy → ClosureAssessment
F_period: Trace × Clock → DurationAssessment
F_count: Trace × BoundaryPolicy → CountAssessment
F_class: Trace × Model × ClosureAssessment → CycleClassification
F_balance: Trace × ResourceLedger → BalanceAssessment
F_validate: CycleRecord × Evidence × Policy → ValidationResult
F_commit: Graph × ValidatedDelta → GraphVersion
F_refine: GraphVersion × EvidenceDelta → CandidateDelta
Each operator returns explicit unknown or error states when required inputs are absent. A closure assessment must retain its witness and policy version.
5. COMPOSITE FLOWS
Subject × Context →[F_scope] Model
Model × Evidence →[F_trace] Trace
Trace × ClosurePolicy →[F_close] ClosureAssessment
Trace × Clock →[F_period] DurationAssessment
Trace × BoundaryPolicy →[F_count] CountAssessment
Merge assessments by subject, trace identity and model version; incompatible claims remain disputed rather than being overwritten.
CycleRecord × Evidence × Policy →[F_validate] ValidationResult →[authorised commit] GraphVersion.
Sequential composition requires matching endpoints and compatible guards. Two closed paths at the same reference state can be concatenated, but the result need not be a simple cycle. Parallel cycles require a declared synchronisation policy; shared resources and conflicting writes must be checked. Nested cycles must distinguish local completion from completion of the enclosing cycle.
6. MATHEMATICAL SEMANTICS
Directed graph G=(V,E): a closed walk is v0,...,vn with n≥1, (vi,vi+1)∈E and vn=v0. A simple cycle additionally has distinct v0,...,v(n−1). A self-loop is a length-one cycle where permitted.
For deterministic discrete dynamics x[k+1]=F(x[k]), a periodic point satisfies F^p(x)=x for some integer p≥1. Its minimal period is the least such p. A fixed point has p=1; whether it counts as an operational cycle is a modelling decision.
For continuous dynamics, a periodic trajectory satisfies x(t+T)=x(t) for all relevant t, with T>0. One observed return alone does not establish this universal property. Constant trajectories are excluded when defining nontrivial oscillations.
For a trace, closure may be π(x_end)=π(x_start) for a declared projection π. Approximate closure d(x_end,x_start)≤ε requires a metric, units and tolerance. It does not prove exact periodicity.
Duration T=t_end−t_start; frequency f=1/T for constant positive period. For variable durations T_i, report individual values and sample mean ΣT_i/N; N/ΣT_i is the observed rate over contiguous complete cycles. Partial cycles and observation gaps must be accounted for separately.
For a finite deterministic map, every infinite trajectory eventually enters a periodic orbit; this does not generalise to arbitrary infinite state spaces.
For a Markov chain, first return time τ_i=inf{n≥1:X_n=i}. Recurrence means P_i(τ_i<∞)=1; positive recurrence additionally requires finite E_i[τ_i]. Neither implies deterministic periodicity. Chain period is gcd{n≥1:P^n(i,i)>0} where the set is non-empty.
For a conserved extensive quantity Q, ΔQ=Q_in−Q_out+Q_generated−Q_consumed under an appropriate balance law. Exact return of the stored quantity implies ΔQ=0, not zero throughput. Thermodynamic cycles return working-fluid state variables while exchanging heat and work; entropy production need not vanish.
7. STRUCTURAL INVARIANTS
I01: Every cycle references a subject and model version.
I02: Every structural cycle contains at least one transition.
I03: Adjacent transitions share compatible endpoints.
I04: Closure is evaluated under a declared relation and context.
I05: Approximate closure is never silently promoted to exact equality.
I06: Observed occurrence requires trace evidence, not merely graph reachability.
I07: Temporal duration requires ordered timestamps and a common clock basis.
I08: Cycle counts distinguish complete, partial and overlapping occurrences.
I09: Periodicity is not inferred from a single return without model justification.
I10: Resource balances are scoped to a declared boundary and quantity.
I11: Unknown or disputed evidence remains distinguishable from rejection.
I12: Refinement preserves provenance and does not bypass execution permissions.
8. RECURSIVE VALIDATION
Let G_k be the accepted graph version and E_k the new evidence. Compute candidate delta D_k=F_refine(G_k,E_k). Validate typed references, closure witnesses, clock consistency, resource balances and policy constraints. Commit only authorised valid deltas; otherwise retain the prior graph and record the rejection or unresolved conflict. Stop when no material delta remains, a declared tolerance is met, a repeated canonical graph hash reveals oscillation, or a resource budget is exhausted. A fixed point G*=R(G*) under unchanged evidence and policy is a property of the refinement operator, not proof that the ontology is true. Convergence requires additional assumptions, such as monotone updates on a finite-height lattice or contraction on a complete metric space. Do not assume these conditions for arbitrary knowledge updates.
9. EVIDENCE AND PROVENANCE
Record source identifier, acquisition time, event time, subject identity, model and policy version, measurement method, trace completeness, uncertainty and validation decision. Distinguish measured duration from inferred duration. Preserve censored return times and incomplete traces. Confidence scores are not probabilities unless calibrated. Independent observations must not be conflated with repeated copies of one source. Evidence of a possible closed path is insufficient evidence that the path executed. A changed observation projection can change the closure result without changing the physical trajectory.
10. WORKED EXAMPLES
A. Graph: A→B→C→A is a simple directed cycle. A→B→A→C→A is a closed walk, not a simple cycle.
B. Computation: F(x)=1−x on {0,1} gives 0→1→0, minimal period two. F(x)=x gives fixed points, not nontrivial oscillations.
C. Physics: ideal harmonic oscillator x(t)=A cos(ωt), v(t)=−Aω sin(ωt), with A≠0 and ω>0, returns to its phase-space state after 2π/ω. Position alone does not identify full state.
D. Engineering: a heat engine returns its working fluid to the initial thermodynamic state while exchanging heat and work. Closure does not imply zero energy transfer.
E. Workflow: inspect→repair→reinspect may repeat until acceptance. It is a structural loop but changing equipment condition prevents exact full-state closure.
F. Biology: successive generations repeat a lifecycle pattern under type-level equivalence; the parent and offspring are not the same individual.
G. AI knowledge: candidate→validate→revise→candidate may recur at the workflow level. If the knowledge graph alternates between two versions, detect oscillation rather than declaring convergence.
11. CROSS-ONTOLOGY INTEGRATION
Process Concept: cycle is a possible process structure or observed process occurrence.
Iteration: repeated applications may converge without returning to an earlier state.
State Transition Concept: supplies transition edges and execution witnesses.
State Space Concept: defines the state domain and projection used for closure.
Phase, Stage and Step: define segments and boundaries within occurrences.
Input and Output Concept: represent resource exchanges across cycle boundaries.
Transformation Process: supplies the component mappings of a closed composition.
Workflow Concept: models control-flow loops and guarded repetition.
Equilibrium and Stable State: distinguish fixed points and stable periodic orbits from general cycles.
Recursive Engineering Workflow: supports versioned refinement and oscillation detection.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: A→B→A, both edges present; expect exact structural closure.
T02: A→B with A≠B; expect no exact closure.
T03: A→A with valid self-loop; expect length-one structural cycle.
T04: A→B→A→C→A; expect closed walk, not simple cycle.
T05: Terminal distance 0.02, tolerance 0.05; expect approximate closure only.
T06: Graph contains cycle but no execution trace; expect structural possibility, observed occurrence unknown.
T07: Start 10 s, end 14 s on same clock; expect duration 4 s.
T08: Trace timestamps reversed; expect temporal validation failure.
T09: One observed return without periodic model; expect periodicity unknown.
T10: F(x)=1−x on {0,1}; expect minimal period two.
T11: Alternating graph hashes H1,H2,H1; expect refinement oscillation detected.
T12: Working-fluid state returns with nonzero heat/work exchange; expect closure compatible with nonzero throughput, subject to energy balance.
13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Cycle Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/process-concepts/cycle-ontology-3.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published page content, grammar compatibility and exact licence terms have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION