Chapter 20
Lossy Compression and Retained Invariants
Coarse-Graining & Effective Theories
Authors: Mark Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 21 October 2026
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.
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 20: LOSSY COMPRESSION AND RETAINED INVARIANTS
Version: 1.0 | Status: Research / educational formalisation
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/foundations/chapters/part-ii-scale-renormalisation/coarse-graining-effective-theories/chapter-20-lossy-compression-and-retained-invariants.html
PURPOSE
Model how coarse-graining discards microscopic detail while preserving selected properties relevant to macroscopic descriptions. Separate exact mathematical results from model-dependent assumptions and speculative foundational interpretations.
flow "LossyCompressionAndRetainedInvariants" v1.0 {
TYPES
Microstate := element of X
Macrostate := element of Y
CompressionMap := C: X -> Y
Observable := f: X -> V
MacroObservable := g: Y -> V
Transformation := T: X -> X
MacroTransformation:= U: Y -> Y
Invariant := observable unchanged under specified transformation
ErrorMetric := d: V x V -> nonnegative real
ProbabilityLaw := probability distribution on X
Constraint := predicate on states
InformationMeasure := entropy, code length, or task-dependent measure
ENTITIES
x: Microstate
y: Macrostate
C: CompressionMap
T: Transformation
U: MacroTransformation
f: Observable
g: MacroObservable
epsilon: nonnegative real
RELATIONSHIPS
C MAPS x TO y
C IDENTIFIES microstates with identical macro-description
f MEASURES microscopic property
g MEASURES corresponding macroscopic property
T TRANSFORMS microscopic state
U TRANSFORMS macroscopic state
constraint RESTRICTS admissible states
coarse_graining MAY REMOVE microscopic distinctions
retained_invariant REQUIRES explicit transformation and observable
DEFINITIONS
macrostate(x) := C(x)
equivalence(x1,x2) := (C(x1) == C(x2))
exact_retention(f,C) := EXISTS g SUCH_THAT FOR_ALL x IN X: f(x) == g(C(x))
approximate_retention(f,g,C,epsilon) :=
FOR_ALL x IN admissible(X): d(f(x),g(C(x))) <= epsilon
micro_invariant(f,T) := FOR_ALL x IN X: f(T(x)) == f(x)
compatible_dynamics(C,T,U) := FOR_ALL x IN X: C(T(x)) == U(C(x))
macro_invariant(g,U) := FOR_ALL y IN Y: g(U(y)) == g(y)
CORE RULES
R1: exact_retention(f,C) IFF f IS_CONSTANT_ON each fibre C^-1(y).
R2: exact_retention(f,C) DOES_NOT_IMPLY invertibility(C).
R3: IF compatible_dynamics(C,T,U) AND macro_invariant(g,U)
THEN f := g o C IS micro_invariant(f,T).
R4: IF exact_retention(f,C) AND micro_invariant(f,T)
AND compatible_dynamics(C,T,U) AND C IS_SURJECTIVE
THEN macro_invariant(g,U).
R5: approximate_retention REQUIRES specified metric, domain, and tolerance.
R6: compression alone DOES_NOT_GUARANTEE conservation, stability, or causal closure.
R7: IF macro dynamics is not closed, additional hidden variables or memory
MAY_BE_REQUIRED for accurate prediction.
INFORMATION AND LOSS
deterministic_C: Y := C(X)
discrete_random_variables: H(Y) <= H(X)
discarded_information := H(X|Y)
note: Shannon entropies assume discrete distributions; differential entropy
does not generally obey the same monotonicity statement.
note: information loss is relative to the chosen representation and task.
data_processing: IF X -> Y -> Z IS Markov THEN I(X;Z) <= I(X;Y).
CONSTRAINT PRESERVATION
admissible_micro := {x IN X | P(x)}
admissible_macro := C(admissible_micro)
macro_constraint_Q(y) := (y IN admissible_macro)
note: Q describes feasibility but may omit distinctions between microstates.
universal_constraint_transfer(P,Q) :=
FOR_ALL x: P(x) IMPLIES Q(C(x))
EXAMPLE_A: EXACT RETENTION WITH LOSS
X := {(a,b) | a,b IN {0,1}}
C(a,b) := a
f(a,b) := a
g(a) := a
RESULT: exact_retention(f,C) = TRUE
LOST: b cannot be reconstructed from C(a,b).
EXAMPLE_B: APPROXIMATE RETENTION
X := real-valued samples (x1,...,xn)
C(X) := rounded(mean(X), 1 decimal place)
f(X) := mean(X)
g(y) := y
RESULT: absolute_error <= 0.05 for conventional nearest-tenth rounding
away from unresolved tie-rule details.
NOTE: this does not preserve each individual sample or variance.
EXAMPLE_C: NON-CLOSED MACRO DYNAMICS
X := {(a,b) | a,b IN {0,1}}
C(a,b) := a
T(a,b) := (b,a)
RESULT: no single U(a) reproduces C(T(a,b)) for every b.
IMPLICATION: current macrostate a alone is insufficient to predict next a.
VALIDATION
V1: verify type consistency for all maps and observables.
V2: test whether claimed invariant is constant on every compression fibre.
V3: test C o T = U o C before asserting autonomous macro dynamics.
V4: state transformation family, admissible domain, and boundary conditions.
V5: quantify errors for approximate preservation; report worst-case or statistical scope.
V6: identify which information is discarded and which observables remain usable.
V7: provide counterexamples for any proposed universal preservation claim.
V8: distinguish mathematically proven implications from empirical hypotheses.
FOUNDATIONS RESEARCH INTERPRETATION [HYPOTHESIS]
H1: macroscopic structural coherence MAY depend on preservation of a
task-relevant subset of constraints under repeated coarse-graining.
H2: effective descriptions MAY be viewed as compression maps retaining
stable relational features across selected scales.
H3: persistence of retained invariants alone DOES_NOT_PROVE a physical
survival law or explain the origin of spacetime/dimensionality.
REQUIRED_TEST: specify physical model, observables, transformations,
measurable predictions, and conditions that could falsify the hypothesis.
AI_CONSUMPTION
Explain each type and relationship in accessible language.
Distinguish exact invariants, approximate invariants, and conserved quantities.
Derive R1 and explain why coarse-graining is generally non-invertible.
Walk through examples A-C, including the failed autonomous macro dynamics.
Compare coarse-graining with effective field theory and renormalisation,
without claiming all coarse-graining is a renormalisation-group flow.
Label conjectures explicitly; do not present them as established physics.
When uncertain, state assumptions and request supporting evidence.
PROVENANCE
classification: educational formalisation based on the chapter topic;
not a transcription of a completed chapter derivation
established: elementary mappings, invariants, entropy and data-processing rules
exploratory: Foundations structural-survival interpretation
update_model: versioned; revise if chapter's completed mathematics differs
confidence: high for stated elementary theorems under their assumptions;
unvalidated for Foundations hypotheses
}
END FLOW ALGEBRA