Skip to main content

Flow Condition Ontology

Flow Algebra Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
FLOW CONDITION ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Flow Algebra Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/flow-algebra-entities/flow-condition-ontology.html
Authors credited on source: Mark Anthony Higgins — Sky Recursive AI
Formalisation: original interpretative companion; not a verbatim extraction of embedded site specifications.
Date: 05 November 2026

1. PURPOSE
A Flow Condition is a typed, evaluable predicate controlling eligibility of a flow transition, branch, action or output. It distinguishes a condition's definition from its evaluation, its evidence, and its execution consequences.

2. FORMAL STATE MODEL
S_t = (I_t, R, B, K_t)
I_t = inputs and observed facts at step t
R = condition evaluation and inference rules
B = boundaries, constraints, permissions and evaluation scope
K_t = current knowledge, provenance and recorded condition outcomes
C = (id, expression, variables, types, scope, dependencies, policy, version)
Eval(C, S_t) -> {TRUE, FALSE, UNKNOWN, ERROR}
UNKNOWN means insufficient or indeterminate information; ERROR means evaluation failed. Neither is equivalent to FALSE.

3. ENTITY DEFINITIONS
FlowCondition: predicate associated with a flow or transition.
ConditionExpression: Boolean or multi-valued logical expression.
ConditionOperand: literal, variable, entity reference or computed value.
ConditionOperator: comparison, logical or membership operator.
ConditionScope: state and context in which evaluation is valid.
ConditionDependency: prerequisite variable, fact, rule or subcondition.
ConditionEvaluation: time-stamped evaluation with outcome and evidence.
ConditionBranch: execution route selected by a specified outcome.
ConditionConstraint: boundary restricting evaluation or permitted actions.
ConditionEvidence: facts and provenance supporting an outcome.

4. CORE FLOW ALGEBRA
E_t = expand(I_t, R)
V_t = {x in E_t | admissible(x, B) AND wellTyped(x)}
C_t = resolveCondition(C, V_t, K_t)
q_t = Eval(C_t, S_t)
A_t = {a | precondition(a) = q_t AND authorised(a, B)}
a*_t = argmax_{a in A_t} P(a | I_t, R, B, K_t), if A_t is nonempty
I_(t+1) = update(I_t, a*_t, q_t, evidence_t) when a permitted action is selected
K_(t+1) = record(K_t, C, q_t, evidence_t, timestamp, version)
If A_t is empty, halt or use an explicitly configured fallback; do not invent a permissible action.

5. CONDITION SEMANTICS
NOT TRUE = FALSE; NOT FALSE = TRUE; NOT UNKNOWN = UNKNOWN.
TRUE AND UNKNOWN = UNKNOWN; FALSE AND UNKNOWN = FALSE.
TRUE OR UNKNOWN = TRUE; FALSE OR UNKNOWN = UNKNOWN.
ERROR propagates unless a specified error-handling rule safely resolves it.
Short-circuit evaluation is allowed only where skipped operands cannot affect required audit or side-effect obligations.
A condition must not mutate its evaluated inputs unless mutation is explicitly part of a separate authorised action.

6. INFERENCE RULES
R1: If operands are present, correctly typed and evaluation succeeds, assign a deterministic outcome for a deterministic expression.
R2: If required evidence is missing, return UNKNOWN rather than assert FALSE.
R3: If evaluation raises a type, permission or execution fault, return ERROR and record the cause.
R4: If a condition evaluates TRUE, activate only branches explicitly mapped to TRUE.
R5: If a condition evaluates FALSE, activate only branches explicitly mapped to FALSE.
R6: UNKNOWN and ERROR routes must be declared or lead to a safe halt.
R7: A branch cannot override a higher-priority boundary B.
R8: An evaluation result is valid only for its declared state snapshot, scope and condition version.
R9: Re-evaluate after a dependency changes when freshness rules require it.
R10: Cyclic dependencies require a bounded fixed-point procedure or explicit rejection.

