"An exact mathematical bridge between the arithmetic of integers and the filter banks of digital signal processing."
What is this? A formal mathematical proof and mechanized verification establishing that the modular decomposition of integer-indexed series in number theory is structurally isomorphic to polyphase decomposition (decimation and filter banks) in Digital Signal Processing (DSP).
-
The Theorem: The projection of an infinite series
$\sum a_n$ onto congruence classes modulo$m$ is mathematically identical to the multirate decimation of a discrete signal$x[n] = a_n$ by a factor$M = m$ evaluated at the Z-transform boundary ($z = 1$ ). -
The Verification: Certified axiomatically by the Lean 4 kernel (guaranteeing zero logical errors) and validated numerically via Python to machine precision (
$10^{-14}$ ). - The Consequence: Techniques from number theory (Euler products, modular representations of constants) transfer directly to optimal filter bank design, while engineering tools from DSP (perfect reconstruction, noble identities) apply directly to the accelerated evaluation of arithmetic series.
- The Status: An AMS-class research manuscript currently Under Review at Mathematics of Computation, backed by an open-access dual-validation pipeline.
This repository presents the theoretical framework, mechanized proofs, and computational validation of the article "Polyphase Isomorphism between Modular Arithmetic and Multirate Signal Processing".
Two classical disciplines—number theory and digital signal processing—deal extensively with sequences indexed by integers. In number theory, infinite series
We establish that the modular projection
graph TD
A[Polyphase Isomorphism Theorem] -->|Mechanized Rigor| L[Lean 4 Formal Verification]
A -->|Numerical Veracity| P[Python Computational Validation]
A --> B(Number Theory Applications)
A --> C(Signal Processing Applications)
B --> B1[Modular Representation of π]
B --> B2[Modular Euler Products]
B --> B3[Hilbert Space of Prime Residues]
C --> C1[Perfect Reconstruction Filter Banks]
C --> C2[Shared-Nothing Parallel Architectures]
C --> C3[Complexity Reduction via Decimation]
We formally prove that, for any absolutely convergent series
The structural orthogonality of the channels in the index domain guarantees perfect reconstruction without aliasing, leakage, or numerical cross-talk.
The mathematical foundations of the isomorphism are fully formalized and verified within the Lean 4 proof assistant using Mathlib. The kernel strictly certifies:
-
Modular Involution Duality: Proof of the chiral symmetries in
$\mathbb{Z}/6\mathbb{Z}$ (e.g.,$5 \times 5 \equiv 1 \pmod 6$ ). -
Unit Group Isomorphism: Mechanical proof that
$(\mathbb{Z}/6\mathbb{Z})^{\times} \cong \mathbb{Z}_2$ , isolating the active prime channels. -
Anti-Unitary Phase Symmetry: Proof of the analytical phase offset
$\Delta\phi = \pi$ between resonant branches. - Perfect Reconstruction: Proof that parallel synthesis results in the exact destructive interference of sterile subbands.
For the special case of modulus
-
Modular Leibniz series:
$$\pi = 3\sum_{k=0}^{\infty} (-1)^k \left(\frac{1}{6k+1} + \frac{1}{6k+5}\right)$$ -
Modular Euler product:
$$\pi = \sqrt{9 \cdot \prod_{p>3, \ p \equiv \pm 1 \pmod{6}} \frac{p^2}{p^2-1}}$$
- Perfect Reconstruction Filter Banks: The disjointness of modular residues translates directly into alias-free, orthogonal subband filters.
-
Shared-Nothing Architectures: Bypasses the Memory Wall. Decomposing calculations into
$m$ independent channels allows parallel execution with zero inter-thread data dependencies. -
Tree Compression: Decimation by a factor of
$m$ reduces the effective recursion depth of hypergeometric series evaluation by$\log_2 m$ .
The Colab notebook verifies the isomorphism numerically on the Leibniz series. The modular channels sum exactly to the original series value, confirming the perfect reconstruction property to machine precision.
Figure 1. Convergence comparison between the direct Leibniz series and its modular decomposition (m=6). Both converge to the same limit, but the modular version reveals the internal arithmetic structure.
The modular paradigm operates as a universal structural framework. It applies not only to
| Mathematical Concept | Classical Formulation | Modular Polyphase Reformulation ( |
|---|---|---|
| Leibniz Constant ( |
||
| Catalan Constant ( |
||
| Apéry Constant ($\zeta(3)$) | ||
| Hypergeometric Functions |
💡 Computational Implication: In the hypergeometric case,
$E_r(z) = \sum_{k=0}^{\infty} a_{mk+r}z^k$ represents the exact downsampled polyphase filter component from DSP. This algebraic splitting allows decoupling a monolithic calculation into$m$ completely independent computing threads with zero data dependencies—rendering the framework ideal for massively parallel GPU, FPGA, or Shared-Nothing cluster implementations.
Espectro-Modular-Pi/
├── 📄 Paper/ # Scientific manuscript (LaTeX/PDF)
│ └── Polyphase_Isomorphism_Modular_Arithmetic_MSP.pdf
├── 📓 Notebooks/ # Dual Validation Pipeline
│ ├── Formal_Verification_LEAN_4_Polyphase_Isomorphism.ipynb <-- LEAN 4 VERIFICATION KERNEL
│ └── Computational_Validation_Polyphase_Isomorphism.ipynb <-- PYTHON COMPUTATIONAL VALIDATION
├── 🖼️ Images/ # Generated figures & analytical plots
│ └── convergence_modular.png
└── 📜 README.md
All code, algebraic proofs, and numerical experiments have been designed to be fully open, auditable, and reproducible. The verification pipeline is decoupled into two independent environments inside the Notebooks/ directory.
This environment executes the mechanized, interactive formal proofs of the isomorphism's algebraic foundations under the Lean 4 kernel, ensuring mathematical certainty and zero human error.
-
Notebook:
Formal_Verification_LEAN_4_Polyphase_Isomorphism.ipynb -
Core Certifications: Modular Involution, Unit Group Isomorphism
$(\mathbb{Z}/6\mathbb{Z})^{\times} \cong \mathbb{Z}_2$ , Anti-Unitary Phase Symmetry ($\Delta\phi = \pi$ ), and the Polyphase Perfect Reconstruction identity. -
Requirements: Lean 4 (
elanversion manager) andMathlib(revisionfabf563).
This environment executes the empirical verification of the isomorphism, executing the modular channel splitting, evaluating convergence behaviors, and plotting the spectral properties of the sequences.
-
Notebook:
Computational_Validation_Polyphase_Isomorphism.ipynb -
Core Experiments: 1. Perfect Reconstruction: Verification of zero cross-channel energy leakage down to machine precision (
$10^{-14}$ ). 2. Leibniz Representation: Decimation and synthesis of the alternating Leibniz series over active resonant channels ($\mathcal{C}_1 \oplus \mathcal{C}_5$ ). 3. Euler Product Expansion: Convergence verification of the modular prime-bound Euler product. -
Requirements: Python 3.10+,
numpy,matplotlib,sympy.
If you prefer to clone the repository and run the pipeline locally instead of using the cloud interactive instances, execute the following commands:
# Clone the repository
git clone [https://github.com/NachoPeinador/Espectro-Modular-Pi.git](https://github.com/NachoPeinador/Espectro-Modular-Pi.git)
cd Espectro-Modular-Pi
# Install Python dependencies for the computational validation
pip install numpy matplotlib sympy jupyterThis work is part of a larger investigation into the physical and computational consequences of the
- Modular-Substrate-Theory: Unified framework for cosmology and hadronic physics.
-
Arquitectura-de-Hibridacion-Algoritmica-en-Z-6Z: DSP architecture for extreme-precision
$\pi$ computation. - Phase-Pi-Quantum-Prior: Topological state preparation and dissipative protection for quantum registers.
Common Thread: All projects leverage modular arithmetic (
If you use this work, code, or methodology in your research, please cite:
@misc{peinador2026polyphase,
author = {Peinador Sala, José Ignacio},
title = {Polyphase isomorphism between modular arithmetic and multirate digital signal processing: With formal verification in Lean 4 and computational validation},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.17680023},
url = {https://doi.org/10.5281/zenodo.17680023}
}This work is the result of independent research, without institutional funding. The authority of science lies in evidence, not affiliation.
If you value this effort:
- ⭐ Star this repository.
- 📢 Share the findings on Twitter/LinkedIn.
- 💬 Open an Issue if you have ideas to extend the theory.
Author: José Ignacio Peinador Sala
Contact: joseignacio.peinador@gmail.com
📝 Manuscript Status: This work has been submitted to SeMA Journal (Springer) for publication consideration.
- Theoretical Foundation Paper ID: SEMJ-S-26-00195
- Parallel Architecture Companion Paper ID: SEMJ-S-26-00196
🌌 El Universo Aritmético / The Arithmetic Universe >
🇬🇧 This research is part of the theoretical framework of The Arithmetic Universe, the theory which postulates that fundamental reality is not hidden in infinite chaos, but in the elegant and humble architecture of integers. > 🔗 Discover the central repository, the interactive notebooks, and the Lean 4 validation here.
🇪🇸 Esta investigación forma parte del marco teórico de El Universo Aritmético, la teoría que postula que la realidad fundamental no se esconde en el caos infinito, sino en la elegante y humilde arquitectura de los números enteros. > 🔗 Descubre el repositorio central, los cuadernos interactivos y la validación en Lean 4 aquí.
