Skip to main content

C Boundary Entropy Derivations

Appendices
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.

FOUNDATIONS — APPENDIX C: BOUNDARY ENTROPY DERIVATIONS
FLOW ALGEBRA v1.0
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/foundations/chapters/appendices/c-boundary-entropy-derivations.html
Generated: 20 October 2026
Status: Proposed formal mapping; not a proof of the Foundations hypotheses.
Source note: The publicly retrievable page currently shows the appendix title and metadata but no substantive derivation text. The following is an original, explicitly qualified formalisation based on the appendix topic and established entropy formulae.

flow "BoundaryEntropyDerivations" v1.0

# ---------- TYPES ----------
type Boundary = {id:str, area:real?, degrees_of_freedom:int?, constraints:set}
type Region = {id:str, boundary:Boundary, states:set, probability_distribution:map}
type InformationState = {microstate_id:str, probability:real}
type Entropy = {value:real, unit:str, definition:str}
type Scale = {resolution:real, units:str}
type ModelAssumption = {id:str, description:str, verified:bool}

# ---------- ENTITIES ----------
entity REGION: Region
entity BOUNDARY: Boundary
entity MICROSTATE: InformationState
entity MACROSTATE: set
entity PROBABILITY_DISTRIBUTION: map
entity BOUNDARY_AREA: real
entity INFORMATION_CAPACITY: real
entity ENTROPY: Entropy
entity COARSE_GRAINING: transformation
entity INVARIANT: predicate
entity COHERENCE: predicate
entity STABILITY: predicate

# ---------- RELATIONSHIPS ----------
relationship ENCLOSES(BOUNDARY, REGION)
relationship SUPPORTS_STATES(REGION, MICROSTATE)
relationship ASSIGNS_PROBABILITY(PROBABILITY_DISTRIBUTION, MICROSTATE)
relationship LIMITS_CAPACITY(BOUNDARY, INFORMATION_CAPACITY) [conditional]
relationship MAPS_TO(COARSE_GRAINING, MACROSTATE)
relationship PRESERVES(COARSE_GRAINING, INVARIANT) [conditional]
relationship REQUIRES(STABILITY, COHERENCE) [Foundations hypothesis]

# ---------- MATHEMATICAL DEFINITIONS ----------
# For discrete states with p_i >= 0 and sum_i p_i = 1:
SHANNON_ENTROPY_BITS(p) := -sum_i p_i * log2(p_i)
GIBBS_ENTROPY(p) := -k_B * sum_i p_i * ln(p_i)
BOLTZMANN_ENTROPY(Omega) := k_B * ln(Omega)  # equiprobable accessible microstates
MAX_ENTROPY_BITS(N) := log2(N)                 # N possible discrete states

# Standard black-hole thermodynamics, in its applicable regime:
BEKENSTEIN_HAWKING_ENTROPY(A) := k_B * c^3 * A / (4 * G * hbar)
PLANCK_AREA := G * hbar / c^3
BLACK_HOLE_ENTROPY_BITS(A) := A / (4 * PLANCK_AREA * ln(2))

# The Bekenstein bound applies under specified physical assumptions,
# and is not a universal theorem for arbitrary abstract boundaries:
BEKENSTEIN_BOUND(S, E, R) := S <= (2 * pi * k_B * E * R) / (hbar * c)

# ---------- CONDITIONAL BOUNDARY MAPPING ----------
assumption A1: "A physically meaningful boundary is defined for the region."
assumption A2: "The applicable theory supplies a finite information-capacity bound."
assumption A3: "A boundary-area law is justified for the chosen physical regime."
assumption A4: "The encoding map from region states to boundary states is specified."

rule BOUNDARY_CAPACITY:
  when A1 and A2 and A3
  infer S_region <= S_capacity(boundary.area)
  note "The function S_capacity is theory-dependent; it is not automatically A/4."

rule ENCODING:
  when A4 and injective(encode, distinguishable_region_states)
  infer count(distinguishable_region_states) <= count(boundary_codewords)

rule EQUIPROBABLE_COUNTING:
  when finite(Omega) and Omega > 0
  infer S = k_B * ln(Omega)

rule COARSE_GRAINING:
  input microstate_distribution, coarse_graining_map
  output macrostate_distribution
  require normalised(macrostate_distribution)
  note "Entropy change depends on the chosen entropy, map and reference description."