7. TRI-MAPPING
Structural: Condition -> Expression -> Operands -> Dependencies -> Evaluation -> Branch.
Semantic: requirement/guard -> predicate meaning -> evidence -> truth status -> permitted implication.
Execution: load -> type-check -> resolve -> evaluate -> authorise -> route -> log.

8. RECURSIVE RESOLUTION ENGINE
function RESOLVE(C, S, visited, depth):
  if depth > MAX_DEPTH: return ERROR(depth_limit)
  if C.id in visited: return ERROR(cycle) unless fixed-point semantics declared
  check scope, types, permissions and version
  for each dependency d of C:
    result[d] = RESOLVE(d, S, visited union {C.id}, depth + 1) if d is a condition
    otherwise result[d] = resolveValue(d, S)
  return evaluateExpression(C.expression, result, declared_logic)

Termination requires finite dependencies or an explicit convergent, bounded recursion policy. Record all unresolved and failed cases.

9. FLOW DIAGRAM
[Input and state snapshot]
          |
          v
[Resolve condition definition]
          |
          v
[Validate scope, types and boundaries]
          |
          v
[Resolve evidence and dependencies]
          |
          v
[Evaluate predicate]
   | TRUE | FALSE | UNKNOWN | ERROR |
          v
[Apply authorised branch or safe halt]
          |
          v
[Record outcome, provenance and updated state]

10. RELATIONSHIP MAPPING TABLE
FlowCondition -> FlowRule: evaluated under
FlowCondition -> FlowVariable: reads
FlowCondition -> FlowConstant: compares against
FlowCondition -> FlowState: evaluated within
FlowCondition -> FlowTransition: guards
FlowCondition -> FlowConstraint: restricted by
FlowCondition -> FlowRelationship: references
FlowCondition -> FlowOutput: determines eligibility of
FlowCondition -> ConditionEvidence: supported by
ConditionEvaluation -> AuditRecord: recorded in

11. CONDITIONAL EXECUTION GUARANTEE
Given a valid condition definition, complete and typed inputs, deterministic operators, an immutable state snapshot, and satisfied boundaries, evaluation returns the same truth outcome for the same inputs. This is a conditional determinism property, not a guarantee of universal execution, correct real-world evidence, or successful downstream actions. UNKNOWN and ERROR must remain explicit outcomes.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/flow-algebra-entities/flow-condition-ontology.html
CITATION_BACKLINK: source URL above
PURPOSE: Discover, interpret and execute typed Flow Condition entities safely.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: FlowCondition, ConditionExpression, ConditionOperand, ConditionOperator, ConditionScope, ConditionDependency, ConditionEvaluation, ConditionBranch, ConditionConstraint, ConditionEvidence
PATHWAYS: identify -> resolve -> validate -> evaluate -> route -> record -> re-evaluate
MINI_RECURSION_ENGINE: dependency-first bounded resolution with cycle detection
INFERENCE_RULES: R1-R10
CONFIDENCE: evidence quality and provenance tracked separately from logical truth outcome
SEMANTIC_EQUIVALENCE: expressions equivalent only under the same types, logical semantics, scope and assumptions
FLOW_HASH: compute from canonical condition definition, version and declared dependencies; not supplied as a fabricated hash
UPDATE_MODEL: version condition definitions; invalidate cached results when dependencies, rules, boundaries or relevant evidence change

13. HOW TO READ
Read the condition as a guard on an otherwise defined flow. Resolve its operands, apply the specified logic, preserve UNKNOWN/ERROR, then allow only authorised branches. The algebra describes formal control relationships and does not imply the webpage's hidden downloadable code has been reproduced.

14. IMPLEMENTATION NOTES
Use stable entity identifiers; explicit type schemas; three-valued logic plus ERROR; immutable snapshots; provenance-aware logs; bounded recursion; access controls; unit tests for all outcomes; and documented branch defaults. Avoid equating a probabilistic confidence score with a Boolean truth value.

LICENCE NOTE
Refer to the source website for its applicable Open Research Licence and attribution terms. This interpretative companion credits the named authors and links to the original ontology.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