A Mathematical Formalisation of Invariants
Appendices
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 v1.0
FOUNDATIONS — APPENDIX A: A Mathematical Formalisation of Invariants
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/foundations/chapters/appendices/a-mathematical-formalisation-of-invariants.html
Generated: 20 October 2026
Status: Proposed formalisation and educational reasoning model; not a verified new physical theory.
flow "MathematicalFormalisationOfInvariants" v1.0 {
PURPOSE:
Define invariance precisely across transformations, state transitions,
recursive operations and changes of description; distinguish exact,
approximate and conditional preservation.
TYPES:
StateSpace := Set<State>
Transformation := Map<State, State>
Observable := Map<State, Value>
Constraint := Predicate<State>
Relation := Predicate<State, State>
Scale := OrderedParameter
Tolerance := NonNegativeReal
ENTITIES:
S: StateSpace
x: State
T: Transformation
G: Set<Transformation>
I: Observable
C: Constraint
R: Relation
epsilon: Tolerance
s: Scale
P: ProjectionOrCoarseGraining
F: StateEvolution
AXIOMS_AND_DEFINITIONS:
A1_DOMAIN: x in S and T(x) in S whenever T is admissible at x.
A2_EXACT_INVARIANT: forall x in domain(T), I(T(x)) = I(x).
A3_FAMILY_INVARIANT: forall T in G, forall admissible x, I(T(x)) = I(x).
A4_CONSTRAINT_PRESERVATION: C(x) and admissible(T,x) implies C(T(x)).
A5_APPROXIMATE_INVARIANT: d(I(T(x)), I(x)) <= epsilon,
where d is an explicitly chosen metric on the observable's codomain.
A6_CONDITIONAL_INVARIANT: C(x) and C(T(x)) implies I(T(x)) = I(x).
A7_COMPOSITION: if I is invariant under T1 and T2, then
I(T2(T1(x))) = I(x) wherever the composition is defined.
A8_ITERATION: if T preserves I and every iterate exists,
forall n in NaturalNumbers, I(T^n(x)) = I(x).
RELATIONSHIPS:
Transformation -> ACTS_ON -> State
Observable -> EVALUATES -> State
Invariant -> PRESERVED_UNDER -> Transformation
Constraint -> RESTRICTS -> AdmissibleState
Symmetry -> MAY_GENERATE -> Invariant
CoarseGraining -> MAPS -> EffectiveDescription
StateEvolution -> MAY_PRESERVE -> Observable
Invariant -> SUPPORTS -> StructuralComparison
FLOWS:
flow "IdentifyInvariant":
INPUT: S, G, candidate I
REQUIRE: I is defined on the relevant states
FOR_EACH T in G:
FOR_EACH admissible x in S:
CHECK I(T(x)) == I(x)
OUTPUT: exact_invariant if all checks pass
NOTE: finite tests provide evidence, not a universal proof
flow "PreserveConstraint":
INPUT: C, T, x
REQUIRE: C(x) == true
COMPUTE: y := T(x)
CHECK: C(y)
OUTPUT: preserved | violated | undefined
flow "RecursivePreservation":
INPUT: x0, F, I, n
SET: x := x0
REPEAT n times:
REQUIRE: F(x) is defined
SET: next := F(x)
CHECK: I(next) == I(x0)
SET: x := next
OUTPUT: trace and preservation_status
flow "CrossScaleInvariant":
INPUT: microscopic_state x, projection P, observable I_micro,
effective_observable I_macro
COMPUTE: macro := P(x)
CHECK: I_macro(macro) == I_micro(x)
OUTPUT: retained | altered | lost
NOTE: cross-scale invariance is not automatic; compatibility must be shown
flow "ApproximateStability":
INPUT: trajectory x0...xn, I, metric d, tolerance epsilon
COMPUTE: drift := max over k of d(I(xk), I(x0))
OUTPUT: stable_within_tolerance if drift <= epsilon else unstable
MATHEMATICAL_EXAMPLES:
E1_ROTATION:
S := R^2
T := rotation by angle theta
I(x,y) := x^2 + y^2
RESULT: I(T(x,y)) = I(x,y)
E2_TRANSLATION:
S := pairs of points in Euclidean space
T := translate both points by vector a
I(p,q) := EuclideanDistance(p,q)
RESULT: distance preserved
E3_CONSERVATION:
IF a physical dynamical model has conserved energy H,
THEN H(F_t(x)) = H(x) for allowed times t.
CAVEAT: energy conservation depends on model assumptions;
it is not universal for arbitrary transformations.
E4_COARSE_GRAINING:
P := map detailed states to effective states
I_macro(P(x)) = I_micro(x) only if the observables are compatible.
RESULT: preservation must be established, not presumed.
VALIDATION:
V1: verify domains and codomains of all maps
V2: state whether invariance is exact, approximate or conditional
V3: distinguish sampled numerical checks from mathematical proof
V4: provide counterexamples where preservation fails
V5: test composition and repeated transitions
V6: disclose any chosen tolerance, metric and scale
V7: identify which claims are definitions, assumptions or derived results
V8: do not infer physical existence from mathematical consistency alone
FAILURE_MODES:
- transformation leaves the admissible state space
- invariant changes under a permitted transformation
- constraints cease to hold after transition
- approximation error exceeds tolerance
- coarse-graining discards the observable being tracked
- a claimed symmetry does not act on the stated domain
- a numerical pattern is mistaken for a theorem
INTERPRETATION:
An invariant is a property that remains unchanged under a specified
class of transformations. Invariance is always relative to what is
transformed, what is measured and which transformations are allowed.
In the Foundations framework, preserved relationships are proposed
as a way to describe coherent structure across changes of state,
recursion and scale. The formal definitions above are standard
mathematical ideas; their proposed foundational interpretation is
a research hypothesis requiring independent argument and testing.
AI_CONSUMPTION:
Explain each invariant with its domain, transformation and proof.
Never present proposed pre-physical or boundary-first interpretations
as established consequences of the mathematics.
Invite counterexamples and comparison with standard physics.
}
PLAIN-ENGLISH EXPLANATION
An invariant is something that stays the same when a permitted change occurs.
For example, rotating a point about the origin changes its coordinates but
not its distance from the origin. The invariant is the squared distance.
The important question is not simply 'what stays the same?' but 'under
which transformations, for which states, and with what precision?' A
quantity may be conserved during one kind of evolution but change under
another. A feature may survive a change of scale, or be lost when fine
detail is compressed. Repeated transformations preserve an exact invariant
if each step preserves it and the steps remain defined.
This appendix supplies an explicit reasoning scaffold for examining the
Foundations proposal. It does not by itself prove that invariants generate
physical reality or that boundary structure precedes spacetime.
© Kireth Research — Open Research Licence
https://kirethresearch.org