# ---------- DERIVATION 1: FINITE CODEWORD CAPACITY ----------
# Let a boundary support N distinguishable binary degrees of freedom.
# Assuming independent, unrestricted bits:
N_CODEWORDS := 2^N
S_MAX_BITS := log2(N_CODEWORDS) = N
S_MAX_THERMODYNAMIC := k_B * N * ln(2)
# This is a counting result, not by itself an area law.

# ---------- DERIVATION 2: AREA SCALING (ASSUMPTIONAL) ----------
# Suppose boundary information bits have constant areal density rho_bits.
N(A) := floor(rho_bits * A)
S_CAPACITY(A) := k_B * ln(2) * N(A)
# Approximate linear area scaling at sufficiently large A.
# The density rho_bits must be physically motivated or measured.

# ---------- DERIVATION 3: BLACK-HOLE AREA LAW ----------
# For a stationary semiclassical black hole, use the established formula:
S_BH(A) = k_B * A / (4 * PLANCK_AREA)
# This does not imply that every ordinary surface has black-hole entropy.

# ---------- DERIVATION 4: CONDITIONAL STABILITY ----------
# Proposed Foundations interpretation, not an established physics result:
COHERENT(region) := satisfies_all(region.constraints)
WITHIN_CAPACITY(region) := entropy(region) <= capacity(region.boundary)
CANDIDATE_STABLE(region) := COHERENT(region) and WITHIN_CAPACITY(region)
# These are proposed necessary screening conditions, not sufficient
# dynamical conditions for stability or survival.

# ---------- INVARIANTS ----------
invariant NORMALISATION: abs(sum_i(p_i) - 1) <= epsilon
invariant NONNEGATIVITY: forall_i(p_i >= 0)
invariant ENTROPY_NONNEGATIVE: SHANNON_ENTROPY_BITS(p) >= 0
invariant STATE_COUNT_BOUND: H_bits(p) <= log2(number_of_supported_states)
invariant UNIT_CONSISTENCY: entropy_in_joules_per_kelvin uses k_B

# ---------- VALIDATION TESTS ----------
test SINGLE_STATE:
  p = [1]
  expect SHANNON_ENTROPY_BITS(p) == 0

test FAIR_BINARY:
  p = [0.5, 0.5]
  expect SHANNON_ENTROPY_BITS(p) == 1

test FOUR_EQUIPROBABLE:
  p = [0.25, 0.25, 0.25, 0.25]
  expect SHANNON_ENTROPY_BITS(p) == 2

test AREA_DOUBLE:
  given A > 0 and semiclassical_black_hole_regime
  expect S_BH(2*A) == 2*S_BH(A)

test INVALID_DISTRIBUTION:
  p = [0.7, 0.7]
  expect reject("probabilities do not sum to one")

test UNJUSTIFIED_GENERALISATION:
  given arbitrary_surface without A3
  expect reject("cannot infer universal black-hole area law")

# ---------- EXECUTION ----------
flow.run:
  1. identify_region_and_boundary
  2. specify_microstates_and_probabilities
  3. select_entropy_definition
  4. state_physical_regime_and_assumptions
  5. calculate_state_count_and_entropy
  6. derive_capacity_only_if_justified
  7. evaluate_proposed_coherence_and_capacity_conditions
  8. validate_units_and_limit_cases
  9. label_established_results_vs_hypotheses

# ---------- PLAIN-ENGLISH EXPLANATION ----------
# Entropy measures uncertainty over possible states or, in statistical
# mechanics, the multiplicity of microscopic configurations. A finite
# boundary encoding capacity can restrict how many states are distinguishable,
# but the existence of a boundary alone does not establish an area law.
# Black-hole thermodynamics supplies a well-defined entropy proportional
# to horizon area in the appropriate regime. Foundations proposes that
# boundary constraints, coherence and persistence may be connected more
# generally; that broader connection remains a hypothesis requiring a
# defined dynamical model and independent tests.

# ---------- RESEARCH QUESTIONS ----------
# R1: What microscopic degrees of freedom encode boundary information?
# R2: Under what assumptions does a boundary-area capacity law hold?
# R3: Which coarse-graining transformations preserve relevant observables?
# R4: Can a measurable coherence criterion predict instability?
# R5: What empirical prediction differs from standard physical theory?

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