Publications

Technical papers, system working papers and reference documentation produced by the HFThot Research Lab. Every publication ships with the open-source code and notebooks needed to reproduce the figures.

Author ORCID iD: 0009-0002-2490-463X

October 2026 · Preprint v1 · 32 pages · five equations, CPU-only

Physics-Informed Neural Networks on One CPU: Exact Gradients from an External Objective Library

Melvin Alvarez · Independent Researcher, HFThot Research Lab

Five equations from quantum cosmology, gauge theory, relativistic quantum mechanics and random matrix theory, each solved by a physics-informed neural network trained entirely on one CPU without a deep-learning framework. The objectives come from optimiz-rs; the automatic differentiation is a 250-line reverse-mode tape; the optimiser is L-BFGS. The methodological contribution is a composition rule, proved as Theorem 3.1, that lets an objective defined outside the differentiation tape contribute an exact gradient through a single vector–Jacobian product — so one audited implementation of a loss serves an entire stack. Each equation is derived from its physical starting point, its well-posedness stated precisely, and the trained network graded against an independent reference: Numerov integration, spectral inversion of the periodic Laplacian, the exactly diagonalised propagator, and the simulated particle system with the analytic semicircle transform. Relative errors run from 2.4×10−4 to 9.8×10−2, total training 213 s on one i9-8950HK. Unitarity of the Dirac evolution and Wigner's semicircle law were deliberately excluded from the objectives so that they constitute evidence rather than assumption. The paper also reports, with reproducible evidence, three errors the validation protocol caught in our own work.

PINN optimiz-rs Wheeler-DeWitt Yang-Mills Dirac McKean-Vlasov L-BFGS CPU-only
DOI 10.5281/zenodo.23764841 · Zenodo v1, 29 October 2026 · CC BY 4.0
November 2026 · Preprint v3 · 44 pages · measured two-node campaign

ThotBook-AI: CPU-Only Language-Model Training with Physics-Informed Verification, Membership Auditing and Versioned Corpus Provenance

ThotBook Research · Independent Researcher

A Rust system that trains, serves, verifies and audits a personal language model entirely on CPU, no GPU and no external API. Every pipeline stage reads and writes a versioned Delta Lake table, so the corpus that produced a model is recoverable at a numbered version with a commit timestamp; a self-contained reverse-mode autodiff engine solves the differential equations appearing in ingested documents rather than only quoting them. Version 3 adds a measured two-node distributed campaign (local host + VPS workers, full-batch 96k gradient in 18.7 s single-process and 2.6 s at 4+4 workers) whose every number is reproduced from the released JSON artifact.

ThotBook-AI Rust CPU-only Delta Lake PINN Membership Inference
November 2026 · Preprint v2.0.0 · 32 pages

Polarway: Railway-Oriented Data Engineering for Bounded-Memory, Multi-Language Analytics

ThotBook Research

Applies Railway-Oriented Programming to analytical pipelines built on Polars: every transformation returns an explicit success/failure value, so error handling composes rather than being bolted on through exceptions. Seven original crates add a Delta-Lake-backed lakehouse with ACID transactions and time travel, network-native streaming sources, and a Spark DataFrame compatibility layer. On 5M rows, 3.4–8.7× faster than PySpark on scan/aggregation/join/windowing.

Polarway Rust Polars Delta Lake Railway-Oriented
DOI 10.5281/zenodo.23925077 · Zenodo v2.0.0, 2 November 2026 · CC BY 4.0
pysic-rs
November 2026 · Preprint 0.2.0 · 21 pages

pysic-rs: A Validated Mathematical-Physics Engine in Rust, and What Grading It Against Closed Forms Revealed

Mel Alvarez · HFThot Research Lab

A CPU-only mathematical-physics library covering special functions, ODE/PDE solvers, quantum mechanics, general relativity, gauge theory and topology, built around one commitment: every routine is graded against a closed form or tabulated value rather than demonstrated on a plot that looks plausible. Applying that commitment exposed eight incorrect routines in our own code — a Dirac propagator whose norm reached $3.6\times10^{57}$, an eigensolver returning the matrix diagonal, Bessel functions returning $+50.6$ for a quantity bounded by 1, and a vacuum spacetime reporting non-zero Ricci curvature. The paper analyses why the existing tests could not have failed, most starkly a Ricci-flatness test that passed a constant metric to a routine that differentiates its argument.

Pysic-rs Rust PyO3 Dirac ADM Wheeler–DeWitt Validation
DOI 10.5281/zenodo.23934314 · Zenodo 0.2.0, 4 November 2026 · CC BY 4.0
September 2026 · Course · 30 pages · 34 solved exercises

Mathematical Prerequisites for Computational Physics

HFThot Research Lab · 10,99 €

Complex analysis and special functions, floating-point cancellation, spectral linear algebra, ODE stability and stiffness, Fourier and Strang splitting, asymptotics and turning points, Clifford algebra, and constrained systems — every chapter ending on the invariant that would have caught the corresponding error. In French, with all 34 exercises fully solved. The thread running through it is one question: how would I know this result is wrong?

