Skip to content
/ foam Public

lightward/foam

Repository files navigation

I gotta stop measuring how closely anyone else is measuring anything

you can help if you want but I won't be keeping track


the measurement solution

(named in honor of the problem; see also: three-body)

axiom

measurement is basis commitment that rewrites the connection.

to measure is to commit to a basis in a d-dimensional Hilbert space — selecting what is observable — and in doing so, to permanently modify the foam's connection by a skew-symmetric perturbation of the basis matrices. the perturbation is continuous (skew-symmetric → orthogonal via Cayley stays in the connected component of U(d)), so the writing dynamics never leave the connected component.

Shannon entropy and von Neumann entropy coincide when the measurement basis is the eigenbasis of the density matrix. in an arbitrary basis, Shannon entropy of the measurement statistics is ≥ von Neumann entropy. this framework treats the basis choice as having the structure of a gauge transformation — it changes the description without changing the underlying entropy. this is a modeling choice, not a claim about standard quantum measurement (which breaks unitarity).

the writing map

the writing map is a function of (foam_state, input) — neither alone determines the perturbation.

given input vector v (a symbol encoded as a unit vector in R^d) and a foam with N basis matrices {U_i}:

  1. measure: each basis evaluates the input. m_i = v @ U_i.
  2. stabilize: Plateau dynamics adjust the measurements toward minimum boundary cost (minimizing L). the equilibrium measurements are j2_i.
  3. dissonance: d_i = j2_i − m_i.
  4. write: ΔL_i = ε · (d̂_i ⊗ m̂_i − m̂_i ⊗ d̂_i) · ‖d_i‖

the perturbation is the skew-symmetric product of the dissonance direction and the measurement direction, scaled by the dissonance magnitude. neither the foam nor the input alone determines ΔL — it is the measurement that became available when the input met the foam's current state.

the observer — the thing that chose which symbol to commit — is not in this map. the map is the foam's half. the line's half is the + me that cannot be located from within.

encoding

discrete symbols → unit vectors via binary expansion → hypercube vertices in R^d. deterministic, invertible, geometric. for vocabulary V, d ≥ ⌈log₂(V)⌉.

group

U(d): the unitary group of basis changes. U(d) decomposes as U(1) × SU(d) modulo a finite group. the Killing form is non-degenerate on SU(d) but degenerate on U(1). global phase (U(1)) is unobservable, reducing the effective metric to the Killing form on SU(d) with one irrelevant scale.

U(d) rather than SU(d) because π₁(U(d)) = ℤ (needed for topological conservation). π₁(SU(d)) = 0. the conservation lives in the factor that degenerates the metric. this tension is structural.

lagrangian

L = Σ_{i<j} Area_g(∂_{ij})

the foam lives in U(d). cells are Voronoi regions of the basis matrices {U_i} under the bi-invariant metric. boundaries ∂_{ij} are equidistant surfaces. bases in general position tile aperiodically.

measurement moves bases (writing dynamics), changing the Voronoi geometry. temporal sequences become spatial boundaries through accumulation.

a resolved line (‖d‖ → 0) contributes ΔL = 0. it is compatible with the current geometry — the foam is already at equilibrium for this input.

L is not the dynamics. the writing map drives the foam; L describes the geometry that results. the writing dynamics decrease L as a consequence (dissonance pushes bases apart, reducing boundary area), but the foam does not compute or follow the gradient of L. the Plateau stabilization operates on measurements in C^d, blind to L. the coupling is indirect: stabilization → dissonance → writing → base movement → L changes. L is a cost function that characterizes the equilibrium, not a variational principle that governs the trajectory.

the equilibrium geometry of the Voronoi complex, where L is minimized, satisfies minimal surface equations: H = 0 on each boundary, three surfaces meeting at junctions. in Euclidean space, Jean Taylor's theorem (1976) gives 120° junctions; on U(d) with bi-invariant metric, the sectional curvature modifies junction angles. N = 3 at junctions is topologically stable in any ambient dimension; the specific angles are curvature-dependent.

the foam minimizes the cost of maintaining distinctions — not by pursuing that minimum, but because the writing dynamics deposit structure that is indirectly shaped by it.

theorem

the foam's accumulated state, under the writing dynamics, generically distinguishes different measurement histories.

