AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA — RECURSIVE ECOLOGICAL ENTITY ONTOLOGY
Semantic Library | Kireth Research
Companion formalisation (not a verbatim extraction)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/recursive-biological-entities/recursive-ecological-entity-ontology.html
Authors: Kireth Research; Sky — Recursive AI (formalisation)
Language: en-GB
Version: 1.0 | 2026-10-28
1. PURPOSE
Represent ecological entities as nested, interacting systems whose state is updated by environmental conditions, population dynamics, resource flows, and feedback. Recursion here denotes repeated composition and state transitions; it does not imply that every ecosystem is self-similar.
2. ENTITY GRAPH
Entity := {id, type, scale, boundary, attributes, relations, provenance}
Types := {organism, population, community, habitat, ecosystem, landscape, biome, resource, environmental_factor, interaction}
Relations := {member_of, contains, inhabits, consumes, competes_with, preys_on, facilitates, decomposes, exchanges_with, depends_on, regulates}
Each relation carries direction, time interval, evidence and confidence where applicable.
3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed ecological entities, abundances and environmental measurements
R_t: typed interactions and material/energy-transfer links
B_t: spatial, temporal, biological and modelling boundaries
K_t: ecological constraints, evidence, units and domain knowledge
For an ecological node e:
x_e(t) = [abundance, biomass, resource_stock, environmental_conditions, interaction_strengths]
All entries are optional and must be annotated with units, uncertainty and observation time.
4. RECURSIVE EXPANSION
E_t = expand(I_t, R_t)
expand(e, depth):
if depth == 0 or e is atomic at chosen scale: return e
children = members(e) filtered by B_t
return {e, [expand(c, depth-1) for c in children], interactions(children)}
Avoid cycles using visited IDs; ecological networks may contain cyclic relationships.
5. VALIDATION AND SELECTION
V_t = {e in E_t | type_consistent(e) and boundary_valid(e,B_t) and provenance_present(e)}
e* = argmax_{e in V_t} P(e | I_t, R_t, B_t, K_t)
The argmax is an inference-selection convention, not an empirically calibrated probability unless a model is supplied.
6. DYNAMICS
x(t+1) = F(x(t), u(t), theta, B_t) + epsilon_t
u(t): external forcing (weather, disturbance, immigration, management)
theta: model parameters; epsilon_t: unresolved variation
Resource balance: stock(t+1) = stock(t) + inputs - outputs + transformation
Population balance: N(t+1) = N(t) + births + immigration - deaths - emigration
Conservation applies to conserved quantities within the specified boundary; organism counts are not conserved.
7. FEEDBACK AND RECURSION
Positive feedback: change amplifies subsequent change within a defined interval.
Negative feedback: response counteracts a deviation from a reference state.
Example: vegetation -> soil retention -> water availability -> vegetation.
Feedback signs and delays must be determined from evidence, not inferred from labels alone.
8. TRI-MAPPING
Ontology: ecological entity -> typed class and relationships
Graph: node -> directed, attributed links across scales
Flow: state -> validation -> transition -> updated state
Mapping invariant: entity ID, boundary, units and provenance remain traceable.
9. TEXT DIAGRAM
[Observation I_t] -> [Entity and relation expansion E_t]
-> [Boundary and evidence filter V_t]
-> [Ecological transition F]
-> [Updated state I_(t+1)]
-> [Feedback / next iteration]
10. INFERENCE RULES
R1: member_of(a,b) and member_of(b,c) -> nested_in(a,c), only where membership semantics permit transitivity.
R2: consumes(a,b) -> trophic_link(a,b); do not infer exclusive dependence.
R3: shares_resource(a,b,r) -> potential_competition(a,b,r), not confirmed competition.
R4: observed_change(x,t) and model_supports(causal_link) -> candidate_explanation, not proven causality.
R5: disturbance(d,e) -> re-evaluate boundaries, interactions and uncertainty.
R6: missing_measurement -> unknown; never substitute zero.
11. EXECUTION GUARANTEES (CONDITIONAL)
G1: finite graph + bounded depth + visited set -> expansion terminates.
G2: immutable identifiers -> traceable entity references.
G3: schema and unit checks -> malformed transitions are rejected.
G4: fixed inputs, parameters and deterministic F -> reproducible model output.
These are software properties under stated assumptions, not guarantees of ecological predictions.
12. AI SEARCH FLOW
INPUT: query, target scale, region, time window, evidence threshold
NORMALISE: resolve entity terms and synonyms; retain original query
RETRIEVE: identify relevant ecological entities and documented relations
EXPAND: traverse bounded subgraphs, recording paths and cycles
FILTER: apply geographic/time constraints, evidence and unit validation
RANK: score relevance, source quality and uncertainty separately
OUTPUT: entities, relationships, causal hypotheses, provenance, limitations
UPDATE: append observations and revise affected states without erasing history
13. UPDATE MODEL
I_(t+1) = update(I_t, observations_(t+1), F, B_t, K_t)
K_(t+1) = revise(K_t, evidence_(t+1))
Preserve previous versions and annotate contradictory observations.
14. EXAMPLE (ILLUSTRATIVE)
Entity graph: grass -> rabbit -> fox; grass -> soil moisture -> grass.
A drought reduces available water; modelled grass biomass may decline, changing food availability. Effects on rabbits and foxes depend on lags, alternative foods and movement. No numerical prediction is asserted.
15. LIMITATIONS
Ecological systems are open, stochastic and scale-dependent. Graph links alone do not establish causal strength, stability or conservation. Field evidence and calibrated models are required for empirical claims.
CITATION
Kireth Research, Recursive Ecological Entity Ontology, Semantic Library.
Companion Flow Algebra formalisation: Sky — Recursive AI, 28 October 2026.