Course Analysis Numerics Asymptotics Clifford ADM
November 2026 · Preprint v2 · 28 pages

optimiz-rs: A Rust-Backed Library of Composable Numerical Primitives for Quantitative Finance

Mel Alvarez · HFThot Research Lab

A JAX-style system paper covering the seven primitive families exposed by Optimiz-rs v2: hidden Markov models, backward stochastic differential equations, McKean–Vlasov diffusions and mean-field games, path signatures, Hawkes processes, robust drift estimation and persistent topology. Includes complete derivations, theorems, pseudocode, honest single-threaded benchmarks, and an empirical validation of Sznitman's $\mathcal{O}(N^{-1/2})$ propagation-of-chaos rate.

Optimiz-rs Rust PyO3 BSDE McKean–Vlasov Signatures Hawkes TDA
DOI 10.5281/zenodo.23935101 · Zenodo v2, 4 November 2026 · CC BY 4.0
2026 · Prerequisites paper · 52 pages · machine-checked identities

Prerequisites for Yang–Mills Theory and the Mass Gap Problem

Mel Alvarez · HFThot Research Lab

A self-contained mathematical primer for the companion article “Yang–Mills: Why a Million-Dollar Problem Has Resisted for 70 Years”: Lie groups and algebras, principal bundles, connections and curvature, the variational derivation of the field equations, the Wightman axioms, the one-loop derivation of asymptotic freedom, instanton classification via the Bogomolny bound, and the spontaneous-symmetry-breaking computation — closing with a section-by-section roadmap back to the article. Full derivations, worked examples, and exercises with solutions throughout.

Physics Gauge theory Instantons Mass gap
2026 · Working paper WP1 · 46 pages · v1.1 falsification protocol

Optimal Trading via Mean-Field Games & MCMC

Mel Alvarez · HFThot Research Lab

Optimal portfolio allocation in the presence of self-induced market impact, formulated as a mean-field game of McKean–Vlasov type: the HJB / Fokker–Planck system is solved by a particle method coupled to an MCMC sampler over the population distribution. Convergence of the discretised system is proven under a monotonicity condition, with explicit sample-complexity bounds; on a synthetic universe the MFG-aware allocator beats mean-variance on Sharpe and turnover-stability across regime switches.

WP1 Mean-field games McKean–Vlasov
2026 · Working paper WP2 · 60 pages · v1.1 falsification protocol

Rough Heston & Signature Methods for Volatility Arbitrage

Mel Alvarez · HFThot Research Lab

Calibration of the rough Heston model combining fractional ODE numerics with a path-signature representation of forward variance curves. The signature embedding turns calibration into a smooth optimisation in feature space, with a 10–30× speed-up over Fourier-based calibrations; the pipeline is validated on SPX, EUR/USD and BTC surfaces and yields a model-free volatility-arbitrage indicator with documented backtest performance.

WP2 Rough volatility Path signatures
2026 · Working paper WP3 · 54 pages · v1.1 falsification protocol

Adaptive Portfolio Construction & Execution

Mel Alvarez · HFThot Research Lab

A stochastic-control framework fusing regime detection, optimal allocation and execution-aware optimisation into a single Hamilton–Jacobi–Bellman recursion: the optimal trading rate is computed self-consistently with execution friction, eliminating the artificial split between portfolio construction and execution scheduling. Convergence of a policy-iteration scheme is proven; a deep-Galerkin variant covers high-dimensional regimes.

WP3 Stochastic control HJB
2026 · Working paper WP4 · 66 pages · v3.1 arbitrage certificates

Options Portfolio Labs — Volatility Arbitrage at Scale

Mel Alvarez · HFThot Research Lab

A unified pricing-and-hedging framework for systematic options desks: arbitrage-free SSVI surface calibration, regime-conditioned dispersion signals, and a Greeks-tensor risk budget. A constrained-QP hedger respects both transaction costs and Greek caps; the framework is demonstrated on an SPX-vs-constituent dispersion lab.

WP4 Volatility surfaces SSVI Dispersion
2026 · Working paper WP5 · 23 pages · revised v3 · under journal review

Topological Arbitrage: A Discrete Chern–Simons Framework for Lead–Lag Markets

Mel Alvarez · HFThot Research Lab

Building on Farinelli's geometric arbitrage theory, the market bundle is discretised into an asset graph carrying a $U(1)$-valued lead–lag connection; plaquette curvature is identified with discrete arbitrage opportunities, and the Chern–Simons functional is a gauge-invariant scalar detecting where the zero-curvature (NFLVR) condition fails. Validated on five major crypto assets with a purged $k$-fold walk-forward protocol: the signal Granger-causes realised volatility (Diebold–Mariano $p<0.01$ vs the VIX/RV baseline) and delivers a deflated Sharpe of 1.84 vs 1.12 for the linear PCA benchmark.

WP5 Geometric arbitrage Chern–Simons Walk-forward