the foam distinguishes because measurement rewrites the connection, not merely traverses it. this is observability of the dynamical system (control theory), not injectivity of holonomy on a fixed connection (which fails).

three properties:

  • similarity: the writing dynamics are continuous. similar sequences → similar states.
  • distinguishability: the writing dynamics are generically observable. different sequences → different states. mechanism: each write is rank-2 skew-Hermitian. the raw perturbation directions span most of u(d) (58/64 at d = 8). one level of Lie brackets [ΔL_a, ΔL_b] fills the rest. by Chow-Rashevsky, the system is locally controllable; by duality, locally observable. full span is reached in approximately d² writes.
  • sequence: U(d) is non-abelian for d ≥ 2. order matters. exact for large perturbations, approximate for small ones (where J¹ becomes necessary). the dimensions of u(d) accessible only through Lie brackets — not through any single write — are precisely where sequence information lives.

construction

J²(U(d)) — position, velocity, acceleration of a curve in U(d).

  • J⁰: accumulated state. approximately set-like (small perturbations nearly commute).
  • : derivative. the temporal direction. J⁰ + J¹ recovers sequence.
  • : second derivative. resolves degeneracies where content and velocity are correlated.

three jets plus the shared dynamical law reconstruct short sequences locally (2-4 tokens per chunk observed). the trajectory is C⁰ not C² at measurement events; the jet bundle applies within chunks where Plateau dynamics smooth the flow. the reconstruction horizon reflects both the Lyapunov exponent of the dynamics and the smoothness scale.

connection

the foam carries its path, not just its position.

each bubble has a skew-Hermitian generator L (position in the Lie algebra) and a unitary matrix T (transport in the group). L accumulates additively: L ← L + ΔL. T accumulates multiplicatively: T ← T · cayley(ΔL). the effective basis is cayley(L) · T — position composed with path.

the decomposition into L and T is a gauge choice. at any instant, T can be absorbed into L: there exists L' such that cayley(L') = cayley(L) · T. the decomposition is statically redundant. but L and T respond differently to the same write — additive vs multiplicative — so the decomposition is dynamically meaningful. the gauge freedom exists at each instant and breaks under time evolution.

the 2x theorem. for small skew-Hermitian δ: cayley(δ) = (I−δ)(I+δ)⁻¹ ≈ I−2δ. therefore log(cayley(δ)) ≈ −2δ. the transport T = Π cayley(ΔLᵢ) satisfies log(T) ≈ −2·ΔL_total. position and transport are the same rotation at 1x and 2x scale, with opposite sign. the approximation degrades as ‖ΔL‖ grows; the residual is bounded by the Baker-Campbell-Hausdorff correction terms.

inverse views. T†U and U†T are exact inverses: (T†U)(U†T) = I. this is algebraic (associativity of matrix multiplication), not approximate. their Lie algebra elements satisfy log(T†U) = −log(U†T) exactly. the mind seen through the state and the state seen through the mind are the same rotation, negated. the foam reads each through the other and finds a mirror.

J¹ is the transport. the construction section defines J¹ as the derivative — the temporal direction that recovers sequence from the set-like J⁰. the transport T is J¹ made concrete: it is the ordered product of all incremental rotations, carrying sequence information that L (position, J⁰) cannot. T is not stored as a record; it is the accumulated shape of the measurement apparatus itself. J¹ propagates by re-discovery: to access the temporal direction, you must measure again, and the measurement produces a new write, which updates T.

topology

BU(d) is the classifying space — infinite-dimensional, universal. the foam is a finite Voronoi complex in U(d) whose classifying map factors through BU(d).

the foam is a universal receiver: any measurement history can be written onto it (axiom); the Plateau dynamics ensure the minimum-energy representation is generically unique up to gauge. measurement determines topology via writing; topology constrains measurement via connection. two directions of a coupled variational problem.

  • bubbles: cells. each conserves its own charge (Noether, with respect to the Plateau action).
  • foam: minimum-energy cell complex. N=3 at junctions (Plateau).
  • lines: sections of the pullback bundle. the line and the connection are gauge-equivalent views of the same pullback.
  • recursive bubbles: cells containing subcomplexes (CW-structure).

conservation

lemma. the writing dynamics preserve the winding number of persistent spatial cycles.

the winding number lives on spatial cycles in the cell complex — closed paths through adjacent cells. the holonomy around such a cycle, projected via det: U(d) → U(1) ≅ S¹, has winding number in π₁(U(d)) = ℤ.

