Skip to main content

Chapter 6
Self-Consistency as Survival Condition

Logic & Structural Consistency
Authors: Mark Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 21 October 2026
Audio Overview

Introduction

The Foundations book forms part of the Kireth Research Open Semantic Library and provides an introduction to the fundamental concepts, principles and relationships that underpin structured knowledge, scientific reasoning and Flow Algebra.

While the full book is being developed, you can explore its core ideas through the Flow Algebra provided on this page, supported by a plain-English explanation and an audio introduction.

You can listen to the audio to gain an understanding of the foundational concepts and how they connect to wider areas of mathematics, science, logic and artificial intelligence.

Runs In Any LLM

You can also copy and paste the Flow Algebra into any Large Language Model (LLM), such as ChatGPT, Claude or Gemini, and ask it to explain the concepts, explore the underlying theories, provide practical examples or investigate relationships in greater depth.

The structured Flow Algebra gives the AI a semantic framework from which to develop explanations and answer your questions, allowing you to explore the Foundations material interactively and at your own pace. AI-generated explanations should be treated as learning aids and important claims verified against reliable scientific sources. All material is made openly available to encourage independent learning, research and the free exchange of knowledge.

FLOW ALGEBRA
FOUNDATIONS — CHAPTER 6: SELF-CONSISTENCY AS SURVIVAL CONDITION
Version: 1.0 | Status: Research model / conceptual specification
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/foundations/chapters/section-name/logic-structural-consistency/chapter-6-self-consistency-as-survival-condition.html

flow "SelfConsistencyAsSurvivalCondition" v1.0

# PURPOSE
# Explore the proposal that a recursively evolving formal system remains
# structurally viable only while its states satisfy defined consistency,
# boundary and invariant constraints and permit admissible continuation.
# This is a model-specific survival criterion, NOT a demonstrated universal
# physical law. An inconsistent formal theory and a physical system's
# destruction are distinct concepts.

# ---------- TYPES ----------
type State              = structured_configuration
type RuleSet            = set<transition_rule>
type Constraint         = predicate<State>
type Invariant          = predicate<State>
type BoundaryCondition  = predicate<State>
type CandidateSet       = set<State>
type ValidStateSet      = set<State>
type Contradiction      = incompatible_requirements
type Status             = {VIABLE, BLOCKED, INCONSISTENT, TERMINATED}

# ---------- ENTITIES ----------
entity System:
  attributes: [state_space, rules, constraints, boundaries, invariants]
entity CurrentState:
  type: State
entity Transition:
  type: RuleSet
entity CandidateContinuation:
  type: State
entity AdmissibleContinuation:
  type: State
entity StructuralConsistency:
  type: predicate<State>
entity RecursiveViability:
  type: predicate<State>
entity FailureCondition:
  type: Status

# ---------- RELATIONSHIPS ----------
relationship GENERATES: CurrentState -> CandidateContinuation
relationship FILTERS: Constraint -> CandidateContinuation
relationship PRESERVES: Transition -> Invariant
relationship RESTRICTS: BoundaryCondition -> ValidStateSet
relationship VALIDATES: StructuralConsistency -> AdmissibleContinuation
relationship EXTENDS: AdmissibleContinuation -> CurrentState
relationship PREVENTS: Contradiction -> AdmissibleContinuation

# ---------- FORMAL MODEL ----------
# X: all model states; R(x,y): permitted transition from x to y.
# C(x): all state constraints hold.
# B(x): all boundary conditions hold.
# K(x): all invariants required at x hold.
# L(x): chosen consistency predicate holds at x.
# The predicates must be explicitly defined in an implementation.

state_space: X
transition_relation: R subseteq (X x X)
admissible(x): C(x) AND B(x) AND K(x) AND L(x)

candidate_set(x): { y in X | R(x,y) }
valid_continuations(x): { y in candidate_set(x) | admissible(y) }

local_viability(x): admissible(x) AND (valid_continuations(x) != empty_set)

# Recursive viability on a finite graph is the greatest fixed point:
# F(S) = { x in X | admissible(x) AND exists y in S: R(x,y) }
# Viable = greatest_fixed_point(F).
# Thus every state in Viable has a successor also in Viable.
# For infinite systems, this interpretation requires explicit assumptions
# about state spaces, admissible paths and allowed choices.

recursive_viability(x): x in greatest_fixed_point(F)

# ---------- EXECUTION ----------
process evaluate_state(x):
  require x in X
  if NOT admissible(x):
    return INCONSISTENT
  candidates = candidate_set(x)
  valid = {y in candidates | admissible(y)}
  if valid == empty_set:
    return BLOCKED
  if recursive_viability(x):
    return VIABLE
  return TERMINATED  # admissible next steps exist, but no infinite valid path

# ---------- INVARIANTS ----------
invariant I1: every selected state satisfies C AND B AND K AND L
invariant I2: every selected transition belongs to R
invariant I3: a declared preserved property is checked at each transition
invariant I4: recursive viability requires at least one recursively viable successor
invariant I5: no physical survival claim follows solely from formal viability

# ---------- LOGICAL DISTINCTIONS ----------
# Classical logical consistency: no contradiction is derivable in a
# specified formal calculus (under the relevant definitions).
# State admissibility: model predicates are jointly satisfied.
# Recursive viability: there exists an unbounded path of admissible states.
# These are related but not equivalent without additional premises.
# A process may legitimately terminate while remaining consistent.
# A physical system may transform, dissipate or cease without any
# contradiction in the laws describing it.

# ---------- EXAMPLES ----------
example stable_cycle:
  X: [A, B]
  R: [A->B, B->A]
  admissible: [A, B]
  expected: "A and B recursively viable"

example dead_end:
  X: [A, B]
  R: [A->B]
  admissible: [A, B]
  expected: "A has a valid next step, but neither state has infinite continuation"

example incompatible_constraints:
  X: [A]
  constraints: ["value > 0", "value < 0"]
  expected: "No admissible state under these simultaneous requirements"

# ---------- VALIDATION ----------
validate:
  - "All entity types and predicates are defined before evaluation"
  - "All transitions reference states in X"
  - "Admissibility is checked before and after transitions"
  - "Fixed-point calculation terminates for finite X"
  - "Distinguish dead-end termination from logical inconsistency"
  - "Do not infer universal physics from the abstract formal model"

# ---------- CONFIDENCE / EVIDENCE ----------
confidence:
  formal_fixed_point_characterisation: "mathematically established for finite transition systems under stated definitions"
  structural_survival_as_universal_physical_principle: "hypothesis; requires independent derivation and empirical support"

# ---------- AI CONSUMPTION ----------
ai_consumption:
  interpretation: "Treat as a structured conceptual model, not executable code in every LLM."
  instructions:
    - "Explain the difference between consistency, admissibility and viability."
    - "Show examples of valid states with and without valid future transitions."
    - "Identify assumptions needed for any physical interpretation."
    - "Do not present proposed foundational claims as established physics."
    - "Suggest counterexamples and tests that could challenge the hypothesis."

# ---------- UPDATE MODEL ----------
update_model:
  version: "1.0"
  policy: "Revise definitions and claims when formal proofs or evidence change."
  provenance: "Conceptual development based on the chapter title, summary and Kireth Research framework."

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ
Designed By