Theoretical Mathematician · Formal Verification · Decision Theory Under Uncertainty
I am a theoretical mathematician working at the intersection of formal verification, decision theory under uncertainty, and cross-domain structural translation. My work is organized around a single core question: What must a decision-maker get right, structurally, to avoid failure under uncertainty? This is explored, expanded, and answered by my Lean 4/Mathlib formalization — Ismail's Primitives — that proves six structural properties necessary, mutually independent, and sequentially dependent for adaptive decision-making in a precisely defined environment class (Class C). That formalization is then instantiated across four domains: economics, developmental psychology, clinical psychology, and a clinical protocol (SPEA). A separate repository, Ismail's Glossary, provides a complete navigation index for every module in Mathlib4.
All mathematical results are machine-checked in Lean 4 against Mathlib. The formalization contains zero sorry, zero custom axiom, and zero opaque declarations. Every theorem cited in the domain papers traces to a named Lean identifier with a verifiable line range.
Machine-checked Lean 4 / Mathlib formalization of Ismail's Primitives — six structural primitives proven necessary, mutually independent, and sequentially linked for sequential decision-making under uncertainty.
- Lines of Lean 4: ~12,700
- sorry / axiom / opaque: 0 / 0 / 0
- Linter suppressions: 0
- Phases: 6 interdependent files (
Phase0.lean–Phase5.lean) - Website: m-ismail-za.github.io/IsmailsPrimitives
- CI: GitHub Actions, pinned toolchain, reproducible build
A complete navigation index for every one of Mathlib4's 9,150 modules — plain-English descriptions, systematic disambiguation of similarly named modules, and five deliverables: JSON, RAG export, Claude Skill bundle, master spreadsheet, and an interactive website.
- Coverage: 9,150 modules · 1,129 directories · 8,021 files · 32 top-level mathematical domains
- Reference snapshot: Lean 4.29.1, Mathlib4 commit
1ad783f9bf(2026-05-09) - Status: 9,107 Complete · 43 Benchmark Theorem · 0 Pending · 0 Needs Review
- Website: m-ismail-za.github.io/IsmailsGlossary
All papers are published on Zenodo under CC BY 4.0. The foundational mathematics is the Primitives paper; the domain papers are applications of it.
| Title | Version | DOI |
|---|---|---|
| Ismail's Primitives: A Unified Functional Theory of Necessity, Independence, and Sequential Dependence in Adaptive Decision Systems | V6.1 (2026) | 10.5281/zenodo.21177368 |
| Ismail's Primitives: Lean-verified Economic Adaptation Theory | V2.0 (2026) | 10.5281/zenodo.21289756 |
| Ismail's Primitives and Human Development: A Functional Isomorphism Between a Lean-Verified Computational Theory and Developmental Psychology | V3.0 (2026) | 10.5281/zenodo.21257553 |
| Ismail's Primitives: An Emotional Adaptation Theory for Therapy Discovered through Functional Isomorphism | V2.0 (2026) | 10.5281/zenodo.21289914 |
| Ismail's Primitives: The SPEA Protocol for Clinical Psychology | V1.0 (2026) | 10.5281/zenodo.21311895 |
| Ismail's Glossary: A Complete Navigation Index for Mathlib4 | V1.0 (2026) | 10.5281/zenodo.21192789 |
The formalization defines six functional properties of decision rules, referred to throughout the proof and the papers as X1–X6:
| Primitive | Name | What it requires |
|---|---|---|
| X1 | Objective Tracking | Tell two live hypotheses apart before acting on either |
| X2 | Cross-Context Safety Transfer | Recognize the action that can't be undone, and don't take it |
| X3 | Global Attractor Exploration | Keep probing past the comfortable, safe plateau |
| X4 | Policy Simplification | Commit decisively once the evidence is in |
| X5 | Feasibility Projection | Treat a hard limit as a wall, never a trade-off |
| X6 | Feedback Adaptation | Discard a belief once the world it described has changed |
Part I (Necessity). For each primitive, an explicit minimal environment is constructed and an unconditional Ω(T) regret lower bound is proved for any decision-maker lacking it.
Part II (Independence). For every ordered pair (i, j) with i ≠ j, an explicit decision rule is exhibited that possesses Xj but lacks Xi and suffers Ω(T) regret on the matching environment. All thirty directed-pair results follow from one master theorem.
Part III (Sequential Dependence). Six Information Enhancement Theorems establish that the primitives compose into a directed information chain X₁ → X₂ → ⋯ → X₆ → X₁. Each link is established by a forward theorem, a reverse theorem, and a non-reversibility result. The closing link is grounded in an explicit Doob martingale construction over cycles of play.
| Skill | Degree | Principal artifact evidence |
|---|---|---|
| Formal verification (Lean 4 / Mathlib) | Advanced | ~12,700-line formalization with 0 sorry, 0 axiom, 0 opaque, 0 linter suppressions; CI; six-phase dependency graph; public repository |
| Novel argument construction | Advanced | Six distinct lower-bound proofs (Le Cam two-world, survival-conditional, horizon-parameterized, Fano/entropy-inverse, Cesàro-average, window-calibration), plus a master independence reduction collapsing thirty pairwise results into three shared lemmas |
| Reinforcement learning / lower-bound construction | Advanced | Six minimal adversarial environments, six Ω(T) necessity theorems, Le Cam and Fano deployments |
| Measure-theoretic probability | Advanced (specific construction) | trajMeasure infrastructure (oneStepKernel, trajMeasureAux, trajMeasure) deployed as the ambient space of every downstream theorem |
| Information theory | Advanced (finite-alphabet decision-theoretic) | Entropy, Fano, KL/TV/JSD toolkit built from first principles and deployed in necessity_x1 and necessity_x4 |
| Domain translation | Distinctive | Four complete domain instantiations (economics, developmental psychology, clinical theory, clinical protocol) plus the Glossary's Mathlib index; each citing canonical primary sources and preserving the epistemic tier of each claim |
| Architectural / research programme design | Distinctive | Four-tier epistemic architecture across six interdependent documents; fourteen Phase 1 declarations positioned for downstream chain instantiation |
| Epistemic scoping and version discipline | Distinctive | Consistent four-tier epistemic hierarchy (machine-verified / paper-proved / domain readings / guide-invented methods); structured version histories with documented corrections |
| Consilience argumentation | Proficient | Erikson/Maslow/Bowlby convergence argument in developmental psychology; multiple therapeutic traditions converging on the same six functions in clinical theory |
| Real analysis | Proficient | kronecker_lemma, log-inequality chain terminating in necessity_x4; boundary limits for entropy-related sequences |
| Convex analysis | Proficient | Binary-entropy concavity and Fano monotonicity deployed via IVT-based entropy-inverse construction; Jensen's inequality for conditional expectation |
| Stochastic processes / martingale theory | Proficient | cycle_filtration, cycle_posterior, azuma_hoeffding; anchor of the closing chain link (X6 → X1) |
| Technical writing (mathematics) | Proficient | Paper-length mathematical exposition with formal definitions, theorem statements, proof sketches, Rosetta appendix mapping every numbered result to a Lean identifier, and environment verification appendix |
| Domain knowledge: Economics | Reading-level fluency | Canonical primary sources across six sub-fields (information economics, financial contagion, coordination failure, time consistency, non-convex feasibility, structural breaks); Proposition walras; 2008 financial crisis diagnosis |
| Domain knowledge: Developmental psychology | Reading-level fluency | Broad citation across stage theories, attachment theory, developmental cognitive neuroscience, philosophy of mind, cultural psychology, and computational cognitive science |
| Domain knowledge: Clinical psychology | Reading-level fluency | Broad citation across major psychotherapy traditions, outcome research, and emotion theory; SPEA protocol with per-step therapist scripts, falsification programme, and six study designs |
| Software engineering | Working | Two public repositories with clear module separation, CI, pinned toolchains, reproducible builds, and documentation |
| Data engineering | Working | Multi-format glossary export (JSON, RAG-ready flat export, Claude Skill bundle, spreadsheet, HTML site) with versioning discipline tracking Lean toolchain, Mathlib snapshot, and glossary release separately |
The Lean 4 formalization underlying the Primitives paper:
| Metric | Value |
|---|---|
| Lines of Lean 4 | ~12,700 |
sorry declarations |
0 |
Custom axiom declarations |
0 |
opaque declarations |
0 |
| Linter suppressions | 0 |
| Phases | 6 (Phase0.lean–Phase5.lean) |
| Necessity theorems | 6 |
| Independence results | 30 (via master theorem) |
| Information Enhancement Theorems | 6 |
| Closing link | Doob martingale construction over cycles |
The dependency graph is real and consumed at each phase: Phase 3 uses Phase 1/2/2CMI declarations inside its necessity proofs; Phase 4 uses Phase 2 environments inside its independence proofs; Phase 5 uses Phase 2CMI conditional-entropy machinery inside its chain-linking theorems.
Ismail's Primitives: Lean-verified Economic Adaptation Theory (V2.0, 2026)
The same tuple of environment, algorithm, and reward is relabelled term for term as economy, coordination mechanism, and welfare. Defines C as the union of all economies satisfying at least one of six structural properties — latent preference heterogeneity (E1), irreversible catastrophic absorbing states (E2), local coordination traps (E3), uniquely optimal allocations at positive-frequency market states (E4), non-convex feasibility (E5), and structural breaks (E6). Walrasian equilibrium is recovered precisely as the special case where the environment is not in C. The 2008 financial crisis is analysed as a structural diagnostic.
Aligns the six primitives, in sequence, against three developmental traditions built from incompatible methods and foundational assumptions: Erikson's psychosocial stages (clinical psychoanalytic observation), Maslow's motivational hierarchy (humanistic psychology), and Bowlby's attachment phases (ethology and evolutionary biology). The convergence is presented as consilience in Whewell's and Wilson's technical sense — independent lines of inquiry arriving at the same structural conclusion. Eight derived testable predictions are stated.
Ismail's Primitives: An Emotional Adaptation Theory for Therapy Discovered through Functional Isomorphism (V2.0, 2026)
Argues that human emotional life is a Class C environment and derives the six therapeutic functions that follow from it. Provides the first structural explanation of the Dodo Bird verdict: no modality dominates because the six functions are independent and irreplaceable, and integrative approaches win because they cover more of a fixed, provably complete set. Characteristic failure modes of six single-modality traditions are identified (insight without commitment, exposure non-response in alexithymia, acceptance without movement, committed-but-infeasible, activation without consolidation, discontinuous movement without direction).
Ismail's Primitives: The SPEA Protocol for Clinical Psychology (V1.0, 2026)
SPEA (Six Primitives of Emotional Adaptation) is a six-step clinical sequence: Emotional Archaeology, Pattern Mapping, Emotional Imagination, Authentic Distillation, Embodied Integration, and Narrative Weaving. Each step maps onto a function that established traditions (Psychodynamic Therapy, CBT, EFT, ACT, DBT, Narrative Therapy, Motivational Interviewing, Schema Therapy) had already discovered independently. The protocol specifies treatment trajectory, self-application framework, assessment battery, contraindications, therapist competency framework, and a research programme built on five falsification criteria — necessity, independence, sequential dependence, cyclical improvement, and superiority — each paired with a study design capable of overturning it.
If citing the foundational mathematics:
@article{ismail2026primitives,
author = {Ismail, Muhammed},
title = {Ismail's Primitives: A Unified Functional Theory of Necessity,
Independence, and Sequential Dependence in Adaptive Decision Systems},
year = {2026},
publisher = {Zenodo},
version = {V6.1},
doi = {10.5281/zenodo.21177368},
url = {https://doi.org/10.5281/zenodo.21177368}
}If citing the Glossary:
@article{ismail2026glossary,
author = {Ismail, Muhammed},
title = {Ismail's Glossary: A Complete Navigation Index for Mathlib4},
year = {2026},
publisher = {Zenodo},
version = {V1.0},
doi = {10.5281/zenodo.21192789},
url = {https://doi.org/10.5281/zenodo.21192789}
}- Email: literacity@outlook.com
- ORCID: 0009-0000-3713-7105
- LinkedIn: researcher-adaptationtheory
- GitHub: M-Ismail-ZA
- Lean formalization (IsmailsPrimitives): MIT License
- Papers and Glossary data: CC BY 4.0 — free to use, cite, and build on; attribution is the only requirement.