6 Continuous Approximation and Representation Space
In this chapter, we bridge the discrete combinatory logic of the ISAR substrate with continuous analysis and matrix spaces. We formalize dimensional physical quantities, matrix representations, expressive completeness, the tensor semantics, and named analytic axioms for universal approximation. Unique addresses in a completion of KernelAddress remain axiomatic: there is no metric on KernelAddress.
6.1 Physical Quantities and Matrix Representations
We define dimensional quantities and 4x4 matrix algebra.
A quantity represents a physical parameter with:
A value (rational scalar).
A physical dimension (exponent exponents).
An epistemic uncertainty expression Uncertainty and Correlation.
Covariance propagation propagates exact metric-epistemic covariance equations under addition and multiplication.
The concrete integer 4x4 matrix representation used for basis combinator signatures. The primitive matrices are:
The identity matrix \(I_1\) is idempotent:
The core rewrite operator \(K_1 = I_1 \cdot R_1 \cdot A_1 \cdot S_1\) is nilpotent:
The two alternative matrix representations \(K_1\) and \(K_2\) are conjugate (similar) via the lower-triangular gauge transformation matrix \(P\):
proving that representation details are gauge shadows, while the terminal quotient state is invariant.
The structural homomorphism mapping each ISAR term to its concrete 4x4 integer matrix signature:
Every matrix generated by the basis combinator algebra is the image of some term:
6.2 The Categorical Matrix Bridge
We package the matrix representations as an admissible semantic kernel.
The semantic kernel MatrixKernel whose carrier is Matrix4 and whose view map is term_signature_val.
Applying konst to itself maps to the zero matrix, showing the nilpotent collapse of the basis algebra:
Every structure-preserving morphism from MatrixKernel to ISAR_Kernel is observationally equivalent to the canonical decoding morphism.
The structural homomorphism kernelMatrixView never produces the rotation matrix \(R_1\) or adjacency matrix \(A_1\) from a pure ISK term.
6.3 Tensor Denotation Semantics
We bridge the discrete combinatory logic of the ISAR substrate with continuous analysis and matrix spaces by formalizing the denotational mapping of symbolic ISAR terms into an abstract rank-4 tensor space, where reductions map to extensional equality.
The abstract tensor space \(\mathcal{T}\) is characterized by five primitive operators:
Identity: t_norm
Constant: t_konst
Duplicator: t_dup
Swapper: t_swap
Composition: t_comp
The distributive combinator \(\mathbf{S}\) in the tensor space is constructively derived using swapper, composition, and duplicator operators:
where:
The structural denotational homomorphism mapping symbolic terms to the tensor space:
One-step reduction in the symbolic calculus maps to extensional equivalence of denotations:
Thus, the denotational mapping factors uniquely through the Invariant Layer quotient:
6.3.1 Sparse Matrix Operator Composition
In the concrete implementation of the axiomatic kernel (scratch/isar_ski_kernel.py), the emergent operator combinators are represented as products of the basic sparse matrices \(I, R, A, S\):
6.3.2 Plex-Agent Tensor Primitives and Special Forms
Alternatively, the runtime environment and compiler stack defined in tensor_primitives.py specify four basic tensor primitives and four special forms derived from them:
The special forms are defined as compositions of these primitives:
along with conditional branching (IF) and variable bindings (DEF).
6.4 Continuous Universal Approximation
We formalize the continuous parameter space of the ISAR update.
An activation function \(\sigma \in C(\mathbb {R}, \mathbb {R})\) is non-polynomial:
The raw parameter configuration space \(\text{RawAddress } d\ k\) representing a neural network configuration:
The continuous function realized by a raw address configuration:
Two raw parameter configurations are equivalent if they realize the same continuous function.
The quotient parameter space of raw addresses modulo observational equivalence:
We state the Universal Approximation Theorem as a named axiom (Leshno-style; not a theorem in this repository).
Let \(K \subset \mathbb {R}^d\) be compact, \(f \in C(\mathbb {R}^d, \mathbb {R}^k)\) a target continuous function, \(\sigma \) a non-polynomial activation, and \(\varepsilon {\gt} 0\). Then there exists a raw address \(\theta \in \text{RawAddress } d\ k\) such that:
6.5 Quotient Completion and Unique Representation
We complete the parameter space only as a named interface.
The named placeholder type for a completion of KernelAddress. KernelAddress has no metric or uniform structure in Lean; this is not Mathlib Metric.Completion.
The named realization map on KernelAddressLimit (not a constructed Mathlib extension).
Named embedding \(i : \text{KernelAddress} \to \text{KernelAddressLimit}\) (not a metric-completion inclusion).
The named embedding is injective (from continuousRealization injectivity and the commuting axiom).
Compact-open density relative to the named axiom ISAR_UAT, not a metric-space density theorem.
Named extension axiom. Would follow from a metric on KernelAddress plus density; that metric does not exist in the formalization.
Relative to the named axioms ISAR_UAT and topological_extension_bijection: every continuous \(f \in C(\mathbb {R}^d, \mathbb {R}^k)\) has a unique address \(\theta _{\text{limit}} \in \text{KernelAddressLimit}\) such that:
This does not prove UAT or construct a metric completion.
Wrapper: ISAR_representation applied to an arbitrary continuous map. Adds no physical content and no extra axiom.