The C17 & WL15 Library
Bader QTAIM and local 3D punctured-Maxwell IQA in portable, bit-deterministic ISO C17 (modular libqtaim + single-file QTAIM.c amalgamation with 3-tier BLAS/LAPACK) paired one-to-one with Wolfram Language 15 (QTAIM.wl, QTAIMC.wl ForeignFunctionLoad, and out-of-source evaluated notebooks) under CONVENTIONS.md and QTAIM-WFX-3.0. Machine-checked proofs in Lean are being added under the proof standard in lean/STANDARD.md; no theorem statement has yet been approved, so no result on this site is yet cited as proved by Lean.
The QTAIM Triple-Stack Library: ISO C17 & Wolfram Language 15
libqtaim and QTAIM.wl implement Bader's quantum theory of atoms in molecules and local
3D punctured-Maxwell IQA across
and under one authoritative
specification (Authoritative Conventions and QTAIM-WFX-3.0 & Wide-WFN Standard): certified critical points in
3D space, periodic crystals (),
and 4D spacetime, steepest-ascent bond paths, zero-flux interatomic surfaces
(),
analytical McMurchie–Davidson integrals, and honest unforced basin integrations of populations, multipoles,
volumes, ,
,
, virial estimates, and local 3D
.
Triple-Stack Architecture & Seven Principles
Stack 1 · Portable ISO C17 + Amalgamation
C17 / C++17Compiled strictly under
-std=c17 -Werror=vlawith zero VLAs, zero C99_Complex, zero<threads.h>, and a 3-tier BLAS/LAPACK fallback (system BLAS/LAPACK, optional Reference-LAPACK, and built-in C17 mathlib), emitted both aslibqtaimand as a single drop-inQTAIM.c+QTAIM.hpair across Windows, Linux, macOS, and the BSDs.Stack 2 & 3 · Wolfram Language 15 Native & FFI
WL15QTAIM.wlprovides a pointer-free mathematical reference and 50-digit arbitrary-precision oracle, whileQTAIMC.wlbindslibqtaimdirectly viaForeignFunctionLoadand builds the out-of-source evaluated notebookbuild/notebooks/QTAIM_TripleStack.nb.Symmetry Only Where Proven + Explicit C₁ Check
OpenMP + OS threadsSince 1.7.1 molecules use no symmetry shortcut: every atom is integrated, until a symmetry can be proven for the whole wavefunction. Crystals use the octant rule only where the cubic group maps the lattice, the atoms and the set onto themselves, and explicit
C1is always available. Parallel reductions are bit-deterministic across serial, OpenMP, native OS threads, and host thread-pool callbacks.Isomorphic Gibbs/Dyadics & 𝒢4+MF,4+MF,0|MB,MB Plugins
MITUnifies
DIRAC,Dalton,OpenMolcas,PySCF, andCP2Kin-memory alongside classic 3D Gibbs vectors/dyadics ( Witt bijection), West-Coast spinor/Faraday/virial multivectors,dlopen/LoadLibraryA3-tier sector plugins, andQTAIM-WFX-3.0(Keith1..84,KS/KR-SA-GASSCF(8)2-RDMs, and automatic -centered -mesh crystals) with raw unforced and .
Authoritative Standards & Guides
The single machine-verified specification (qtaim.conventions.v1) consulted by every C17 kernel, single-file amalgamation, 3-tier BLAS/LAPACK solver, Wolfram Language 15 package, out-of-source notebook, crystal solver, and HTML page.
Classic .wfn, arbitrary-width free-form Wide-WFN, Todd Keith 1..84 high-shell primitive types (s..i), automatic overlap permutation verification, and QTAIM-WFX-3.0 tags across KS/KR-SA-GASSCF(8), 4c Dirac quaternion spinors, fields, non-BO nuclei, EDF/ECPs, and Monkhorst–Pack crystals.