-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection0_identity_state_decomposition.tex
More file actions
1256 lines (1075 loc) · 40.6 KB
/
section0_identity_state_decomposition.tex
File metadata and controls
1256 lines (1075 loc) · 40.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% ============================================================================
% Formation Engine — §0: Formal Identity–State Decomposition Framework
% Printer-ready LaTeX. Compile with pdflatex (twice for refs).
% ============================================================================
\documentclass[11pt, a4paper, oneside]{article}
% ── Geometry ────────────────────────────────────────────────────────────────
\usepackage[
top=1.0in, bottom=1.0in, left=1.15in, right=1.15in,
headheight=14pt
]{geometry}
% ── Fonts / encoding ───────────────────────────────────────────────────────
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{microtype}
% ── Math ───────────────────────────────────────────────────────────────────
\usepackage{amsmath, amssymb, amsthm, mathtools}
\usepackage{bm}
% ── Tables ─────────────────────────────────────────────────────────────────
\usepackage{booktabs}
\usepackage{array}
\usepackage{tabularx}
% ── Lists ──────────────────────────────────────────────────────────────────
\usepackage{enumitem}
\setlist{nosep, leftmargin=1.5em}
% ── Headers / footers ─────────────────────────────────────────────────────
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\textit{Formation Engine Methodology}}
\fancyhead[R]{\small\textit{§0 — Identity–State Decomposition}}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
% ── Section formatting ─────────────────────────────────────────────────────
\usepackage{titlesec}
\titleformat{\section}
{\Large\bfseries}
{§\thesection}{1em}{}
\titleformat{\subsection}
{\large\bfseries}
{\thesubsection}{1em}{}
\titleformat{\subsubsection}
{\normalsize\bfseries}
{\thesubsubsection}{1em}{}
\setcounter{section}{-1} % first \section produces §0
% ── Hyperlinks ─────────────────────────────────────────────────────────────
\usepackage[
colorlinks=true, linkcolor=black, citecolor=black, urlcolor=blue
]{hyperref}
% ── Theorem-like environments ──────────────────────────────────────────────
\theoremstyle{definition}
\newtheorem{postulate}{Postulate}[section]
\newtheorem{defn}[postulate]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[postulate]{Remark}
% ── Convenience macros ─────────────────────────────────────────────────────
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Bset}{\mathbb{B}}
\newcommand{\Kcal}{\text{kcal}}
\newcommand{\mol}{\text{mol}}
\newcommand{\boldI}{\mathbf{I}}
\newcommand{\boldG}{\mathbf{G}}
\newcommand{\boldC}{\mathbf{C}}
\newcommand{\boldK}{\mathbf{K}}
\newcommand{\boldL}{\mathbf{L}}
\newcommand{\boldS}{\mathbf{S}}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator*{\argmax}{arg\,max}
% ── Document ───────────────────────────────────────────────────────────────
\begin{document}
% ── Title block ────────────────────────────────────────────────────────────
\begin{center}
{\LARGE\bfseries Formation Engine}\\[0.3em]
{\LARGE\bfseries Canonical Simulation Methodology}\\[1.2em]
{\large §0 — Formal Identity–State Decomposition Framework}\\[1.5em]
{\normalsize
\textit{A deterministic classical-mechanical framework for the prediction
of molecular and crystalline structure from elemental identity and
thermodynamic boundary conditions, without recourse to empirical
molecular data.}}\\[1.5em]
{\small Version 0.1 — First Principles Draft}
\end{center}
\vspace{1em}
\hrule
\vspace{2em}
% ════════════════════════════════════════════════════════════════════════════
\section{Formal Identity–State Decomposition Framework}
% ════════════════════════════════════════════════════════════════════════════
% ────────────────────────────────────────────────────────────────────────────
\subsection{Identity}
\label{sec:identity-vector}
% ────────────────────────────────────────────────────────────────────────────
Define a time-invariant identity vector for particle~$i$:
%
\begin{equation}
\boldI_i \in \R^{6}, \qquad
\boldI_i =
\begin{bmatrix}
Z_i \\ A_i \\ Q_i \\ \Sigma_i \\ \Lambda_i \\ \Theta_i
\end{bmatrix}
\label{eq:identity-vector}
\end{equation}
%
with components defined as follows.
% ·········································································
\subsubsection{Nuclear Identity \texorpdfstring{$Z_i$}{Zi}}
\label{sec:nuclear-identity}
\[
Z_i \in \N^{+}
\]
Atomic number. Immutable under all non-nuclear transformations.
Serves as the identity anchor for all downstream mappings.
% ·········································································
\subsubsection{Mass Identity \texorpdfstring{$A_i$}{Ai}}
\label{sec:mass-identity}
\[
A_i \in \R^{+}
\]
Represents either:
\begin{itemize}
\item exact mass number (isotopic resolution), or
\item effective mass bucket under coarse-graining.
\end{itemize}
\noindent Constraint:
\[
A_i^{(\text{fast})} \approx \bar{A}(Z_i),
\qquad
A_i^{(\text{audit})} = A_i^{\,\text{exact}}
\]
% ·········································································
\subsubsection{Effective Charge Participation
\texorpdfstring{$Q_i$}{Qi}}
\label{sec:charge-participation}
\[
Q_i \in \R
\]
Not an oxidation state. Instead, define $Q_i$ as a participation
coefficient modulating interaction strength:
%
\begin{equation}
Q_i = \frac{1}{|\mathcal{N}_i|}
\sum_{j \in \mathcal{N}_i} \chi_{ij}
\label{eq:charge-participation}
\end{equation}
%
where $\chi_{ij}$ is an interaction asymmetry measure (electron
donation/withdrawal bias) and $\mathcal{N}_i$ is the local
neighbourhood.
This allows:
\begin{itemize}
\item fractional values,
\item environment dependence,
\item smooth behaviour under coarse-graining.
\end{itemize}
% ·········································································
\subsubsection{Structural Role Signature
\texorpdfstring{$\Sigma_i$}{Sigma-i}}
\label{sec:structural-role}
\[
\Sigma_i \in \{0,\,1,\,2,\,3,\,4\}
\]
Discrete structural prior encoding dominant bonding topology:
%
\[
\Sigma_i =
\begin{cases}
0 & \text{inert / closed shell} \\
1 & \text{ionic-dominant} \\
2 & \text{directional covalent} \\
3 & \text{metallic / delocalized} \\
4 & \text{mixed / transitional}
\end{cases}
\]
%
This parameter biases search and interaction kernels without
explicit bond constraints.
% ·········································································
\subsubsection{Stability Class
\texorpdfstring{$\Lambda_i$}{Lambda-i}}
\label{sec:stability-class}
\[
\Lambda_i \in \{0,\,1,\,2,\,3\}
\]
Defines statistical persistence under thermal and configurational
perturbation:
%
\begin{equation}
\Lambda_i = \argmax_k \;
P_i\!\bigl(\text{survival} \mid \Delta E,\, T,\, t\bigr)
\label{eq:stability-class}
\end{equation}
Interpretation:
%
\begin{center}
\begin{tabular}{cl}
\toprule
$\Lambda$ & Meaning \\
\midrule
0 & transient \\
1 & metastable \\
2 & ambient-stable \\
3 & bulk-lattice candidate \\
\bottomrule
\end{tabular}
\end{center}
% ·········································································
\subsubsection{Provenance Memory
\texorpdfstring{$\Theta_i$}{Theta-i}}
\label{sec:provenance-memory}
\[
\Theta_i \in \Bset^{n}, \qquad n \in [8,\,16]
\]
Binary provenance hash encoding transformation lineage:
%
\begin{equation}
\Theta_i = \mathcal{H}\!\bigl(
\text{origin},\;
\text{generation},\;
\text{relaxation depth}
\bigr)
\label{eq:provenance-hash}
\end{equation}
Used for:
\begin{itemize}
\item audit trails,
\item anomaly detection,
\item irreversible-history awareness.
\end{itemize}
% ════════════════════════════════════════════════════════════════════════════
% PRIMED EXTENSION: Canonical Particle Container Postulate
% ════════════════════════════════════════════════════════════════════════════
\bigskip
\subsection*{0.1.3$'$\quad Canonical Particle Container Postulate (CPCP)}
\addcontentsline{toc}{subsection}%
{0.1.3$'$ Canonical Particle Container Postulate (CPCP)}
\label{sec:cpcp}
% ·········································································
\subsubsection*{0.1.3$'$.1\quad Postulate Statement}
\addcontentsline{toc}{subsubsection}{0.1.3$'$.1 Postulate Statement}
\label{sec:cpcp-postulate}
\begin{postulate}[Canonical Particle Container]
Any time-independent identical atomic or subatomic particle species
admits an idealised canonical container representation:
%
\begin{equation}
\mathcal{C}_i =
\bigl(
\boldI_i,\;
\boldG_i,\;
\boldC_i^{\,\mathrm{comp}}
\bigr)
\label{eq:container}
\end{equation}
%
where:
\begin{itemize}
\item $\boldI_i$ = Identity vector (§\ref{sec:identity-vector}),
\item $\boldG_i$ = Fundamental internal quantum descriptor set,
\item $\boldC_i^{\,\mathrm{comp}}$ = Computational annotation payload
(non-physical but simulation-critical).
\end{itemize}
\end{postulate}
% ·········································································
\subsubsection*{0.1.3$'$.2\quad Fundamental Quantum Descriptor Bundle
\texorpdfstring{$\boldG_i$}{Gi}}
\addcontentsline{toc}{subsubsection}%
{0.1.3$'$.2 Fundamental Quantum Descriptor Bundle}
\label{sec:quantum-bundle}
For any identical species class:
%
\begin{equation}
\boldG_i =
\begin{bmatrix}
s_i \\ c_i \\ f_i \\ \kappa_i \\ \eta_i
\end{bmatrix}
\label{eq:quantum-bundle}
\end{equation}
\paragraph{Spin \texorpdfstring{$s_i$}{si}.}
\[
s_i \in \tfrac{1}{2}\,\Z
\]
Intrinsic angular momentum.
Defines statistics class:
%
\[
s_i \in \Z \;\Rightarrow\; \text{Bosonic regime},
\qquad
s_i \in \tfrac{1}{2} + \Z \;\Rightarrow\; \text{Fermionic regime}
\]
\paragraph{Colour charge \texorpdfstring{$c_i$}{ci}.}
For quark-level modelling:
\[
c_i \in \{r,\,g,\,b,\,\bar{r},\,\bar{g},\,\bar{b}\}
\]
or abstracted as $c_i \in \Z_3$.
Under coarse projection: $\langle c_i \rangle \to 0$
(enforced colour neutrality constraint).
\paragraph{Flavour index \texorpdfstring{$f_i$}{fi}.}
Discrete particle family label:
\[
f_i \in \N_{\text{flavour classes}}
\]
For atoms, this collapses to nuclear composition mapping via
$(Z_i, A_i)$.
For subatomic simulations, it remains explicit.
\paragraph{Internal projection coupling
\texorpdfstring{$\kappa_i$}{kappa-i}.}
Represents coupling between core particle and embedded field
carriers:
%
\begin{equation}
\kappa_i =
\begin{bmatrix}
\kappa^{(g)} \\[3pt]
\kappa^{(em)} \\[3pt]
\kappa^{(w)}
\end{bmatrix}
\label{eq:kappa}
\end{equation}
%
mapping to embedded co-particle field contributions (graviton /
dimagneton / magneton-style internal carriers).
\paragraph{Projection information density
\texorpdfstring{$\eta_i$}{eta-i}.}
Minimal information content proxy:
%
\begin{equation}
\eta_i = \frac{I_{\text{struct}}}{V_{\text{proj}}}
\label{eq:info-density}
\end{equation}
%
Used for:
\begin{itemize}
\item collapse behaviour heuristics,
\item coarse-graining fidelity loss tracking,
\item MIT alignment scoring.
\end{itemize}
% ·········································································
\subsubsection*{0.1.3$'$.3\quad Canonical Container Geometry
Approximation}
\addcontentsline{toc}{subsubsection}%
{0.1.3$'$.3 Canonical Container Geometry Approximation}
\label{sec:container-geometry}
For computational purposes, define an effective interaction envelope:
%
\begin{equation}
\Omega_i =
\bigl(
R_i,\;
\mathcal{T}_i(\theta,\phi),\;
\rho_i(r)
\bigr)
\label{eq:envelope}
\end{equation}
\paragraph{Effective radius.}
\begin{equation}
R_i = \alpha_Z \, Z_i^{\,1/3} + \alpha_Q \, |Q_i|
\label{eq:effective-radius}
\end{equation}
\paragraph{Angular texture.}
\begin{equation}
\mathcal{T}_i(\theta,\phi) =
\sum_{\ell=0}^{L}
\sum_{m=-\ell}^{\ell}
a_{\ell m}\, Y_{\ell m}(\theta,\phi)
\label{eq:angular-texture}
\end{equation}
\paragraph{Radial density envelope.}
\begin{equation}
\rho_i(r) = \rho_0 \, e^{-r/\lambda_i}
\label{eq:radial-density}
\end{equation}
This allows identical species to share container topology while
differing only in parameterisation.
% ════════════════════════════════════════════════════════════════════════════
% PRIMED EXTENSION: Computational Annotation Extension Layer
% ════════════════════════════════════════════════════════════════════════════
\bigskip
\subsection*{0.1.4$'$\quad Computational Annotation Extension Layer}
\addcontentsline{toc}{subsection}%
{0.1.4$'$ Computational Annotation Extension Layer}
\label{sec:comp-annotation}
These attributes are not fundamental physics.
They exist because compute is finite and because unstructured
metadata degrades into noise.
Define:
%
\begin{equation}
\boldC_i^{\,\mathrm{comp}} =
\begin{bmatrix}
\Gamma_i \\ \Xi_i \\ \Pi_i \\ \Upsilon_i
\end{bmatrix}
\label{eq:comp-annotation}
\end{equation}
\paragraph{Complexity class tag \texorpdfstring{$\Gamma_i$}{Gamma-i}.}
\[
\Gamma_i \in \{0,\,1,\,2,\,3,\,4\}
\]
Used for adaptive solver selection:
%
\begin{center}
\begin{tabular}{cl}
\toprule
Value & Meaning \\
\midrule
0 & inert, low interaction \\
1 & pairwise dominant \\
2 & directional bonding \\
3 & collective electron behaviour \\
4 & multi-scale coupled \\
\bottomrule
\end{tabular}
\end{center}
\paragraph{Interaction kernel selector
\texorpdfstring{$\Xi_i$}{Xi-i}.}
Maps particle to preferred interaction kernel family:
\[
\Xi_i \in
\{\,\text{LJ},\;
\text{Coulomb},\;
\text{Screened},\;
\text{EAM-like},\;
\text{Hybrid}\,\}
\]
Allows hot-swapping physics models without identity rewrite.
\paragraph{Solver priority weight
\texorpdfstring{$\Pi_i$}{Pi-i}.}
\[
\Pi_i \in [0,\,1]
\]
Used in adaptive timestep / refinement scheduling:
%
\begin{equation}
\Delta t_i = \frac{\Delta t_{\max}}{1 + \beta\,\Pi_i}
\label{eq:adaptive-dt}
\end{equation}
\paragraph{Annotation confidence
\texorpdfstring{$\Upsilon_i$}{Upsilon-i}.}
Tracks reliability of assigned metadata:
\begin{equation}
\Upsilon_i = 1 - P(\text{misclassification})
\label{eq:annotation-confidence}
\end{equation}
Critical for self-audit subsystems.
% ·········································································
\subsubsection*{0.1.4$'$.5\quad Container Invariance Condition}
\addcontentsline{toc}{subsubsection}%
{0.1.4$'$.5 Container Invariance Condition}
\label{sec:container-invariance}
For identical species:
%
\begin{equation}
\mathcal{C}_i \equiv \mathcal{C}_j
\quad \text{iff} \quad
\boldI_i = \boldI_j
\;\land\;
\boldG_i = \boldG_j
\label{eq:container-invariance}
\end{equation}
But computational layers may differ:
\[
\boldC_i^{\,\mathrm{comp}} \neq \boldC_j^{\,\mathrm{comp}}
\]
This is deliberate and necessary for performance scaling.
% ·········································································
\subsubsection*{0.1.4$'$.6\quad Practical Consequence}
\addcontentsline{toc}{subsubsection}%
{0.1.4$'$.6 Practical Consequence}
\label{sec:container-consequence}
\noindent\textbf{Physics layer.}
Identical particle $=$ identical fundamental container.
\medskip
\noindent\textbf{Compute layer.}
Identical particle can be simulated differently depending on context.
\medskip
\noindent
That is exactly how you triple effective data density without
multiplying particle count or neighbour graph size.
% ════════════════════════════════════════════════════════════════════════════
\subsection{Cells}
\label{sec:cell-container}
% ════════════════════════════════════════════════════════════════════════════
% ·········································································
\subsubsection{Postulate}
\label{sec:cell-postulate}
A simulation ``cell'' (molecular box, periodic crystal cell, or
derived supercell) is represented as a minimal container:
%
\begin{equation}
\mathcal{K} =
\bigl(
\boldK^{\mathrm{id}},\;
\boldK^{\mathrm{geom}},\;
\boldK^{\mathrm{comp}}
\bigr)
\label{eq:cell-container}
\end{equation}
%
where:
\begin{itemize}
\item $\boldK^{\mathrm{id}}$ is immutable lineage / provenance,
\item $\boldK^{\mathrm{geom}}$ is the geometric definition of the cell,
\item $\boldK^{\mathrm{comp}}$ is the minimal computational annotation
payload (caches are explicitly \emph{not} part of the container).
\end{itemize}
% ·········································································
\subsubsection{Lineage \texorpdfstring{$\boldK^{\mathrm{id}}$}{Kid}}
\label{sec:cell-identity}
\begin{equation}
\boldK^{\mathrm{id}} =
\begin{bmatrix}
\Theta_{\mathcal{K}} \\[3pt]
\Pi_{\mathcal{K}} \\[3pt]
F_{\mathcal{K}}
\end{bmatrix}
\label{eq:cell-identity}
\end{equation}
\paragraph{Provenance hash.}
\[
\Theta_{\mathcal{K}} =
\mathcal{H}\!\bigl(\text{sources},\;
\text{recipe},\;
\text{version}\bigr)
\]
\paragraph{Pipeline / recipe identifier.}
\[
\Pi_{\mathcal{K}} \in \Bset^{n}, \qquad n \in [64,\,256]
\]
(hash of ordered construction steps).
\paragraph{Source layer flag.}
\[
F_{\mathcal{K}} \in \{Z,\,A,\,C\}
\]
matching the \texttt{XYZFormat} enumeration.
\medskip\noindent
This is the cell-level analogue of the particle provenance memory
$\Theta_i$, except it fingerprints \emph{structure lineage}, not a
single site.
% ·········································································
\subsubsection{Geometry \texorpdfstring{$\boldK^{\mathrm{geom}}$}{Kgeom}}
\label{sec:cell-geometry}
The cell geometry is defined by a lattice matrix and a boundary mode.
\paragraph{Lattice matrix.}
Let the lattice vectors be
$\mathbf{a},\,\mathbf{b},\,\mathbf{c} \in \R^3$. Then:
%
\begin{equation}
\boldL =
\begin{bmatrix}
\mathbf{a}^{\!\top} \\
\mathbf{b}^{\!\top} \\
\mathbf{c}^{\!\top}
\end{bmatrix}
\in \R^{3 \times 3}
\label{eq:lattice-matrix}
\end{equation}
%
Cell volume: $\;V = \det(\boldL)$.
\paragraph{Boundary condition mode.}
\[
\mathcal{B} \in \{\text{vac},\;\text{pbc},\;\text{slab}\}
\]
\noindent The geometry bundle is:
\begin{equation}
\boldK^{\mathrm{geom}} =
\bigl[\,
\boldL,\;\;
\mathcal{B},\;\;
\mathbf{u}
\,\bigr]
\label{eq:cell-geometry}
\end{equation}
where $\mathbf{u}$ denotes units metadata (e.g.\ \AA).
\paragraph{Replication (supercell operator).}
For constructed cells:
\begin{equation}
\mathbf{n} = (n_x,\,n_y,\,n_z) \in \N^3,
\qquad
\boldL' = \mathrm{diag}(\mathbf{n})\,\boldL
\label{eq:supercell}
\end{equation}
% ·········································································
\subsubsection{Annotations \texorpdfstring{$\boldK^{\mathrm{comp}}$}{Kcomp}}
\label{sec:cell-comp}
Intentionally small and non-physical:
%
\begin{equation}
\boldK^{\mathrm{comp}} =
\begin{bmatrix}
\Gamma_{\mathcal{K}} \\[3pt]
\Xi_{\mathcal{K}} \\[3pt]
\Upsilon_{\mathcal{K}}
\end{bmatrix}
\label{eq:cell-comp}
\end{equation}
\paragraph{Complexity class.}
$\;\Gamma_{\mathcal{K}} \in \{0,\,1,\,2,\,3\}$
\;(0: molecule, 1: small periodic, 2: bulk candidate,
3: coupled / heterogeneous).
\paragraph{Kernel family selector.}
$\;\Xi_{\mathcal{K}} \in
\{\text{pairwise},\;\text{screened},\;
\text{EAM-like},\;\text{hybrid}\}$
\paragraph{Annotation confidence.}
$\;\Upsilon_{\mathcal{K}} = 1 - P(\text{misclassification})$
\bigskip\noindent
\textbf{Explicit exclusion:}
Runtime caches (bonds, neighbour lists, acceleration structures)
are not part of~$\mathcal{K}$; they live in a separate mutable
cache set:
%
\begin{equation}
\mathcal{M}_{\mathcal{K}}(t) =
\{\,\text{bonds},\;
\text{neighbour lists},\;
\text{BVH},\;
\text{RDF bins},\;
\ldots\,\}
\label{eq:cell-cache}
\end{equation}
% ·········································································
\subsubsection{Contents}
\label{sec:cell-content}
A cell contains particles (or clusters) each with its own container:
\[
\mathcal{K} \;\Rightarrow\;
\{\mathcal{C}_i\}_{i=1}^{N}
\]
Optionally with a connectivity relation~$\mathcal{E}$ (bonds /
adjacency) treated as derived:
\begin{equation}
\mathcal{E} = \mathrm{Infer}\!\bigl(
\{\boldS_i\},\;
\{\boldI_i\},\;
\boldL,\;
\mathcal{B}
\bigr)
\label{eq:connectivity}
\end{equation}
% ·········································································
\subsubsection{Implementation}
\label{sec:cell-comparison}
\begin{remark}[Alignment with \texttt{Crystal.hpp}]
The existing implementation already aligns with the container split:
%
\begin{center}
\renewcommand{\arraystretch}{1.3}
\begin{tabularx}{\linewidth}{>{\ttfamily}l c X}
\toprule
\textnormal{Code field} & $\longleftrightarrow$ & Formal layer \\
\midrule
xyz\_path, xyzA\_path, xyzC\_path
& & $\boldK^{\mathrm{id}}$ (immutable references) \\
lattice, replication
& & $\boldK^{\mathrm{geom}}$ (geometry) \\
ConstructionRecipe\{steps, hash\}
& & $\Pi_{\mathcal{K}},\;\Theta_{\mathcal{K}}$ (recipe lineage) \\
mutable inferred\_bonds, bonds\_computed
& & $\mathcal{M}_{\mathcal{K}}(t)$ (caches, explicitly mutable) \\
\bottomrule
\end{tabularx}
\end{center}
%
The notation imposes one discipline: caches never become ``truth.''
Humans enjoy turning caches into truth, then acting surprised when
it rots.
\end{remark}
If you keep your cell container this minimal, you get: deterministic
rebuild decisions, clean coarse-graining transitions, and provenance
you can actually defend in writing.
% ════════════════════════════════════════════════════════════════════════════
\subsection{Worlds}
\label{sec:world-container}
% ════════════════════════════════════════════════════════════════════════════
% ·········································································
\subsubsection{Definition}
\label{sec:world-def}
Define a world (a simulation ``instance'' that may contain many
cells, phases, or time segments) as:
%
\begin{equation}
\mathcal{W} =
\bigl(
W^{\mathrm{id}},\;\;
W^{\mathrm{top}},\;\;
W^{\mathrm{ctrl}},\;\;
W^{\mathrm{comp}}
\bigr)
\label{eq:world}
\end{equation}
%
\begin{itemize}
\item $W^{\mathrm{id}}$: immutable provenance + dataset identity,
\item $W^{\mathrm{top}}$: topology — cells, links, domains, boundaries,
\item $W^{\mathrm{ctrl}}$: run controls — integrators, schedules, objectives,
\item $W^{\mathrm{comp}}$: minimal compute annotation (not caches).
\end{itemize}
\noindent
Runtime caches are again excluded and live in
$\mathcal{M}_{\mathcal{W}}(t)$.
% ·········································································
\subsubsection{Identity \texorpdfstring{$W^{\mathrm{id}}$}{Wid}}
\label{sec:world-identity}
\begin{equation}
W^{\mathrm{id}} =
\bigl[\,
\Theta_{\mathcal{W}},\;\;
\Pi_{\mathcal{W}},\;\;
D_{\mathcal{W}},\;\;
\tau_{\mathcal{W}}
\,\bigr]
\label{eq:world-identity}
\end{equation}
\paragraph{World provenance hash.}
\begin{equation}
\Theta_{\mathcal{W}} =
\mathcal{H}\!\bigl(
\{\Theta_{\mathcal{K}_m}\},\;
\text{controls},\;
\text{code version}
\bigr)
\label{eq:world-hash}
\end{equation}
\paragraph{Pipeline identifier.}
\[
\Pi_{\mathcal{W}} \in \Bset^{n}, \qquad n \in [128,\,512]
\]
\paragraph{Dataset manifest.}
\begin{equation}
D_{\mathcal{W}} =
\bigl\{
(\text{path}_j,\;\text{fmt}_j,\;\text{hash}_j)
\bigr\}_{j=1}^{J}
\label{eq:dataset-manifest}
\end{equation}
\paragraph{Timebase / epoch definition.}
Not ``\texttt{created\_utc}''—a real timebase:
\begin{equation}
\tau_{\mathcal{W}} =
\bigl(t_0,\;\Delta t,\;\mathcal{T}\bigr)
\label{eq:timebase}
\end{equation}
where $\mathcal{T}$ is time domain type (continuous, bucketed,
event-driven).
% ·········································································
\subsubsection{Topology \texorpdfstring{$W^{\mathrm{top}}$}{Wtop}}
\label{sec:world-topology}
World contains a set of cells:
\[
\{\mathcal{K}_m\}_{m=1}^{M}
\]
and a connectivity graph describing interactions / adjacency /
exchange between cells:
\begin{equation}
G_{\mathcal{W}} = (V,\,E),
\qquad V = \{1,\ldots,M\}
\label{eq:world-graph}
\end{equation}
Each edge $e = (u,v) \in E$ carries a boundary operator:
\begin{equation}
B_{uv} =
\bigl(
X_{uv},\;\;
R_{uv},\;\;
S_{uv}
\bigr)
\label{eq:boundary-operator}
\end{equation}
%
\begin{itemize}
\item $X_{uv}$: exchange type (matter, charge, heat, constraints),
\item $R_{uv}$: mapping operator (index map, ghost region,
interpolation),
\item $S_{uv}$: schedule (when exchange occurs).
\end{itemize}
\noindent Minimal world topology bundle:
\begin{equation}
W^{\mathrm{top}} =
\bigl[\,
\{\mathcal{K}_m\},\;\;
G_{\mathcal{W}}
\,\bigr]
\label{eq:world-top}
\end{equation}
\noindent
This is how you model multi-phase systems, slabs + vacuum cells,
reservoirs, defect domains, coarse-grained / atomistic coupling —
without duct-taping everything into one mega-cell.
% ·········································································
\subsubsection{Controls \texorpdfstring{$W^{\mathrm{ctrl}}$}{Wctrl}}
\label{sec:world-ctrl}
Controls are not ``global variables''; they are a formal program.
%
\begin{equation}
W^{\mathrm{ctrl}} =
\bigl[\,
\mathcal{I},\;\;
\mathcal{O},\;\;
\mathcal{S},\;\;
\mathcal{A}
\,\bigr]
\label{eq:world-ctrl}
\end{equation}
\paragraph{Integrator family.}
$\;\mathcal{I} \in \{\text{MD},\;\text{MC},\;\text{hybrid},\;\text{relax}\}$
\paragraph{Objectives (scoring / constraints).}
\begin{equation}
\mathcal{O} = \{O_k\}_{k=1}^{K},
\qquad O_k : \mathcal{W} \to \R
\label{eq:objectives}
\end{equation}
\paragraph{Schedule (what runs when).}
\begin{equation}
\mathcal{S} = \{(t_j,\;\mathrm{op}_j)\}_{j=1}^{J}
\label{eq:schedule}
\end{equation}
\paragraph{Audit policy (self-checks).}
\begin{equation}
\mathcal{A} = \{A_\ell\}_{\ell=1}^{L},
\qquad A_\ell : \mathcal{W} \to \{0,\,1\}
\label{eq:audit-policy}
\end{equation}
\noindent
This makes the always-on self-auditing system first-class, not an
afterthought.
% ·········································································
\subsubsection{Annotations \texorpdfstring{$W^{\mathrm{comp}}$}{Wcomp}}
\label{sec:world-comp}
\begin{equation}
W^{\mathrm{comp}} =
\begin{bmatrix}
\Gamma_{\mathcal{W}} \\[3pt]
\Xi_{\mathcal{W}} \\[3pt]
\Upsilon_{\mathcal{W}}
\end{bmatrix}
\label{eq:world-comp}
\end{equation}
Complexity class, kernel family selector, annotation confidence.
Same pattern as particle and cell.
Consistency is boring, which is why it works.
% ·········································································
\subsubsection{Caches}
\label{sec:world-cache}
\begin{equation}
\mathcal{M}_{\mathcal{W}}(t) =
\{\,\text{neighbour lists},\;
\text{domain decompositions},\;
\text{GPU buffers},\;
\text{BVHs},\;
\text{RDF histograms},\;
\text{FFT plans},\;
\ldots\,\}
\label{eq:world-cache}