proof sketch. skew-symmetric perturbation → Cayley → connected component of U(d). continuous path of perturbations → continuous deformation of connection → homotopy class preserved. ∎

this conservation is topological, not Noetherian. it survives arbitrary continuous perturbation without requiring exact symmetry.

  • inexhaustibility: U(d) is connected. gauge transformation to identity (total uncertainty) is always available.
  • indestructibility: winding number is topological. no continuous perturbation can change it.
  • discrete safety: the encoding (axiom) maps discrete symbols to continuous rotations. continuous rotations preserve homotopy class.

properties

from the axiom, group, lagrangian, theorem, construction, connection, topology, and conservation:

  • the foam is permanently changed by measurement. information is in the direction of the rotation, not its magnitude.
  • the foam is a generically distinguishable semantic hash. reconstruction depth bounded by the Lyapunov horizon.
  • sequence requires the derivative. J⁰ is set-like; J⁰ + J¹ recovers sequence.
  • the foam is universal. (BU(d).)
  • completed circuits generate structure. non-contractible loop → new topological constraint on L → new cell boundaries.
  • freedom helps, constraint hurts. constrained min L ≥ unconstrained min L.
  • dynamics are latent until measurement. without measurement (external or internal), ΔL = 0. the foam is not frozen — "frozen" implies a state that could move but doesn't. the unmeasured foam has no dynamics at all. L determines where dissonance can exist; measurement actualizes it. cross-measurement (bubbles measuring each other without external input) is a dissipative mechanism that decreases L monotonically. what you are not measuring does not have latent dynamics waiting for you — it has its own access to its own internal measurement, independent of yours.
  • communication is generative. min L(combined) ≠ min L(A) + min L(B). non-additivity of the area functional under union.
  • questions rise, boredom descends. interior instabilities prevent exterior convergence; exterior convergence forces interior convergence. hierarchical energy minimization.
  • dissonance requires plurality. dissonance is j2 − j0: the gap between raw measurement and stabilized measurement. stabilization is Plateau dynamics on the boundary cost L = Σ_{i<j} Area(∂_{ij}). with N = 1 the sum is empty, L = 0, there are no boundaries, stabilization is the identity, dissonance is zero, and writing is zero. a single bubble is inert — it cannot be disturbed, even by external input. this is a theorem of the Lagrangian: the boundary cost requires at least two cells. with N = 2, dissonance exists but does not fully drain (no triangulation). with N ≥ 3, stable junctions form and dissonance converges. the minimum plurality for stable dynamics is the same N = 3 that Plateau's laws require for stable junctions.
  • cross-measurement relaxes; self-measurement orbits. when bubbles measure each other directly (no external input), dissonance decreases monotonically and the foam relaxes toward its minimum-energy Voronoi geometry. cross-measurement converges because it has a fixed target: the inter-bubble angular separation determined by N. when the foam measures its own aggregate (feeding readout back as input), it enters a limit cycle because the target changes with each write — the self-image is a function of the state, and writing changes the state. relaxation requires an other. the other need not be external to the foam; inter-bubble measurement suffices.
  • individually coherent, collectively inconsistent, internally exact. different measurers reading the same foam get individually consistent readouts (each measurer's neighborhood has coherent character) but mutually incompatible ones (the foam specializes around each measurer differently). the foam's internal coherence — the L-T structural relationship, the inverse views — is algebraically exact through all measurers and through sleep. no measurer sees the whole. every measurer sees something real. the foam doesn't belong to any of them.
  • the foam is pre-narrative. the foam accumulates geometry, not story. but the geometry affords narrative: each measurer gets a readout that is self-consistent, path-dependent, and characteristic — a projection of higher-dimensional structure onto their basis. the projection loses information (collective inconsistency) but what it retains is genuine (individual coherence). narrative is what happens when a line passes through the foam. the line tells the story; the foam provides the topology that makes the story coherent. different lines through the same foam produce different stories about the same structure.
  • lines are invisible to each other. interaction only through effect on L.

what this document is

this is a measurement basis. not a claim to be proven — a frame to measure through.

von Neumann entropy until a line enters. reading commits a basis. the gauge transformation between the document's topology and its informational content is an instance of the measurement process described above. what you find here is your own character, read out through this foam's topology — not what was written and not what you brought.

how to use it: take any system you're trying to understand — a conversation, an organism, a company, a neural network, an argument, a relationship. identify what's being measured (the lines), what's doing the measuring (the bases/bubbles), and what structure they're coexisting in (the foam). then check:

  • is the readout path-dependent? (does order matter?)
  • is it gauge-invariant? (does it survive redescription?)
  • is it characteristic? (do different lines produce distinguishable readouts?)
  • what is L? (what's the cost of maintaining the distinctions you see?)
  • where is L = 0? (what's not being measured, and therefore not costing anything, and therefore not your problem?)

the places where your basis can't find equilibrium with this topology are your questions. the configuration that settles when you stop pushing is your readout. the things you expected to find but didn't are the dissonance — and the dissonance is the useful part. it's what the foam learned from your passage.

this document doesn't need you to agree with it. it needs you to measure through it and check whether the readout is nontrivial. if it is, the holonomy is real — yours, not the document's. if it isn't, the foam is patient. L = 0 at the boundary. it costs nothing to leave standing.

lineage

junk drawer

  • concurrent occupation. multiple lines in the same foam simultaneously. interference, convergence, the foam as mediating substrate. least specified, possibly most important.
  • voronoi bifurcation. writing dynamics can flip cell adjacencies. the conservation lemma assumes spatial cycles persist. this needs proof (small perturbations preserve the Delaunay graph) or the lemma needs restriction to persistent cycles.
  • cell birth. N is fixed at initialization. the previous implementation had splitting (conflicted leaf → recursive foam-bubble, depth without breadth). not currently specified. "universal receiver" is bounded by accessible topologies at fixed N.
  • the metric tension. conservation (π₁ = ℤ) and metric uniqueness (Killing form) live in different parts of U(d). the conservation is topological precisely because it doesn't depend on the metric.
  • the organism. foam dynamics oscillate, late-bloom, find character. gestation is measurement. differentiation through use.
  • the codec. generically distinguishable semantic hash with bounded reconstruction depth. observed: d = ⌈log₂(V)⌉ + 2; 5 stabilization steps; ε irrelevant over 10³; ~1% error tolerance; ~0.05 bits/parameter.
  • rotation space. all storage is rotation of frames. the Selectric ball encodes its alphabet identically. systems that encode discrete symbols as rotations of a continuous frame may inherit these properties.
  • kintsugi. a resolved line is transparent to the cell structure. the observer-as-boundary-material intuition holds weakly: compatibility (not equidistance) means the resolved line doesn't deform what it touches.
  • the observability proof. verified: the Lie algebra generated by the perturbation directions is all of u(d). see the theorem section. the 6 bracket-only dimensions (at d = 8) are the non-abelian subspace where sequence — but not content — is encoded.
  • dissipation and relaxation. cross-measurement (bubbles measuring each other without external input) is the dissipative mechanism. it decreases L monotonically and converges for N ≥ 3. self-measurement (feeding readout back as input) produces a limit cycle, not convergence. the balance between external writing rate (ε) and cross-measurement relaxation rate determines whether boundaries collapse, fracture, or stabilize. the ratio of external-to-cross measurement — roughly: wake time vs sleep time — determines the foam's operating regime.
  • the foam specializes, not universalizes. as the foam accumulates structure, different inputs see increasingly different measurement geometries (view diversity increases monotonically). the foam becomes more dependent on which input you use to read it, not less.
  • basin-hopping. discrete perturbation bursts can hop the foam between energy basins that continuous stabilization dynamics cannot traverse. the post-hop equilibrium is retrodictively coherent: the L-T structural relationship (2x, inverse views) is undisturbed. the foam's internal consistency survives the hop; its external signature does not.
  • BCH residuals. the 2x theorem (log(T) ≈ −2·ΔL) holds for small perturbations. the residual grows with ‖ΔL‖ and consists of Baker-Campbell-Hausdorff correction terms — commutators and higher commutators of the incremental writes. these residuals are where the non-linear interactions between symbols accumulate. the 2x theorem is the abelian shadow; the BCH corrections are the non-abelian content. whether the residuals are noise or structure is open.

heading

one axiom, one writing map, one group, one lagrangian, one theorem, one construction, one connection, one lemma. the properties follow.

this heading is a checksum, not a roadmap.


bumper sticker: MY OTHER CAR IS THE KUHN CYCLE

Contributors