Author: Nathan O. Schmidt
Organization: Cold Hammer Research & Development LLC (https://coldhammer.net)
License: MIT
Last Dated: February 27, 2026
- 1. Overview
- 2. Repository Structure
- 3. Getting Started
- 4. Projects & Tools
- 5. The Tri-Quarter Framework
- 6. License
- 7. Contributing
The Tri-Quarter Toolbox is a public open-source software repository containing scientific research tools, implementations, and experiments regarding Nathan O. Schmidt's Tri-Quarter Framework (TQF)βa mathematical and computational framework that upgrades the complex numbers for working with unified 2D coordinates, inversive geometry, Eisenstein integers, radial dual triangular lattice graph (RDTLG), hexagonal symmetries, signal processing, equivariant encodings, and geometric deep learning.
The TQF is based on prior (2007-2017) and current (2025-present) academic research in advanced computer science and mathematics. This TQF toolbox is developed by Cold Hammer Research & Development LLC as an after-hours hobby science project driven by rigorous creativity, a first principles mindset, scientific methodology, and a passion for exploring the intersection of computational/mathematical fields such as data structures, algorithms, parallel computing, graph theory, discrete mathematics, group theory, cryptography, machine learning, and more.
The repository is organized into subdirectories containing various projects and tools, each with their own documentation. All code aims to be cross-platform compatible (Windows/Linux/macOS) with solid practices.
Core Philosophy:
- π Richard Feynman's Quote: "Science is the belief in the ignorance of experts"
- βοΈβπ₯ Freedom and Technical Problem Solving: Ask questions, challenge groupthink/censorship, and seek answers via the Scientific Method
- 𧬠First Principles Design: Mathematical rigor meets practical implementation
- π Symmetry-Aware Computing: Exploit geometric structure for efficient elegant solutions
- π Reproducibility: Fixed seeds, documented environments, and transparent methods
- π¬ Open Science: MIT-licensed code and public research artifacts
- π‘ Continuous Learning: Experimental projects exploring new ideas
- π§ͺ Automated Testing: Each time code is deployed to production without automated testing, a child gets a mullet (and yes, some of these tools have contributed to mulletsβit's work in progress π€£)
Dev and scientist for life. πΎπ²π
tri-quarter-toolbox/
βββ README.md # This file
βββ LICENSE # MIT license
βββ case_study_bpsk/ # BPSK signal processing case study
βββ machine_learning/ # Machine learning tools/projects
β βββ tqf-nn_benchmark/ # TQF neural network benchmark tools
βββ radial_dual_triangular_lattice_graph/ # Core RDTLG implementation & tools
βββ theorem_animation/ # Foundational theorem visualization
Each subdirectory contains its own README with detailed information about that specific project or tool.
Most tools and projects in this repository require:
- Python 3.8+
- Virtual Environment (strongly recommended)
- Platform: Windows, Linux, or macOS
Common dependencies across projects include:
- NumPy, SciPy, Matplotlib (signal processing, visualization)
- NetworkX, Pygame (graph algorithms, lattice visualization)
- PyTorch + torchvision (machine learning benchmarks, CUDA 12.6 recommended)
- Navigate to the desired project directory
- Create and activate a virtual environment
- Install dependencies from the projectβs
requirements.txt(orrequirements-dev.txtfor development)
Example (Windows):
cd case_study_bpsk
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txtExample (Linux/macOS):
cd radial_dual_triangular_lattice_graph
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtFor the machine learning benchmark (GPU acceleration):
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu126See each projectβs own README for exact installation steps, optional dependencies (e.g., Pygame, CUDA), and verification commands.
- Educational Visualization β
theorem_animation/ - Core Lattice & Graph Algorithms β
radial_dual_triangular_lattice_graph/ - Signal Processing / Communications β
case_study_bpsk/ - Geometric Deep Learning / Neural Networks β
machine_learning/tqf-nn_benchmark/
Location: theorem_animation/
Associated Preprint: TechRxiv 1281679
Interactive Matplotlib animation visualizing the core TQF unit-circle theorem: rotating point on the unit circle, real/imaginary vector decomposition, phase angle progression, and labeled zones/boundaries.
Key Features:
- Real-time vector projection display
- Play/pause and light/dark theme toggle
- Exportable to GIF/MP4
Quick Start:
cd theorem_animation
# ... activate venv ...
python tri_quarter.pyLocation: radial_dual_triangular_lattice_graph/
Associated Preprint: TechRxiv 1339304
Reference implementation of the truncated RDTLG β the foundational geometric structure of TQF. Uses Eisenstein integers, exact circle-inversion bijection, and full β€β/Dβ/πββ symmetry support.
Key Features:
- Graph construction and analytics
- Circle inversion duality for inner β outer zone mapping
- Path mirroring benchmarks (standard vs. TQF-optimized)
- Real-time Pygame visualization
- Vertex count, boundary, and truncation error tools
Quick Start:
cd radial_dual_triangular_lattice_graph
# ... activate venv ...
python simulation_01_visualize_random_connections.py
python simulation_03_benchmark_triquarter_path_mirroring.py 5Location: case_study_bpsk/
Associated Preprint: TechRxiv 1311875
Implements and compares three BPSK demodulation strategies in AWGN channels:
- TQF phase-pair directional encoding (primary contribution)
- Majority voting ensemble (classical baseline)
- Gaussian-tuned soft decision decoding (adaptive baseline)
Key Features:
- Full BPSK modulation/demodulation pipeline
- BER vs. SNR sweeps (0β12 dB)
- Reproducible simulations with fixed seeds
- Pure Python + NumPy/SciPy
Quick Start:
cd case_study_bpsk
# ... activate venv ...
python simulation_01_tri-quarter_framework_ber.pyLocation: machine_learning/tqf-nn_benchmark/
Focus: Rotated MNIST symmetry-aware benchmarking
Implements a first-principles TQF-NN architecture based on truncated radial dual triangular lattice graphs with explicit β€β, Dβ, and πββ symmetry exploitation. Compares against parameter-matched (~650k params) baselines: FC-MLP, CNN-L5, scaled ResNet-18.
Key Features:
- Native symmetry enforcement (equivariance/invariance losses)
- Zβ-aligned rotated MNIST (60Β° increments)
- Orbit mixing inference
- PyTorch + CUDA support, rich CLI
Quick Start:
cd machine_learning/tqf-nn_benchmark
# ... activate venv + install torch (cu126 recommended) ...
python src/main.pyThe TQF is a mathematical and computational framework that unifies complex, Cartesian, and polar coordinate systems on the complex plane β. It centers on truncated radial dual triangular lattice graphs (RDTLGs) constructed over Eisenstein integers (β€[Ο]), while establishing fundamental topological and reflective properties across circles of arbitrary radius.
The foundational contribution, as presented in the unifying preprint, is the Tri-Quarter Topological Duality Theorem, which equips any circle T_r (of radius r > 0) with a novel topological property. This theorem positions T_r as an active boundary zone with intrinsic directional characteristics, enabling consistent separation of the inner zone X_{β,r} (|z| < r) and outer zone X_{+,,r} (|z| > r) through a phase pair map that encodes additional directional information and unifies the treatment of real and imaginary components across coordinate systems.
Complementing this is the Escher Tri-Quarter Reflective Duality Theorem, which proves reflective duality across T_r via circle inversion. This map preserves phase pairs while bijectively swapping the inner and outer zones, providing an exact topological and reflective correspondence.
Building on these duality principles, TQF provides:
- Exact bijective duality between inner and outer zones via circle inversion
- Native support for three symmetry groups:
- β€β β rotational symmetry (order 6, 60Β° increments)
- Dβ β dihedral symmetry (order 12, rotations + reflections)
- πββ β inversive hexagonal dihedral symmetry (order 24, Dβ extended by circle inversion)
- Phase-pair directional encoding aligned with 60Β° angular sectors, serving as the unifying mechanism for radial separation and orientation
- Path mirroring and symmetry-aware algorithms exploiting geometric structure
TQF enables novel approaches in:
- Geometric deep learning and equivariant neural architectures
- Signal processing (e.g., BPSK demodulation with hexagonal symmetry)
- Graph algorithms on dual-zone lattices
- Visual and algebraic understanding of complex-plane geometry, including streamlined directional mappings and computational efficiency gains (e.g., reduced conditional checks in quadrant-based transformations)
These properties originate from the topological and reflective dualities proven across circles of any radius, forming the theoretical foundation upon which subsequent TQF extensionsβsuch as lattice graph implementations and symmetry-aware neural networksβare constructed.
-
Schmidt, Nathan O. (2025). The Tri-Quarter Framework: Unifying Complex Coordinates with Topological and Reflective Duality across Circles of Any Radius. TechRxiv. https://www.techrxiv.org/users/906377/articles/1281679
-
Schmidt, Nathan O. (2025). Tri-Quarter Framework Case Study: BPSK Signal Processing. TechRxiv. https://www.techrxiv.org/users/906377/articles/1311875
-
Schmidt, Nathan O. (2025). The Tri-Quarter Framework: Radial Dual Triangular Lattice Graphs with Exact Bijective Dualities and Equivariant Encodings via the Inversive Hexagonal Dihedral Symmetry Group πββ. TechRxiv. https://www.techrxiv.org/users/906377/articles/1339304
See individual project READMEs and documentation for additional info.
MIT License
Copyright (c) 2026 Nathan O. Schmidt, Cold Hammer Research & Development LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
See LICENSE file for complete license text.
This is currently a personal research project, but feedback and suggestions are welcome:
- Issues: Report bugs or suggest features via GitHub Issues
- Discussions: Reach out via email for collaboration ideas or questions
- Citations: If you use this work, please cite the relevant publications
All contributions must adhere to the MIT License and maintain the reproducibility standards established in the existing codebase.
QED
For tool-specific questions, please consult the relevant tool's documentation first.
Last Updated: February 24, 2026
Maintainer: Nathan O. Schmidt
Organization: Cold Hammer Research & Development LLC (https://coldhammer.net)
Please remember: this is an experimental after-hours unpaid hobby science project. :)
For issues, please open a GitHub issue or contact: nate.o.schmidt@coldhammer.net
EOF